Giter Site home page Giter Site logo

drayton-wiser-client's People

Contributors

stringbean avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

drayton-wiser-client's Issues

Add support for setting away mode, boost all & cancel overrides

PATCH http://<hub>/data/domain/System/RequestOverride

{
  "RequestOverride": {
    "type": 5
  }
}

Type values:

  • 0 - normal?
  • 1 - manual override (not supported)
  • 2 - away
  • 3 - Eco IQ (not supported)
  • 4 - boost all
  • 5 - cancel all overrides

Querying away mode will be supported by #1

Add system information method

The HeatHub has an endpoint for fetching full system information:

http://<hub>/data/domain/

The response is an aggregation of other endpoints and includes:

  • HeatHub model & configuration
  • Room information (same as returned by roomStatuses)
  • Device details:
    • Type
    • Serial
    • Firmware
    • Battery level
  • Zigbee status
  • Scheduling.

Add device information endpoints

The HeatHub supports endpoints for listing & querying device statuses:

http://<hub>/data/domain/Device

These should be added to support querying device information & statuses.

TRV Response
{
  "id": 1,
  "NodeId": 1234,
  "ProductType": "iTRV",
  "ProductIdentifier": "iTRV",
  "ActiveFirmwareVersion": "0201000000054000",
  "ModelIdentifier": "iTRV",
  "HardwareVersion": "0",
  "SerialNumber": "xxxxx",
  "ProductModel": "iTRV",
  "OtaImageQueryCount": 0,
  "LastOtaImageQueryCount": 1,
  "ParentNodeId": 0,
  "DeviceLockEnabled": false,
  "DisplayedSignalStrength": "Medium",
  "BatteryVoltage": 28,
  "BatteryLevel": "TwoThirds",
  "ReceptionOfController": {
    "Rssi": -78,
    "Lqi": 88
  },
  "ReceptionOfDevice": {
    "Rssi": -72,
    "Lqi": 112
  },
  "PendingZigbeeMessageMask": 0
}
Room Thermostat Response
{
  "id": 5,
  "NodeId": 123,
  "ProductType": "RoomStat",
  "ProductIdentifier": "RoomStat",
  "ActiveFirmwareVersion": "04E1000900042002",
  "ModelIdentifier": "Thermostat",
  "HardwareVersion": "1",
  "SerialNumber": "xxxxx",
  "ProductModel": "Thermostat",
  "OtaImageQueryCount": 0,
  "LastOtaImageQueryCount": 0,
  "ParentNodeId": 0,
  "DeviceLockEnabled": false,
  "DisplayedSignalStrength": "Good",
  "BatteryVoltage": 23,
  "BatteryLevel": "TwoThirds",
  "ReceptionOfController": {
    "Rssi": -69,
    "Lqi": 124
  },
  "ReceptionOfDevice": {
    "Rssi": -64,
    "Lqi": 144
  }
}```
</details>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.