New Types and a critical bug fix
Hi all,
I hope you all enjoy Cmd4. I've updated it to reflect some new Accessories and Characteristics supported by Homebridge.
Most of these involve TLV8 (binary) values, but since Homebridge has them so should we 😀. I'm proud of the way I wrote Cmd4 in that adding new Accessories and Characteristics are as simple as updating the library files, so no code changes required 😁. This is why only the minor version update bump.
The New Accessories are:
AccessoryMetrics
AssetUpdate
Assistant
AudioStreamManagement
Battery
CameraRecordingManagement
CloudRelay
DataStreamTransportManagement
NFCAccess
SiriEndpoint
ThreadTransport
The new Characteristics are:
AssetUpdateReadiness
SupportedAssetTypes
ConfigurationState,
NFCAccessControlPoint,
NFCAccessSupportedConfiguration
SiriEndpointSessionStatus
ThreadControlPoint
ThreadNodeCapabilities
ThreadStatus
ThreadOpenThreadVersion
Bug fixes😢
Bug #130, linked accessories not accesible after restart (aeab5a40[]
Thanks to crbyxwpzfl for noticing this one! The bug probably existed for as long as LinkedTypes was added. Unit testing over restarts has always been difficult so I thank crbyxwpzfl very much for reporting it.
On a side note, if you are wondering about Cmd4 support for Homebridge-ui, I'm slowly, very slowly, working on it. My thoughts were to auto generate the schema based on the Cmd4 Library files. The dilemma is all the options Cmd4 supports and the limitations of the JSON schema format, coupled with homebridge-ui only supporting up to v6. That is not really an excuse, but hey this is all gratis anyway. I have not forgotten about it though!
Take care,
John Talbot