Besten Dank es hat funktioniert. Da gebe ich Dir Recht, ich möchte es ja auch verstehen. Hab hier ein Tutorial gefunden das werde ich mir mal anschauen.
Danke nochmals
Gruß
PiSchrauber20
Besten Dank es hat funktioniert. Da gebe ich Dir Recht, ich möchte es ja auch verstehen. Hab hier ein Tutorial gefunden das werde ich mir mal anschauen.
Danke nochmals
Gruß
PiSchrauber20
Ja danke Norbert da war ich auch schon. Wenn ich die config so eingebe sagt er mir ich hätte an sehr vielen Stellen Fehler. Was aber nicht sein kann da ich ja nur das plugin für den dyson hinzugefügt habe und mir die Klammerlogik nicht aufgehen will weil ich nicht weiss wofür sie stehen.
Hallo liebe Forumsteilnehmer,
ich wollte in meiner config das homebridge dyson pure cool ergänzen.
Kämpfe aber mit dem Klammern. Weiß jemand von euch bitte wo ich vergessen haben die Klammer zu setzen ?
Besten Dank für eure Hilfe im Vorraus, gibts irgendwo ein Manual was beschreibt für welche Klammer was steht ?Ich kämpfe jedes Mal bei einer Erweiterung der config mit den Klammern...
GRuß
PiSchrauber20
{
"bridge": {
"username": "CD:22:3D:E3:CE:72",
"name": "Homebridge",
"pin": "031-45-676",
"port": 51826
},
"accessories": [
{
"accessory": "RFOutlet",
"name": "Schalter 1",
"type": "Switch",
"manufacturer": "Silvercrest (brennenstuhl)",
"model": "RCR DP3 3711-A",
"serial": "dd4a931513aa",
"rf_on": 1394001,
"rf_off": 1394004,
"pulselength": "355",
"protocol": "4"
},
{
"accessory": "RFOutlet",
"name": "Schalter 2",
"type": "Switch",
"manufacturer": "Silvercrest (brennenstuhl)",
"model": "RCR DP3 3711-A",
"serial": "dd4a931513aa",
"rf_on": 1397073,
"rf_off": 1397076,
"pulselength": "355",
"protocol": "4"
},
{
"accessory": "RFOutlet",
"name": "Schalter 3",
"type": "Switch",
"manufacturer": "Silvercrest (brennenstuhl)",
"model": "RCR DP3 3711-A",
"serial": "dd4a931513aa",
"rf_on": 1397841,
"rf_off": 1397844,
"pulselength": "355",
"protocol": "4"
},
{
"accessory": "RFOutlet",
"name": "Schalter 5",
"type": "Light",
"manufacturer": "Silvercrest (brennenstuhl)",
"model": "RCR DP3 3711-A",
"serial": "dd4a931513aa",
"rf_on": 4539729,
"rf_off": 4539732,
"pulselength": "355",
"protocol": "4"
},
{
"accessory": "RFOutlet",
"name": "Schalter 6",
"type": "Switch",
"manufacturer": "Silvercrest (brennenstuhl)",
"model": "RCR DP3 3711-A",
"serial": "dd4a931513aa",
"rf_on": 4543761,
"rf_off": 4543764,
"pulselength": "355",
"protocol": "4"
},
{
"accessory": "RaspberryPi",
"name": "Raspberry Pi",
"os": "linux",
"interval": 5000,
"showCpuUsage": false,
"showMemoryUsage": false,
"showTemperature": false,
"enableReboot": true
},
{
"name": "AirRohr",
"accessory": "airrohr",
"public_temperature_json_data":"http://data.sensor.community/airrohr/v1/sensor/xxxx/",
"public_airquality_json_data":"http://data.sensor.community/airrohr/v1/sensor/xxxx/",
"sensor_id":"xxxx",
"update_interval_seconds": 180
},
{
"accessory": "YamahaMC2",
"name": "Telefon Lautstärke 0",
"host": "192.168.178.55",
"zone": "main",
"maxvol":82
}
],
"platforms": [{
"platform": "Fritz!Box",
"name": "Fritz!Box",
"url": "http://192.168.178.1",
"username": ",
"password": "",
"interval": 60,
"hide": [
"<ain>"
],
"concurent": false,
"options": {
"strictSSL": false
}
},
{
"platform": "Hue",
"host": "192.168.178.47",
"lights": true,
"hueMotionTemperatureHistory": true,
"users": {
"001788FFFEADEE6A": "XXiLFrzUfH0WomcW31ETULCk1XQwpxd-hgnHd3GV"
}
},
{
"platform": "CallMonitor",
"devices": [
{
"name": "AVM Fritz!Box 6490",
"address": "192.168.178.1",
"port": "1012",
"outgoingName": "Ausgehender Anruf",
"incomingName": "Eingehender Anruf"
}
]
}
]
}
{
"platforms": [
{
"platform": "DysonPureCoolPlatform",
"username": "<YOUR-EMAIL-ADDRESS>",
"password": "<YOUR-PASSWORD>",
"countryCode": "<COUNTRY-CODE>",
"devices": [
{
"ipAddress": "XXX.XXX.XXX.XXX",
"serialNumber": "XXX-EU-XXXXXXXX",
"credentials": null,
"enableAutoModeWhenActivating": false,
"isNightModeEnabled": false,
"isJetFocusEnabled": false,
"isContinuousMonitoringEnabled": false,
"isTemperatureSensorEnabled": false,
"isHumiditySensorEnabled": false,
"isAirQualitySensorEnabled": false,
"isSingleAccessoryModeEnabled": false,
"isFullRangeHumidity": false
}
],
"updateInterval": 60000,
"retrySignInInterval": 0
}
]
}
Alles anzeigen
Super ich denke euch, es hat gefunzt
so ?
{
"platform": "Hue",
"host": "192.168.178.47,
"lights": true,
"hueMotionTemperatureHistory": true,
"users": {
"": ""
}
}
],
Hi guten Abend,
habe ein richtig doofes Problem ich möchte meine Hue-Bridge in die laufende Konfiguration einbinden, wenn ich den Part einbinde erhalte ich beim Start eine Fehlermeldung. Was mache ich denn falsch ?
Der Onlinevalidator wirft für mich mehr Fragen auf als Antworten. Würde mich sehr freuen wenn sich das mal jemand anschauen könnte und den Code berichtigen könnte :
Fehlermeldung:
Nov 29 20:26:59 raspberrypi systemd[1]: Started Node.js HomeKit Server.
Nov 29 20:27:00 raspberrypi systemd[1]: Stopping Node.js HomeKit Server...
Nov 29 20:27:00 raspberrypi systemd[1]: homebridge.service: Main process exited, code=killed, status=15/TERM
Nov 29 20:27:00 raspberrypi systemd[1]: homebridge.service: Succeeded.
Nov 29 20:27:00 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.
Nov 29 20:27:00 raspberrypi systemd[1]: homebridge.service: Found left-over process 10692 (sh) in control group while starting unit. Ignoring.
Nov 29 20:27:00 raspberrypi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Nov 29 20:27:00 raspberrypi systemd[1]: homebridge.service: Found left-over process 10693 (node) in control group while starting unit. Ignoring.
Nov 29 20:27:00 raspberrypi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Nov 29 20:27:00 raspberrypi systemd[1]: Started Node.js HomeKit Server.
Nov 29 20:27:01 raspberrypi homebridge[10707]: [11/29/2019, 8:27:01 PM] There was a problem reading your config.json file.
Nov 29 20:27:01 raspberrypi homebridge[10707]: [11/29/2019, 8:27:01 PM] Please try pasting your config.json file here to validate it: http://jsonlint.com
Nov 29 20:27:01 raspberrypi homebridge[10707]: [11/29/2019, 8:27:01 PM]
Nov 29 20:27:01 raspberrypi homebridge[10707]: /usr/local/lib/node_modules/homebridge/lib/server.js:218
Nov 29 20:27:01 raspberrypi homebridge[10707]: throw err;
Nov 29 20:27:01 raspberrypi homebridge[10707]: ^
Nov 29 20:27:01 raspberrypi homebridge[10707]: SyntaxError: Unexpected token ] in JSON at position 2994
Nov 29 20:27:01 raspberrypi homebridge[10707]: at JSON.parse (<anonymous>)
Nov 29 20:27:01 raspberrypi homebridge[10707]: at Server._loadConfig (/usr/local/lib/node_modules/homebridge/lib/server.js:212:19)
Nov 29 20:27:01 raspberrypi homebridge[10707]: at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:56:38)
Nov 29 20:27:01 raspberrypi homebridge[10707]: at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:32:16)
Nov 29 20:27:01 raspberrypi homebridge[10707]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
Nov 29 20:27:01 raspberrypi homebridge[10707]: at Module._compile (internal/modules/cjs/loader.js:778:30)
Nov 29 20:27:01 raspberrypi homebridge[10707]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
Nov 29 20:27:01 raspberrypi homebridge[10707]: at Module.load (internal/modules/cjs/loader.js:653:32)
Nov 29 20:27:01 raspberrypi homebridge[10707]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
Nov 29 20:27:01 raspberrypi homebridge[10707]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Nov 29 20:27:01 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
Nov 29 20:27:01 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
Meine Konfiguration :
{
"bridge": {
"username": "CD:22:3D:E3:CE:72",
"name": "Homebridge",
"pin": "031-45-676",
"port": 51826
},
"accessories": [
{
"accessory": "RFOutlet",
"name": "Schalter 1",
"type": "Switch",
"manufacturer": "Silvercrest (brennenstuhl)",
"model": "RCR DP3 3711-A",
"serial": "dd4a931513aa",
"rf_on": 1394001,
"rf_off": 1394004,
"pulselength": "355",
"protocol": "4"
},
{
"accessory": "RFOutlet",
"name": "Schalter 2",
"type": "Switch",
"manufacturer": "Silvercrest (brennenstuhl)",
"model": "RCR DP3 3711-A",
"serial": "dd4a931513aa",
"rf_on": 1397073,
"rf_off": 1397076,
"pulselength": "355",
"protocol": "4"
},
{
"accessory": "RFOutlet",
"name": "Schalter 3",
"type": "Switch",
"manufacturer": "Silvercrest (brennenstuhl)",
"model": "RCR DP3 3711-A",
"serial": "dd4a931513aa",
"rf_on": 1397841,
"rf_off": 1397844,
"pulselength": "355",
"protocol": "4"
},
{
"accessory": "RFOutlet",
"name": "Schalter 5",
"type": "Light",
"manufacturer": "Silvercrest (brennenstuhl)",
"model": "RCR DP3 3711-A",
"serial": "dd4a931513aa",
"rf_on": 4539729,
"rf_off": 4539732,
"pulselength": "355",
"protocol": "4"
},
{
"accessory": "YamahaMC",
"name": "Yamaha RX-V865",
"host": "192.168.178.55",
"zone": "main",
"maxvol":161
}
],
"platforms": [{
"platform": "Fritz!Box",
"name": "Fritz!Box",
"url": "http://192.168.178.1",
"username": "User",
"password": "Passwort",
"interval": 60,
"hide": [
"<ain>"
],
"concurent": false,
"options": {
"strictSSL": false
},
{
"platform": "Hue",
"host": "192.168.178.47,
"lights": true,
"hueMotionTemperatureHistory": true,
"users": {
"": ""
},
],