Home

Awesome

Logo

ioBroker.harmony

GitHub license Downloads GitHub repo size Translation status</br> GitHub commit activity GitHub commits since latest release (by date) GitHub last commit GitHub issues </br> Version: </br> NPM version Current version in stable repository Number of Installations </br> Tests: </br> Test and Release CodeQL

<!-- ## Sentry **This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.** For more details and for information how to disable the error reporting see [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)! Sentry reporting is used starting with js-controller 3.0. -->

ioBroker Logitech Harmony Adapter

Control your harmony activities from ioBroker.

Install

Install Harmony via ioBroker Admin. Adapter should automatically find your Hubs.

If the hub and iobroker are in different subnets broadcasts will not work (#147). The workaround is to add the hub IP as subnet IP but this only works for one hub, e.g. setting the subnet(s) to ("192.168.178.5,192.168.178.6") in admin will allow discovery for both hubs.

Usage

Activities

Start: Set the status state 'Instance.Hub_Name.activities.Activity_Name' to a Number greater than 0. During the activity's startup sequence the status changes from 1 (startup) to 2(running)

Stop: Set the state 'Instance.Hub_Name.activities.Activity_Name' to 0. Alternatively, you can set the hub's status 'Instance.activities.currentStatus' to any number. During the activity's exit sequence the status changes from 3 (stopping) to 0 (stopped)

Indicators

There are two indicators 'Instance.Hub_Name.activity' and 'Instance.Hub_Name.connected'. Both are read-only, changing their values has no effect.

.hubConnected Tells you whether the adapter is successfully connected to the hub.

.hubBlocked Is set to true if Hub is busy starting/stopping activities or sending commands.

activities.currentActivity Gives you the name of the currently running activity.

activities.currentStatus Gives you the current status of the hub.

activities.<activity name> Status of this activity. Values are the same as above.

Devices

Send Command
Set 'Instance.Hub_Name.Device_Name.command' to a number x to send command for x milliseconds. A value smaller than 250 probably will send the command only once. After sending the state will be set to 0 again.

Changelog

<!-- Placeholder for the next version (at the beginning of the line): ### **WORK IN PROGRESS** -->

1.5.0 (2024-06-02)

1.4.0 (2024-04-11)

1.3.0 (2023-11-08)

1.2.2 (2019-03-11)

1.2.1 (2019-02-21)

1.2.0 (2019-01-06)

1.1.5 (2018-12-28)

1.1.4 (2018-12-25)

1.1.2

1.1.1

1.1.0

1.0.0

0.10.2

0.10.0

0.9.6

0.9.3

0.9.1

please delete all harmony.x objects once

0.7.0

0.6.2

0.6.1

0.6.0

0.5.6

0.5.5

0.5.4

0.5.3

0.5.2

0.5.1

0.5.0

0.2.1

0.2.0

0.1.2

0.1.1

0.1.0

0.0.1

License

The MIT License (MIT)

Copyright (c) 2023-2024 iobroker-community-adapters iobroker-community-adapters@gmx.de Copyright (c) 2015-2019 Pmant patrickmo@gmx.de

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.