Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

homebridge-harmony

nicoduj766ISC1.6.3

Publish your harmony activities as homekit accessories

homebridge-plugin, harmony, websocket, harmonyhub, homekit, category-media

readme

homebridge-harmony

verified-by-homebridge

npm npm npm

Build Status code style: prettier CodeFactor

Known Vulnerabilities

Support via PayPal

Logitech Harmony plugin for HomeBridge using WebSockets.

You can discuss this plugin on Discord in #harmony channel

Discord Status

This plugin is publishing harmony hub activities and devices as switches, with some advanced option (see below) for custom needs like macros, sequences, and much more. The TV mode is focused on harmony hub activities only at the moment : each activity of the hub is mapped to an input. A main activity is linked to the on/off switch of the accessory. Buttons on the remote app and volume controls will be binded to the one defined in the activity (if so). VOLUME IS BIND TO PHYSICAL BUTTONS WHEN REMOTE FROM CONTROL CENTER IS SHOWN . There is an option to override default mappings.

Note

Installation

  1. Install Homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-harmony
  3. Update your Homebridge config.json using the sample below.

Note about homebridge configuration

Since this plugin can expose external accessories (TV), you should probably set ports configuration in your homebridge conf with a dedicated range, like this :

    "ports": {
        "start": 52100,
        "end": 52150,
        "comment": "This section is used to control the range of ports that separate accessory (like camera or television) should be bind to."
      },

