tmp-hmd-sensor
v0.0.1
Published
reads temperature and humidity data over HTTP API
Downloads
2
Readme
control through RESTful API over HTTP on LAN
sensor IP 192.168.0.10
GET/ requests towards /api/status returns state
POST/ requests towards /api/order contains a boolean to update state
Services
AccessoryInformation
required for all,
type
info broadcasted
HumiditySensor
this.addCharacteristic(Characteristic.CurrentRelativeHumidity);
TemperatureSensor
this.addCharacteristic(Characteristic.CurrentTemperature);
ASSUMES: GET requests on http://192.168.0.10/api/status returns a { currentState: }