Closed kinosang closed 9 months ago
but scripts not fires when idle state changing.
#[00:29:31.895][65524/75644 13][56344/56344 0] MQTT: Disconnected #[00:29:36.557][65524/77228 15][56344/56344 0] HASP: First touch Disabled **should run idle_off.cmd** #[00:29:36.572][65524/75644 13][56344/56344 0] MQTT: Not connected ??? backlight => {"state":"on","brightness":3} #[00:29:36.584][65524/77228 15][56344/56344 0] MQTT: Not connected ??? idle => off **should run idle_short.cmd** #[00:29:42.037][65524/77064 14][56344/56344 0] MQTT: Not connected ??? idle => short #[00:29:43.906][65524/77228 15][56344/56344 0] MQTT: Transport error #[00:29:43.917][65524/75644 13][56344/56344 0] MQTT: Disconnected
But run idle short command through Telnet/Serial will fire the script.
idle short
#idle short [00:29:19.249][65524/77064 14][56344/56344 0] MSGR: idle=short #idle shor[00:29:19.272][65524/75480 13][56344/56344 0] MSGR: Loading L:/idle_short.cmd #idle shor[00:29:19.302][61428/70976 13][56344/56344 0] MSGR: backlight={"state": false, "brightness": 3} #idle shor[00:29:19.313][59380/69392 14][56344/56344 0] HASP: First touch Enabled #idle shor[00:29:19.328][61428/70976 13][56344/56344 0] MQTT: Not connected ??? backlight => {"state":"off","brightness":3} #idle shor[00:29:19.341][59380/69392 14][56344/56344 0] MSGR: moodlight={"state": true, "color":"green"} #idle shor[00:29:19.359][61428/70976 13][56344/56344 0] MQTT: Not connected ??? moodlight => {"state":"on","brightness":255,"color":"#008000","r":0,"g":128,"b":0} #idle shor[00:29:19.371][59380/74408 20][56344/56344 0] MSGR: Loaded L:/idle_short.cmd #idle shor[00:29:19.383][65524/77064 14][56344/56344 0] MQTT: Not connected ??? idle => short #[00:29:19.862][65524/77228 15][56344/56344 0] MQTT: Transport error #[00:29:19.873][65524/75644 13][56344/56344 0] MQTT: Disconnected
Create L:/idle_short.cmd and etc.
L:/idle_short.cmd
backlight {"state": false, "brightness": 3}
Set Display Settings - Short Idle. Telnet or Serial to the plate for logging.
should run L:/idle_short.cmd automatically.
This issue should be resolved in RC9. Feel free to test and report back.
Perform all steps below and tick them with [x]
Describe the bug
531 adds idle scripts.
but scripts not fires when idle state changing.
But run
idle short
command through Telnet/Serial will fire the script.To Reproduce
Create
L:/idle_short.cmd
and etc.Set Display Settings - Short Idle. Telnet or Serial to the plate for logging.
Expected behavior
should run
L:/idle_short.cmd
automatically.Screenshots or video