p.kaczmarek2 wrote: Hmm you are correct, there was two potential mistakes in the code. The Dimmer command for LED was always returning error because it was not updated with commands system revamp. It should be fixed now, please update and recheck.
Build on May 12 2023 01:36:41 version 1.17.109
Following error is still there:
Error:CMD:cmd LED_Map NOT found (args )
Info:CMD:[WebApp Cmd 'LED_Map' Result] Unknown command
Added after 2 [minutes]:
However the http command get 200 OK now
Last command: backlog led_basecolor_rgb FF0000; Dimmer 100; led_enableAll 1
Last status: OK (200)!
Added after 1 [hours]:
p.kaczmarek2 wrote: There is a simple httpButtons driver, maybe you could use that?
Sample autoexec.bat:
startDriver httpButtons
setButtonEnabled 0 1
setButtonLabel 0 "Turn off after 10 seconds"
setButtonCommand 0 "addRepeatingEvent 10 1 Power Off"
you can modify it to make a command that runs
stopDriver or anything...
I tried the httpButtons but was unsuccessful.
Tried with autoexec.bat which included startDriver httpButtons command as well.
Got the errors.
Then loaded driver using Startup command text
(driver gets loaded successfully)
3 drivers active (HTTPButtons,DDP,SSDP), total 34
and then added autoexec.bat as follows
Still I am getting the error:
Info:CMD:CMD_StartScript: started /autoexec.bat at the beginning
Info:CMD:[WebApp Cmd 'backlog resetSVM; startScript /autoexec.bat' Result] OK
Error:CMD:cmd setButtonEnabled 0 1 NOT found (args )
Error:CMD:cmd setButtonLabel 0 "Warm NOT found (args White")
Error:CMD:cmd setButtonCommand 0 "backlog NOT found (args led_temperature 500; Dimmer 100; led_enableAll 1")