Cannot turn off via web ui
Having a bit of trouble
Turning on works eg localhost:8080/cmd?device=13&level=100&timeout=0&delay=0
reduce works http://192.168.1.34:8080/cmd?device=13&level=50&timeout=0&delay=0
But turn off does not work
http://192.168.1.34:8080/cmd?device=13&level=0&timeout=0&delay=0
However via the console it does work
http://localhost:8080/cgate?cmd=OFF //HOME/254/56/13
What could be wrong preventing this from working correctly?
Hey NovaGL, I have been using http in this form in any web browser, even my phone it does not like spaces, use (%20) instead of spaces ON http://192.168.1.34:8080/cgate?cmd=on%20//HOME/254/56/13 OFF http://192.168.1.34:8080/cgate?cmd=off%20//HOME/254/56/13 DIM http://192.168.1.34:8080/cgate?cmd=ramp%20//HOME/254/56/13%2050%201s this sets level to 50 (level between 0 and 255)
Thanks. That works but its the ui that doesn't
I added this under line 284;
$.get('/cgate?cmd=OFF //HOME/254/56/' + id);
If you need clarification on where to place the code let me know. It's in the adjust level function, within the else. I'm just calling the http request from the script because I had the same issue as you.