Im installing a cat door this spring and want to check how many cats are indoor and outdoor.
to do this i want to install a switch on either side of the door so when the inside flap goes up it signals domoticz the variable "Number of cats inside" and give it a +1
when outside flap goes up i want this variable to go -1
Is this possible with domoticz? lua? blockly?
Make a switch count variable up or down?
Moderators: leecollings, remb0
-
- Posts: 9
- Joined: Sunday 13 November 2016 11:05
- Target OS: -
- Domoticz version:
- Contact:
-
- Posts: 129
- Joined: Monday 25 November 2013 17:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Mallorca
- Contact:
Re: Make a switch count variable up or down?
Rfxcom
Raspi 4
Raspi 4
Who is online
Users browsing this forum: Bing [Bot] and 1 guest