Hi,
What are the parameters for the Rules command inputswitchstate,p1,p2 ?
The Wiki doesn't mention it, but I guess that p2 is the desired state.
Is there a definitive description of all Rules commands, and their parameters?
What is the inputswitchstate rule?
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 24
- Joined: 05 Sep 2016, 18:14
- Location: Gloucester
What is the inputswitchstate rule?
Domoticz, Sonoff, ESP32
-
- New user
- Posts: 5
- Joined: 24 Nov 2016, 09:07
- Location: Poland
Re: What is the inputswitchstate rule?
Hi,
That command change status of switch.
paramerer 1 is for task value and parameter 2 is for status eg.
inputswichstates,3,1
chanege status of switch in task 4 to status 1.
i don't know why but in my that command start counting tasks from zero not from one.
make new device type input swich and try yourself.
That command change status of switch.
paramerer 1 is for task value and parameter 2 is for status eg.
inputswichstates,3,1
chanege status of switch in task 4 to status 1.
i don't know why but in my that command start counting tasks from zero not from one.
make new device type input swich and try yourself.
-
- Normal user
- Posts: 24
- Joined: 05 Sep 2016, 18:14
- Location: Gloucester
Re: What is the inputswitchstate rule?
Thanks!
I had a look in the code but could not find where the Rules keywords are processed.
My next task is to find out what a 'task' is.
I had a look in the code but could not find where the Rules keywords are processed.
My next task is to find out what a 'task' is.
Domoticz, Sonoff, ESP32
-
- New user
- Posts: 5
- Joined: 24 Nov 2016, 09:07
- Location: Poland
Re: What is the inputswitchstate rule?
this is a task
You do not have the required permissions to view the files attached to this post.
-
- Normal user
- Posts: 24
- Joined: 05 Sep 2016, 18:14
- Location: Gloucester
Re: What is the inputswitchstate rule?
Yarysec, thanks!
Obvious now you show it.
And the tasks are all neatly numbered.
Obvious now you show it.
And the tasks are all neatly numbered.
Domoticz, Sonoff, ESP32
Who is online
Users browsing this forum: Anthropic Claude Bot [bot] and 38 guests