Code: Select all
On startwatering do
Pulse,4,1,40
Pulse,5,0,40 //start watering (open valve)
Publish aussen/state/WM/Garten01/watering,startwatering
timerSet,1,60 //timer 1 set for 1 minutes
endon
Moderators: grovkillen, Stuntteam, TD-er
Code: Select all
On startwatering do
Pulse,4,1,40
Pulse,5,0,40 //start watering (open valve)
Publish aussen/state/WM/Garten01/watering,startwatering
timerSet,1,60 //timer 1 set for 1 minutes
endon
Code: Select all
On startwatering do
Pulse,4,1,40
Pulse,5,0,40 //start watering (open valve)
Publish aussen/state/WM/Garten01/watering,startwatering
event,MQTTwatering=startwatering
timerSet,1,60 //timer 1 set for 1 minutes
endon
Code: Select all
msg: aussen/state/WM/Garten01/watering/cmd
payload: event,MQTTwatering
You're calling an event that you have not defined, try this:werner_g wrote: ↑04 May 2018, 00:05 Thanks. So I modified my rules in adding the event-command:
But nothing happens when I set this command:Code: Select all
On startwatering do Pulse,4,1,40 Pulse,5,0,40 //start watering (open valve) Publish aussen/state/WM/Garten01/watering,startwatering event,MQTTwatering=startwatering timerSet,1,60 //timer 1 set for 1 minutes endon
So still I am looking for help.Code: Select all
msg: aussen/state/WM/Garten01/watering/cmd payload: event,MQTTwatering
Code: Select all
payload: event,startwatering
Code: Select all
event,MQTTwatering=startwatering
the sky is the limit.
i don't think the espeasy is really meant to be used as a control panel (of sorts). it's more for setting up the device to control things (motors, lights, etc). what you need is home automation software that sends the commands to the esp and then the esp makes it happen.
ESPeasy has a number of possibilities.
Code: Select all
ChickenBot_4/Chickenbot
Code: Select all
ChickenBot_4/Chickenbot/cmd
Users browsing this forum: No registered users and 28 guests