background image

"RangeStatusSuffix"

:

"%"

}

,

"Ref"

:

2256

,

"Label"

:

"Dim (value)%"

,

"ControlType"

:

7

,

"ControlLocation"

:

{

"Row"

:

2

,

"Column"

:

1

,

"ColumnSpan"

:

3

}

,

"ControlLoc_Row"

:

2

,

"ControlLoc_Column"

:

1

,

"ControlLoc_ColumnSpan"

:

3

,

"ControlUse"

:

3

,

"ControlValue"

:

1

,

"ControlString"

:

""

,

"ControlStringList"

:

null

,

"ControlStringSelected"

:

null

,

"ControlFlag"

:

false

}

]

,

"ref"

:

2256

,

"name"

:

"light"

,

"location"

:

"Office"

,

"location2"

:

"First Floor"

}

Where:

L a b e l  

= The label to display on this control, if its a button, it would be

the button label like "On" or "Off"

ControlType 

= Specifies the control type for this control, possible

values are:

 Not_Specified = 1
        Values = 2                          'This is the default to use if one of
the others is not specified.
        Single_Text_from_List = 3
        List_Text_from_List = 4
        Button = 5
        ValuesRange = 6                 'Rendered as a drop-list by default.
        ValuesRangeSlider = 7
        TextList = 8
        TextBox_Number = 9
        TextBox_String = 10
        Radio_Option = 11
        Button_Script = 12      ' Rendered as a button, executes a script
when activated.
        Color_Picker = 13

ControlLocation 

= Specifies the desired location of the control using

row/column

ControlUse 

= If the pair is to control a specifc function, such as

On/Off/Dim, this specifies this function. This makes it easier to control
basic devices without knowing the label. For example, some devices
may use "On" for On, and others may use "Bright Full" for on. By
checking this property it is easy to find the control element for common
controls. The possible values are:

    Not_Specified = 0
    _On = 1
    _Off = 2
    _Dim = 3
    _On_Alternate = 4
    _Play = 5               ' media control devices
    _Pause = 6
    _Stop = 7

JSON Control Interface . 13

 

A2Z­Link

Содержание A2Z-Link

Страница 1: ...A2Z Link User Manual Prepared by Administrator Date 5 11 2015 Copyright HomeSeer Technologies LLC All Rights Reserved...

Страница 2: ...ed in this document is subject to change without notice This document contains proprietary information which is protected by copyright All rights are reserved No part of this document may be photocopi...

Страница 3: ...1 Welcome Chapter 2 Getting Started System Overview Installation Managing Z Wave Chapter 3 ASCII Control Interface Control Status Chapter 4 JSON Control Interface Controlling with JSON Chapter 5 Inde...

Страница 4: ...ct information enter search criteria in the search box above and click the search button If you re unable to find what you re looking for in this help system try these alternative resources Our Websit...

Страница 5: ...atus Supports polling for device status for nodes that do not support associations Includes Add and Remove functions for Z Wave nodes Provides detailed information for all Z Wave nodes including node...

Страница 6: ...k tab in Setup See also System Overview Managing Z Wave Home Getting Started Managing Z Wave Managing Z Wave New Z Wave Installation Using A2Z Link If a Z Wave network has not yet been established at...

Страница 7: ...set remove all nodes from the existing network and then establish a new network using A2Z Link Follow the procedure outlined above 2 If the existing controller is to remain and a you wish to keep it a...

Страница 8: ...f the user is authorized the command returns ok After authorization commands may be given from the source IP address To de authorize a connect use the command lo This will remove the source IP address...

Страница 9: ...ated with a carriage return and linefeed Commands are not case sensitive Parameters in are optional The following commands are available for device control Command Format Description Example Control a...

Страница 10: ...e with ref 3755 may have its PREFIX set to Dim and its SUFFIX set to and the valid values are 1 98 the return would be 3755 On 99 Off 0 Dim value 1 98 See also Status Home ASCII Control Interface Stat...

Страница 11: ...sical device this device belongs to If the device does not have a parent which means it is either the root device or it is a device that has no children the value be 0 name the name of the device loca...

Страница 12: ...eturns the status of a device in the system or all the devices in the following format The following parameters are supported in order to filter the response location1 loc1 only return the devices tha...

Страница 13: ...e location2 Node 124 value 255 status On device_type_string Z Wave Switch Binary last_change Date 1410196540597 relationship 4 hide_from_view false associated_devices 3566 device_type Device_API 4 Dev...

Страница 14: ...the Devices section in the Scripting section in the HomeSeer HS3 user documentation for information about the properties in this section Returns control information for a device in the system or all d...

Страница 15: ...try true ControlButtonType 0 ControlButtonCustom CCIndex 2 Range null Ref 2256 Label Off ControlType 5 ControlLocation Row 1 Column 1 ColumnSpan 0 ControlLoc_Row 1 ControlLoc_Column 1 ControlLoc_Colum...

Страница 16: ...List_Text_from_List 4 Button 5 ValuesRange 6 Rendered as a drop list by default ValuesRangeSlider 7 TextList 8 TextBox_Number 9 TextBox_String 10 Radio_Option 11 Button_Script 12 Rendered as a button...

Страница 17: ...el label Control a device by label this is the label as returned by the getcontrol parameter For example if the device has a label On to turn a device on the following URL would turn it on JSON reques...

Страница 18: ...n 1 and location 2 JSON request getcounter counter NAME Returns the value for the given named counter JSON request getsetting setting SETTING_NAME Returns the value for a specific settting For example...

Отзывы: