Announcement

Collapse
No announcement yet.

JSON - command format

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    JSON - command format

    Hey Mark
    i remember going through this with you but for some reason i cant find it in the forum.
    i need to send a JSON command to the insteon devices.
    now i know that triggering a command on the insteon device will not update its status on homeseer but i can bypass this with an event.

    can you send me the format ?
    i found some old info but i cant seem to make sense of it.
    API REST
    http://172.30.1.101/3?02620EA7220F11FF=I=3
    the device is
    0EA722
    http://172.30.1.101/3? 0262 0EA722 0F 11 FF =I=3
    HTTP Resource + Direct Command Flag + Device + SD Flag + Command + Level + Unknown?
    http://172.30.1.101/3?02620EA7220F1300=I=3
    Code Command Description
    11 On Turn device on, ramping up
    12 Fast On Turn device on immediately (no ramp)
    13 Off Turn device off, ramping down
    14 Fast Off Turn device off immediately (no ramp)
    19 Status Get the current status of the device (returns level)

    Level Chars Percentage
    00 0 %
    40 25 %
    7F 50 %
    BF 75 %
    FF 100 %

    #2
    For a device: http://172.16.1.34/3?02620102030F117F=I=3

    where
    010203 is the device ID
    0F is the flags byte and
    11 is the command
    7F is the on level (1/2 brightness).
    Mark

    HS3 Pro 4.2.19.5
    Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
    Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
    Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

    Comment

    Working...
    X