Announcement

Collapse
No announcement yet.

Getting a feature value via JSON?

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

    Getting a feature value via JSON?

    I'm having trouble getting the value of a feature using JSON.

    The device is 1131 but getsetting/setting=value returns 0. I'm expecting 94. So is there something preventing me from getting that value because it is a child object? Do I need to treat features differently than devices in JSON? Any help is greatly appreciated
    Name "HomeSeer Devices"
    Version "1.1"
    TempFormatF true
    Devices
    0
    ref 1131
    name "Inside Temp"
    location "VWS"
    location2 "Wx Station"
    value 94
    status "94° F"
    device_type_string "Inside Temp"
    last_change "/Date(1666832337447-0600)/"
    relationship 4
    hide_from_view false
    associated_devices
    0 1124
    device_type
    Device_API 4
    Device_API_Description "Plug-In API"
    Device_Type 4
    Device_Type_Description "Plug-In Type 4"
    Device_SubType 4
    Device_SubType_Description "Import Status"
    device_type_values null
    UserNote ""
    UserAccess "Any"
    status_image "/images/vws/Thermometer-90.png"
    voice_command ""
    misc 4096
    interface_name "VWS"
Working...
X