Closed stefan242 closed 8 months ago
Same problem here. In the Home assistant, the automation set according to the documentation is supposed to turn off the display, but it doesn't work. Sunton ESP32-8048S050C OTA fw 0.7.0-rc9 33d21e0 It worked in the previous version. ota_v0.7.0-rc9_b7283c9
Can confirm NOT working since 0.7.0-rc9 894370b (Merge pull request https://github.com/HASwitchPlate/openHASP/pull/582 from perexg/topic/idle-scripts)
@fvanroie any chance to get / test a new rc, which sends the idle events via MQTT again?
Check the latest build run here: https://github.com/HASwitchPlate/openHASP/actions/runs/7524851274
That does not work either:
This is my plate1 with 0.6.3 with a Lanbon L8 and short idle 10, long idle 20. I inject a "idle off" (in Node-RED) to hasp/plate1/command and get back via MQTT in-node hasp/plate1/state/idle:
This works as expected.
This is my plate3 with 0.7.0-rc9 8d5ae79 with a gs-t3e_16MB and short idle 10, long idle 20. I inject a "idle off" to hasp/plate3/command and other than the idle off via hasp/plate3/state/idle nothing else happens.
The same, when I inject "idle short". No switch to "idle long" like with 0.6.3
openHASP 0.7.0-rc9 8d5ae79 Build DateTime Jan 15 2024 05:44:40 UTC Environment gs-t3e_16MB
I reverted back a previous PR in https://github.com/HASwitchPlate/openHASP/pull/605 Please test the latest build a57029c from the Actions tab.
YES!! thank you!
Perform all steps below and tick them with [x]
Describe the bug
"When the display has not been touched for the Short Idle amount of seconds, an idle = short event will be sent out."
Short Idle and Long idle are set to 10 and 20 seconds, but no event
hasp/platex/state/idle
is started.I can inject
idle short
oridle long
manually tohasp/platex/command
and withidle long
the display blanks. If I touch the display when off, there is also no event, but the screen is turned on.openHASP 0.7.0-rc9 with a gs-t3e_16MB
To Reproduce
In Node-RED:
Expected behavior
The debug node should produce:
[node: debug xxx] hasp/platex/state/idle : msg.payload : string[4/5/3] "long" or "short" or "off"