Python Plugin - SupressTriggers = True doesn't update Database !
Moderator: leecollings
Re: Python Plugin - SupressTriggers = True doesn't update Database !
@Dnpwwo there is an issue open on domoticz github https://github.com/domoticz/domoticz/is ... -433302685
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Python Plugin - SupressTriggers = True doesn't update Database !
@pipiche,
Reread the documentation here: https://www.domoticz.com/wiki/Developin ... in#Devices and it appears to function in line with the doucmentation.
Reread the documentation here: https://www.domoticz.com/wiki/Developin ... in#Devices and it appears to function in line with the doucmentation.
It updates: Type, SubType, SwitchType, Image, Used, Color, Options & TimedOut only.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.
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
Re: Python Plugin - SupressTriggers = True doesn't update Database !
@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
Even the comments is somehow absurd : that allows device attributes to be updated without notifications
Re: Python Plugin - SupressTriggers = True doesn't update Database !
@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 !
Any update ?
Can we create such new feature, which disable the Notification trigger, but still do the Database 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 !
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() !