Sehe gerade Stefan war schneller
----------------
Okay, nochmal zum mittmeißeln 
Die Prüfung mit JSONLint würde schon klappen, wenn du am Anfang und Ende noch eine "geschweifte Klammer" setzt, da jede *.json IMMER so aufgebaut ist:

Nur leider nützt dir das nix zum testen mit homebridge. Damit du nur dieses "accessory" in HB testen kannst musst du noch einiges dazupacken und dann deine bestehende (und funktionierende config) umbenennen (z.B. in config.json.ok), deine "Test-config" ins Verzeichnis von "homebridge" auf dem RPi kopieren und benennen als "config.json" und dann die HB neu starten. Eine "Test-config" für dich könnte so aussehen:
{
"description": "Home Smart Home",
"bridge": {
"name": "Homebridge BD8E",
"username": "0E:B4:02:4E:BD:9F",
"port": 52050,
"pin": "031-45-154"
},
"platforms": [
{
"platform": "config",
"name": "Config",
"port": 8581,
"auth": "form",
"theme": "red",
"restart": "sudo -n systemctl restart homebridge",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"sudo": true,
"log": {
"method": "custom",
"command": "journalctl -o cat -n 500 -f -u homebridge"
}
}
],
"accessories": [
{
"accessory": "MagicHome",
"name": "LED-Flurlicht",
"ip": "192.168.178.210",
"setup": "RGB",
"purewhite": false
}
]
}
Alles anzeigen
Aber warum willst du das nicht gleich in der funktionierenden config.json einbauen und testen?
Ist einfacher und schneller und bringt das gleiche Ergebnis!
Anbei eine komplette config.json inkl. MacigHome (basierend auf deiner config von #83):
{
"description": "Home Smart Home",
"bridge": {
"name": "Homebridge BD8E",
"username": "0E:B4:02:4E:BD:9F",
"port": 52050,
"pin": "031-45-154"
},
"platforms": [{
"platform": "config",
"name": "Config",
"port": 8581,
"auth": "form",
"theme": "red",
"restart": "sudo -n systemctl restart homebridge",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"sudo": true,
"log": {
"method": "custom",
"command": "journalctl -o cat -n 500 -f -u homebridge"
}
},
{
"platform": "Fritz!Box",
"name": "FRITZBox7490",
"username": "Smart_Home",
"password": "vp29011970",
"url": "http://192.168.178.1",
"interval": 60,
"hide": [
"wifi",
"<ain>"
],
"concurrent": false,
"wifiName": "jockel&pinky",
"options": {
"strictSSL": false
}
},
{
"platform": "yamaha-home",
"play_volume": -55,
"discovery_timeout": 5,
"radio_presets": true,
"preset_num": true,
"max_volume": 20,
"party_switch": "yes",
"spotify": true,
"manual_addresses": {
"Yamaha": "192.168.178.37"
},
"inputs_as_accessories": {
"YamahaReceiver": {
"1": {
"name": "WebRadio",
"setInputTo": "NET RADIO"
},
"2": {
"name": "Fernseher",
"setInputTo": "HDMI1"
},
"3": {
"name": "Bluetooth",
"set_scene": "4",
"setInputTo": "Bluetooth"
}
}
}
},
{
"platform": "TplinkSmarthome",
"name": "TplinkSmarthome",
"timeout": 5,
"addCustomCharacteristics": true,
"inUseThreshold": 0,
"devices": [{
"host": "192.168.178.200"
},
{
"host": "192.168.178.201"
},
{
"host": "192.168.178.202"
},
{
"host": "192.168.178.203"
},
{
"host": "192.168.178.204"
},
{
"host": "192.168.178.205"
}
]
}
],
"accessories": [{
"accessory": "MagicHome",
"name": "LED-Flurlicht",
"ip": "192.168.178.210",
"setup": "RGB",
"purewhite": false
}]
}
Alles anzeigen