Das teste ich die Tage mal. Glaube ich aber nicht wirklich, denn auch wenn ich alles neu aufsetze und nur das Alexa Plugin installiere und aktiviere startet Homebridge nicht mehr. Alles sehr seltsam.
Beiträge von Vanc82
-
-
Brachte leider beides nichts. Der Fehler ist der selbe. Sobald ich den Alex-Teil aus der Config nehme, läuft Homebridge einwandfrei

-
Ja, genau - ich starte homebridge im Insecure Modus(-I). Die Zusatzoptionen rauszunehmen änderte leider nichts. Hier die Config:
{
"accessories": [],
"bridge": {
"username": "XXX",
"name": "Homebridge",
"pin": "XXX",
"port": 51826
},
"platforms": [
{
"platform": "config",
"name": "Config",
"sudo": true,
"port": 8080
},
{
"co2_alert_threshold": 1000,
"ttl": 540,
"extra_co2_sensor": false,
"name": "eveatmo platform",
"auth": {
"client_id": "xyz",
"username": "xxx",
"password": "xxx",
"client_secret": "xxx"
},
"platform": "eveatmo"
},
{
"name": "My FritzBox",
"password": "xxx",
"url": "http://xxx",
"platform": "Fritz!Box",
"username": "xxx",
"concurrent": true,
"options": {
"strictSSL": false
},
"devices": {
"hidden-3": {
"display": false
},
"outlet-1": {
"TemperatureSensor": false
},
"thermostat-2": {
"ContactSensor": false
},
"repeater-1": {
"TemperatureSensor": false
}
},
"interval": 60
},
{
"platform": "AutomationSwitches",
"switches": [
{
"type": "switch",
"name": "Schalter 1",
"stored": true,
"default": false
}
]
},
{
"platform": "Alexa",
"name": "Alexa",
"username": "xxx",
"password": "xxx"
}
]
}
-
Hi zusammen,
ich versuche homebridge-alexa und homebridge-automation-switches zu verwenden, aber sobald ich homebridge-alexa einbinde, wird der homebridge service immer wieder automatisch beendet:
ZitatAlles anzeigen[2019-9-8 19:31:39] Loading 5 platforms...
[2019-9-8 19:31:39] [Config] Initializing config platform...
[2019-9-8 19:31:39] [Config] Spawning homebridge-config-ui-x with PID 23466
[2019-9-8 19:31:39] [eveatmo platform] Initializing eveatmo platform...
[2019-9-8 19:31:39] [eveatmo platform] Loading new data from API for: weatherstation
[2019-9-8 19:31:39] [My FritzBox] Initializing Fritz!Box platform...
[2019-9-8 19:31:39] [AutomationSwitches] Initializing AutomationSwitches platform...
[2019-9-8 19:31:39] [AutomationSwitches] AutomationSwitchesPlatform Plugin Loaded - Version 3.2.1
[2019-9-8 19:31:39] [AutomationSwitches] Found automation switch in config: "Schalter 1"
[2019-9-8 19:31:39] [AutomationSwitches] Switch Schalter 1 is stored in file switch.C2852D903FA7.json
[2019-9-8 19:31:39] [AutomationSwitches] Initializing platform accessory 'Schalter 1'...
[2019-9-8 19:31:39] [Alexa] Initializing Alexa platform...
[2019-9-8 19:31:39] [Alexa] homebridge-alexa v0.4.37, node v12.10.0, homebridge v0.4.50
[2019-9-8 19:31:39] Loading 0 accessories...
Load homebridge-switches.AutomationSwitches
[2019-9-8 19:31:39] [homebridge-switches.AutomationSwitches] AutomationSwitchesPlatform Plugin Loaded - Version 3.2.1
[2019-9-8 19:31:40] SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at Request.<anonymous> (/usr/local/lib/node_modules/homebridge-alexa/node_modules/hap-node-client/HAPNodeJSClient.js:445:26)
at Request._callback (/usr/local/lib/node_modules/homebridge-alexa/node_modules/lodash/lodash.js:10050:25)
at Request.requestRetryReply [as reply] (/usr/local/lib/node_modules/homebridge-alexa/node_modules/requestretry/index.js:105:19)
at Request.<anonymous> (/usr/local/lib/node_modules/homebridge-alexa/node_modules/requestretry/index.js:138:10)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-alexa/node_modules/request/request.js:185:22)
at Request.emit (events.js:209:13)
at Request.<anonymous> (/usr/local/lib/node_modules/homebridge-alexa/node_modules/request/request.js:1161:10)
at Request.emit (events.js:209:13)
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-alexa/node_modules/request/request.js:1083:12)
at Object.onceWrapper (events.js:298:28)
at IncomingMessage.emit (events.js:214:15)
at endReadableNT (_stream_readable.js:1178:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
[2019-9-8 19:31:40] Got SIGTERM, shutting down Homebridge...
Meine Config:
ZitatAlles anzeigen{
"platform": "AutomationSwitches",
"switches": [
{
"type": "switch",
"name": "Schalter 1",
"stored": true,
"default": false
}
]
},
{
"name": "Alexa",
"username": "User",
"password": "PW",
"pin": "PIN",
"platform": "Alexa",
"oldParser": true
}
Hatte das schon mit und ohne oldParser versucht, Ergebnis ist immer das gleiche. Der Start läuft inkl. QR-Code anzeige durch, aber ist danach direkt beendet. Hätte jemand eine Idee, was das sein kann?
LG,
Martin