Python Plugin - SupressTriggers = True doesn't update Database !

Python and python framework
pipiche
Posts: 156
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi
Domoticz version: beta
Location: France
Contact:

Re: Python Plugin - SupressTriggers = True doesn't update Database !

Post by pipiche » Saturday 27 October 2018 16:18

@Dnpwwo there is an issue open on domoticz github https://github.com/domoticz/domoticz/is ... -433302685

User avatar
Dnpwwo
Posts: 767
Joined: Sunday 23 March 2014 10:00
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Python Plugin - SupressTriggers = True doesn't update Database !

Post by Dnpwwo » Saturday 03 November 2018 13:57

@pipiche,

Reread the documentation here: https://www.domoticz.com/wiki/Developin ... in#Devices and it appears to function in line with the doucmentation.
False Boolean flag that allows device attributes to be updated without notifications, scene or MQTT, event triggers. nValue and sValue are not written to the database and will be overwritten with current database values.
It updates: Type, SubType, SwitchType, Image, Used, Color, Options & TimedOut only.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw

pipiche
Posts: 156
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi
Domoticz version: beta
Location: France
Contact:

Re: Python Plugin - SupressTriggers = True doesn't update Database !

Post by pipiche » Saturday 03 November 2018 14:39

@Dnpwwo, you're right, that is what is written, but I really do not understand the use case of it !

Even the comments is somehow absurd : that allows device attributes to be updated without notifications

pipiche
Posts: 156
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi
Domoticz version: beta
Location: France
Contact:

Re: Python Plugin - SupressTriggers = True doesn't update Database !

Post by pipiche » Tuesday 06 November 2018 11:22

@Dnpwwo despite the documentation - which I still feel is not understandable - in regards to the option 'SuppressTriggers', can we envision either to fix this one and the documentation, or implement a new Option which can disable the notification mechanism and still do the update in the DB ?

pipiche
Posts: 156
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi
Domoticz version: beta
Location: France
Contact:

Re: Python Plugin - SupressTriggers = True doesn't update Database !

Post by pipiche » Monday 26 November 2018 13:39

Any update ?

Can we create such new feature, which disable the Notification trigger, but still do the Database update ?

pipiche
Posts: 156
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi
Domoticz version: beta
Location: France
Contact:

Re: Python Plugin - SupressTriggers = True doesn't update Database !

Post by pipiche » Saturday 01 December 2018 18:53

Further investigate this issue, and I known understand why the SupressTriggers do not update the database, that is the only way to suppress the notification as the notification is done by the Domoticz UpdateValue() !

Post Reply

Who is online

Users browsing this forum: pvklink and 2 guests