I have a few questions about the webinteface, and the webcommands, I am trying to control a switch with commands (info about the switch posted at the bottom):
I read the documentation, and tried the command:
http://localhost:52125/api/v1/nodes/5 just to get info about the node, but i get the message that there is no node number 5. And it wasn't entirely clear to me what the command for setting the switch "on" was, there is an example int he wiki, but the structure seems to be a bit different (
http://localhost:52110/alpha000/basic_set?node=2,value=100)
A related question, the switching stuff on and off seems to work fine in engen, but is there no function to receive commands from a button at this time? And/or do something in response to the command?
{
"status": {
"query": {
"success": 99.71298810583478,
"ack": 0.9630729615077083,
"query": 36.003808549643566,
"reply": 25.666855401830784,
"response": 8.565422479379093,
"wait": 0.00017372885839229857
},
"cmd": {
"busy": 0.0,
"success": 99.71529494033922,
"nak": 0.2790420885850588,
"route": 0.0,
"fail_count": 0,
"send_time": 1469560411.822,
"fail": 0.0,
"response_time": 0.026000022888183594
},
"mfg_spec": {
"request_time": 1469558351.651,
"request_count": 0
},
"basic": {
"request_time": 1469560411.858,
"request_count": 0
}
},
"prod_id_type": 1536,
"cap": 83,
"listening": true,
"basic": {
"value": 100
},
"wstatus": 2,
"prod_id": 4096,
"name": "strombryter",
"mfg_id": 271,
"gmark": true,
"cmdclasses": [
"manufacturer_specific",
"version",
"configuration",
"association",
"multi_instance_association",
"switch_binary",
"powerlevel",
"meter",
"sensor_multilevel",
"firmware_update_md",
"mark",
"switch_binary",
"meter",
"sensor_multilevel"
],
"address": [
0,
5,
0
],
"sensor250": false,
"security": 28,
"sensor1000": false
}