Git Product home page Git Product logo

iobroker.harmony's Introduction

Logo

ioBroker Logitech Harmony Adapter

===========================

NPM version Downloads

NPM

Control your harmony activities from ioBroker.

Install

Install Harmony via ioBroker Admin. Adapter should automatically find your 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.

  • 0 = inactive
  • 1 = starting
  • 2 = active
  • 3 = stopping

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

1.1.5 (2018-12-28)

  • (Pmant) fix hold key (for values > 250ms)

1.1.4 (2018-12-25)

  • (Pmant) fix single key presses

1.1.2

  • (Pmant) reduce log spam
  • (Pmant) fix multiple instances of one hub

1.1.1

  • (Pmant) switch to api module

1.1.0

  • (Pmant) switch to websocket client

1.0.0

  • (foxriver76) replace blanks by underscores
  • (foxriver76) minor readme adjustments
  • (foxriver76) discover interval 1000 ms by default again

0.10.2

  • (foxriver76) added discover interval and port to code
  • (foxriver76) discover interval is now 300 ms instead of 1000 ms

0.10.0

  • (foxriver76) added possibility to specify subnet for discovery
  • (foxriver76) fix translations
  • (foxriver76) Logging improved
  • (foxriver76) materialized index.html for admin v3
  • (foxriver76) make sure callback in unload is called

0.9.6

  • (foxriver76) updating code to es6
  • (foxriver76) using maintained harmony libs for discover and client
  • (foxriver76) possibility to only add whitelisted hubs
  • (foxriver76) MAX_CLIENTS = 6 error fixed
  • (foxriver76) enhanced logging
  • (foxriver76) changes for new libs

0.9.3

  • (justr1) fix error with hubname

0.9.1

please delete all harmony.x objects once

  • (Pmant) fix problematic chars

0.7.0

  • (Pmant) support multiple hubs
  • (Pmant) removed hub config from admin
  • (Pmant) find free Port for Hub-Discovery

0.6.2

  • (Pmant) fix wrong port

0.6.1

  • (Pmant) reduce logging

0.6.0

  • (Pmant) fix admin in firefox
  • (Pmant) improve connection stability (needs testing)

0.5.6

  • (PArns) update harmony lib
  • (PArns) removed unneeded functions due to lib update
  • (Pmant) fix bug with blocked state

0.5.5

  • (Pmant) fix hub lifecycle

0.5.4

  • (Pmant) fix node 5.0.0

0.5.3

  • (Pmant) fix node-xmpp-client version

0.5.2

  • (Pmant) change: add instance after installation
  • (Pmant) fix: deletes history settings

0.5.1

  • (Pmant) fix: bug with wrong states

0.5.0

  • (Pmant) change: object structure (delete instance once if had 0.2.1 or lower installed!)
  • (Pmant) add: send commands for x milliseconds
  • (Pmant) add: delete unused activities and devices
  • (Pmant) add: delay commands when hub is busy

0.2.1

  • (bluefox) change logo

0.2.0

  • (Pmant) switch activity on state change
  • (Pmant) stop current activity on hub status change
  • (Pmant) move activities to activity channel
  • (Pmant) add devices channel
  • (Pmant) add device control

0.1.2

  • (Pmant) hub discovery

0.1.1

  • (Pmant) fixes

0.1.0

  • (Pmant) keep alive connection to hub
  • (Pmant) create/update objects and states
  • (Pmant) update current activity status

0.0.1

  • (Pmant) connect to hub
  • (Pmant) listen for activies

TODO

  • translations

License

MIT

iobroker.harmony's People

Contributors

foxriver76 avatar germanbluefox avatar homoran avatar justr1 avatar parns avatar pmant avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.