Releases: ebaauw/homebridge-zp
Releases · ebaauw/homebridge-zp
v1.4.0
Minor Version Change
- As Homebridge ZP now supports multiple (S2 and S1) households from a single
ZP
platform instance, it no longer exposes theZPS1
platform, nor theforceS2
config.json key.
Enhancements
- Support multiple households, see #153:
- Only subscribe once per household to
ZoneGroupTopology
,AlarmClock
andContentDirectory
; - Only read alarm list and favourites once per household;
- Make sure to receive alarm list and favourites before accessories and services are created;
- Only subscribe once per household to
- Better support for larger networks, see #180 and #131;
- Use
ZoneGroupTopology
events instead ofGroupManagement
(for zone group membership) andDeviceProperties
(for battery).
- Use
ZpClient
:- Add properties:
household
,lastSeen
,memory
,zoneGroup
,zoneGroupName
,zoneGroupShortName
; - Monitor
ZoneGroupTopology
event notifications; - Re-initialise ZpClient after zone player has rebooted. Reboot detected through
handleUpnpMessage()
or by monitoringZoneGroupTopology
event notifcations;
- Add properties:
zp
: Add new flagzp topology -t
to monitor topology changes.- Expose Last Seen and Status Fault on Sonos service of zone master accessories, and on LED service of slave accessories.
- Use short zone group name ("Living Room + 2") instead of zone name for Sonos Group and in 1st TV input source.
Bug Fixes
- After changing inputs from Homebridge ZP, sometimes stop no longer works, because the event with the updated current AVTransport actions is ignored, see #173;
- TV service would show wrong input after joining a group from the input list.
- Improved handling of zone player reboot, see #1.
- Improved re-subscribe logic for unreachable zone players.
- Improved error handling.
Bump Dependencies
- NodeJS v14.17.4 LTS;
- homebridge-lib v5.1.11.
v1.3.4
v1.3.3
v1.3.2
v1.3.1
v1.3.0
Enhancements
- Support battery for Sonos Roam (and, I suppose, Sonos Move), see #172.
- Support dynamic log level through Log Level characteristic in HomeKit (and through
-D
flag ofzp
):- Level 0: only errors and warnings;
- Level 1: level 0 + updates to HomeKit characteristics
- Level 2 (or
zp -D
): level 1 + debug messages for interaction with zone players - Level 3 (or
zp -DD
): level 2 + debug messages for (translated) JSON payload of interaction with zone players - Level 4 (or
zp -DDD
): level 3 + debug messages for (native) XML payload of interaction with zone players
- Listener now listens on all interfaces;
address
config.json key has been removed. IP address for callback URL is constructed from the local IP address of the socket for the connection to zone player. - Added developer documentation for
ZpClient
andZpListener
.
Bug Fixes
- Handle reboot of zone player correctly, re-subscribing to all previously created subscriptions, see #1 and #172.
Fun fact: Sonos decided to upgrade to firmware 13.1.1 while I was testing this, and Homebridge ZP re-connected to all zone players after they upgraded and rebooted without restarting Homebridge.
Bump Dependencies
- NodeJS v14.17.0 LTS;
- homebridge-lib v5.1.4;
- lose dependency on
debug
.
v1.2.2
v1.2.1
Enhancements
- Use accessory category SPEAKER for the external "TV" accessory, so Home will show it with a speaker icon instead of a TV icon, see #167. Note that you need to remove the external accessory from HomeKit, and re-pair it, for Home to show the new icon. Other than the icon, the functionality doesn't change.
Bump Dependencies
- Homebridge v1.3.4;
- homebridge-lib v5.1.1.