Skip to content

Releases: ztalbot2000/homebridge-cmd4

v8.0.2

20 Oct 19:44
Compare
Choose a tag to compare

Hi all,

This minor change fixes a bug in homebridge v2 where old accessories were not being deleted. Thanks to Wong for the fix. It was the most elegant solution when I looked at different possibilities.

take care,
John Talbot

v8.0.1 bug fix for accessories removed after upgrade

16 Aug 21:18
Compare
Choose a tag to compare

Hi all,

Cached accessories and those not defined in your config.json no longer need to be explicitly removed as the homebridge plugin template skips over them. The result was it looked like accessories were being added and removed, but they really were not. If anything, the last known state over a restart was lost of your accessories. This has been corrected with this release.

ttyl,
John Talbot

v8.0.0

01 Aug 23:22
Compare
Choose a tag to compare

Good day fellow homebridge users

Cmd4 v8.0.0 makes changes that support the upcoming homebridge v2. Their release deprecates a few device types, namely bridging devices that I'm pretty sure nobody uses. There are a couple of associated characteristic settings that they also deprecated. The only one I found odd was the characteristic named "category"; not that HomeKit actually used this recommendation to change the icon.

take care,
John Talbot

Add new accessories and characteristics

05 Mar 00:37
Compare
Choose a tag to compare

Hi all,

Please note that in the upcoming Cmd4 version 8.0 only Platform defined Cmd4 accessories will be allowed. (No worries. This is probably everyone). This is because of Homebridge deprecated templates.This will also make homebridge-ui easier to implement. In short this is allowed:

"platforms" :
   [{
         "platform": "Cmd4",
         "accessories" :
         [{
              "type":                      "Switch",
             ...

This will not be

"accessories": [
       {
          "accessory":                "Cmd4",
          "type":                     "Switch",
         ...

Now onto the good stuff ...
Cmd4 version 7.1 now supports the following new accessory types:
  • AccessCode
  • FirmwareUpdate
  • TapManagement
  • WiFiTransport

Cmd4 also now supports the following new characteristics:
  • AccessCodeControlPoint
  • AccessCodeSupportedConfiguration
  • AirPlayEnable
  • CharacteristicValueActiveTransitionCount
  • CryptoHash
  • FirmwareUpdateReadiness
  • FirmwareUpdateStatus
  • HardwareFinish
  • MetricsBufferFullState
  • MultifunctionButton
  • SelectedDiagnosticsModes
  • SelectedSleepConfiguration
  • SiriEnable
  • SiriEngineVersion
  • SiriLightOnUse
  • SiriListening
  • SiriTouchToUse
  • SiriTouchToUse
  • StagedFirmwareVersion
  • SupportedMetrics
  • SupportedFirmwareUpdateConfiguration
  • TapType
  • Token

Enjoy,

John Talbot

Full Changelog: v7.0.3...v7.1.0

fix: setProps for those who redefine their own characteristic properties

27 Jan 20:04
Compare
Choose a tag to compare

This is a very minor fix as nobody has used this feature in a long time.
If you redefine your characteristics properties they must be formatted like:

    props: { 
         currentTemperature: { maxValue:32, minValue:1}, 
         targetTemperature: {maxValue:32, minValue:1}
    }

There was a bug that predefined the object and this feature was not documented properly. Also a unit test was implemented to test if the actually properties were changed.

Note: while Cmd4 allows you to change the properties and Homebridge accepts this; That is not to say that the HomeKit GUI will respect them.

v7.02 Change for AdvantageAir users of this plugin

24 Dec 22:19
Compare
Choose a tag to compare

v7.02 Change for AdvantageAir

This change is for the AdvantageAir plugin only which uses Cmd4. It puts double quotes around the accessory names instead of single quotes. It allows them to put single quotes in their accessory names; However they accept the responsibility that moving away from single quotes means the shell can interpret the names within.

v7.0.1

11 Jun 14:38
Compare
Choose a tag to compare

Hi,

The reason for the major version numbering update was to for deprecation warnings to throw an error. These warnings have been there for years. Otherwise there was just one major bug fix for an accessory not going unresponsive and not showing it recovering afterwards.

I don't have much time to play with homebridge lately so please be patient if you find issues. The beta of the above fix has been available for months and people have been using it.

take care,
John Talbot

remove annoying running message & update docs

07 Mar 22:56
Compare
Choose a tag to compare

there was an annoying update message left in that has been removed. a test case was created so this cannot re-occur.
v7.0.0 documentation was updated

Resolve accessories not going unresponsive & deprecations removed

05 Mar 19:04
Compare
Choose a tag to compare

The reason for the major version numbering change was for some deprecation warnings to be removed and to now throw an error.
A bug to fix accessories not going unresponsive was resolved and now a "Get" retry count can be set, the default is zero (No retry)

New Types and a critical bug fix

12 Feb 19:19
Compare
Choose a tag to compare

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