mgcrea / homebridge-tydom

Homebridge plugin to manage Tydom hardware by Delta Dore from Apple HomeKit.
63 stars 14 forks source link

Get more sensors from devices data #7

Closed mrwiwi closed 4 years ago

mrwiwi commented 4 years ago

Hi, 1st, thanks a lot for your work, i built an interface in python for MQTT (tydom2mqtt), but i'm not a dev and i don't have time now (madam is ill), and you are obviously a lot more porfessionnal :)

Could you add more data in binary sensor / sensors from data please ?

From covers, binary sensors :

  ,{"name":"upDefect","type":"boolean","permission":"r","unit":"boolean"}
  49
  ,{"name":"downDefect","type":"boolean","permission":"r","unit":"boolean"}
  4D
  ,{"name":"obstacleDefect","type":"boolean","permission":"r","unit":"boolean"}
  48
  ,{"name":"intrusion","type":"boolean","permission":"r","unit":"boolean"}

Maybe 1 binary sensor for any defect, and one binary for intrusion detection ?

For Alarm :

,{"name":"alarmSOS","validity":"upToDate","value":false}

  ,{"name":"outTemperature","validity":"upToDate","value":20.000}

One binary sensor for SOS (not even notified by Delta Dore if someone push an SOS... Pity. One sensor for outdoor temperature (from outdoor module siren).

?

Note that i don't have these sensor in my setup, but i use home assistant behind homekit integration.

Again, thanks a lot :)

mgcrea commented 4 years ago

Likewise, there isn't an agnostic binary sensor in HomeKit (afaik), but there is contact-sensors. I've added Tyxal contact sensors (MDO) from the Tyxal system with the last release.

mgcrea commented 4 years ago

I've improved the alarm support and added the alarmSOS support as a contact sensor in the latest release (homebridge-tydom@0.15.6).

mrwiwi commented 4 years ago

Thanks a lot ! :)