You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally reported by: treowayne (Bitbucket: treowayne, GitHub: Unknown)
First of all, I love the new timer features and the fact that you allowed the pulse timer to work for extended time periods.
First, let me explain my use case:
I have an ESP8266 connected to a magnetic switch on my basement door. I have Sonoffs attached to lights in the basement. When the door opens, the sensor module sends an MQTT message to my broker, which then signals the Sonoffs to turn on the lights. The pulse timer in the Sonoffs turns them off after half an hour. The sensor module sends an MQTT message every 60 seconds as long as the door is open.
This works great for short trips to the basement to grab items or run the laundry machines. It has one flaw when I go downstairs for an extended session of soldering or other "basement work." The pulse timer shuts the lights off every 30 minutes and then they turn back on in 1-59 seconds once the door trigger checks in with the MQTT broker again.
Is it possible to alter the pulse timer so that it shuts off x seconds after the most recent signal to turn on?
The text was updated successfully, but these errors were encountered:
You are lucky, that's only one line of code :) I have pushed the change to de dev branch (commit 51298a6) in case you want to test it a provide feedback.
Originally reported by: treowayne (Bitbucket: treowayne, GitHub: Unknown)
First of all, I love the new timer features and the fact that you allowed the pulse timer to work for extended time periods.
First, let me explain my use case:
I have an ESP8266 connected to a magnetic switch on my basement door. I have Sonoffs attached to lights in the basement. When the door opens, the sensor module sends an MQTT message to my broker, which then signals the Sonoffs to turn on the lights. The pulse timer in the Sonoffs turns them off after half an hour. The sensor module sends an MQTT message every 60 seconds as long as the door is open.
This works great for short trips to the basement to grab items or run the laundry machines. It has one flaw when I go downstairs for an extended session of soldering or other "basement work." The pulse timer shuts the lights off every 30 minutes and then they turn back on in 1-59 seconds once the door trigger checks in with the MQTT broker again.
Is it possible to alter the pulse timer so that it shuts off x seconds after the most recent signal to turn on?
The text was updated successfully, but these errors were encountered: