henry-spanka / freeathome-api

Busch-Jaeger free@home API to control actuators
MIT License
45 stars 4 forks source link

Parse room name and device type (light, outlet, etc.) from master structure #4

Closed henry-spanka closed 2 years ago

henry-spanka commented 4 years ago

As requested in henry-spanka/homebridge-buschjaeger#13

Additionally to the device names we should expose the room name and possible the device type (light, outlet, etc.). Maybe it's even possible to expose the device's name as appearing on the free@home device layout.

henry-spanka commented 4 years ago

I added some commits to the master branch. The following attributes are now exposed for each channel (if available):

timboozle commented 4 years ago

Wow this is great! I have both lights and outlets which correspond to iconId "1" for lights and "a" for outlets.