Ich bekomme Broadlink über die Homebridge leider nicht ans Laufen. Im Log heißt es:
Code
May 20 15:28:21 raspberrypi homebridge[4476]: [5/20/2019, 3:28:21 PM] [Broadlink RM] Initializing BroadlinkRM platform...
May 20 15:28:21 raspberrypi homebridge[4476]: [5/20/2019, 3:28:21 PM] [Broadlink RM] [INFO] Automatically discovering Broadlink RM devices.
May 20 15:28:21 raspberrypi homebridge[4476]: [5/20/2019, 3:28:21 PM] ReferenceError: log is not defined
May 20 15:28:21 raspberrypi homebridge[4476]: at Object.keys.forEach (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/accessory.js:72:9)
May 20 15:28:21 raspberrypi homebridge[4476]: at Array.forEach (<anonymous>:null:null)
May 20 15:28:21 raspberrypi homebridge[4476]: at SwitchAccessory.checkConfig (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/accessory.js:54:25)
May 20 15:28:21 raspberrypi homebridge[4476]: at Object.keys.forEach (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/accessory.js:66:14)
May 20 15:28:21 raspberrypi homebridge[4476]: at Array.forEach (<anonymous>:null:null)
May 20 15:28:21 raspberrypi homebridge[4476]: at SwitchAccessory.checkConfig (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/accessory.js:54:25)
May 20 15:28:21 raspberrypi homebridge[4476]: at new HomebridgeAccessory (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/accessory.js:35:10)
May 20 15:28:21 raspberrypi homebridge[4476]: at new BroadlinkRMAccessory (/usr/local/lib/node_modules/homebridge-broadlink-rm/accessories/accessory.js:16:5)
May 20 15:28:21 raspberrypi homebridge[4476]: at new SwitchAccessory (/usr/local/lib/node_modules/homebridge-broadlink-rm/accessories/switch.js:10:5)
May 20 15:28:21 raspberrypi homebridge[4476]: at config.accessories.forEach (/usr/local/lib/node_modules/homebridge-broadlink-rm/platform.js:65:32)
May 20 15:28:21 raspberrypi homebridge[4476]: at Array.forEach (<anonymous>:null:null)
May 20 15:28:21 raspberrypi homebridge[4476]: at BroadlinkRMPlatform.addAccessories (/usr/local/lib/node_modules/homebridge-broadlink-rm/platform.js:60:24)
May 20 15:28:21 raspberrypi homebridge[4476]: at BroadlinkRMPlatform.accessories (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/homebridge-platform-helper/platform.js:28:10)
May 20 15:28:21 raspberrypi homebridge[4476]: at Server._loadPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:403:20)
May 20 15:28:21 raspberrypi homebridge[4476]: at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:341:16)
May 20 15:28:21 raspberrypi homebridge[4476]: at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:90:36)
May 20 15:28:21 raspberrypi homebridge[4476]: at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:59:10)
May 20 15:28:21 raspberrypi homebridge[4476]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
May 20 15:28:21 raspberrypi homebridge[4476]: at Module._compile (internal/modules/cjs/loader.js:816:30)
May 20 15:28:21 raspberrypi homebridge[4476]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
May 20 15:28:21 raspberrypi homebridge[4476]: at Module.load (internal/modules/cjs/loader.js:685:32)
May 20 15:28:21 raspberrypi homebridge[4476]: at Function.Module._load (internal/modules/cjs/loader.js:620:12)
May 20 15:28:21 raspberrypi homebridge[4476]: at Function.Module.runMain (internal/modules/cjs/loader.js:877:12)
May 20 15:28:21 raspberrypi homebridge[4476]: at internal/main/run_main_module.js:21:11
May 20 15:28:21 raspberrypi homebridge[4476]: [5/20/2019, 3:28:21 PM] Got SIGTERM, shutting down Homebridge...
May 20 15:28:22
Alles anzeigen
In der config.json steht:
Code
{
"platform": "BroadlinkRM",
"name": "Broadlink RM",
"host": "192.168.2.100",
"accessories": [
{
"name": "Onkyo",
"type": "switch",
"data": {
"on": "2600500000012",
"off": "2600500000012"
}
}
]
}
Alles anzeigen
Kann jemand helfen?