What I have: 1 dummy hardware for virtual sensors. There, I created a virtual on/off switch. I go to the devices tab and it is there and I can switch it on and off. No problem.
When I try to switch it with a JSON command, it gives me an error. The command I'm using is:
Code: Select all
http://192.168.0.38:8080/json.htm?type=command¶m=switchlight&idx=13&switchcmd=onCode: Select all
message "Error sending switch command, check device/hardware (idx=13) !"
status "ERROR"
title "SwitchLight"