Moin,
habe seit einigen tagen jetzt mal Homebridge am laufen auf meinem Pi.
Heute habe ich es geschafft, den Raspbee zu installieren und meine Lampen zu erkennen , aber leider startet meine Homebridge nicht mehr.
Ich weiß leider nicht mehr weiter woran es liegt. Habt ihr da eine Idee?
pi@raspberrypi:~ $ homebridge -U /var/homebridge
[2019-5-13 19:36:18] Loaded config.json with 0 accessories and 3 platforms.
[2019-5-13 19:36:18] ---
[2019-5-13 19:36:22] Loaded plugin: homebridge-alexa
[2019-5-13 19:36:22] Registering platform 'homebridge-alexa.Alexa'
[2019-5-13 19:36:22] ---
[2019-5-13 19:36:22] Loaded plugin: homebridge-config-ui-x
[2019-5-13 19:36:22] Registering platform 'homebridge-config-ui-x.config'
[2019-5-13 19:36:22] ---
[2019-5-13 19:36:24] Loaded plugin: homebridge-homematic
[2019-5-13 19:36:24] Registering platform 'homebridge-homematic.HomeMatic'
[2019-5-13 19:36:24] ---
[2019-5-13 19:36:26] Loaded plugin: homebridge-hue
[2019-5-13 19:36:26] Registering platform 'homebridge-hue.Hue'
[2019-5-13 19:36:26] ---
[2019-5-13 19:36:26] Loading 3 platforms...
[2019-5-13 19:36:26] [Config] Initializing config platform...
[2019-5-13 19:36:26] [Config] Spawning homebridge-config-ui-x with PID 30596
[2019-5-13 19:36:26] [HomeMatic CCU] Initializing HomeMatic platform...
[2019-5-13 19:36:26] [HomeMatic CCU] Homematic Plugin Version 0.0.109
[2019-5-13 19:36:26] [HomeMatic CCU] Plugin by thkl https://github.com/thkl
[2019-5-13 19:36:26] [HomeMatic CCU] Homematic is a registered trademark of the EQ-3 AG
[2019-5-13 19:36:26] [HomeMatic CCU] Please report any issues to https://github.com/thkl/homebridge-homematic/issues
[2019-5-13 19:36:26] [HomeMatic CCU] running in production mode
[2019-5-13 19:36:26] [HomeMatic CCU] will connect to your ccu at 192.168.178.28
[2019-5-13 19:36:26] [HomeMatic CCU] using binrpc for communication with BidCos-RF
[2019-5-13 19:36:26] [HomeMatic CCU] init RPC for BidCos-RF.
[2019-5-13 19:36:26] [HomeMatic CCU] local ip used : 192.168.178.27. you may change that with local_ip parameter in config
[2019-5-13 19:36:26] [Hue] Initializing Hue platform...
[2019-5-13 19:36:26] [Hue] homebridge-hue v0.11.24, node v10.15.3, homebridge v0.4.49
[2019-5-13 19:36:27] Loading 0 accessories...
[2019-5-13 19:36:27] [HomeMatic CCU] RPC server for interface BidCos-RF. is listening on port 9090.
[2019-5-13 19:36:27] [HomeMatic CCU] Creating Local HTTP Client for CCU RPC Events
[2019-5-13 19:36:27] [HomeMatic CCU] if PONG is PONG CCU is alive
[2019-5-13 19:36:28] [HomeMatic CCU] Programs :
[2019-5-13 19:36:28] [HomeMatic CCU] Initializing platform accessory 'Ambilight'...
[2019-5-13 19:36:28] [HomeMatic CCU] Initializing platform accessory 'HMIP PS 000217098CA03E 3'...
[2019-5-13 19:36:28] [HomeMatic CCU] Initializing platform accessory 'HM LC Sw1PBU FM OEQ0030287 1'...
[2019-5-13 19:36:28] [HomeMatic CCU] Initializing platform accessory 'HM LC Sw1PBU FM'...
[2019-5-13 19:36:28] [HomeMatic CCU] Cannot cache ccu data { [Error: EACCES: permission denied, open '/var/homebridge/ccu.json']
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/var/homebridge/ccu.json' }
[2019-5-13 19:36:28] [HomeMatic CCU] will cache ccu response to /var/homebridge/ccu.json
[2019-5-13 19:36:32] [Hue] Phoscon-GW: dresden elektronik deCONZ gateway v2.5.64, api v1.16.0
[2019-5-13 19:36:33] [Hue] Daylight: set homekit light level from 0.0001 lux to 100000 lux
[2019-5-13 19:36:33] [Hue] Phoscon-GW: 6 accessories
[2019-5-13 19:36:33] [Hue] cannot create /var/homebridge/homebridge-hue.json.gz: error EACCES
[2019-5-13 19:36:33] [Hue] Initializing platform accessory 'Phoscon-GW'...
[2019-5-13 19:36:33] [Hue] Phoscon-GW: 3 services
[2019-5-13 19:36:33] [Hue] Initializing platform accessory 'Fensterbank'...
[2019-5-13 19:36:33] [Hue] Initializing platform accessory 'Martini'...
[2019-5-13 19:36:33] [Hue] Initializing platform accessory 'Couch1'...
[2019-5-13 19:36:33] [Hue] Initializing platform accessory 'Couch2'...
[2019-5-13 19:36:33] [Hue] Initializing platform accessory 'Couch3'...
[2019-5-13 19:36:33] [Hue] { Error: EACCES: permission denied, open '/var/homebridge/persist/AccessoryInfo.CC223DE3CE30.json'
at Object.openSync (fs.js:438:3)
at Object.writeFileSync (fs.js:1189:35)
at LocalStorage.persistKeySync (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/node-persist/src/local-storage.js:476:16)
at LocalStorage.setItemSync (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/node-persist/src/local-storage.js:277:14)
at Object.nodePersist.setItemSync (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/node-persist/src/node-persist.js:99:29)
at AccessoryInfo.save (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/model/AccessoryInfo.js:163:11)
at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:552:23)
at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:132:16)
at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:421:14)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:16:19
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/var/homebridge/persist/AccessoryInfo.CC223DE3CE30.json' }
[2019-5-13 19:36:36] [HomeMatic CCU] NPM 0.0.109 vs Local 0.0.109
[2019-5-13 19:36:39] [Config] Console v4.4.0 is listening on :: port 89
[2019-5-13 19:36:39] [homebridge-config-ui-x] Error: listen EACCES: permission denied :::89
[2019-5-13 19:36:39] [homebridge-config-ui-x] The process owner does not have permission to run services on port 89. Please change the homebridge-config-ui-x port to something above 1024.
[2019-5-13 19:36:40] Got SIGTERM, shutting down Homebridge...
[2019-5-13 19:36:40] Error: EACCES: permission denied, open '/var/homebridge/accessories/cachedAccessories'
at Object.openSync (fs.js:438:3)
at Object.writeFileSync (fs.js:1189:35)
at LocalStorage.persistKeySync (/usr/local/lib/node_modules/homebridge/node_modules/node-persist/local-storage.js:457:12)
at LocalStorage.setItemSync (/usr/local/lib/node_modules/homebridge/node_modules/node-persist/local-storage.js:275:14)
at Server._updateCachedAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:581:20)
at Server._teardown (/usr/local/lib/node_modules/homebridge/lib/server.js:586:8)
at process.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/cli.js:44:14)
at process.emit (events.js:194:15)
Alles anzeigen
Hier noch meine Config
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "Home Smart Home",
"platforms": [
{
"platform": "config",
"name": "Config",
"port": 89,
"auth": "form",
"theme": "red",
"restart": "sudo -n systemctl restart homebridge",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"sudo": true,
"log": {
"method": "systemd",
"service": "homebridge"
}
},{
"platform": "HomeMatic",
"name": "HomeMatic CCU",
"ccu_ip": "192.168.178.28",
"filter_device": [],
"filter_channel": [
"BidCos-RF.KEQXXXXXXX:4",
"BidCos-RF.LEQXXXXXXX:2"
],
"outlets": [
"BidCos-RF.KEQXXXXXXX:4",
"BidCos-RF.IEQXXXXXXX:1"
],
"doors": [],
"programs": [],
"subsection": "Homekit"
},{
"platform": "Hue",
"name": "Hue",
"users": {
"00212EFFFF022C59": "97F865D549"
},
"sensors": true,
"nativeHomeKitSensors": false,
"excludeSensorTypes": [
"CLIPPresence",
"Geofence"
],
"lights": true
}
],
"accessories": []
}
Alles anzeigen