Page 1 of 1

Historical Text Sensor Values

Posted: Tuesday 12 January 2021 21:16
by patardw
Sorry, I use google translator

I need to get the last 5 values ​​from a text sensor

It can ?

Re: Historical Text Sensor Values

Posted: Tuesday 12 January 2021 21:32
by waaren
patardw wrote: Tuesday 12 January 2021 21:16 I need to get the last 5 values ​​from a text sensor
Not directly with native dzVents command but you can check with domoticz.openURL() Wether you wil get >= 5 depends on your Log history settings for Light/Switches and when the 5th oldest message was created.

URL = http://<domoticz IP:domoticz port>/json.htm?type=textlog&idx=<device ID>

Re: Historical Text Sensor Values  [Solved]

Posted: Tuesday 12 January 2021 21:38
by patardw
Thank you