Also, if you use child Bridge (since Homebridge 1.3.0), it makes sense only if you publish switches / bridges accessories. If you are only running a default TV accessory, it will publish an empty bridge that might be confusing (see https://github.com/nicoduj/homebridge-harmony/issues/347 for more details)

Migration from 0.X to 1.X

You have to move your other platforms if you have more than one in a new key : "otherPlatforms": [{ }] , see sample below. The plugin MUST be adde donly One time in your config

  1. TV mode is now the default. If you want switches, use option switchAccessories (or activitiesToPublishAsAccessoriesSwitch )
  2. You have to rename skipedIfSameStateActivities to skippedIfSameStateActivities (with 2 p ) or addAllActivitiesToSkipedIfSameStateActivitiesList to addAllActivitiesToSkippedIfSameStateActivitiesList (also with 2 p ) if you were using one of those options.
  3. You have to rename publishActivitiesAsIndividualAccessories to publishSwitchActivitiesAsIndividualAccessories
  4. You have to modify devicesToPublishAsAccessoriesSwitch option if you were using it, see details below
  5. If you were overriding MENU through remoteOverrideCommandsList you have to use SETUP instead now (since it is in the settings of the remote).

In case of any trouble like accessories allready added (or missing), you can try to use the option cleanCache but please report in order for me to fix if possible (see Fields section).

To setup mutliple tv platorm, you will have to add others manually in homekit. Other ones (than the first one) won't be cached. See publishAllTVAsExternalAccessory for details.

Configuration samples

Simple Config (only TV Accessory)

"platforms": [
  {
    "platform": "HarmonyHubWebSocket",
    "name": "HubName",
    "hubIP": "192.168.1.XX"
  }
]

Only switch mode

"platforms": [
  {
    "platform": "HarmonyHubWebSocket",
    "name": "HubName",
    "TVAccessory" : false,
    "switchAccessories" : true
  }
]

Mutliple hubs - fixedIP

"platforms": [
  {
    "platform": "HarmonyHubWebSocket",
    "name": "HubName",
    "hubIP": "192.168.1.XX",
    "otherPlatforms": [{
      "name": "OtherHubName",
      "hubIP": "192.168.1.YY"
      }]
  }
]

Mutliple hubs - using harmonyNames

"platforms": [
  {
    "platform": "HarmonyHubWebSocket",
    "name": "HubName",
    "hubName": "myFirstHub",
    "otherPlatforms": [{
      "name": "OtherHubName",
      "hubName": "mySecondHub",
      }]
  }
]

Fields:

  • platform GLOBAL must be "HarmonyHubWebSocket" (required).
  • publishAllTVAsExternalAccessory GLOBAL publish all TV accessory as external Accessories. This way, if another plugin on the same homebridge instance as one, the one on harmony will also be visible, but you will have to add them manually after the hub itself. Defaults to TRUE (if set to false, only second tv accessory or following will be published by this plugin as external accessories, first one will be linked to the hub and might not display a TV icon).
  • cleanCache GLOBAL option to clean all cached Accessory. Please use with caution, might be needed if you change names / config of the hub and there is some ghost devices in Homekit. Be sure that all your icloud sync is done while launching Homebridge with this option set to true. Set it back to false after and launch again ! It does not affect external accessories.

  • DELAY_BEFORE_RETRY_AFTER_NETWORK_LOSS GLOBAL retry timer in case of network loss (optionnal - defaults 60s).

  • HUB_CONNECT_TIMEOUT GLOBAL connect timeout (optionnal - defaults 10s).
  • HUB_SEND_TIMEOUT GLOBAL send timeout (optionnal - defaults 30s).

  • name is the name of the published Platform (required).

  • hubName is the name of your hub in harmony app (optional, but mandatory if you have mutliple hubs). In case both hubName and hubIP are not set, it will discover your hub automatically, providing there is only one
  • hubIP is the static IP address of the hub (optional). A static IP address is required.
  • TVAccessory publish hub with its activities as a TV Accessory (defaults to true).
  • sortInput sort input list in TV accessory : 0-default,1:Alpha,2:activityOrder property of hub, 3:activitiesToPublishAsInputForTVMode order (defaults to 0).
  • switchAccessories publish all activities as a Switch Accessory (defaults to false).
  • activitiesToPublishAsAccessoriesSwitch array of Activities you want to expose as switches (all by default if switchAccessories is set to true, otherwise specify the list you want)
  • showTurnOffActivity configures whether to publish a "switch" accessory to turn off every activity (defaults to false).
    • if you set to true, The "switch" will be "on" if and only if there is no current activity, and toggling it while "on" does nothing.
    • if you set to "inverted", The "switch" will be "off" if and only if there is no current activity, and toggling it while "off" does nothing.
    • if you set to "stateless", it will always be off, but can be triggered to switch off current activity.
  • skippedIfSameStateActivities array of Activities name to trigger only if their state is different from the action sent. Can be useful if your devices in the activity have the same on / off command and you want to automate them outside off the home app. For TV mode, and PowerOff feature, "PowerOff" is added by default, but you have to add it manually to this list if this list is set.
  • addAllActivitiesToSkippedIfSameStateActivitiesList option to add all activities automatically to skippedIfSameStateActivities behavior. (defaults : false)
  • publishSwitchActivitiesAsIndividualAccessories option to publish activities as individual accessories. Defaults to true.
  • devicesToPublishAsAccessoriesSwitch array of Devices to exposes with on/off function or custom functions
  • publishDevicesAsIndividualAccessories option to publish devices as individual accessories. Defaults to true.
  • sequencesToPublishAsAccessoriesSwitch array of Sequences to exposes through a switch.
  • publishSequencesAsIndividualAccessories option to publish sequences as individual accessories. Defaults to true.
  • homeControlsToPublishAsAccessoriesSwitch array of home controls you want to publish as switches
  • publishHomeControlsAsIndividualAccessories option to publish home controls as individual accessories. Defaults to true.
  • mainActivity set the mainactivity of the TV mode
  • playPauseBehavior play/pause behavior in TV mode : if set to true, will send pause if played was set and vice-verca. Be aware that both commands must be available, and that it might be out of sync in case of external events (defaults : false - always send play command)
  • configureAccesscontrol configure Access control service (false by default)
  • publishGeneralMuteSwitch publish a mute switch, stateless, that will send a mute command to current activity.
  • publishGeneralVolumeSlider publish a volume slider, stateless, that will send a volume commands to current activity. Approximativley, it will send an Up / Down Volume command each 5%. It can be combined with numberOfCommandsSentForVolumeControl option to multiply the number of up / down commands sent.
  • publishGeneralVolumeSwitches publish switches, stateless, for volume up / down on TV Accessory. It can be combined with numberOfCommandsSentForVolumeControl option to multiply the number of up / down commands sent.
  • linkVolumeControlToTVlinks mute / volume switch to TV accessory if present
  • remoteOverrideCommandsList option to override default commands mapping in TV Platform Mode. See below for format.
  • activitiesToPublishAsInputForTVMode array of Activities you want to expose as inputs (all by default)
  • numberOfCommandsSentForVolumeControl option to set the number of commands to send for each volum (up or down) press. Defaults to 1
  • showCommandsAtStartup show commands and device losts at startup (defaults to false)
  • otherPlatforms is an array of hubs platform . All option are available except GLOBAL ones

All devices / Activites names are the one configured in harmony configuration, even if you rename them in home app.

Option devicesToPublishAsAccessoriesSwitch is an array that behaves this way :

  • You should put the name of the device as it is named in harmony app,
  • You can add a specific command or multiple ones JUST AFTER A ";" or a series of ";" if you want a switch to be added for this specific command or serie of commands (a default delay of 350ms will be added between each command if no sepecif delay is specified),
  • If you do not specify any specific command, the plugin will add either powerToggle if found in Power command group, or PowerOn and/or PowerOff if there is no powerToggle feature,

As a sample :

  "devicesToPublishAsAccessoriesSwitch" : ["Apple TV Gen 4|Button1;Play","Apple TV Gen 4;DirectionDown","Caisson","Sony PS4","MyDevice;Up;Up|2500;Down"]

will add

  • a switch for "Apple TV Gen 4" "Play" command, named Button1,
  • a switch for "Apple TV Gen 4" "DirectionDown" command,
  • a powerToggle switch for the device named "Caisson",
  • a powerOff switch only for PS4 (since there is no powerToggle nor powerOn command for it)
  • a switch that will send Up , then Up, then wait 2.5 seconds, then send Down to MyDevice

All commands available are displayed at startup. If no name is specified, it will be added with a generated name.

If you use a "/", it will do a non stateless switch and send commands before the / on On, and after on Off. Be aware that it can be out of sync .

As a sample :

  "devicesToPublishAsAccessoriesSwitch" : ["Apple TV Gen 4|Button1;Play/Pause","Caisson;/","Sony PS4;/","MyDevice;/","MyDevice;Up;Up|2500;Down/Down;Down|2500;Up"]

will add

  • a switch for "Apple TV Gen 4" "Play" command on on, "Pause" command on off, named Button1,
  • a powerToggle switch for the device named "Caisson", which will send PowerToggle on on and off,
  • a powerOff switch only for PS4 (since there is no powerToggle nor powerOn command for it) - thus no effect
  • a switch that will PowerOn on On and PowerOff on off to MyDevice since it doe not have a powerToggle and have both powerOn / PowerOff
  • a switch that will send Up , then Up, then wait 2.5 seconds, then send Down to MyDevice on On and reverse on Off

Option sequencesToPublishAsAccessoriesSwitch is an array that behaves this way :

  • You should put the name of the sequence as it is named in harmony app,

As a sample :

   "sequencesToPublishAsAccessoriesSwitch" : ["Test"]

will expose the sequence Test as a button.

See Logitech Harmony Sequence Configuration for sequences configuration.

Please note that the sequence can only be triggered if its activity is in use. (Sequences are linked to an activity by design in harmony app).

Option remoteOverrideCommandsList is an array that behaves this way :

  • You should put the name of the activity as it is named in harmony app,
  • Then an Array CommandsList with :
    • the name of the command you want to override
    • the commands like in devicesToPublishAsAccessoriesSwitch (with the name of the device first)
  "remoteOverrideCommandsList": [
      {
        "ActivityName": "La TV",
        "CommandsList": [
          {
            "CommandName": "PAUSE",
            "NewCommand": "Ampli;Number0;Number0"
          },
          {
            "CommandName": "BACK",
            "NewCommand": "TV;Back"
          }
        ]
      },
      {
        "ActivityName": "Un Film",
        "CommandsList": [
          {
            "CommandName": "ARROW_LEFT",
            "NewCommand": "TV;PreviousChannel"
          }
        ]
      }
    ]

will bahaves this way :

  • for "La TV" activity :
    • override PAUSE button in the remote with Number0 command for Ampli device, and send it 5 times
    • override BACK button in the remote with Back Command of TV device
  • for "Un Film" activity :
    • override ARROW_LEFT in the remote with PreviousChannel of TV device

Button List is :

  • REWIND
  • FAST_FORWARD
  • NEXT_TRACK
  • PREVIOUS_TRACK
  • ARROW_UP
  • ARROW_DOWN
  • ARROW_LEFT
  • ARROW_RIGHT
  • SELECT
  • BACK
  • EXIT
  • INFORMATION
  • PLAY
  • PAUSE
  • VOLUME_UP
  • VOLUME_DOWN
  • MUTE
  • SETUP

Commands of your device is shown in the log at startup in lines like : 'INFO - Command : COMMAND_NAME discovered for device : DEVICENAME'

Changelog

See CHANGELOG.

Inspiration

Thanks to

  • iandday for the Harmoney WebSocket protocol implementation and understanding of it.
  • lopelex for his clean plugin.
  • every tester / contributor that test, and give feedback in any way , and especially
    • gitgayhub for Home controls in 0.6.0
    • donavanbecker for testing multiple hubs auto discovery (and supporting homebirdge :) )

