[Feature request] Update device data without state update

Python and python framework

Moderator: leecollings

Post Reply
StasDemydiuk
Posts: 59
Joined: Saturday 14 January 2017 21:37
Target OS: Linux
Domoticz version: Beta
Location: Ukraine
Contact:

[Feature request] Update device data without state update

Post by StasDemydiuk »

In current Python framework for plugins it is impossible to update device data (like battery or signal level) without updating nValue and sValue.
I wonder if it is possible to add such ability as sometimes it is required to somehow handle heartbeat messages from device without updating actual value.

Currently there is a hack to update nValue and sValue with the same data as device currently has but it causes side effect: all device related scripts/events will be triggered as well.
pipiche
Posts: 2035
Joined: Monday 02 April 2018 20:33
Target OS: Linux
Domoticz version:
Contact:

Re: [Feature request] Update device data without state update

Post by pipiche »

+1000

I have found the SuppressTriggers option when calling Update(), but it doesn't save the data on the database !
Post Reply