I need to get the status of a VSwitch on a VeraSecure from a VeraPlus. The device id=24. Using the following pasted into a browser, I get the results “1” or “0” as expected:
local status
status, vsStat = luup.inet.wget("http://VeraIP/port_3480/data_request?id=variableget&DeviceNum=24&serviceId=urn:upnp-org:serviceId:VSwitch1&Variable=Status")