Basically, I needed to provide a default value instead of a
`getDefaultValue` function. Keeping with this for a while before trying
battery stats and door sensors again, but I think I figured out my
compliance problems…don’t know how it ever successfully added before,
actually.
Also removed some more cruft from the earlier old-API version and
started laying some groundwork for polling/updating from ZWay.
Got rid of old code I clearly don’t need anymore. Switched `this.log`s
to `debug`s. Fix for picking wrong vDev for thermostat current temp.
Added configuration for `Name` characteristic…which I guess became
required.
Mostly working, but door sensors need further work, battery service still isn't right, and I'm losing the bridge periodically...merging from master to see if I need some bugfixes.
Fixed issue that 'on/off'-type lights showed as dimmers in HomeKit.
Checking now on SwitchType instead of HaveDimmer
Fixed issue that 'on-off'-type lights would not react on Siri 'Switch
on/off light'; On/Off types are now handled as Lights instead of
Switches
handle sonos volume caching
added garage door opener
started with homematic keymatic (HM-SEC-KEY)
even more cleanups :)
rgb hue/sat/bri fix
added identify for lightbulbs
Config can set the play volume (in decibels per the AVR display) and the default input. If "AirPlay" is the default input, then the play command will be sent to the AVR.
supports switches, lightbulbs (dimmers and rgb/colored lights),
homematic window blinds, max and homematic thermostats, homematic
door&window sensors, PRESENCE and sonos (including volume)
the shim is bidirectional and uses longpoll to push fhem events
back to homekit. fhem events are cached so homekit querys for known
values will not cause a roundtrip to fhem
more:
http://forum.fhem.de/index.php/topic,32652.msg314166.html#msg314166
Creates a platform for Sonos that scans for all Sonos boxes and adds any that are not bridges (type 11) as accessories.
Reads the names of each box from the Sonos configuration and creates device names based on the Sonos room names.
For now the package location has been changed to reflect this. I've submitted a pull request but it doesn't look like it's been touched in a while so I'm not sure it's going to get merged.
Some things are missing or may not be working correctly but the main
things like checking the current temperature, the target temperature,
the humidity, setting the target temperature and etc.. I don’t think
the current heating mode is correct.