Page 1 of 1

Dummy incremental device with decimals

Posted: Wednesday 06 February 2019 23:27
by hestia
Hello
I'd like to have an incremental dummy device to count values with 2 decimals.

Otherwise, I could use a dummy incremental time device ; in that case, how to update the values (which format?) ; it is for a script python

Thanks!

Re: Dummy incremental device with decimals

Posted: Friday 10 May 2019 22:39
by ptaqp
Hi,

I also would like to know answers to these questions. Thanks!

BR, Piotr

Re: Dummy incremental device with decimals

Posted: Saturday 11 May 2019 0:56
by ptaqp
Actually I think that format for time is HH:MM. At least that is the format for user variable, type: time. I haven't tested it yet, but if that is correct why not to have seconds as well? I could really use it.

BR, Piotr

Re: Dummy incremental device with decimals

Posted: Saturday 11 May 2019 7:09
by peerkersezuuker
Hello,
Maybe you could use the "User variables" (Setup, More Options)
They van be Integer/Float/String/Date or Time.
And are easy to access from the API with a script (python :D yeah)

https://www.domoticz.com/wiki/Domoticz_ ... _variables

With Regards
Peer