Page 2 of 2
Re: Python Plugin - SupressTriggers = True doesn't update Database !
Posted: Saturday 27 October 2018 16:18
by pipiche
Re: Python Plugin - SupressTriggers = True doesn't update Database !
Posted: Saturday 03 November 2018 12:57
by Dnpwwo
@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.
Re: Python Plugin - SupressTriggers = True doesn't update Database !
Posted: Saturday 03 November 2018 13:39
by pipiche
@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
Re: Python Plugin - SupressTriggers = True doesn't update Database !
Posted: Tuesday 06 November 2018 10:22
by pipiche
@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 ?
Re: Python Plugin - SupressTriggers = True doesn't update Database !
Posted: Monday 26 November 2018 12:39
by pipiche
Any update ?
Can we create such new feature, which disable the Notification trigger, but still do the Database update ?
Re: Python Plugin - SupressTriggers = True doesn't update Database !
Posted: Saturday 01 December 2018 17:53
by pipiche
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() !