Python framework breaking change - advance warning
Posted: Monday 15 May 2017 6:06
In a week or so I plan to create a pull request to the beta channel that, when merged, will change the callback APIs in the Python plugin framework. This change will add a parameter to following callbacks:
Recommended action:
Apologies in advance for any inconvenience caused.
- onConnect
- onMessage
- onDisconnect
- Transport
- Protocol
- Connect
- Send
- Disconnect
Recommended action:
- If you are the author of a plugin that does not use the built in connectivity features of the plugin framework you should remove any references to these callbacks completely and publish an updated version. Domoticz will gracefully handle missing callbacks by ignoring them so this can be done at any time
- If you are the author of a plugin that does use the native connectivity you should review the changes documented on the wiki (http://www.domoticz.com/wiki/Developing ... #Callbacks) and the new Connection object (http://www.domoticz.com/wiki/Developing ... onnections). I will continue to update this over the next few days.
- connect to multiple external devices
- simultaneous normal and network discovery operations
- accept incoming connections
Apologies in advance for any inconvenience caused.