Command "GPIO", "Pulse" and Rules

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Sturgeon
Normal user
Posts: 7
Joined: 23 Apr 2018, 20:18

Command "GPIO", "Pulse" and Rules

#1 Post by Sturgeon » 23 May 2018, 21:12

Hello for all!
Help me with rules, please.
I have two nomal switch devices. And such rule:

Code: Select all

on Curtains_open#Curtains_open=0 do
Publish /ESPEasy_Bedroom_Curtains/Curtains_open,1
endon

on Curtains_close#Curtains_close=0 do
Publish /ESPEasy_Bedroom_Curtains/Curtains_close,0
endon
When i change switch state with command GPIO (for example "gpio,5,0") MQTT topic is publish. If i change switch state with command "Pulse,5,0,4000" MQTT message not publish. What is problem?

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests