Giter Site home page Giter Site logo

iobroker.ham's Introduction

Logo

ioBroker Homebridge accessories manager

Number of Installations Number of Installations NPM version

Test and Release Translation status Downloads

Use Homebridge plugins in ioBroker or run a global installed Homebridge as ioBroker adapter. All States from Homebridge will be available in ioBroker too and can also be controlled there.

Description

This adapter provides three different modes:

Default (Wrapper) Mode

In the default mode the adapter allows you to use homebridge Plugin Modules directly. You can explore all available plugins at the NPM website by searching for the keyword homebridge-plugin.

You simply add the list of modules to the Adapter configuration and provide the configuration in the JSON-editor (see Plugin descriptions). After this, all Homebridge objects will be created in ioBroker too and all writable objects can be changed too.

IMPORTANT: This mode allows to use the device integrations of the provided homebridge plugins. No "bridge" is provided that can be used by the Home App!

A link of successfully tried plugins with examples can be found here: https://forum.iobroker.net/viewtopic.php?f=20&t=15021

Local-Homebridge-Mode

If you want to have a published bridge to be used by the Home App and want to also interact with it from ioBroker and get the data, but do not already have homebridge installed then use this mode.

The Local mode installs the current compatible version of homebridge and runs it as ioBroker user. You provide the complete homebridge configuration using ioBroker. The installation of the homebridge modules is also done via ioBroker.

IMPORTANT: When using child bridges (new homebridge feature since 1.3.x) the adapter CAN NOT access the data provided by these child bridges! Only the main bridge is accessible!

Global-Homebridge-Mode

If you already use Homebridge (Apple OpenSource SmartHome) as a global installation on the host where also ioBroker runs on, then you can use this existing Homebridge installation and start this Homebridge installation as ioBroker process. In this case the Homebridge server is started by ioBroker.

IMPORTANT: You need to make sure the global service is NOT started by the system or such. ioBroker itself will do the start! See below for best practice setup details.

IMPORTANT: Because ioBroker starts the Homebridge also the logging is done by ioBroker. YOu can set the loglevel from the instance to silly to also see all Homebridge logs, else it will be filtered for the important stuff.

Additionally, all states from Homebridge are available as states in ioBroker and allow to be controlled from ioBroker.

For this to work you need to provide the location of the systems global node-modules folder. For this call npm root -g. Additionally, you need to provide the path of the homebridge configuration directory (usually .homebridge in the "users" folder).

IMPORTANT: ioBroker runs as user "iobroker", but homebridge normally as root or homebridge user (depending on how you installed it). You need to make sure that the homebride "persistance" folder can be accessed by the ioBroker user, else you will see errors that the file can not be saved (which can crash the adapter!)

IMPORTANT: When using child bridges (new homebridge feature since 1.3.x) the adapter CAN NOT access the data provided by these child bridges! Only the main bridge is accessible!

Install as Global Bridge details

Thanks to @Anzic23 here some details on how to set up homebridge ideally for global mode:

  1. sudo npm install -g --unsafe-perm homebridge homebridge-config-ui-x
  2. install hb-service (sudo hb-service install --user homebridge) This step is needed to create the necessary files and directories
  3. uninstall hb-service (sudo hb-service uninstall)
  4. after installing homebridge
sudo chmod 777 -R /var/lib/homebridge/
sudo chmod 777 -R /usr/lib/node_modules/homebridge

in iobroker Global Homebridge Path: /usr/lib/node_modules/homebridge

Global Homebridge Config Directory Path: /var/lib/homebridge

Following plugins were tested in Default mode

  • homebridge-chamberlain v1.0.1 - plugin for Chamberlain garage door openers with MyQ
  • homebridge-doorbird v0.0.4 - Plugin for Doorbird
  • homebridge-dyson-link v2.2.2 - Dyson Link devices
  • homebridge-edomoticz v2.1.11 - A fully-fledged up-to-date Plugin for Domoticz
  • homebridge-Fibaro-HC2 v2.1.5 - Fibaro HomeCenter integration
  • homebridge-homee v0.2.4 - A fully-fledged up-to--date Plugin for Homee
  • homebridge-ikea-tradfri-gateway v1.0.26 - Tradfri
  • homebridge-noolite v0.0.29 - Noolite via USB MTRF-64 or МТRF-64 modules
  • homebridge-platform-wemo v1.0.1 - Belkin WeMo Platform plugin
  • homebridge-seasons v1.0.1 - A plugin to display the current season of the year.
  • homebridge-vera v0.8.2 - VeraLink is an application for Z-Wave accessories from Vera (Node.js 8.11.3) ... and many more

TODO

  • Tests
  • More documentation?!
  • Test and find out if ESM modules will work in which mode (I expect none)

Changelog

WORK IN PROGRESS

  • (Apollon77) Optimize value determination on accessory initialization

5.3.1 (2022-09-28)

  • (bluefox) Updated GUI packages

5.3.0 (2022-09-15)

  • (Apollon77) Add option to enable homebridge debug logging

5.2.4 (2022-09-15)

  • (Apollon77) Prevent crash when accessing a state which is not controllable anymore

5.2.3 (2022-09-14)

  • (Apollon77) Optimize Accessory processing

5.2.2 (2022-09-14)

  • (Apollon77) make compatible to more plugins

5.2.1 (2022-09-12)

  • (Apollon77) make compatible to more plugins

5.1.0 (2022-08-17)

  • IMPORTANT update homebridge and wrapper to 1.5.0 (latest as of today). IMPORTANT: Requires also homebridge 1.5.x installed when using global mode and local mode will update to 1.5.x too! Check your plugins for updates!

5.0.2 (2022-07-20)

  • (bluefox) Update tab GUI

5.0.1 (2022-06-28)

  • (Apollon77) Make sure values are set after objects were created

5.0.0 (2022-06-27)

  • IMPORTANT update homebridge and wrapper to 1.4.1 (latest as of today). IMPORTANT: Requires also homebridge 1.4.x installed when using global mode and local mode will update to 1.4.x too! Check your plugins for updates!
  • (Apollon77) Sync forbidden characters with ioBroker standard - Object IDs might change with this version!
  • (Apollon77) Basically allow to specify http URLS as plugins in the main configuration list (not the tab!)
  • (Apollon77) Also try to register on external accessories like cameras (experimental)
  • (Apollon77) Fix loading issues with the tab

4.0.4 (2022-06-07)

  • (bluefox) Corrected configuration in dark theme

4.0.3 (2022-03-20)

  • (bluefox) Update packages

4.0.2 (2021-05-08)

  • (Apollon77) prevent warnings in js-controller 3.3

4.0.1 (2021-03-24)

  • (Apollon77) update homebridge and wrapper to 1.3.4 (latest as of today). IMPORTANT: Requires also homebridge 1.3.x installed when using global mode and local mode will update to 1.3.x too! Check your plugins for updates!
  • (UncleSamSwiss) Add an experimental version of new plugin selection and configuration tab - TRY IT OUT!
  • (Apollon77) IMPORTANT: Configurations in local/global mode with child bridges will NOT work because ioBroker can not access the data on the child bridge processes!

3.0.2 (2020-11-29)

  • (Apollon77) update homebridge in wrapper to 1.1.6 (latest as of today)

3.0.1 (2020-08-08)

  • (Apollon77) set a very high limit (again) on allowed accessories and services because irrelevant

3.0.0 (2020-08-04)

  • (Apollon77) BREAKING: ONLY WORKS WITH HOMEBRIDGE 1.1.x+ AND Node JS >=10.17.0!! Make sure plugins support it AND homebridge is updated to 1.1.x when you use the Global Mode!

1.1.2 (2019-07-08)

  • (Apollon77) Allow more than 149 accessories in wrapper mode

1.1.1 (2019-07-05)

  • (Apollon77) Add option to update NPM modules in Admin. Reinstall will happen after saving settings
  • (Apollon77) Enhance NPM installation handling
  • (Apollon77) Allow to specify special version of homebridge NPM packages using name@version
  • (Apollon77) Allow to specify homebridge command line options. They will be added to the command line arguments (Some plugins need that or special features are only available with it)
  • (Apollon77) Add "Local" mode that installs an own homebridge and run it as bridge

1.0.1 (2019-01-16)

  • (SchumyHao) Add Chinese support

1.0.0 (WIP)

  • (Apollon77) add polling interval to global mode
  • (Apollon77) add option to use insecure flag in wrapper mode

0.4.5 (2018.08.21)

  • (Apollon77) issues fixed

0.4.4 (2018.08.07)

  • (Apollon77) corrected automatic role determination and bugs fixed

0.4.2 (2018.06.25)

  • (Apollon77) Fix for global mode

0.4.1 (2018.06.21)

  • (Apollon77) option to poll values from the plugins added and other optimizations

0.3.1 (2018.06.20)

  • (kirovilya) Fixed a bug in global mode that values were not reported back to iOS devices

0.3.0 (2018.06.20)

  • (bluefox) Support of ham plugins was added

0.2.6 (2018.06.19)

  • (Apollon77) Updates for Homebridge-Wrapper

0.2.5 (2018.06.18)

  • (Apollon77) Catch all console logs from Homebridge and make available as debug log

0.2.4 (2018.06.18)

  • (Apollon77) Updates for Homebridge-Wrapper

0.2.3 (2018.06.17)

  • (Apollon77) Updates for Homebridge-Wrapper

0.2.2 (2018.06.17)

  • (Bluefox) Fixes for JSON editor in Firefox and Chrome

0.2.0/0.2.1 (2018.06.17)

  • (Apollon77) Public test version with both modes
  • (Bluefox) Admin3

0.1.0 (2018.06.09)

  • (Apollon77) Update for working mode 1

0.0.1 (2018.03.24)

  • (kirovilya) initial commit

License

