iobroker / iobroker.ham Goto Github PK
View Code? Open in Web Editor NEWSupports homebridge plugins in ioBroker
License: MIT License
Supports homebridge plugins in ioBroker
License: MIT License
homebridge-wol plugin dont work in local mode
New features:
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.
🚨 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
7.1.2
to 7.2.0
.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.
--forbid-only
does not recognize it.only
when before
crashes (@arvidOtt)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
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
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?
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
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 |
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
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?
Hi @Apollon77
This adapter is an brilliant adapter for ioBroker:
homebridge-plugin-*
in frontend, without open SSH terminal and tun npm command.(It is not a easy thing for new user)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:
I think if this adapter can attracts HAP user to use ioBroker.
BRs
Schumy
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!!!
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
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
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
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
0.3.0
to 0.3.1
.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.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
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"
}
]
}
hi it is possible thats iobroker.ham starts in insecure mode??
i need this for alexa
☝️ 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
2.2.1
to 2.3.0
.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.
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
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
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?
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.
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
created by ioBroker.info
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
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?
Der Adapter legt keine Objekte an. Instanz ist auf wrapper-Modus gestellt.
Hier die Config:
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
4.0.0
to 4.0.1
.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.
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
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
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 |
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.
Is it possible to run the global homebrige feature with an homebridge instance runing in a docker container on Synology (Onzu)?
iobroker.ham funktioniert nicht mehr mit homebridge 1.0.x
1.1.0
to 1.1.1
.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.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Dimmer are showing correct dimming value but setting a new value has no effect.
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.
Identical setup and config worked on a standalone Homebridge install.
Hope you can help.
When we use global-homebridge-mode it would be great to have an option to initiate ham device status update from iobroker.
🚨 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.
Please collect the list of tested plugins like:
[email protected], Node.js 8.1.2,
And place it in the readme
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.
The upcoming version 2.0.0 of js-controller will support a new mode for low memory devices. For this, a few minor adjustments to the adapter must be made. Please follow these instructions: https://forum.iobroker.net/viewtopic.php?f=24&t=20387#p213466
I need the log file for the configuration homebridge-hue
Es wäre toll, wenn der Adapter auch der exportieren von iobroker Datenpunkten ermöglichen würde.
Das Yakha Adapter kann das zwar, aber die Bedienung ist eine Zumutung und das Restore von einem Backup funktioniert auch nicht vernünftig.
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.
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)
how i can reduce the log in iobroker?
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
I have also found warnings that may be fixed if possible.
Thanks,
your automatic adapter checker.
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
Line 192 in bb20855
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?
🚨 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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.