Hallo zusammen,
ich habe mir vor 4 tage homebridge auf einen raspberry pi3 eingerichtet und probeweise meine 2 Sonos boxen damit gesteuert, dass hat auch alles problemlos funktioniert bis gestern. Seid gestern bekomme ich immer folgenden Fehler:
Ich selbst habe die config geprüft und nichts falsches entdecken können, vor allem lief die config.json ja 3 tage prolemlos
"bridge": {
"name": "Homebridge",
"username": "38:2C:4A:4C:AC:40",
"port": 40949,
"pin": "031-45-154"
{
"accessories": [
{
"accessory": "Sonos",
"name": "Badezimmer Lautsprecher",
"room": "Bad",
"mute": true
}
]
},
{
"accessories": [
{
"accessory": "Sonos",
"name": "Wohnzimmer Lautsprecher",
"room": "Wohnzimmer",
"mute": true
}
]
}
Alles anzeigen
pi@raspberrypi:~ $ homebridge
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
[2017-7-22 15:12:21] Loaded plugin: homebridge-sonos
[2017-7-22 15:12:21] Registering accessory 'homebridge-sonos.Sonos'
[2017-7-22 15:12:21] ---
[2017-7-22 15:12:21] There was a problem reading your config.json file.
[2017-7-22 15:12:21] Please try pasting your config.json file here to validate it: http://jsonlint.com
[2017-7-22 15:12:21]
/usr/local/lib/node_modules/homebridge/lib/server.js:197
throw err;
^
SyntaxError: Unexpected token { in JSON at position 142
at Object.parse (native)
at Server._loadConfig (/usr/local/lib/node_modules/homebridge/lib/server.js:191:19)
at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:52:38)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:26:16)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
Alles anzeigen