Python Framework enhancement

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Python Framework enhancement

Post by pipiche »

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.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
febalci
Posts: 331
Joined: Monday 03 July 2017 19:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Python Framework enhancement

Post by febalci »

I should also add:
  • Directly create/read uservariables
  • Send a notification based on notification subsystem
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Python Framework enhancement

Post by pipiche »

In addition, as recommended by gizmocuz use the SendTempxxxSensor in order to benefit from the 'Domoticz adjustement capabilities'
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Python Framework enhancement

Post by pipiche »

Get access to all Domoticz environments ( Other settings) like


Random Timer:
Spread:
(Minutes +/-)

Sensor Timeout:
Timeout:
(Minutes)

Battery Low Level:
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Python Framework enhancement

Post by pipiche »

It would be great to get a callBack when activating 'Accept New Hardware'
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest