Code: Select all
http://192.168.178.33:8080/json.htm?type=createdevice&idx=9&sensorname=test_gf&sensormappedtype=0xF449
Code: Select all
curl http://192.168.178.33:8080/json.htm?type=createdevice&idx=9&sensorname=test_gf&sensormappedtype=0xF449
it gives:
{
"status" : "ERR"
}
Code: Select all
curl http://192.168.178.33:8080/json.htm?type=command¶m=addhardware&htype=15&name=presence_detection&enabled=true&datatimeout=0