The MIT License (MIT)

Copyright (c) 2018-2022 Apollon77 [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.

iobroker.ham's People

Contributors

alcalzone avatar anzic23 avatar apollon77 avatar arteck avatar dependabot[bot] avatar dutchmannl avatar germanbluefox avatar greenkeeper[bot] avatar johnnybyzhang avatar kirovilya avatar ldittmar81 avatar lgtm-migrator avatar o0shojo0o avatar schumyhao avatar unclesamswiss avatar vesler avatar yaming116 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iobroker.ham's Issues

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/ioBroker/ioBroker.ham

  • [E140] width and height of logo are not equal
  • [E506] More non translated in german or russian words found in admin/words.js. You can use https://translator.iobroker.in/ for translations
  • [E605] No actual year found in copyright. Please add "Copyright (c) 2018-2021 Apollon77 [email protected]" at the end of README.md

I have also found warnings that may be fixed if possible.

  • [W113] Adapter should support compact mode
  • [W505] setTimeout found in "main.js", but no clearTimeout detected

Thanks,
your automatic adapter checker.

An in-range update of string-argv is breaking the build 🚨

The dependency string-argv was updated from 0.3.0 to 0.3.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

string-argv is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/appveyor/branch: Waiting for AppVeyor build to complete (Details).
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 3 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Advice: Make this adapter as a homekit manager.

Hi @Apollon77

This adapter is an brilliant adapter for ioBroker:

  • It can translate all devices that supported by homekit to ioBroker.
  • User can add homebridge-plugin-* in frontend, without open SSH terminal and tun npm command.(It is not a easy thing for new user)
  • User can edit plugin JSON config file in frontend, and frontend can check JSON format.(If second thing is not easy for new user, EDIT JSON FILE is a nightmare for them!)

As this adapter is based on homebridge-plugin-wrapper, this lib's README file says it can not work as a normal bridge, user can not find this bridge in Homekit. It's a pity that this adapter can not work as a normal homekit bridge.

Hi @Apollon77 , can you give me a hit that why we can not make adapter into a homekit magager?
If default mode can work as a normal homekit bridge, we can achive all benefits together:

  • Install HAP with this adapter, no need shell command for user.
  • Install plugins in frontend.
  • Edit plugins in frontend.
  • Help user check his config file.
  • A FULL FUNCTION homekit bridge. Homekit function works normal
  • User can use ioBroker's blockly and JS to edit automations.
  • User can make there own website for his house by UI adapters supported by ioBroker.

I think if this adapter can attracts HAP user to use ioBroker.

BRs
Schumy

GlobalModus issue

I have homebridge and iobroker running on my raspberrypi.
seetings for Global Moduls are '/usr/local/lib/node_modules/homebridge/ ' and '/root/.homebridge/'

it is connecting and receiving also the information from the homebridge but it also restartet due several problems:

host.raspberrypi 2018-10-18 21:25:05.521 info Restart adapter system.adapter.ham.0 because enabled
host.raspberrypi 2018-10-18 21:25:05.521 error instance system.adapter.ham.0 terminated with code 0 (OK)
host.raspberrypi 2018-10-18 21:25:05.521 error Caught by controller[0]: at initAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4990:18) code: 'MODULE_NOT_FOUND' }
host.raspberrypi 2018-10-18 21:25:05.520 error Caught by controller[0]: at Adapter.emit (events.js:208:7)
host.raspberrypi 2018-10-18 21:25:05.520 error Caught by controller[0]: at emitNone (events.js:106:13)
host.raspberrypi 2018-10-18 21:25:05.520 error Caught by controller[0]: at Adapter.main (/opt/iobroker/node_modules/iobroker.ham/main.js:198:31)
host.raspberrypi 2018-10-18 21:25:05.520 error Caught by controller[0]: at Object.init (/opt/iobroker/node_modules/iobroker.ham/lib/global-handler.js:52:33)
host.raspberrypi 2018-10-18 21:25:05.519 error Caught by controller[0]: at module.exports (/opt/iobroker/node_modules/iobroker.ham/lib/mapper.js:15:20)
host.raspberrypi 2018-10-18 21:25:05.519 error Caught by controller[0]: at require (internal/module.js:11:18)
host.raspberrypi 2018-10-18 21:25:05.519 error Caught by controller[0]: at Module.require (module.js:597:17)
host.raspberrypi 2018-10-18 21:25:05.518 error Caught by controller[0]: at Function.Module._load (module.js:475:25)
host.raspberrypi 2018-10-18 21:25:05.518 error Caught by controller[0]: at Function.Module._resolveFilename (module.js:548:15)
host.raspberrypi 2018-10-18 21:25:05.517 error Caught by controller[0]: { Error: Cannot find module 'homebridge-plugin-wrapper'
host.raspberrypi 2018-10-18 21:25:02.805 info instance system.adapter.ham.0 started with pid 26134
host.raspberrypi 2018-10-18 21:24:32.779 info Restart adapter system.adapter.ham.0 because enabled

Error2

ham.0 2018-10-18 21:24:32.693 info terminating
ham.0 2018-10-18 21:24:32.241 warn Exception: Error: Cannot find module 'homebridge-plugin-wrapper'
ham.0 2018-10-18 21:24:32.238 info cleaned everything up...
ham.0 2018-10-18 21:24:32.236 error at initAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4990:18)
ham.0 2018-10-18 21:24:32.236 error at Adapter.emit (events.js:208:7)
ham.0 2018-10-18 21:24:32.236 error at emitNone (events.js:106:13)
ham.0 2018-10-18 21:24:32.236 error at Adapter.main (/opt/iobroker/node_modules/iobroker.ham/main.js:198:31)
ham.0 2018-10-18 21:24:32.236 error at Object.init (/opt/iobroker/node_modules/iobroker.ham/lib/global-handler.js:52:33)
ham.0 2018-10-18 21:24:32.236 error at module.exports (/opt/iobroker/node_modules/iobroker.ham/lib/mapper.js:15:20)
ham.0 2018-10-18 21:24:32.236 error at require (internal/module.js:11:18)
ham.0 2018-10-18 21:24:32.236 error at Module.require (module.js:597:17)
ham.0 2018-10-18 21:24:32.236 error at Function.Module._load (module.js:475:25)
ham.0 2018-10-18 21:24:32.236 error at Function.Module._resolveFilename (module.js:548:15)
ham.0 2018-10-18 21:24:32.236 error Error: Cannot find module 'homebridge-plugin-wrapper'
ham.0 2018-10-18 21:24:32.235 error uncaught exception: Cannot find module 'homebridge-plugin-wrapper'
ham.0 2018-10-18 21:24:32.165 info starting. Version 0.4.5 in /opt/iobroker/node_modules/iobroker.ham, node: v8.12.0
ham.0 2018-10-18 20:59:54.749 error adapter disabled
ham.0 2018-10-18 20:59:22.531 info terminating
ham.0 2018-10-18 20:59:22.062 warn Exception: Error: Cannot find module 'homebridge-plugin-wrapper'
ham.0 2018-10-18 20:59:22.060 info cleaned everything up..

I am not sure how to add this homebridge-plugin-wrapper, and even if it was installed it was not configured correct. any help would be great.

Thanks
Oliver

@gaudes do you have any idea? @nicoh88

Starten im "Lokaler Modus" geht nicht

host.raspberrypi 2019-08-17 17:11:16.072 error instance system.adapter.ham.0 terminated with code 0 (OK)
host.raspberrypi 2019-08-17 17:11:16.072 error Caught by controller[0]: at Manager.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
host.raspberrypi 2019-08-17 17:11:16.072 error Caught by controller[0]: at Manager. (/opt/iobroker/node_modules/component-bind/index.js:21:15)
host.raspberrypi 2019-08-17 17:11:16.072 error Caught by controller[0]: at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:236:12)
host.raspberrypi 2019-08-17 17:11:16.072 error Caught by controller[0]: at Socket.onack (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:312:9)
host.raspberrypi 2019-08-17 17:11:16.072 error Caught by controller[0]: at Socket.that.objects.getObjectView (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2696:25)
host.raspberrypi 2019-08-17 17:11:16.071 error Caught by controller[0]: at adapter.getDevices (/opt/iobroker/node_modules/iobroker.ham/main.js:177:27)
host.raspberrypi 2019-08-17 17:11:16.071 error Caught by controller[0]: at loadExistingAccessories (/opt/iobroker/node_modules/iobroker.ham/main.js:276:39)
host.raspberrypi 2019-08-17 17:11:16.071 error Caught by controller[0]: at Object.start (/opt/iobroker/node_modules/iobroker.ham/lib/global-handler.js:279:14)
host.raspberrypi 2019-08-17 17:11:16.071 error Caught by controller[0]: at new Server (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge/lib/server.js:56:38)
host.raspberrypi 2019-08-17 17:11:16.071 error Caught by controller[0]: at Server._loadConfig (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge/lib/server.js:230:32)
host.raspberrypi 2019-08-17 17:11:16.069 error Caught by controller[0]: TypeError: Cannot read property 'username' of undefined
host.raspberrypi 2019-08-17 17:11:12.628 info instance system.adapter.ham.0 started with pid 32200
host.raspberrypi 2019-08-17 16:10:42.588 info Restart adapter system.adapter.ham.0 because enabled

States request in global-mode

When we use global-homebridge-mode it would be great to have an option to initiate ham device status update from iobroker.

Please add your adapter to ioBroker.discovery

I am an automatic service from ioBroker that searches adapters and makes suggestions.

I noticed that your adapter is not integrated in the ioBroker.discovery. Using the Discovery adapter, ioBroker can automatically find devices or suggest services to the user for installation. If possible I would live to see your adapter added there.

