I have an X1S and am successfuly using it to send IP commands to my WiiM Amp Pro. My Homeseer v4 instance, which I use for home automation - lights, thermostats, etc. - also has a JSON API. I've been playing with it and am getting some strange behaviours.
As an example, the command to turn off device #406 is:
http://IPADDRESS/JSON?request=controldevicebyvalue&ref=406&value=0
When I use the browser to send this command, it's received by Homeseer once and the light goes off. When I set this up in SofaBaton as a "Get" IP command, the light also goes off, but Homeseer continues to receive the same command over and over, multiple times per second. Unplugging the X1S hub does stop this, so the hub is definately sending the commands over and over. Why? Does it not understand the response it gets and keeps re-sending? This is the response from Homeseer:
{"Name":"HomeSeer Devices","Version":"1.1","TempFormatF":true,"Devices":[{"ref":406,"name":"Overhead Lights","location":"Office","location2":"Main Floor","value":255.0,"status":"On","device_type_string":"Z-Wave Switch","last_change":"\/Date(1739205457293-0400)\/","relationship":3,"hide_from_view":false,"associated_devices":[],"device_type":{"Device_API":4,"Device_API_Description":"Plug-In API","Device_Type":999,"Device_Type_Description":"Plug-In Root Device","Device_SubType":16,"Device_SubType_Description":""},"device_type_values":null,"UserNote":"","UserAccess":"Any","status_image":"/images/HomeSeer/status/on.gif","voice_command":"Office Lights","misc":12587776,"interface_name":"Z-Wave"}]}
This is the command I setup:
Did I set this command up properly given it's a JSON call?
Has anyone seen this before?
I will also post on the Homeseer forums.
Thanks.