ptz0n / homebridge-verisure

 Platform plugin for Homebridge allowing to manage and control Verisure devices.
https://www.npmjs.com/package/homebridge-verisure
MIT License
66 stars 15 forks source link

Fix support for HUMIDITY1 #5

Closed elbogi closed 7 years ago

elbogi commented 7 years ago

Added another device acting like a temperature gauge.

Fixes: #5

ptz0n commented 7 years ago

Nice, won't this service need the characteristics of a humidity sensor instead of a temperature sensor?

See: HAP-NodeJS/lib/gen/HomeKitTypes.js

elbogi commented 7 years ago

It would most likely need both bases on the output: deviceLabel: 'XXXX XXXX', deviceArea: 'Vind', deviceType: 'HUMIDITY1', temperature: 2.3, humidity: 71.5,

Wasn't aware of this HAP-NodeJS. Quite new to this (still).

ptz0n commented 7 years ago

Oh, sorry. I thought this sensor device only had humidity readings.

elbogi commented 7 years ago

Haven't been programming for some years. A little bit rusty :)