Announcement

Collapse
No announcement yet.

(Fixed) JSON commands not supported

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    (Fixed) JSON commands not supported

    Hello,

    I am using your plugin and need to control it via json commands (from my own gui program).

    Some device commands work as expected...but others do not.

    ie.
    Set Mode via value. Works
    http://192.168.0.11/JSON?request=con...f=2047&value=0
    Code:
    {"Name":"HomeSeer Devices","Version":"1.0","Devices":[{"ref":2047,"name":"Thermostat Mode","location":"Our Home","location2":"","value":0,"status":"Off","device_type_string":"Thermostat Mode","last_change":"\/Date(1496635529209)\/","relationship":4,"hide_from_view":false,"associated_devices":[2046],"device_type":{"Device_API":16,"Device_API_Description":"Thermostat API","Device_Type":3,"Device_Type_Description":"Thermostat Mode Setting","Device_SubType":0,"Device_SubType_Description":""},"device_image":"","UserNote":"","UserAccess":"Any","status_image":"/images/HomeSeer/status/off.gif"}]}
    Set Heat Setpoint value : Does NOT work
    http://192.168.0.11/JSON?request=con...=2049&value=72
    Code:
    error
    Can you pls. release a quick fix for this?


    FIXED. Issues was the range was set from 10 -32 for the device for some reason...perhaps it converted it to degrees c?

    Anyway, all working now.

    Code:
    {"Name":"HomeSeer Devices","Version":"1.0","Devices":[{"ref":2049,"name":"Heat Setpoint","location":"Our Home","location2":"","value":72,"status":"72 ","device_type_string":"Heat Setpoint","last_change":"\/Date(1496636519791)\/","relationship":4,"hide_from_view":false,"associated_devices":[2046],"device_type":{"Device_API":16,"Device_API_Description":"Thermostat API","Device_Type":6,"Device_Type_Description":"Thermostat Setpoint","Device_SubType":1,"Device_SubType_Description":""},"device_image":"","UserNote":"","UserAccess":"Any","status_image":"/images/HomeSeer/status/Thermometer-110.png"}]}
    Attached Files
    Last edited by davros; June 4, 2017, 11:26 PM. Reason: Fixed

    #2
    uh.... ok. I'm glad I could be so helpful, LOL.

    Comment

    Working...
    X