Donating

Support this project and others by nicoduj via PayPal.

Support via PayPal

License

As of Dec 01 2018, Nicolas Dujardin has released this repository and its contents to the public domain.

It has been released under the UNLICENSE.

changelog

Changelog

All notable changes to this project will be documented in this file.

1.6.3

  • [FIX] Change heading level h6 to h5 #418. Thanks to @lisanet
  • [FIX] handling empty other platform

1.6.2

  • [FIX] Add correct help message to sequencesToPublishAsAccessoriesSwitch in config UI #416. Thanks to @lisanet
  • [FIX] fix for issue #410. This fixes the 'TV showing as undefined' #415. Thanks to @lisanet

1.6.1

  • [FIX] Fixing order issue with sortInput set to 3 #375

1.6.0

  • [FIX] This plugin slows down Homebridge / socket closed messages #387 #380
  • [FIX] Switching activities powers off activity #395
  • [NEW] Option for sorting activities either alphabetically or by activity order in harmony conf or by activitiesToPublishAsInputForTVMode option order (thx to @alapitz PR - Sort the activities alphabetically #384)

1.5.4

  • [NEW] Option for sorting activities either alphabetically or by activity order in harmony conf (thx to @alapitz PR - Sort the activities alphabetically #384)

1.5.3

  • [FIX] PLAY and PAUSE commands not working #363

1.5.2

  • [FIX] Config.schema.json not up to date #346
  • [NEW] change discover lib / update Ws lib to try to fix some issues #362 #361 #341

1.5.1

  • [FIX] For devices published with PowerToggle : Cannot add a bridged Accessory with the same UUID as another bridged Accessory #345

1.5.0

  • [FIX] Warning with homebridge 1.3.0 #315
  • [FIX] Duplicate sequence names not handled #333
  • [NEW] devicesToPublishAsAccessoriesSwitch allow single switch to have a steta and different command for on / off - SEE README #308 #286
  • [NEW] remoteOverrideCommandsList allow command sequence #288 (numberOfCommands not supported anymore, you have to repeat the command - same syntax as in devicesToPublishAsAccessoriesSwitch)
  • [NEW] new parameters to set timeout and retry polling parameters #339

1.4.1

  • [FIX] Renaming mute/volumeup/volumedown does not persist even if not linked to tv accessory #313
  • [FIX] Accessories get re-added on every Homebridge start #314
  • [FIX] Received warning for the plugin 'homebridge-harmony' #315

1.4.0

  • [NEW] !!! TV defaults now to external accessories - #298 !!!
  • [FIX] prevent crash if no hubs found on auto discovery #300
  • [NEW] test power On / Off outside of Power control group for custom devices - #294
  • [NEW] General Volume Up and Down Accessories #296 - thx to @jplwoodward
  • [NEW] Add support ot github sponsors - thank you :) - #304

1.3.12

  • [FIX?] Removing access control by default to try to resolve #280

1.3.11

  • [FIX] No longer existing platform cannot be removed #275

1.3.10

  • [FIX] since Update 1.3.9 no iOS Remote button works except volume #271

1.3.9

  • [FIX] crash at reboot after last update : you might need to restart twice for everything to work again if you upgrade from 1.3.8 - #269

1.3.8

  • [FIX] numberOfCommands for volume broken - #261
  • [FIX] typo in config.schema for HomeBridge UI-X - PR #267
  • [NEW] adding AcessControlManagement to TV Accessories / Bumping homebridge Version

1.3.7

  • [FIX] change node prerequisite to LTS version (10.20.0 at least)

1.3.6

  • [FIX] changelog and dep error

1.3.5

It seems from my test that those changes are not breaking the cached accessories, but you might need to clean your cache in case of problems. Concerning SerialNumber, it should be updated after a restart, but could be a problem also. If that is the case, you will need to clean cache.

  • [FIX] Change pluginIdentifier in platform registration to be compatible with 1.0 of Homebridge (sorry guys, was not clean on this before ...)
  • [FIX] Unique serialnumber for accessories to avoid Eve App problems #249

1.3.4

1.3.3

  • [FIX] Link volume switch/ mute to tv accessory #244

1.3.2

  • [NEW] Link volume switch/ mute to tv accessory #244

1.3.1

  • [FIX] Mute command not working (regression from 1.3.0)

1.3.0

  • [NEW] Add capacity to send multiple commands at once with remoteOverrideCommandsList #236
  • [NEW] General volume control as a slider #239
  • [NEW] Dynamic Discovery of Hubs #238

1.2.7

  • [FIX] Removing added log for #217

1.2.6

  • [FIX] Still trying to solve Harmony Plugin causes Hoobs-Homebridge to crash #217

1.2.5

  • [FIX] Limiting number of sockets event in case of multiple refresh with no response from the hub or slight delay (network problems)

1.2.4

  • [NEW] Improve handling of false value in config #219

1.2.3

  • [FIX] Trying to fix by removing unecessary dep Harmony Plugin causes Hoobs-Homebridge to crash #217

1.2.2

  • [FIX] "View TV Settings" causes HomeBridge crash #207 (if no current input)
  • [FIX] Input set in a scene is ignored, and main activity is turned on #157

1.2.1

  • [FIX] "showTurnOffActivity" wrong config via ConfigUI-X #203

1.2.0

  • [NEW] Supports config UI X configuration interface. Be aware that remoteOverrideCommandsList is not in the same format anymore if you edit your config through the interface.

1.1.1

  • [FIX] error if an activity is named "TV" in some circumstances #195

1.1.0

  • [NEW] handle config changes by removing activities / services #167
  • [NEW] handling 2 tv accessories with only one hub (by separating activities) #178
  • [NEW] general mute switch #166
  • [NEW] activities with no TV (audio use case) #181
  • [FIX] showTurnOffActivity = False not working if was set to true before #183

1.0.7

  • [FIX] reverting to 1.0.4 code

1.0.6

  • [FIX] reverting a change

1.0.5

  • [FIX] trying to better handle some problems with clean cache / name caching

1.0.4

  • [FIX] sequencesToPublishAsAccessoriesSwitch switches don't do anything #165

1.0.3

  • [FIX] changing plarform name is not supported after first launch #162

1.0.2

  • [FIX] harmony.end is not a function #161

1.0.1

  • [FIX] Input set in a scene is ignored, and main activity is turned on #157

1.0.0

  • [NEW] Act as a dynamic platform
  • [NEW] Option to set custom default name for device switches
  • [BREAKING] complete subplatofrm logic / config change and renaming of some parameters - see README MIGRATION for details

0.7.0

  • [NEW] option for list of activities as switches / inputs #116 - SEE README activitiesToPublishAsInputForTVMode & activitiesToPublishAsAccessoriesSwitch
  • [NEW] option for Control volume in tv mode with a given number of IR commands #115 - SEE README numberOfCommandsSentForVolumeControl

0.6.1

  • [NEW] swithcing to @lopelex 1.0.9

0.6.0

  • [NEW] support for Exposing Home Control buttons #67
  • [BUG] ReferenceError #110

0.5.5

  • [BUG] - showTurnOffActivity doesn’t work properly when inverterted #107

0.5.4

  • [BUG] - Devices are not published if publishDevicesAsIndividualAccessories is set to false #106

0.5.3

  • [NEW] handle skipedIfSameStateActivities for POWER OFF in TV mode #104 - Just add "PowerOff" to the skipedIfSameStateActivities.

0.5.2

  • [FIX] ERROR - TVMODE - Override of a command throw an error if there is no device published in devicesToPublishAsAccessoriesSwitch #99
  • [FIX] Complete homebridge is unresponsive if 1 hub is not reachable #101 . I pushed a pull request to harmony api in order to have slower timeout, but still should allready be better.
  • [NEW] add “Menu” button to iOS remote widget #102

0.5.1

  • [FIX] The prout bug ... sorry guys !!!

0.5.0

  • [NEW] Tvmode : option to set specific commands on remote widget buttons #84 - SEE README FOR SYNTAX

0.4.92

  • [FIX] Sequences are gone since 0.4.8 #93

0.4.91

  • [FIX] ERROR - activityCommand : TypeError: Cannot read property 'debug' of undefined

0.4.9

  • [FIX] #89 This callback function has already been called by someone else when publishDevicesAsIndividualAccessories is set to true (default value :( sorry ! )

0.4.8

  • [NEW] Input hiding handling #85
  • [NEW] huge refactoring to enhance code quality (I hope there won't be too much bugs ! )
  • [NEW] stateless / inverted option for showTurnOffActivity #86
  • [FIX] Play / pause beahvior #76
  • [FIX] Back button not always handled depending on harmony configuration #83

0.4.7

  • [NEW] supports new option playPauseBehavior

0.4.6

  • [NEW] Supports Sequences. #69

0.4.5

  • [FIX] TVPlatform mode : name of device/inputs lost if modified at homebridge restart #68 (in docker env - using persist folder now)
  • [NEW] node.js minimum requirement updated to 7.6.0 (use of async / await)

0.4.4

  • [NEW] macro mode : you can specify the delay to wait after each command by adding a "|250" string for exemple : "MyDevice;Up|250;Down|500"
  • [FIX] TVPlatform mode : name of device/inputs lost if modified at homebridge restart #68

0.4.3

  • [FIX] TV Mode borken #66
  • [FIX] move timer for activity macro to 350ms

0.4.2

  • [FIX] move to latest version of @lopelex lib for compatibility with latest hub firmware 4.15.250 #64
  • [NEW] handle macro for devices switch . Use multiple commands separate by a ";" #63
  • [NEW] printing commands of your devices at startup in log (no debug needed)

0.4.1

  • [NEW] you can specify custom command for devices switches
  • [FIX] error if you set both options publishDevicesAsIndividualAccessories and publishActivitiesAsIndividualAccessories to false

0.4.0

  • [NEW] devicesToPublishAsAccessoriesSwitch option (#15)

0.3.9

  • [FIX] connection lost after a while : #56 and possible problem on different networks (still need confirmation #57)

0.3.8

  • [FIX] Moving back to official harmony-websocket plugin from @lopelex since pull request was mergerd and published

0.3.7

  • [FIX] TV-Mode : switching to pressrelease command for commands.

0.3.6

  • [FIX] TV-Mode : fixing Error: WebSocket closed with reason: Connection dropped by remote peer. (1006).

0.3.5

  • [FIX] TV-Mode : commands are not sent anymore

0.3.4

  • [FIX] TV-Mode : commands might be sent multiple times : switching to a forked version of harmony-websocket

0.3.3

  • [FIX] TV-Mode : commands might be sent multiple times

0.3.2

  • [FIX] disconnect issues #55

0.3.1

  • [FIX] tiny fixes / refactoring

0.3.0

  • [NEW] moving to @lopelex harmony-websocket lib
  • [NEW] no more timer for refresh (using statedigest only)

0.2.7

  • [FIX] bugs due to refresh through stateDigest - #50

0.2.6

  • [FIX] background refresh was stopping after 1 minute

0.2.5

  • [FIX] bugs and refactoring

0.2.4

  • [FIX] TV MODE - crash on button /volume action #50
  • [NEW] some code refactoring between two modes (I hope nothing is broken :)

0.2.3

  • [NEW] TV MODE - restoring SkipedIfSameStateActivities options #46

0.2.2

  • [FIX] TV MODE - potential issue with sound control
  • [FIX] TV MODE - potential issue with inputs lost (to be confirmed)
  • [NEW] refreshMode through stateDigest - option refreshByHub - defaults true #48

0.2.1

  • [FIX] TV MODE - remote controls are sent multiple times #43
  • [FIX] TV MODE - using the remote switch back to main activity #42
  • [FIX] TV MODE - goes to main input when run through automation #45
  • [FIX] TV MODE - cannot pick inputs at first launch #44 (not reproduced sinces other changes)

0.2.0

  • [FIX] crash when using off switch in accessory #36
  • [NEW] beta mode for TV - IOS 12.2

0.1.7

  • [FIX] Homebridge Crash when turning off activity #36 (publishActivitiesAsIndividualAccessories mode)

0.1.6

  • [FIX] Better default naming #33 . You might loose your renaming / room / inclusion in automation :(

0.1.5

  • [FIX] default value for publishActivitiesAsIndividualAccessories (true)

0.1.4

  • [NEW] option for using old way with one accessory for all activities #29
  • [FIX] add some delay before launching background refresh after successfull activity command since if refreshTimer is low the current activity get back to the wrong one

0.1.3

  • [FIX] fixing error in case of operation in progress (callback undefined in on_Timeout) #32
  • [FIX] fixing error in case of multiple hubs #28

0.1.2

  • [FIX] power off activity was able to be switched off when on.

0.1.1

  • [FIX] crash after launching an activity
  • [FIX] other activities not updated when activating one

0.1.0

  • [NEW] each activity is published as an accessory - You might need to empty your cache folder .

0.0.9

  • [NEW] option to add automatically all activities to skipedIfSameStateActivities
  • [FIX] skipedIfSameStateActivities propery no more mandatory
  • [FIX] potential conflict with other plugins

0.0.8

  • [NEW] add skipedIfSameStateActivities config list (see fields descrption).
  • [UPDATE] less Hub calls for currentActivity (refreshed only if it is not older than 2 secondes)
  • [UPDATE] some code refactoring
  • [UPDATE] turnOffActivityName option REMOVED (switch can be renamed in homekit directly)

0.0.7

  • [NEW] refreshTimer option (for automation purpose)
  • [NEW] ip of hub is used as serial number of the device.
  • [UPDATE] logs are now less verbose, ACTIVATE -D switch on homebridge if you have any trouble in order to get full logs

0.0.6

  • [BREAKING] platform was renamed to HarmonyHubWebSocket to avoid conflicts with previous plugins commonly used.
  • [NEW] introduces retry mechanism if error codes 202 / 100 returns by hub while starting an activity
  • [UPDATE] updates node dependency to 6.0.0 and homebridge to 0.4.21

0.0.3

  • [BREAKING] TurnOffActivityName was renamed to turnOffActivityName.