Some adapters have already been added and you can use them as blueprints. See: https://github.com/ioBroker/ioBroker.discovery You need to fork this project and then create a PR for your adapter to be added.

Basically the plugins can do HTTP calls, UDP discovery, MDNS, UPNP and will iterate over all devices found by IP scan and check local serial ports. If you want you can also add new discovery methods but please try to do that with at least dependencies as possible.

Then create one file under lib/adapters for your adapter to implement the detection and proposal of an instance to the user.

On questions, the other developers will support in the forum or via GitHub issues too.

If no detection is possible, simply close this issue and I won't bother you again. ;-)

Thanks,
your automatic adapter checker.

An in-range update of mocha is breaking the build 🚨


🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! 💜 🚚💨 💚

Find out how to migrate to Snyk at greenkeeper.io


The devDependency mocha was updated from 7.1.2 to 7.2.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

mocha is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/appveyor/branch: Waiting for AppVeyor build to complete (Details).
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v7.2.0

7.2.0 / 2020-05-22

🎉 Enhancements

🐛 Fixes

📖 Documentation

🔩 Other

Commits

The new version differs by 33 commits.

  • 2aab607 Release v7.2.0
  • d525345 update CHANGELOG for v7.2.0 [ci skip]
  • c6b7b61 Downgrade fs-extra for v7.x release branch
  • c967789 fetch sponsors at build time, show ALL non-skeevy sponsors; closes #4271 (#4272)
  • 19f1841 Bump linters ecma version
  • 08c3124 Test spec fixes
  • 1edfb70 Fix for runnable.spec.js
  • 792292a multiple async done() calls result in failure; closes #4151 (#4152)
  • 5fd44cc add Root Hook Plugins
  • e07cf0f do not commit generated content to VCS; closes #3713 (#4289)
  • 137ba18 smart quotes and such on website; closes #3716
  • 23c28e0 add javascript in docs to eslint
  • ab59bfa fix improper warnings for invalid reporters (#4275)
  • 80c1a1a fix test/unit/hook.spec.js (#4288)
  • d4fd2a6 --forbid-only doesn't recognize it.only when before crashes (#4256); closes #3840

There are 33 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

WeMo Plugins don't work

There are 2 available versions:
homebridge-platform-wemo
homebridge-wemo

both don't work, with errors like:

Caught 2018-06-18 18:29:30.358 error by controller[6]: at loadExistingAccessories (/opt/iobroker/node_modules/iobroker.ham/main.js:217:57)
Caught 2018-06-18 18:29:30.358 error by controller[6]: at Object.start (/opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js:90:23)
Caught 2018-06-18 18:29:30.358 error by controller[6]: at HomebridgeWrapper.init (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/index.js:176:17)
Caught 2018-06-18 18:29:30.358 error by controller[6]: at Server.run (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/server.js:85:36)
Caught 2018-06-18 18:29:30.358 error by controller[6]: at Server._loadPlatforms (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/server.js:314:45)
Caught 2018-06-18 18:29:30.358 error by controller[6]: at API.platform (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/api.js:122:13)
Caught 2018-06-18 18:29:30.357 error by controller[6]: Error: The requested platform 'BelkinWeMo' was not registered by any plugin.
Caught 2018-06-18 18:29:30.357 error by controller[5]: [2018-6-18 18:29:30] ====================
Caught 2018-06-18 18:29:30.357 error by controller[4]: at Array.forEach (native)
Caught 2018-06-18 18:29:30.357 error by controller[4]: at Server. (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/server.js:147:14)
Caught 2018-06-18 18:29:30.355 error by controller[4]: at Plugin.load (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/plugin.js:72:22)
Caught 2018-06-18 18:29:30.354 error by controller[4]: at require (internal/module.js:20:19)
Caught 2018-06-18 18:29:30.354 error by controller[4]: at Module.require (module.js:504:17)
Caught 2018-06-18 18:29:30.354 error by controller[4]: at Function.Module._load (/opt/iobroker/node_modules/iobroker.ham/node_modules/mock-require/index.js:29:22)
Caught 2018-06-18 18:29:30.354 error by controller[4]: at Function.Module._load (module.js:445:3)
Caught 2018-06-18 18:29:30.354 error by controller[4]: at tryModuleLoad (module.js:453:12)
Caught 2018-06-18 18:29:30.354 error by controller[4]: at Module.load (module.js:494:32)
Caught 2018-06-18 18:29:30.353 error by controller[4]: at Object.Module._extensions..js (module.js:586:10)
Caught 2018-06-18 18:29:30.353 error by controller[4]: at Module._compile (module.js:577:32)
Caught 2018-06-18 18:29:30.353 error by controller[4]: at Object. (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-platform-wemo/index.js:26:12)
Caught 2018-06-18 18:29:30.353 error by controller[4]: at new module.exports (/opt/iobroker/node_modules/iobroker.ham/node_modules/wemo-client/index.js:17:22)
Caught 2018-06-18 18:29:30.353 error by controller[4]: at new SsdpClient (/opt/iobroker/node_modules/iobroker.ham/node_modules/wemo-client/node_modules/node-ssdp/lib/client.js:40:8)
Caught 2018-06-18 18:29:30.353 error by controller[4]: at SsdpClient.SSDP (/opt/iobroker/node_modules/iobroker.ham/node_modules/wemo-client/node_modules/node-ssdp/lib/index.js:81:8)
Caught 2018-06-18 18:29:30.352 error by controller[4]: at SsdpClient.SSDP._init (/opt/iobroker/node_modules/iobroker.ham/node_modules/wemo-client/node_modules/node-ssdp/lib/index.js:128:54)
Caught 2018-06-18 18:29:30.352 error by controller[4]: [2018-6-18 18:29:30] TypeError: ip.address is not a function
Caught 2018-06-18 18:29:30.352 error by controller[3]: [2018-6-18 18:29:30] ERROR LOADING PLUGIN homebridge-platform-wemo:
Caught 2018-06-18 18:29:30.352 error by controller[2]: [2018-6-18 18:29:30] ====================
Caught 2018-06-18 18:29:30.352 error by controller[1]: [2018-6-18 18:29:27] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
Caught 2018-06-18 18:29:30.351 error by controller[0]: [2018-6-18 18:29:27] Plugin /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
ham.0 2018-06-18 18:29:30.321 info terminating

Homebridge stops if i add it to the apple home app

here is the error:

host.raspberrypi 2019-08-04 13:09:00.119 error instance system.adapter.ham.0 terminated with code 0 (OK)
host.raspberrypi 2019-08-04 13:09:00.118 error Caught by controller[1]: at process._tickCallback (internal/process/next_tick.js:63:19)
host.raspberrypi 2019-08-04 13:09:00.118 error Caught by controller[1]: at endReadableNT (_stream_readable.js:1145:12)
host.raspberrypi 2019-08-04 13:09:00.118 error Caught by controller[1]: at IncomingMessage.emit (events.js:198:13)
host.raspberrypi 2019-08-04 13:09:00.118 error Caught by controller[1]: at HAPServer. (/opt/iobroker/node_modules/iobroker.ham/node_modules/hap-nodejs/lib/HAPServer.js:209:39)
host.raspberrypi 2019-08-04 13:09:00.118 error Caught by controller[1]: at HAPServer._handlePair (/opt/iobroker/node_modules/iobroker.ham/node_modules/hap-nodejs/lib/HAPServer.js:315:10)
host.raspberrypi 2019-08-04 13:09:00.118 error Caught by controller[1]: at HAPServer._handlePairStepThree (/opt/iobroker/node_modules/iobroker.ham/node_modules/hap-nodejs/lib/HAPServer.js:413:8)
host.raspberrypi 2019-08-04 13:09:00.118 error Caught by controller[1]: at HAPServer._handlePairStepFour (/opt/iobroker/node_modules/iobroker.ham/node_modules/hap-nodejs/lib/HAPServer.js:439:8)
host.raspberrypi 2019-08-04 13:09:00.118 error Caught by controller[1]: at HAPServer._handlePairStepFive (/opt/iobroker/node_modules/iobroker.ham/node_modules/hap-nodejs/lib/HAPServer.js:457:36)
host.raspberrypi 2019-08-04 13:09:00.117 error Caught by controller[1]: at Function.nacl.sign.detached (/opt/iobroker/node_modules/iobroker.ham/node_modules/tweetnacl/nacl-fast.js:2276:24)
host.raspberrypi 2019-08-04 13:09:00.117 error Caught by controller[1]: at Object.nacl.sign (/opt/iobroker/node_modules/iobroker.ham/node_modules/tweetnacl/nacl-fast.js:2257:11)
host.raspberrypi 2019-08-04 13:09:00.116 error Caught by controller[1]: Error: bad secret key size

value polling interval

In addition to value polling interval is it possible to add a polling interval delay setting ( in milliseconds), so the device states are checked with "polling interval" but with "delay" between requests? It will be useful for some 433 MHz devices when a lot of channels being requested at once makes difficult to use the same frequency by other devices.

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.

missing devices with homebridge-fibaro-hc2

hi,
with homebridge-fibaro-hc2 in wrapper mode some devices like rollershutter, co-sensor or temperature are populated in iobroker.
but i’m missing some devices like wind-sensor (m/s)
logfiles doesn’t show any error...

is there a limit of devices?

planned to go to on HomeBridge Server version 1.x?

I am trying to get somehow arlo working on iobroker. I found out about homebridge-arlo module (not sure if this is working anyway). Actually it looks like this module need a higher version of underlying HomeBridge Server. Are there any plans to update to a server of 1.x version?

Error: Plugin /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-arlo requires a HomeBridge version of >=1.0.0 which does not satisfy the current HomeBridge version of 0.4.50. You may need to upgrade your installation of HomeBridge.

thanks for you great work!!!

Global Mode Logfile

My adapter is running in global mode and everything seems to be running smooth since a few months. But there seems to be a glitch with the loging. For me it looks like that the levels info and debug are switched. For example every status change is listed in the info mode but the general info about the plugins that are loaded are only displayed in debug mode.
Is there a way to change this behavior?
For better understanding I uploaded a screenshot. Grey debug message with date and time in my understanding should be the output for the info level. Black info messages and grey info messages without date and time should be the output for debug level.
Bildschirmfoto 2020-02-10 um 17 16 01

Feature request: delete homebridge cache

When I delete the ham instance, the homebridge's cache is not deleted.

  • iobroker-data/ham_x/persist
  • iobroker-data/ham_x/accessories

When the username in the bridge changes, the homekit will not be able to search for the current bridge.
Can we also delete the relevant cache when deleting ham or run the current configuration and change the local cache before changing

Rights Probleme in "local mode"

I use ham 1.1.2

I cant install any plugin

ham.0 2019-08-26 11:07:02.695 info npm install homebridge-dyson-link --production --prefix "/opt/iobroker/node_modules/iobroker.ham" (System call)
ham.0 2019-08-26 11:07:02.694 error Cannot install homebridge-dyson-link: 243
ham.0 2019-08-26 11:07:02.652 info npm ERR! /home/iobroker/.npm/_logs/2019-08-26T10_07_02_609Z-debug.log
ham.0 2019-08-26 11:07:02.652 info npm ERR! A complete log of this run can be found in:
ham.0 2019-08-26 11:07:02.649 info
ham.0 2019-08-26 11:07:02.615 info npm ERR! the command again as root/Administrator (though this is not recommended).
ham.0 2019-08-26 11:07:02.615 info npm ERR! permissions of the file and its containing directories, or try running
ham.0 2019-08-26 11:07:02.615 info npm ERR! If you believe this might be a permissions issue, please double-check the
ham.0 2019-08-26 11:07:02.615 info npm ERR!
ham.0 2019-08-26 11:07:02.615 info npm ERR! It is likely you do not have the permissions to access this file as the current user
ham.0 2019-08-26 11:07:02.615 info npm ERR! The operation was rejected by your operating system.
ham.0 2019-08-26 11:07:02.615 info npm ERR!
ham.0 2019-08-26 11:07:02.615 info npm ERR! '/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/node_modules/minimist' }
ham.0 2019-08-26 11:07:02.615 info npm ERR! path:
ham.0 2019-08-26 11:07:02.615 info npm ERR! syscall: 'access',
ham.0 2019-08-26 11:07:02.615 info npm ERR! code: 'EACCES',
ham.0 2019-08-26 11:07:02.615 info npm ERR! errno: -13,
ham.0 2019-08-26 11:07:02.615 info npm ERR! 'Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/node_modules/minimist'',
ham.0 2019-08-26 11:07:02.615 info npm ERR! stack:
ham.0 2019-08-26 11:07:02.615 info npm ERR! { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/node_modules/minimist']
ham.0 2019-08-26 11:07:02.615 info npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/node_modules/minimist'
ham.0 2019-08-26 11:07:02.583 info npm ERR! syscall access
ham.0 2019-08-26 11:07:02.583 info npm ERR! errno -13
ham.0 2019-08-26 11:07:02.582 info EACCES
ham.0 2019-08-26 11:07:02.581 info npm ERR! code
ham.0 2019-08-26 11:07:02.581 info ERR! path /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/node_modules/minimist
ham.0 2019-08-26 11:07:02.580 info npm
ham.0 2019-08-26 11:07:01.670 info checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/node_modules/semver
ham.0 2019-08-26 11:07:01.668 info WARN
ham.0 2019-08-26 11:07:01.667 info npm
ham.0 2019-08-26 11:07:01.667 info npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/node_modules/q
ham.0 2019-08-26 11:07:01.667 info WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/node_modules/mkdirp
ham.0 2019-08-26 11:07:01.666 info npm
ham.0 2019-08-26 11:07:01.666 info checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/node_modules/minimist
ham.0 2019-08-26 11:07:01.664 info WARN
ham.0 2019-08-26 11:07:01.655 info npm

An in-range update of homebridge-plugin-wrapper is breaking the build 🚨

The dependency homebridge-plugin-wrapper was updated from 1.1.0 to 1.1.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

homebridge-plugin-wrapper is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/appveyor/branch: Waiting for AppVeyor build to complete (Details).
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 1 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

keine Objekte bei Ring Videodoorbell

Der Adapter legt keine Objekte an. Instanz ist auf wrapper-Modus gestellt.
Hier die Config:
grafik

Hier das Log:
2020-04-27 17:06:28.999 - �[32minfo�[39m: ham.0 (17700) cleaned everything up...
2020-04-27 17:06:29.190 - �[32minfo�[39m: ham.0 (17700) Got terminate signal TERMINATE_YOURSELF
2020-04-27 17:06:29.005 - �[32minfo�[39m: host.iob stopInstance system.adapter.ham.0 (force=false, process=true)
2020-04-27 17:06:29.185 - �[32minfo�[39m: host.iob stopInstance system.adapter.ham.0 send kill signal
2020-04-27 17:06:30.544 - �[32minfo�[39m: host.iob stopInstance system.adapter.ham.0 killing pid 17700
2020-04-27 17:06:30.573 - �[32minfo�[39m: ham.0 (17700) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2020-04-27 17:06:31.804 - �[32minfo�[39m: host.iob instance system.adapter.ham.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
2020-04-27 17:21:15.733 - �[32minfo�[39m: host.iob instance system.adapter.ham.0 started with pid 11855
2020-04-27 17:21:16.286 - �[34mdebug�[39m: ham.0 (11855) Redis Objects: Use Redis connection: 0.0.0.0:9001
2020-04-27 17:21:16.316 - �[34mdebug�[39m: ham.0 (11855) Objects client ready ... initialize now
2020-04-27 17:21:16.319 - �[34mdebug�[39m: ham.0 (11855) Objects create System PubSub Client
2020-04-27 17:21:16.320 - �[34mdebug�[39m: ham.0 (11855) Objects create User PubSub Client
2020-04-27 17:21:16.321 - �[34mdebug�[39m: ham.0 (11855) Objects client initialize lua scripts
2020-04-27 17:21:16.345 - �[34mdebug�[39m: ham.0 (11855) Objects connected to redis: 0.0.0.0:9001
2020-04-27 17:21:16.350 - �[34mdebug�[39m: ham.0 (11855) objectDB connected
2020-04-27 17:21:16.352 - �[34mdebug�[39m: ham.0 (11855) Redis States: Use Redis connection: 0.0.0.0:6379
2020-04-27 17:21:16.357 - �[34mdebug�[39m: ham.0 (11855) States create User PubSub Client
2020-04-27 17:21:16.359 - �[34mdebug�[39m: ham.0 (11855) States create System PubSub Client
2020-04-27 17:21:16.367 - �[34mdebug�[39m: ham.0 (11855) States connected to redis: 0.0.0.0:6379
2020-04-27 17:21:16.368 - �[34mdebug�[39m: ham.0 (11855) statesDB connected
2020-04-27 17:21:16.593 - �[32minfo�[39m: ham.0 (11855) starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.ham, node: v12.16.2, js-controller: 3.0.18
2020-04-27 17:21:16.619 - �[32minfo�[39m: ham.0 (11855) Install/Update the following Libraries: ring
2020-04-27 17:21:16.620 - �[32minfo�[39m: ham.0 (11855) Install/Update ring
2020-04-27 17:21:16.621 - �[32minfo�[39m: ham.0 (11855) All Libraries installed/updated
2020-04-27 17:21:18.602 - �[34mdebug�[39m: ham.0 (11855) [2020-4-27 17:21:18] Loaded plugin: homebridge-camera-ffmpeg
2020-04-27 17:21:18.603 - �[34mdebug�[39m: ham.0 (11855) [2020-4-27 17:21:18] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'
2020-04-27 17:21:18.604 - �[34mdebug�[39m: ham.0 (11855) [2020-4-27 17:21:18] ---
2020-04-27 17:21:18.658 - �[34mdebug�[39m: ham.0 (11855) [2020-4-27 17:21:18] Loaded plugin: homebridge-config-ui-x
2020-04-27 17:21:18.659 - �[34mdebug�[39m: ham.0 (11855) [2020-4-27 17:21:18] Registering platform 'homebridge-config-ui-x.config'
2020-04-27 17:21:18.659 - �[34mdebug�[39m: ham.0 (11855) [2020-4-27 17:21:18] ---
2020-04-27 17:21:19.600 - �[34mdebug�[39m: ham.0 (11855) [2020-4-27 17:21:19] Loaded plugin: homebridge-ring
2020-04-27 17:21:19.601 - �[34mdebug�[39m: ham.0 (11855) [2020-4-27 17:21:19] Registering platform 'homebridge-ring.Ring'
2020-04-27 17:21:19.602 - �[34mdebug�[39m: ham.0 (11855) [2020-4-27 17:21:19] ---
2020-04-27 17:21:19.609 - �[34mdebug�[39m: ham.0 (11855) [2020-4-27 17:21:19] Loading 1 platforms...
2020-04-27 17:21:19.611 - �[34mdebug�[39m: ham.0 (11855) [2020-4-27 17:21:19] [Ring] Initializing Ring platform...
2020-04-27 17:21:19.612 - �[34mdebug�[39m: ham.0 (11855) [2020-4-27 17:21:19] Loading 0 accessories...
2020-04-27 17:21:19.613 - �[34mdebug�[39m: ham.0 (11855) Load homebridge-camera-ffmpeg.Camera-ffmpeg
2020-04-27 17:21:19.616 - �[34mdebug�[39m: ham.0 (11855) Homebridge Wrapper Bridge publish {"username":"0E:AB:43:A6:91:41","port":51241,"pincode":"394-82-993","category":2}
2020-04-27 17:21:21.191 - �[34mdebug�[39m: ham.0 (11855) system.adapter.admin.0: logging true
2020-04-27 17:21:22.093 - �[34mdebug�[39m: ham.0 (11855) [2020-4-27 17:21:22] [Ring] Configuring 1 cameras and 1 devices for location "Bad Freienwalde" - locationId: 8d54f544-b655-4909-9736-db4730914cde
2020-04-27 17:21:22.099 - �[34mdebug�[39m: ham.0 (11855) [2020-4-27 17:21:22] [Ring] Adding new accessory doorbell_v4 Haustür
2020-04-27 17:21:45.212 - �[34mdebug�[39m: ham.0 (11855) system.adapter.admin.0: logging false
2020-04-27 17:23:19.912 - �[34mdebug�[39m: ham.0 (11855) system.adapter.admin.0: logging true
2020-04-27 17:24:23.072 - �[34mdebug�[39m: ham.0 (11855) system.adapter.admin.0: logging false
2020-04-27 17:24:47.702 - �[34mdebug�[39m: ham.0 (11855) system.adapter.admin.0: logging true
2020-04-27 17:27:15.020 - �[34mdebug�[39m: ham.0 (11855) system.adapter.admin.0: logging false
2020-04-27 17:27:17.636 - �[34mdebug�[39m: ham.0 (11855) system.adapter.admin.0: logging true
2020-04-27 17:46:54.324 - �[34mdebug�[39m: ham.0 (11855) system.adapter.admin.0: logging false
2020-04-27 17:47:08.839 - �[34mdebug�[39m: ham.0 (11855) system.adapter.admin.0: logging true
2020-04-27 18:00:41.074 - �[34mdebug�[39m: ham.0 (11855) system.adapter.admin.0: logging false
2020-04-27 18:01:11.035 - �[34mdebug�[39m: ham.0 (11855) system.adapter.admin.0: logging true
2020-04-27 18:05:45.605 - �[34mdebug�[39m: ham.0 (11855) system.adapter.admin.0: logging false
2020-04-27 18:07:02.705 - �[34mdebug�[39m: ham.0 (11855) system.adapter.admin.0: logging true
2020-04-27 18:14:08.812 - �[34mdebug�[39m: ham.0 (11855) system.adapter.admin.0: logging false
2020-04-27 18:23:12.882 - �[34mdebug�[39m: ham.0 (11855) system.adapter.admin.0: logging true
2020-04-27 18:23:29.507 - �[32minfo�[39m: host.iob stopInstance system.adapter.ham.0 (force=false, process=true)
2020-04-27 18:23:29.514 - �[32minfo�[39m: host.iob stopInstance system.adapter.ham.0 send kill signal
2020-04-27 18:23:29.515 - �[32minfo�[39m: ham.0 (11855) Got terminate signal TERMINATE_YOURSELF
2020-04-27 18:23:29.516 - �[32minfo�[39m: ham.0 (11855) cleaned everything up...
2020-04-27 18:23:29.522 - �[32minfo�[39m: ham.0 (11855) terminating
2020-04-27 18:23:29.523 - �[32minfo�[39m: ham.0 (11855) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2020-04-27 18:23:30.075 - �[32minfo�[39m: host.iob instance system.adapter.ham.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2020-04-27 18:23:32.560 - �[32minfo�[39m: host.iob instance system.adapter.ham.0 started with pid 32022
2020-04-27 18:23:33.123 - �[34mdebug�[39m: ham.0 (32022) Redis Objects: Use Redis connection: 0.0.0.0:9001
2020-04-27 18:23:33.154 - �[34mdebug�[39m: ham.0 (32022) Objects client ready ... initialize now
2020-04-27 18:23:33.158 - �[34mdebug�[39m: ham.0 (32022) Objects create System PubSub Client
2020-04-27 18:23:33.159 - �[34mdebug�[39m: ham.0 (32022) Objects create User PubSub Client
2020-04-27 18:23:33.160 - �[34mdebug�[39m: ham.0 (32022) Objects client initialize lua scripts
2020-04-27 18:23:33.186 - �[34mdebug�[39m: ham.0 (32022) Objects connected to redis: 0.0.0.0:9001
2020-04-27 18:23:33.191 - �[34mdebug�[39m: ham.0 (32022) objectDB connected
2020-04-27 18:23:33.193 - �[34mdebug�[39m: ham.0 (32022) Redis States: Use Redis connection: 0.0.0.0:6379
2020-04-27 18:23:33.199 - �[34mdebug�[39m: ham.0 (32022) States create User PubSub Client
2020-04-27 18:23:33.202 - �[34mdebug�[39m: ham.0 (32022) States create System PubSub Client
2020-04-27 18:23:33.210 - �[34mdebug�[39m: ham.0 (32022) States connected to redis: 0.0.0.0:6379
2020-04-27 18:23:33.211 - �[34mdebug�[39m: ham.0 (32022) statesDB connected
2020-04-27 18:23:33.722 - �[32minfo�[39m: ham.0 (32022) starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.ham, node: v12.16.2, js-controller: 3.0.18
2020-04-27 18:23:33.750 - �[32minfo�[39m: ham.0 (32022) Install/Update the following Libraries: ring
2020-04-27 18:23:33.751 - �[32minfo�[39m: ham.0 (32022) Install/Update ring
2020-04-27 18:23:33.753 - �[32minfo�[39m: ham.0 (32022) npm install ring --production --prefix "/opt/iobroker/node_modules/iobroker.ham" (System call)
2020-04-27 18:23:34.002 - �[34mdebug�[39m: ham.0 (32022) system.adapter.admin.0: logging false
2020-04-27 18:23:37.478 - �[34mdebug�[39m: ham.0 (32022) system.adapter.admin.0: logging true
2020-04-27 18:23:38.993 - �[32minfo�[39m: ham.0 (32022) + [email protected]
2020-04-27 18:23:39.096 - �[32minfo�[39m: ham.0 (32022)
2020-04-27 18:23:39.098 - �[32minfo�[39m: ham.0 (32022) found 0 vulnerabilities
2020-04-27 18:23:39.131 - �[32minfo�[39m: ham.0 (32022) All Libraries installed/updated
2020-04-27 18:23:41.153 - �[34mdebug�[39m: ham.0 (32022) [2020-4-27 18:23:41] Loaded plugin: homebridge-camera-ffmpeg
2020-04-27 18:23:41.155 - �[34mdebug�[39m: ham.0 (32022) [2020-4-27 18:23:41] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'
2020-04-27 18:23:41.155 - �[34mdebug�[39m: ham.0 (32022) [2020-4-27 18:23:41] ---
2020-04-27 18:23:41.208 - �[34mdebug�[39m: ham.0 (32022) [2020-4-27 18:23:41] Loaded plugin: homebridge-config-ui-x
2020-04-27 18:23:41.209 - �[34mdebug�[39m: ham.0 (32022) [2020-4-27 18:23:41] Registering platform 'homebridge-config-ui-x.config'
2020-04-27 18:23:41.209 - �[34mdebug�[39m: ham.0 (32022) [2020-4-27 18:23:41] ---
2020-04-27 18:23:42.205 - �[34mdebug�[39m: ham.0 (32022) [2020-4-27 18:23:42] Loaded plugin: homebridge-ring
2020-04-27 18:23:42.207 - �[34mdebug�[39m: ham.0 (32022) [2020-4-27 18:23:42] Registering platform 'homebridge-ring.Ring'
2020-04-27 18:23:42.207 - �[34mdebug�[39m: ham.0 (32022) [2020-4-27 18:23:42] ---
2020-04-27 18:23:42.215 - �[34mdebug�[39m: ham.0 (32022) [2020-4-27 18:23:42] Loading 1 platforms...
2020-04-27 18:23:42.216 - �[34mdebug�[39m: ham.0 (32022) [2020-4-27 18:23:42] [Ring] Initializing Ring platform...
2020-04-27 18:23:42.217 - �[34mdebug�[39m: ham.0 (32022) [2020-4-27 18:23:42] Loading 0 accessories...
2020-04-27 18:23:42.218 - �[34mdebug�[39m: ham.0 (32022) Load homebridge-camera-ffmpeg.Camera-ffmpeg
2020-04-27 18:23:42.222 - �[34mdebug�[39m: ham.0 (32022) Homebridge Wrapper Bridge publish {"username":"0E:AB:43:A6:91:41","port":51241,"pincode":"394-82-993","category":2}
2020-04-27 18:23:44.733 - �[34mdebug�[39m: ham.0 (32022) [2020-4-27 18:23:44] [Ring] Configuring 1 cameras and 1 devices for location "Bad Freienwalde" - locationId: 8d54f544-b655-4909-9736-db4730914cde
2020-04-27 18:23:44.739 - �[34mdebug�[39m: ham.0 (32022) [2020-4-27 18:23:44] [Ring] Adding new accessory doorbell_v4 Haustür

Feature-Request insecure mode

homebridge-config-ui-x braucht "insecure mode" für Accessoires Seite.
"To enable accessory control you must be running Homebridge in insecure mode:
homebridge -I"
Gabs anscheint schon ein versuch :)
#14

HAM does not start

host.iobroker 2019-03-12 00:39:46.027 error instance system.adapter.ham.0 terminated with code 0 (OK)
Caught 2019-03-12 00:39:46.027 error by controller[0]: path: '/root/.homebridge/persist' }
Caught 2019-03-12 00:39:46.027 error by controller[0]: code: 'EACCES',
Caught 2019-03-12 00:39:46.025 error by controller[0]: syscall: 'mkdir',
Caught 2019-03-12 00:39:46.024 error by controller[0]: errno: -13,
Caught 2019-03-12 00:39:46.024 error by controller[0]: at adapter.getDevices (/opt/iobroker/node_modules/iobroker.ham/main.js:175:27)
Caught 2019-03-12 00:39:46.024 error by controller[0]: at loadExistingAccessories (/opt/iobroker/node_modules/iobroker.ham/main.js:232:35)
Caught 2019-03-12 00:39:46.024 error by controller[0]: at Object.start (/opt/iobroker/node_modules/iobroker.ham/lib/global-handler.js:256:9)
Caught 2019-03-12 00:39:46.024 error by controller[0]: at Object.init (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/index.js:31:13)
Caught 2019-03-12 00:39:46.024 error by controller[0]: at Object.nodePersist.initSync (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/node-persist/src/node-persist.js:41:29)
Caught 2019-03-12 00:39:46.024 error by controller[0]: at LocalStorage.initSync (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/node-persist/src/local-storage.js:145:14)
Caught 2019-03-12 00:39:46.024 error by controller[0]: at LocalStorage.parseDataDirSync (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/node-persist/src/local-storage.js:572:21)
Caught 2019-03-12 00:39:46.023 error by controller[0]: at LocalStorage.parseDirSync (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/node-persist/src/local-storage.js:642:20)
Caught 2019-03-12 00:39:46.023 error by controller[0]: at Function.sync (/usr/lib/node_modules/homebridge/node_modules/mkdirp/index.js:71:13)
Caught 2019-03-12 00:39:46.023 error by controller[0]: at Object.mkdirSync (fs.js:752:3)
Caught 2019-03-12 00:39:46.023 error by controller[0]: { Error: EACCES: permission denied, mkdir '/root/.homebridge/persist'
       

What's the matter?

 

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.

Homebridge-Tahoma plugin no refresh/change for states

Hi,

I have a problem with the control of my blinds.
All objects and states were successfully created after setting up the connection to my SOMFY account.
It is also possible to set the target position manually between 0 and 100% for open and close, this works.

But when I use the original SOMFY app or the SOMFY wall buttons in my house for open and close, then the "current-position" state is not refreshed / changed in ioBroker.
When I restart the adapter it works, the states are changed to the new values for one time.

I tried several values for the "polling intervall" in the adapter configuration (empty, 0 sec, 5 sec, 60 sec, 600 sec) but none of this worked.

nodejs: 10.17.0
npm: 6.12.0
adapter: ham 1.1.2
plugin: homebridge-tahoma

Can you please check this or tell me what I can do / check?

An in-range update of @iobroker/adapter-core is breaking the build 🚨


☝️ Important announcement: Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io


The dependency @iobroker/adapter-core was updated from 2.2.1 to 2.3.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@iobroker/adapter-core is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/appveyor/branch: Waiting for AppVeyor build to complete (Details).
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 67 commits.

  • 2fdeeaa Release v2.3.0
  • 3836d11 Merge pull request #211 from ioBroker/dependabot/npm_and_yarn/types/node-13.11.1
  • 5128f3a Merge pull request #209 from ioBroker/dependabot/npm_and_yarn/eslint-plugin-prettier-3.1.3
  • 187669d chore(deps-dev): bump @types/node from 13.11.0 to 13.11.1
  • a7b17c2 chore(deps-dev): bump eslint-plugin-prettier from 3.1.2 to 3.1.3
  • 4cff9e6 Merge pull request #207 from ioBroker/dependabot/npm_and_yarn/types/sinon-chai-3.2.4
  • 65d5a63 Merge pull request #208 from ioBroker/dependabot/npm_and_yarn/types/node-13.11.0
  • d7a13fc Merge pull request #205 from ioBroker/dependabot/npm_and_yarn/ts-node-8.8.2
  • 4a0373b chore(deps-dev): bump @types/node from 13.9.5 to 13.11.0
  • 46b8a9d chore(deps-dev): bump @types/sinon-chai from 3.2.3 to 3.2.4
  • 67bcb28 chore(deps-dev): bump ts-node from 8.8.1 to 8.8.2
  • 5f95ad5 Merge pull request #203 from ioBroker/dependabot/npm_and_yarn/types/node-13.9.5
  • cade7f4 chore(deps-dev): bump @types/node from 13.9.3 to 13.9.5
  • 799b881 Merge pull request #199 from ioBroker/dependabot/npm_and_yarn/types/node-13.9.3
  • c728713 Merge pull request #200 from ioBroker/dependabot/npm_and_yarn/mocha-7.1.1

There are 67 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Another problem with rights

HAM works in global mode. ioBroker is installed using the recommended script, therefore it works as "iobroker" user. I tried to update Homebridge.

Снимок экрана 2019-03-29 в 22 33 30

How to solve this problem?

Can’t install ham on iobroker “exit 25”

Hi there, I tried to install ham on the iobroker I just installed on a win10 laptop, but I failed with the error message “iobroker exit 25”
Do you know what could have caused this and if there is another way of installing the adaptor?
Cheers!

undefined2020-04-06 20:33:28.278 - info: host.PZLivingRoom iobroker add ham --host PZLivingRoom
2020-04-06 20:33:30.717 - info: host.PZLivingRoom iobroker NPM version: 6.13.4
2020-04-06 20:33:30.719 - info: host.PZLivingRoom iobroker npm install [email protected] --loglevel error --prefix "C:/Program Files/iobroker" (System call)
2020-04-06 20:33:45.026 - info: host.PZLivingRoom iobroker npm ERR!
2020-04-06 20:33:45.027 - info: host.PZLivingRoom iobroker code EEXISTnpm ERR! path C:\Program Files\iobroker\node_modules\mkdirp\bin\cmd.jsnpm ERR! dest C:\Program Files\iobroker\mkdirpnpm ERR! EEXIST: file already exists, cmd shim 'C:\Program Files\iobroker\node_modules\mkdirp\bin\cmd.js' -> 'C:\Program Files\iobroker\mkdirp'npm ERR!
2020-04-06 20:33:45.028 - info: host.PZLivingRoom iobroker File exists: C:\Program Files\iobroker\mkdirpnpm ERR! Remove the existing file and try again, or run npmnpm ERR! with --force to overwrite files recklessly.
2020-04-06 20:33:45.043 - info: host.PZLivingRoom iobroker
2020-04-06 20:33:45.044 - info: host.PZLivingRoom iobroker npm ERR! A complete log of this run can be found in:npm ERR! C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2020-04-06T12_33_45_023Z-debug.log
2020-04-06 20:33:45.070 - error: host.PZLivingRoom iobroker host.PZLivingRoom Cannot install [email protected]: 1
2020-04-06 20:33:46.095 - info: host.PZLivingRoom iobroker exit 25

Error: Cannot find module

I can't start the adapter (global mode). When start with the homebridge - I in the console, homebridge starts. When the adapter starts, it returns an error:

2020-04-29 08:26:32.554  - �[32minfo�[39m: ham.0 (25907) starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.ham, node: v12.16.2, js-controller: 3.0.20
2020-04-29 08:26:32.574  - �[32minfo�[39m: ham.0 (25907) No additional Libraries to install ...
2020-04-29 08:26:32.575  - �[34mdebug�[39m: ham.0 (25907) Use Global Homebridge Path: /usr/lib/node_modules/homebridge/
2020-04-29 08:26:32.840  - �[31merror�[39m: ham.0 (25907) uncaught exception: Cannot find module '/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once'
Require stack:
- /opt/iobroker/node_modules/iobroker.ham/lib/global-handler.js
- /opt/iobroker/node_modules/iobroker.ham/main.js
2020-04-29 08:26:32.841  - �[31merror�[39m: ham.0 (25907) Error: Cannot find module '/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once'
Require stack:
- /opt/iobroker/node_modules/iobroker.ham/lib/global-handler.js
- /opt/iobroker/node_modules/iobroker.ham/main.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Function.Module._load (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/node_modules/mock-require/index.js:30:22)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.init (/opt/iobroker/node_modules/iobroker.ham/lib/global-handler.js:88:12)
    at /opt/iobroker/node_modules/iobroker.ham/main.js:217:39
    at installAllLibraries (/opt/iobroker/node_modules/iobroker.ham/main.js:378:21)
    at /opt/iobroker/node_modules/iobroker.ham/main.js:203:13
    at checkLocalMode (/opt/iobroker/node_modules/iobroker.ham/main.js:397:25)
2020-04-29 08:26:32.841  - �[32minfo�[39m: ham.0 (25907) cleaned everything up...
2020-04-29 08:26:32.851  - �[32minfo�[39m: ham.0 (25907) terminating
2020-04-29 08:26:32.852  - �[32minfo�[39m: ham.0 (25907) Terminated (NO_ERROR): Without reason
2020-04-29 08:26:33.375  - �[32minfo�[39m: host.iobroker instance system.adapter.ham.0 terminated with code 0 (NO_ERROR)

image

Please check ioBroker.ham with js-controller 2.0

Hi,

the new js-controller 2.0 will come into latest repository in the next days and we want to make sure that all adapters are working well. We already did a 2 weeks Beta test and so some adapter were aleady checked and some needed slight adjustments.

You can find more information in ioBroker/ioBroker.js-controller#482 and in the ioBroker Forum. If you have more technical questions please write in the referenced issue or in the Developer thread please. General questions are best in the genral thread.

Please update your systems to js-controller 2.0 and check your adapter.

Please close this issue once you have checked your adapter or received successfull reports from users.

Thank you very much for your support. Please contact us in the other Threads or Forum on any question.

homebridge-webos-tv Plugins don't work

log:

ham.0 cleaned everything up...
ham.0 Exception: ReferenceError: findDevices is not defined
Plugin /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
ReferenceError: findDevices is not defined
    at new webosTvAccessory (/usr/lib/node_modules/homebridge-webos-tv-ext/index.js:37:2)
    at Server._loadAccessories (/usr/lib/node_modules/homebridge/lib/server.js:308:29)
    at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:91:38)
    at Object.start (/opt/iobroker/node_modules/iobroker.ham/lib/global-handler.js:260:12)
    at loadExistingAccessories (/opt/iobroker/node_modules/iobroker.ham/main.js:232:35)
    at adapter.getDevices (/opt/iobroker/node_modules/iobroker.ham/main.js:175:27)
    at Socket.that.objects.getObjectView (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2693:25)
    at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:312:9)
    at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:236:12)
    at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
    at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
    at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:332:8)
    at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
    at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
    at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
    at Manager.ondata (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:322:16)
    at Socket.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
    at Socket.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
    at Socket.onPacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/socket.js:451:14)
    at WS.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/socket.js:268:10)
    at WS.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
    at WS.Transport.onPacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/transport.js:145:8)
host.iobroker2-1 instance system.adapter.ham.0 terminated with code 0 (OK)

config.json

{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:22:3D:E3:CE:38",
        "port": 51826,
        "pin": "031-45-154"
    },
    "platforms": [
        {
            "platform": "cmdSwitch2",
            "name": "CMD Switch",
            "switches": [
                {
                    "name": "Playstation 4",
                    "on_cmd": "ps4-waker",
                    "off_cmd": "ps4-waker standby",
                    "state_cmd": "ps4-waker search | grep -i '200 Ok'",
                    "polling": true,
                    "interval": 5,
                    "timeout": 2000,
                    "manufacturer": "Sony Corporation",
                    "model": "CUH-1001A",
                    "serial": "XXXXXXXXXXX"
                }
            ]
        },
        {
            "name": "Config",
            "port": 8888,
            "auth": "none",
            "theme": "red",
            "tempUnits": "c",
            "log": {
                "method": "systemd",
                "path": "/opt/log/homebridge.log"
            },
            "platform": "config"
        },
        {
            "veraIP": "192.168.1.54",
            "includesensor": true,
            "platform": "Vera",
            "dimmertest": true,
            "ignorescenes": [],
            "ignoredevices": [
                8
            ],
            "name": "Vera"
        }
    ],
    "accessories": [
        {
            "accessory": "GreeHeaterCooler",
            "host": "192.168.1.34",
            "name": "Living room AC",
            "acModel": "Gree V2",
            "acTempSensorShift": 40,
            "updateInterval": 10000
        },
        {
            "name": "My LG TV",
            "mac": "78:5D:C8:C1:80:4E",
            "pollingInterval": 5,
            "legacyTvService": false,
            "showInputButtons": false,
            "volumeControl": "true",
            "volumeLimit": 100,
            "channelControl": true,
            "mediaControl": false,
            "remoteSequenceButtons": [
                {
                    "sequence": [],
                    "interval": 500
                }
            ],
            "accessory": "webostv"
        }
    ]
}

An in-range update of gulp is breaking the build 🚨

The devDependency gulp was updated from 4.0.0 to 4.0.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

gulp is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v4.0.1

Fix

Docs

  • Fix error in ES2015 usage example (a4e8d48) - Closes #2099 #2100
  • Add temporary notice for 4.0.0 vs 3.9.1 documentation (126423a) - Closes #2121
  • Improve recipe for empty glob array (45830cf) - Closes #2122
  • Reword standard to default (b065a13)
  • Fix recipe typo (86acdea) - Closes #2156
  • Add front-matter to each file (d693e49) - Closes #2109
  • Rename "Getting Started" to "Quick Start" & update it (6a0fa00)
  • Add "Creating Tasks" documentation (21b6962)
  • Add "JavaScript and Gulpfiles" documentation (31adf07)
  • Add "Working with Files" documentation (50fafc6)
  • Add "Async Completion" documentation (ad8b568)
  • Add "Explaining Globs" documentation (f8cafa0)
  • Add "Using Plugins" documentation (233c3f9)
  • Add "Watching Files" documentation (f3f2d9f)
  • Add Table of Contents to "Getting Started" directory (a43caf2)
  • Improve & fix parts of Getting Started (84b0234)
  • Create and link-to a "docs missing" page for LINK_NEEDED references (2bd75d0)
  • Redirect users to new Getting Started guides (53e9727)
  • Temporarily reference gulp@next in Quick Start (2cecf1e)
  • Fixed a capitalization typo in a heading (3d051d8) - Closes #2242
  • Use h2 headers within Quick Start documentation (921312c) - Closes #2241
  • Fix for nested directories references (4c2b9a7)
  • Add some more cleanup for Docusaurus (6a8fd8f)
  • Temporarily point LINK_NEEDED references to documentation-missing.md (df7cdcb)
  • API documentation improvements based on feedback (0a68710)
  • Update API Table of Contents (d6dd438)
  • Add API Concepts documentation (8dd3361)
  • Add Vinyl.isCustomProp() documentation (40ee801)
  • Add Vinyl.isVinyl() documentation (25a22bf)
  • Add Vinyl documentation (fc09067)
  • Update watch() documentation (69c22f0)
  • Update tree() documentation (ebb9818)
  • Update task() documentation (b636a9c)
  • Update symlink() documentation (d580efa)
  • Update src() documentation (d95b457)
  • Update series() documentation (4169cb6)
  • Update registry() documentation (d680487)
  • Update parallel() documentation (dc3cba7)
  • Update lastRun() documentation (363df21)
  • Update dest() documentation (e447d81)
  • Split API docs into separate markdown files (a3b8ce1)
  • Fix hash link (af4bd51)
  • Replace some links in Getting Started (c433c70)
  • Remove temporary workaround for facebook/Docusaurus#257 (5c07954) - Closes facebook/Docusaurus#257
  • Added code ticks to "null" where missing (cb67319) - Closes #2243
  • Fix broken link in lastRun (d35653e)
  • Add front-matter to documentation-missing page (a553cfd)
  • Improve grammar on Concepts (01cfcc5) - Closes #2247
  • Remove spaces around
    (c960c1d)
  • Improve grammar in src (eb493a2) - Closes #2248
  • Fix formatting error (ca6ba35) - Closes #2250
  • Fix formatting of lastRun (8569f85) - Closes #2251
  • Add missing link in watch (e35bdac) - Closes #2252
  • Fix broken link in tasks (6d43750) - Closes #2253
  • Improve punctuation in tree (8e9fd70) - Closes #2254
  • Fix mistake in "Splitting a gulpfile" (96c353d) - Closes #2255
  • Remove front-matter from outdated pages (c5af6f1)
  • Fix broken link in Table of Contents (c641369) - Closes #2260
  • Update the babel dependencies to install & configuration needed (7239cf1) - Closes #2136
  • Add "What's new in 4.0" section (75ea634) - Closes #2089 #2267
  • Cleanup README for "latest" bump (24e202b) - Closes #2268
  • Revert "next" reference now that 4.0 is latest (ed27cbe)
  • Add Azure Pipelines badge (f3f0548) - Closes #2310
  • Add note about transpilation to "Splitting a Gulpfile" section (53b9037) - Closes #2311 #2312
  • Improve wording of file rename (88437f2) - Closes #2314

Upgrade

  • Update glob-watcher, gulp-cli, and undertaker dependencies & rimraf devDep (d3734d3)

Build

  • Add node 10 to CI matrices (a5eac1c)
  • Remove jscs & update eslint for code formatting rules (ad8a2f7)
  • Fix Azure comment (34a6d53) - Closes #2307
  • Add Azure Pipelines CI (b2c6c7e) - Closes #2299

Scaffold

  • Mark *.png and *.jpg as binary files to git (a010db6)
  • Update some links and license year (1027236)
  • Add tidelift configuration (49b5aca)
  • Add new expense policy (9819957)
  • Add support-bot template (9078c49)
Commits

The new version differs by 77 commits.

  • ea3bba4 Release: 4.0.1
  • d3734d3 Upgrade: Update glob-watcher, gulp-cli, and undertaker dependencies & rimraf devDep
  • 88437f2 Docs: Improve wording of file rename (#2314)
  • 53b9037 Docs: Add note about transpilation to "Splitting a Gulpfile" section (closes #2311) (#2312)
  • f3f0548 Docs: Add Azure Pipelines badge (#2310)
  • 34a6d53 Build: Fix Azure comment (#2307)
  • b2c6c7e Build: Add Azure Pipelines CI (#2299)
  • ed27cbe Docs: Revert "next" reference now that 4.0 is latest
  • 24e202b Docs: Cleanup README for "latest" bump (#2268)
  • 75ea634 Docs: Add "What's new in 4.0" section (closes #2089) (#2267)
  • 9078c49 Scaffold: Add support-bot template
  • 7239cf1 Docs: Update the babel dependencies to install & configuration needed (closes #2136)
  • c641369 Docs: Fix broken link in Table of Contents (#2260)
  • 9819957 Scaffold: Add new expense policy
  • c5af6f1 Docs: Remove front-matter from outdated pages

There are 77 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

The requested accessory was not registered by any plugin

ok, i am set "homebridge-xiaomi-air-purifier" at "additional modules NPM", then set correct data at config file:
{
"accessory": "XiaoMiAirPurifier",
"name": "Air Purifier",
"showTemperature": true,
"showHumidity": true,
"showAirQuality": true,
"address": "my ip",
"token": "mytoken",
"model": "zhimi.airpurifier.m1"
}

At first start driver, "xiaomi-air-purifier" plugin get installed correct, but driver does not start with errors:

host.domoticz | 2018-06-19 03:56:53.222 | error | instance system.adapter.ham.0 terminated with code 0 (OK)
-- | -- | -- | --
host.domoticz | 2018-06-19 03:56:53.222 | error | Caught by controller[4]: at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:244:12)
host.domoticz | 2018-06-19 03:56:53.222 | error | Caught by controller[4]: at Socket.onack (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:319:9)
host.domoticz | 2018-06-19 03:56:53.221 | error | Caught by controller[4]: at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2432:25)
host.domoticz | 2018-06-19 03:56:53.221 | error | Caught by controller[4]: at adapter.getDevices (/opt/iobroker/node_modules/iobroker.ham/main.js:175:23)
host.domoticz | 2018-06-19 03:56:53.221 | error | Caught by controller[4]: at loadExistingAccessories (/opt/iobroker/node_modules/iobroker.ham/main.js:211:57)
host.domoticz | 2018-06-19 03:56:53.221 | error | Caught by controller[4]: at Object.start (/opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js:90:23)
host.domoticz | 2018-06-19 03:56:53.220 | error | Caught by controller[4]: at HomebridgeWrapper.init (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/index.js:176:17)
host.domoticz | 2018-06-19 03:56:53.220 | error | Caught by controller[4]: at Server.run (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/server.js:86:38)
host.domoticz | 2018-06-19 03:56:53.220 | error | Caught by controller[4]: at Server._loadAccessories (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/server.js:284:42)
host.domoticz | 2018-06-19 03:56:53.220 | error | Caught by controller[4]: at API.accessory (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/api.js:64:13)
host.domoticz | 2018-06-19 03:56:53.220 | error | Caught by controller[4]: Error: The requested accessory 'XiaoMiAirPurifier' was not registered by any plugin.
host.domoticz | 2018-06-19 03:56:53.219 | error | Caught by controller[3]: [6/19/2018, 3:56:52 AM] No plugins found. See the README for information on installing plugins.
host.domoticz | 2018-06-19 03:56:53.219 | error | Caught by controller[3]: [6/19/2018, 3:56:52 AM] ====================
host.domoticz | 2018-06-19 03:56:53.219 | error | Caught by controller[3]: at require (internal/module.js:20:19)
host.domoticz | 2018-06-19 03:56:53.219 | error | Caught by controller[3]: at Module.require (module.js:497:17)
host.domoticz | 2018-06-19 03:56:53.219 | error | Caught by controller[3]: at Function.Module._load (/opt/iobroker/node_modules/iobroker.ham/node_modules/mock-require/index.js:29:22)
host.domoticz | 2018-06-19 03:56:53.218 | error | Caught by controller[3]: at Function.Module._load (module.js:438:3)
host.domoticz | 2018-06-19 03:56:53.218 | error | Caught by controller[3]: at tryModuleLoad (module.js:446:12)
host.domoticz | 2018-06-19 03:56:53.218 | error | Caught by controller[3]: at Module.load (module.js:487:32)
host.domoticz | 2018-06-19 03:56:53.218 | error | Caught by controller[3]: at Object.Module._extensions..js (module.js:579:10)
host.domoticz | 2018-06-19 03:56:53.218 | error | Caught by controller[3]: at Module._compile (module.js:542:28)
host.domoticz | 2018-06-19 03:56:53.217 | error | Caught by controller[3]: at Object.runInThisContext (vm.js:97:10)
host.domoticz | 2018-06-19 03:56:53.217 | error | Caught by controller[3]: at createScript (vm.js:56:10)
host.domoticz | 2018-06-19 03:56:53.217 | error | Caught by controller[3]: SyntaxError: Unexpected token function
host.domoticz | 2018-06-19 03:56:53.217 | error | Caught by controller[3]: ^^^^^^^^
host.domoticz | 2018-06-19 03:56:53.216 | error | Caught by controller[3]: init: async function() {
host.domoticz | 2018-06-19 03:56:53.216 | error | Caught by controller[3]: [6/19/2018, 3:56:52 AM] /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-xiaomi-air-purifier/index.js:107
host.domoticz | 2018-06-19 03:56:53.216 | error | Caught by controller[3]: [6/19/2018, 3:56:52 AM] ERROR LOADING PLUGIN homebridge-xiaomi-air-purifier:
host.domoticz | 2018-06-19 03:56:53.215 | error | Caught by controller[3]: [6/19/2018, 3:56:52 AM] ====================
host.domoticz | 2018-06-19 03:56:53.215 | error | Caught by controller[2]: [6/19/2018, 3:56:52 AM] Warning: skipping plugin found at '/usr/lib/node_modules/homebridge-xiaomi-air-purifier' since we already loaded the same plugin from '/opt/iobroker/no
host.domoticz | 2018-06-19 03:56:53.215 | error | Caught by controller[1]: [6/19/2018, 3:56:52 AM] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
host.domoticz | 2018-06-19 03:56:53.215 | error | Caught by controller[1]: [6/19/2018, 3:56:52 AM] Plugin /opt/iobroker/node_modules/homebridge-platform-helper package.json does not contain the keyword 'homebridge-plugin'.
host.domoticz | 2018-06-19 03:56:53.213 | error | Caught by controller[0]: [6/19/2018, 3:56:51 AM] Plugin /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
ham.0 | 2018-06-19 03:56:53.099 | error | uncaught exception: The requested accessory 'XiaoMiAirPurifier' was not registered by any plugin.

Same with other xiaomi humidifier plugin. What i can do with that?

Suddenly there were errors in the log

ham.0 2020-05-08 18:07:59.579 info (5008) Terminated (NO_ERROR): Without reason
ham.0 2020-05-08 18:07:59.577 info (5008) terminating
ham.0 2020-05-08 18:07:59.548 info (5008) cleaned everything up...
ham.0 2020-05-08 18:07:59.546 error at checkLocalMode (/opt/iobroker/node_modules/iobroker.ham/main.js:397:25)
ham.0 2020-05-08 18:07:59.546 error at checkLocalMode (/opt/iobroker/node_modules/iobroker.ham/main.js:203:13)
ham.0 2020-05-08 18:07:59.546 error at installAllLibraries (/opt/iobroker/node_modules/iobroker.ham/main.js:378:21)
ham.0 2020-05-08 18:07:59.546 error at installAllLibraries (/opt/iobroker/node_modules/iobroker.ham/main.js:217:39)
ham.0 2020-05-08 18:07:59.546 error at Object.init (/opt/iobroker/node_modules/iobroker.ham/lib/global-handler.js:88:12)
ham.0 2020-05-08 18:07:59.546 error at require (internal/modules/cjs/helpers.js:25:18)
ham.0 2020-05-08 18:07:59.546 error at Module.require (internal/modules/cjs/loader.js:692:17)
ham.0 2020-05-08 18:07:59.546 error at Function.Module._load (/opt/iobroker/node_modules/iobroker.ham/node_modules/mock-require/index.js:30:22)
ham.0 2020-05-08 18:07:59.546 error at Function.Module._load (internal/modules/cjs/loader.js:562:25)
ham.0 2020-05-08 18:07:59.546 error at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
ham.0 2020-05-08 18:07:59.546 error (5008) Error: Cannot find module '/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once'
ham.0 2020-05-08 18:07:59.545 error (5008) uncaught exception: Cannot find module '/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once'
ham.0 2020-05-08 18:07:58.884 info (5008) No additional Libraries to install ...
ham.0 2020-05-08 18:07:58.850 info (5008) starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.ham, node: v10.20.1, js-controller: 3.0.20
host.iobroker 2020-05-08 18:07:56.850 info instance system.adapter.ham.0 started with pid 5008

How to solve this problem?

Error upgrading to 0.4.5

Hi,

with the command

iobroker upgrade ham

I get the following error message:

NPM version: 6.4.1
npm install [email protected] --production --save --prefix "/opt/iobroker" (System call)
npm ERR! code ETARGET
npm ERR! notarget No matching version found for [email protected]
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-10-15T20_01_22_455Z-debug.log
npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.ham"
got /opt/iobroker/node_modules/iobroker.ham/admin
upload [2] ham.admin /opt/iobroker/node_modules/iobroker.ham/admin/words.js words.js application/javascript
upload [1] ham.admin /opt/iobroker/node_modules/iobroker.ham/admin/index_m.html index_m.html text/html
upload [0] ham.admin /opt/iobroker/node_modules/iobroker.ham/admin/ham.png ham.png image/png
Adapter "ham" updated

Any ideas ?

Thanks and regards,

Ralf

Feature request: Update plugins

It would be great to have a possibility to update the plugins directly from the adapter.
Currently that needs to be done via the command line.

Plugin Update homebridge-fibaro-hc2

Hello
how can update the plugin? I use the homebridge-fibaro-hc2 plugin. How can I find out which version of the plugin I currently have?

Thank you for your support

Add Homebridge Adapter List

It would be great to install a plugin on click. To get a list of plugins (JSON), you can use this link.

https://api.npms.io/v2/search?q=keywords:homebridge-plugin&size=100&from=0
https://api.npms.io/v2/search?q=keywords:homebridge-plugin&size=100&from=100
....
https://api.npms.io/v2/search?q=keywords:homebridge-plugin&size=100&from=1700
https://api.npms.io/v2/search?q=keywords:homebridge-plugin&size=100&from=1800

You can also create a Repo-List like in ioBroker with all plugins for it.

created by ioBroker.info

homebridge-samsung-tizen not working

Ham runs well in local mode. Adding the Homebridge-bridge in HomeKit no problem.
However when I install the Homebridge plugin "homebridge-samsung-tizen" and enter the correct config (this config worked flawlessly on a clean Homebridge install) nothing get's added in objects in ioBroker.

Furthermore, when I try to add the TV to HomeKit and enter the pin code I get following output in the log and the ham-adapter crashes.

Bildschirmfoto 2019-07-26 um 03 15 22

PNG-Bild

Bildschirmfoto 2019-07-26 um 03 05 00

Identical setup and config worked on a standalone Homebridge install.

Hope you can help.

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.