npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

iobroker.harmony

v1.5.0

Published

Control your harmony activities from ioBroker.

Downloads

544

Readme

Logo

ioBroker.harmony

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

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.

  • 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.5.0 (2024-06-02)

  • (WolfspiritM) Multiple subnets can be entered as comma seperated list now. (#147)
  • (mcm1957) Testing for node.js 22 has been added.
  • (mcm1957) Dependencies have been updated.

1.4.0 (2024-04-11)

  • (mcm1957) Adapter requires node.js 18 and js-controller >= 5 now
  • (mcm1957) Translations have been updated
  • (mcm1957) Dependencies have been updated

1.3.0 (2023-11-08)

  • (mcm1957) Adapter requires nodejs 16 now.
  • (mcm1957) Adapter has been moved to iobroker-community-adapters organisation.
  • (mcm1957) Dependencies have been updated.

1.2.2 (2019-03-11)

  • (foxriver76) reduce discover interval and only log newly discovered hubs

1.2.1 (2019-02-21)

  • (foxriver76) use at least 1.0.5 of harmonyhubws

1.2.0 (2019-01-06)

  • (foxriver76) compact mode compatibility added

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

License

The MIT License (MIT)

Copyright (c) 2023-2024 iobroker-community-adapters [email protected] Copyright (c) 2015-2019 Pmant [email protected]

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.