openleadr-python
openleadr-python copied to clipboard
Support for VTN-to-VEN Reports
Allow clients to implement VTN-to-VEN reports with poll callback handlers.
Add callback handlers for oadrRegisterReport and oadrUpdateReport Poll messages.
Notes:
-
oadrRegisterReportwill still return anoadrRegisteredReportwith no requested reports as before, so there is no change to that behavior unless a VEN client adds a handler. -
oadrUpdateReportpreviously would crash the client since it would attempt to call an_on_reportmethod that does not exist on the Client class. Now it will return anoadrUpdatedReportto the VTN and call a handler.
Many thanks for this excellent project!