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.
Python Framework enhancement
Moderators: leecollings, remb0
-
febalci
- Posts: 331
- Joined: Monday 03 July 2017 19:58
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python Framework enhancement
I should also add:
- Directly create/read uservariables
- Send a notification based on notification subsystem
Re: Python Framework enhancement
In addition, as recommended by gizmocuz use the SendTempxxxSensor in order to benefit from the 'Domoticz adjustement capabilities'
Re: Python Framework enhancement
Get access to all Domoticz environments ( Other settings) like
Random Timer:
Spread:
(Minutes +/-)
Sensor Timeout:
Timeout:
(Minutes)
Battery Low Level:
Random Timer:
Spread:
(Minutes +/-)
Sensor Timeout:
Timeout:
(Minutes)
Battery Low Level:
Re: Python Framework enhancement
It would be great to get a callBack when activating 'Accept New Hardware'
Who is online
Users browsing this forum: No registered users and 1 guest