Python Framework enhancement
Posted: Monday 03 December 2018 11:18
I really enjoy developing Domoticz plugin with in the Python plugin framework. I think this is the right way to increase the number of plugin and leave them outside of the Domoticz code.
However in order to develop more complex plugin there is a need to bring more functionalities to the Framework
(1) Create and give access to a Table in the Domoticz.db . As some of the native plugin can do , it would be great to have the capability to store all plugin related information in the domoticz.db. In such having access to Create/Update/Delete a Table and then Insert/Update/Delete/Query records in the table.
(2) Be able to Update nValue/sValue/BatteryLevel/SignalLevel without triggering a notification. Today, there is a 'SuppressTriggers' option when updating a device, but if you enable this option, you don't get any update to the database. Wondering what is the purpose/benefit of such option.
However in order to develop more complex plugin there is a need to bring more functionalities to the Framework
(1) Create and give access to a Table in the Domoticz.db . As some of the native plugin can do , it would be great to have the capability to store all plugin related information in the domoticz.db. In such having access to Create/Update/Delete a Table and then Insert/Update/Delete/Query records in the table.
(2) Be able to Update nValue/sValue/BatteryLevel/SignalLevel without triggering a notification. Today, there is a 'SuppressTriggers' option when updating a device, but if you enable this option, you don't get any update to the database. Wondering what is the purpose/benefit of such option.