Incremental vs. managed counter
Moderator: leecollings
-
- Posts: 24
- Joined: Sunday 01 October 2017 17:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Incremental vs. managed counter
Hi, anybody knows what's the difference between incremental and managed counter?
-
- Posts: 8
- Joined: Thursday 24 January 2019 10:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Incremental vs. managed counter
Looking for that too, nothing in the manuals
-
- Posts: 104
- Joined: Saturday 25 November 2017 17:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v3.8153
- Location: Czech Rep.
- Contact:
Re: Incremental vs. managed counter
In DZVents for normal counter, you cannot send value to add to counter - only set counter value.
So if you need add value, you must read counter status ( "counter" ), add value and store new counter value. ( "updateCounter(value)"
For incremental counter you can use :
"incrementCounter(value)"
to increment couner value...
So if you need add value, you must read counter status ( "counter" ), add value and store new counter value. ( "updateCounter(value)"
For incremental counter you can use :
"incrementCounter(value)"
to increment couner value...
RPi2 Domoticz v 4.10717
10 x Sonoff Basic - ESPeasy
1 x Wemos D1 - ESPeasy
1 x Shelly Plus Plug S
1 x Sonoff S26 - ESPeasy
1 x Shelly 1
1 x MySensors HC-SR04
1 x MySenosrs wifi gateway
1 x RFLink
4x Cam IPC-T240H
10 x Sonoff Basic - ESPeasy
1 x Wemos D1 - ESPeasy
1 x Shelly Plus Plug S
1 x Sonoff S26 - ESPeasy
1 x Shelly 1
1 x MySensors HC-SR04
1 x MySenosrs wifi gateway
1 x RFLink
4x Cam IPC-T240H
Who is online
Users browsing this forum: No registered users and 1 guest