Dummy incremental device with decimals

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
hestia
Posts: 361
Joined: Monday 25 December 2017 23:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Paris
Contact:

Dummy incremental device with decimals

Post 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!
ptaqp
Posts: 2
Joined: Wednesday 24 April 2019 22:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Norway
Contact:

Re: Dummy incremental device with decimals

Post by ptaqp »

Hi,

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

BR, Piotr
ptaqp
Posts: 2
Joined: Wednesday 24 April 2019 22:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Norway
Contact:

Re: Dummy incremental device with decimals

Post 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
peerkersezuuker
Posts: 70
Joined: Monday 14 December 2015 22:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Mierlo
Contact:

Re: Dummy incremental device with decimals

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest