PulseTime without changing state after it #23422
-
I'am truing to control kitchen hood with esp8266 to "press" buttons. The problem is i need one short High signal, not a constant, which is simmilar for On and Off state. PulseTime can't solve this problem, bc i don't need to change the state to OFF after it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Not clear what high/low/timing behavior you expect. A relay output will be high or low, meaning that you cannot make a high pulse without it going low after the pulse. Also, you need to know the electrical behavior of the kitchen hood buttons you are trying to simulate, like if it is even compatible with how ESP8266 gpios work. |
Beta Was this translation helpful? Give feedback.
So you want it to have a state of ON/OFF even if the actual state could be the opposite. It would be preferable if you could get a feedback for the real-world state, instead of the fallible assumption of electronics having perfect states. Noise and all that.
One way would be to create a virtual relay, where you then can use rules to maintain a state based on the action on the "real" relay output. And still use
PulseTime
Something like:
on Power1#state==1 do Power2 toggle endon