Meint ihr, das ganze ist auch mit dem System 55 E2 zu realisieren?
Beiträge von krmkrx
-
-
Hier der Output beispielhaft für Zone 5:
Code{"tadoMode":"HOME","geolocationOverride":false,"geolocationOverrideDisableTime":null,"preparation":null,"setting":{"type":"HEATING","power":"ON","temperature":{"celsius":20.00,"fahrenheit":68.00}},"overlayType":"MANUAL","overlay":{"type":"MANUAL","setting":{"type":"HEATING","power":"ON","temperature":{"celsius":20.00,"fahrenheit":68.00}},"termination":{"type":"TADO_MODE","projectedExpiry":"2018-01-18T21:00:00Z"}},"openWindow":null,"link":{"state":"ONLINE"},"activityDataPoints":{"heatingPower":{"type":"PERCENTAGE","percentage":22.00,"timestamp":"2018-01-18T18:08:33.305Z"}},"sensorDataPoints":{"insideTemperature":{"celsius":20.11,"fahrenheit":68.20,"timestamp":"2018-01-18T17:57:27.005Z","type":"TEMPERATURE","precision":{"celsius":0.1,"fahrenheit":0.1}},"humidity":{"type":"PERCENTAGE","percentage":55.70,"timestamp":"2018-01-18T17:57:27.005Z"}}}
Und hier für Zone 1:
Code{"tadoMode":"HOME","geolocationOverride":true,"geolocationOverrideDisableTime":"2018-01-18T21:30:00Z","preparation":null,"setting":{"type":"HEATING","power":"ON","temperature":{"celsius":21.00,"fahrenheit":69.80}},"overlayType":null,"overlay":null,"openWindow":null,"link":{"state":"ONLINE"},"activityDataPoints":{"heatingPower":{"type":"PERCENTAGE","percentage":0.00,"timestamp":"2018-01-18T18:10:59.031Z"}},"sensorDataPoints":{"insideTemperature":{"celsius":22.13,"fahrenheit":71.83,"timestamp":"2018-01-18T18:10:54.051Z","type":"TEMPERATURE","precision":{"celsius":1.0,"fahrenheit":1.0}},"humidity":{"type":"PERCENTAGE","percentage":40.60,"timestamp":"2018-01-18T18:10:54.051Z"}}}
-
Ich denke/hoffe nicht, dass es an der Config liegt, sie ist ziemlich lang. Aber hier:
Code
Alles anzeigen{ "bridge":{ "name":"Homebridge", "username":"CC:22:3D:E3:CE:30", "port":51826, "pin":"031-45-154" }, "accessories":[ { "accessory":"MiGatewaySecurity", "name":"MiGatewaySecurity", "ip":"xxx", "token":"xxx" }, { "accessory":"cec", "name":"Philips TV", "type":"power", "address":0 }, { "accessory":"cec", "name":"Apple TV", "type":"power", "address":4 }, { "accessory":"cec", "name":"PlayStation", "type":"power", "address":8 }, { "accessory":"OccupancyDelay", "name":"OccupancyDelay", "delay":60, "slaveCount":1 }, { "accessory":"Notification", "name":"AQI Zimmer sehr gut", "ifttt_api_key":"xxx", "ifttt_event":"aqi_zimmer_sehrgut", "ifttt_message":"Die Luftqualität im Zimmer ist sehr gut.", "ifttt_mute_notification_interval_in_sec":60 }, { "accessory":"Notification", "name":"AQI Küche sehr gut", "ifttt_api_key":"xxx", "ifttt_event":"aqi_küche_sehrgut", "ifttt_message":"Die Luftqualität in der Küche ist sehr gut.", "ifttt_mute_notification_interval_in_sec":60 }, { "accessory":"Notification", "name":"AQI Zimmer gut", "ifttt_api_key":"xxx", "ifttt_event":"aqi_zimmer_gut", "ifttt_message":"Die Luftqualität im Zimmer ist gut.", "ifttt_mute_notification_interval_in_sec":60 }, { "accessory":"Notification", "name":"AQI Küche gut", "ifttt_api_key":"xxx", "ifttt_event":"aqi_küche_gut", "ifttt_message":"Die Luftqualität in der Küche ist gut.", "ifttt_mute_notification_interval_in_sec":60 }, { "accessory":"Notification", "name":"AQI Zimmer akzeptabel", "ifttt_api_key":"xxx", "ifttt_event":"aqi_zimmer_akzeptabel", "ifttt_message":"Die Luftqualität im Zimmer ist befriedigend.", "ifttt_mute_notification_interval_in_sec":60 }, { "accessory":"Notification", "name":"AQI Küche akzeptabel", "ifttt_api_key":"xxx", "ifttt_event":"aqi_küche_akzeptabel", "ifttt_message":"Die Luftqualität in der Küche ist befriedigend.", "ifttt_mute_notification_interval_in_sec":60 }, { "accessory":"Notification", "name":"AQI Zimmer mäßig", "ifttt_api_key":"xxx", "ifttt_event":"aqi_zimmer_mäßig", "ifttt_message":"Die Luftqualität im Zimmer ist schlecht.", "ifttt_mute_notification_interval_in_sec":60 }, { "accessory":"Notification", "name":"AQI Küche mäßig", "ifttt_api_key":"xxx", "ifttt_event":"aqi_küche_mäßig", "ifttt_message":"Die Luftqualität in der Küche ist schlecht.", "ifttt_mute_notification_interval_in_sec":60 }, { "accessory":"Notification", "name":"AQI Zimmer schlecht", "ifttt_api_key":"xxx", "ifttt_event":"aqi_zimmer_schlecht", "ifttt_message":"Die Luftqualität im Zimmer ist sehr schlecht.", "ifttt_mute_notification_interval_in_sec":60 }, { "accessory":"Notification", "name":"AQI Küche schlecht", "ifttt_api_key":"xxx", "ifttt_event":"aqi_küche_schlecht", "ifttt_message":"Die Luftqualität in der Küche ist sehr schlecht.", "ifttt_mute_notification_interval_in_sec":60 } ], "platforms":[ { "platform":"Nest", "token":"xxx", "clientId":"xxx", "clientSecret":"xxx", "code":"xxx" }, { "platform":"Nest-cam", "username":"xxx", "password":"xxx", "useOMX":true }, { "platform":"cmdSwitch2", "name":"CMD Switch", "switches":[ { "name":"Zimmer Automatik", "on_cmd":"echo ''", "off_cmd":"curl -X DELETE 'https://my.tado.com/api/v2/homes/xxx/zones/5/overlay?password=xxx&username=xxx'", "state_cmd":"curl -s 'https://my.tado.com/api/v2/homes/xxx/zones/5/state?password=xxx&username=xxx' | jq '.overlayType' | grep 'null'", "polling":true, "interval":1, "timeout":5 }, { "name":"Wohnzimmer Manuell", "on_cmd":"echo ''", "off_cmd":"curl -X DELETE 'https://my.tado.com/api/v2/homes/xxx/zones/1/overlay?password=xxx&username=xxx'", "state_cmd":"curl -s 'https://my.tado.com/api/v2/homes/xxx/zones/1/state?password=xxx&username=xxx' | jq -r '.overlayType' | grep 'MANUAL'", "polling":true, "interval":1, "timeout":5 } ] }, { "platform":"MiAqaraPlatform", "gateways":{ "xxx":"xxx" }, "defaultValue":{ "xxx":{ "Gateway_Switch_JoinPermission":{ "name":"gateway join permission switch", "disable":true } }, "xxx":{ "Button_Switch_VirtualSinglePress":{ "name":"switch virtual single press", "disable":true }, "Button_Switch_VirtualDoublePress":{ "name":"switch virtual double press", "disable":true } } } }, { "platform":"config", "name":"Config", "port":8080, "log":"/var/log/daemon.log", "restart":"sudo systemctl restart homebridge" }, { "platform":"AutomationSwitches", "switches":[ { "type":"lock", "name":"Schloss", "default":"unlocked", "stored":true }, { "type":"security", "name":"Alarmsystem", "default":"unarmed", "stored":true } ] }, { "platform":"IFTTT", "name":"IFTTT", "makerkey":"xxx", "accessories":[ { "name":"Regenbogen", "buttons":[ { "caption":"Regenbogen", "triggerOn":"hue_zimmer_color_loop", "triggerOff":"hue_zimmer_color_loop_end" } ] }, { "name":"Tado Zimmer Automodus", "buttons":[ { "caption":"Zimmer Automodus", "triggerOn":"heating_zimmer_auto_on", "triggerOff":"heating_zimmer_off", "stateful":true } ] }, { "name":"Tado Küche Automodus", "buttons":[ { "caption":"Küche Automodus", "triggerOn":"heating_küche_auto_on", "triggerOff":"heating_küche_off", "stateful":true } ] }, { "name":"Tado Wohnzimmer Automodus", "buttons":[ { "caption":"Wohnzimmer Automodus", "triggerOn":"heating_wohnzimmer_auto_on", "triggerOff":"heating_wohnzimmer_off", "stateful":true } ] }, { "name":"Tado Badezimmer Automodus", "buttons":[ { "caption":"Badezimmer Automodus", "triggerOn":"heating_badezimmer_auto_on", "triggerOff":"heating_badezimmer_off", "stateful":true } ] }, { "name":"Tado Schlafzimmer Automodus", "buttons":[ { "caption":"Schlafzimmer Automodus", "triggerOn":"heating_schlafzimmer_auto_on", "triggerOff":"heating_schlafzimmer_off", "stateful":true } ] } ] } ] }
-
Ich habe jetzt beide Varianten nochmal probiert, leider gehen beide Switches sofort aus und der Tado Modus ändert sich nicht, schade. Wäre wirklich deutlich schöner als der Umweg über IFTTT.
-
Hey, danke für die super Anleitung! Geht das ganze auch in die "andere" Richtung? Hätte gerne einen Switch, der mir anzeigt, ob der Automatikmodus an oder aus ist... eben auch mit state funktion.
Hab es grade mal zum testen mit deiner Variante probiert, funktioniert irgendwie nicht so recht. Switch springt immer auf "An" und hat keine funktion..
Gebe ich den overlay befehl "nackt" in den Browser ein, wird folgendes ausgegeben:
Habe noch etwas weiter rumpobiert, mit meiner Zone 1 geht es.. merkwürdig..
-
Da habe ich mich aber tatsächlich kräftig verlesen. Danke!
Hat denn jemand Erfahrung mit der erstkonfiguration der Homematic IP Heizkörperthermostate an der CCU2?
Brauche ich dann den IP Access Point gar nicht zur erstkonfiguration? Kann ich über das webinterface der ccu2 auch Zeitpläne für die Thermostate hinterlegen?
Hat jemand seine Homematic Heizkörperthermostate, egal ob IP oder Vorgänger, in einem Gewerk und über Homebridge eingebunden?
Das wäre so ja eine günstig Alternative zu Tado und co.
-
Aber es ist schon richtig, dass die CCU2 nur in Verbindung mit einem kostenpflichtigem Abo zu nutzen ist, richtig?
Bzw. zumindest die Oberfläche, um es zu konfigurieren, habe da etwas gelesen..
-
Eine Frage zum Rauchmelder. Er wird aber schon als Rauchsensor angezeigt und nicht als anderer HK Service, oder?
Und wir reden über den hier, der leider aktuell nicht mehr verfügbar ist? https://bit.ly/3cJ6AYO
-
Hey zusammen. Ich habe mal wieder eine Frage. Wie bei vielen von euch steure ich mein Tado mit einem Türsensor über einen IFTTT Webhook und damit Schalter in HomeKit zum ausschalten der Heizung und starten des Automodus.
Kann man da auch eine Verzögerung einbauen? Ich möchte nicht, dass bei jedem 5-sekündigen öffnen und direkt wieder schließen der Balkontür die Heizung aus und wieder angeht.
Gibt es eine Möglichkeit, in der automation festzulegen, dass der IFTTT schalter erst aktiviert werden soll, wenn die Tür für 30 Sekunden geöffnet ist?
Nativ geht das nicht, habt ihr ein Plugin dafür im Kopf?
-
Hey zusammen. Hat jemand von euch die Xiaomi Einbindung mit
laufen und kann berichten? Ist das wirklich langsamer?
Wie sieht das aus wenn ich einen Mapping table zur config hinzufüge? Würde das Gateway neue Geräte dennoch automatisch einbinden, nur eben ohne vorab von mir spezifizierten Namen? Oder hat das weitere Auswirkungen?
-
Ich konnte das nun durch einen simplen Neustart beheben. Habt ihr eigentlich dem Gateway nach Konfiguration den Internetzugriff entzogen?
-
Danke dir! Der "-g" Tag hat bereits geholfen, es funktioniert!
Habe jetzt beobachten können, dass mir die Lampe des Gateways im 3 Sekundentakt im Status mal als "Aus" und mal als auf "100% Helligkeit" gestellt angezeigt wird. Die Lampe blinkt jedoch nicht. Hat das noch jemand?
-
Hey! Habe mir grade versucht, das Mi Aqara plugin zu installieren, leider erscheint folgende Fehlermeldung:
Code
Alles anzeigenpi@raspberrypi:~ $ sudo systemctl stop homebridge pi@raspberrypi:~ $ sudo npm install homebridge-mi-aqara npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json' npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. + [email protected] added 1 package in 2.816s pi@raspberrypi:~ $
Meine Homebridge ist systemd. Habt ihr eine Idee?
-
Moin! Ich habe mich auch mal am IFTTT Plugin versucht und würde damit auch gerne die Tado Modi schalten.
Vorerst wollte ich das Ganze mal mit einem einfachen Schalter zum Ein- und Ausschalten von Hue Lampen testen (ich weiß, eigentlich total unnötig, aber warum nicht...).
Sobald ich aber die IFTTT Platform zu meiner config hinzufüge, startet die Homebridge leider nicht mehr.
Hier die config:
Code
Alles anzeigen{ "bridge":{ "name":"Homebridge", "username":"CC:22:3D:E3:CE:30", "port":51826, "pin":"031-45-154" }, "accessories":[ { "accessory":"cec", "name":"Philips TV", "type":"power", "address":0 }, { "accessory":"cec", "name":"Apple TV", "type":"power", "address":4 }, { "accessory":"cec", "name":"PlayStation", "type":"power", "address":8 }, { "accessory":"OccupancyDelay", "name":"OccupancyDelay", "delay":60, "slaveCount":1 }, { "accessory":"Notification", "name":"AQI Zimmer sehr gut", "ifttt_api_key":"-", "ifttt_event":"aqi_zimmer_sehrgut", "ifttt_message":"Luftqualität im Zimmer sehr gut", "ifttt_mute_notification_interval_in_sec":60 }, { "accessory":"Notification", "name":"AQI Zimmer gut", "ifttt_api_key":"-", "ifttt_event":"aqi_zimmer_gut", "ifttt_message":"Luftqualität im Zimmer gut", "ifttt_mute_notification_interval_in_sec":60 }, { "accessory":"Notification", "name":"AQI Zimmer akzeptabel", "ifttt_api_key":"-", "ifttt_event":"aqi_zimmer_akzeptabel", "ifttt_message":"Luftqualität im Zimmer akzeptabel", "ifttt_mute_notification_interval_in_sec":60 }, { "accessory":"Notification", "name":"AQI Zimmer mäßig", "ifttt_api_key":"-", "ifttt_event":"aqi_zimmer_mäßig", "ifttt_message":"Luftqualität im Zimmer mäßig", "ifttt_mute_notification_interval_in_sec":60 }, { "accessory":"Notification", "name":"AQI Zimmer schlecht", "ifttt_api_key":"-", "ifttt_event":"aqi_zimmer_schlecht", "ifttt_message":"Luftqualität im Zimmer schlecht", "ifttt_mute_notification_interval_in_sec":60 }, { "accessory":"Notification", "name":"Küche Licht eingeschaltet", "ifttt_api_key":"-", "ifttt_event":"light_küche_turnedon", "ifttt_message":"Küche: Licht eingeschaltet", "ifttt_mute_notification_interval_in_sec":60 } ], "platforms":[ { "platform":"Nest", "token":"-", "clientId":"-", "clientSecret":"-", "code":"-" }, { "platform":"Nest-cam", "username":"-", "password":"-", "useOMX":true }, { "platform":"config", "name":"Config", "port":8080, "log":"/var/log/daemon.log", "restart":"sudo systemctl restart homebridge" }, { "platform":"IFTTT", "name":"IFTTT", "makerkey":"-", "accessories":[ { "name":"Küche Licht", "buttons":[ { "caption":"Lichtschalterrr", "triggerOn":"kitchen_light_on", "triggerOff":"kitchen_light_off" } ] } ] } ] }
Hier der Log:
Code
Alles anzeigenDec 30 00:03:25 raspberrypi homebridge[12714]: *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi. Dec 30 00:03:25 raspberrypi homebridge[12714]: *** WARNING *** Please fix your application to use the native API of Avahi! Dec 30 00:03:25 raspberrypi homebridge[12714]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node> Dec 30 00:03:25 raspberrypi homebridge[12714]: *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi. Dec 30 00:03:25 raspberrypi homebridge[12714]: *** WARNING *** Please fix your application to use the native API of Avahi! Dec 30 00:03:25 raspberrypi homebridge[12714]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister> Dec 30 00:03:25 raspberrypi node[12714]: *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi. Dec 30 00:03:25 raspberrypi node[12714]: *** WARNING *** Please fix your application to use the native API of Avahi! Dec 30 00:03:25 raspberrypi node[12714]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node> Dec 30 00:03:25 raspberrypi node[12714]: *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi. Dec 30 00:03:25 raspberrypi node[12714]: *** WARNING *** Please fix your application to use the native API of Avahi! Dec 30 00:03:25 raspberrypi node[12714]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister> Dec 30 00:03:27 raspberrypi homebridge[12714]: ???????????????????????????????????????????????????????????????? Dec 30 00:03:27 raspberrypi homebridge[12714]: ? npm update check failed ? Dec 30 00:03:27 raspberrypi homebridge[12714]: ? Try running with sudo or get access ? Dec 30 00:03:27 raspberrypi homebridge[12714]: ? to the local update config store via ? Dec 30 00:03:27 raspberrypi homebridge[12714]: ? sudo chown -R $USER:$(id -gn $USER) /home/homebridge/.config ? Dec 30 00:03:27 raspberrypi homebridge[12714]: ???????????????????????????????????????????????????????????????? Dec 30 00:03:27 raspberrypi homebridge[12714]: [2017-12-30 00:03:27] Loaded plugin: homebridge-camera-ffmpeg-omx Dec 30 00:03:27 raspberrypi homebridge[12714]: [2017-12-30 00:03:27] Registering platform 'homebridge-camera-ffmpeg-omx.Camera-ffmpeg-omx' Dec 30 00:03:27 raspberrypi homebridge[12714]: [2017-12-30 00:03:27] --- Dec 30 00:03:27 raspberrypi homebridge[12714]: [2017-12-30 00:03:27] Loaded plugin: homebridge-cec-accessory Dec 30 00:03:27 raspberrypi homebridge[12714]: [2017-12-30 00:03:27] Registering accessory 'homebridge-cec.cec' Dec 30 00:03:27 raspberrypi homebridge[12714]: [2017-12-30 00:03:27] --- Dec 30 00:03:27 raspberrypi homebridge[12714]: [2017-12-30 00:03:27] Loaded plugin: homebridge-config-ui Dec 30 00:03:27 raspberrypi homebridge[12714]: [2017-12-30 00:03:27] Registering platform 'homebridge-config-ui.config' Dec 30 00:03:27 raspberrypi homebridge[12714]: [2017-12-30 00:03:27] --- Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] Loaded plugin: homebridge-nest Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] Registering platform 'homebridge-nest.Nest' Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] --- Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] Loaded plugin: homebridge-nest-cam Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] Registering platform 'homebridge-nest-cam.Nest-cam' Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] --- Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] Loaded plugin: homebridge-notification Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] Registering accessory 'homebridge-notifications.Notification' Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] --- Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] Loaded plugin: homebridge-occupancy-delay Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] Registering accessory 'homebridge-occupancy-delay.OccupancyDelay' Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] --- Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] Loaded config.json with 10 accessories and 4 platforms. Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] --- Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] Loading 4 platforms... Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] [Nest] Initializing Nest platform... Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] [Nest] Fetching Nest devices. Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] [Nest-cam] Initializing Nest-cam platform... Dec 30 00:03:28 raspberrypi homebridge[12714]: [2017-12-30 00:03:28] [Config] Initializing config platform... Dec 30 00:03:29 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE Dec 30 00:03:29 raspberrypi systemd[1]: homebridge.service: Unit entered failed state. Dec 30 00:03:29 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'. Dec 30 00:03:39 raspberrypi systemd[1]: homebridge.service: Service hold-off time over, scheduling restart. Dec 30 00:03:39 raspberrypi systemd[1]: Stopped Node.js HomeKit Server. Dec 30 00:03:39 raspberrypi systemd[1]: Started Node.js HomeKit Server.
Hat jemand eine Idee?
-
Moin!
Verzeiht mir, falls es das hier schon irgendwie gibt, aber selbstvertändlich spuckt eine Suche nach "Homebridge Log" hier so einiges an Ergebnissen aus.
Ich hätte gerne, dass mir mein Raspberry Pi eine .txt (oder was auch immer) Datei erstellt, in der fortlaufend der Homebridge Log geschrieben wird. Würde damit gerne auch 3 Tage später noch nachvollziehen können, was im Log stand. Bisher rufe ich den Log meiner systemd Hombridge über SSH mit sudo journalctl -f- u homebridge auf. Das ist irgendwie nicht so das wahre...
Das geht doch sicher eleganter, oder?
-
Jap, CEC ist bei allen drei Geräten eingeschaltet und funktioniert so an sich auch. Nur eben nicht mit dem Raspberry vernünftig.
-
Der CEC Scan ergibt folgendes:
Code
Alles anzeigenpi@raspberrypi:~ $ sudo cec-client -d 1 log level set to 1 No device type given. Using 'recording device' CEC Parser created - libCEC version 4.0.2 no serial port given. trying autodetect: path: Raspberry Pi com port: RPI opening a connection to the CEC adapter... waiting for input scan requesting CEC bus information ... CEC bus information =================== device #0: TV address: 0.0.0.0 active source: no vendor: Philips osd string: TV CEC version: 1.4 power status: on language: ger device #1: Recorder 1 address: 3.0.0.0 active source: no vendor: Philips osd string: CECTester CEC version: 1.4 power status: on language: eng device #4: Playback 1 address: 1.0.0.0 active source: no vendor: Unknown osd string: Apple TV CEC version: unknown power status: on language: ??? device #8: Playback 2 address: 2.0.0.0 active source: no vendor: Sony osd string: PlayStation 4 CEC version: 1.3a power status: on language: ??? currently active source: unknown (-1)
Meine Config sieht so aus:
Code
Alles anzeigen{ "bridge":{ "name":"Homebridge", "username":"CC:22:3D:E3:CE:30", "port":51826, "pin":"031-45-154" }, "accessories":[ { "accessory":"cec", "name":"Apple TV", "type":"power", "address":4 }, { "accessory":"cec", "name":"PlayStation", "type":"power", "address":8 } ], "platforms":[ { "platform":"Nest", "token":"xxx", "clientId":"xxx", "clientSecret":"xxx", "code":"xxx" }, { "platform":"Nest-cam", "username":"xxx", "password":"xxx", "useOMX":true }, { "platform":"config", "name":"Config", "port":8080, "log":"/var/log/daemon.log", "restart":"sudo systemctl restart homebridge" } ] }
Das mit dem TV ein und ausschalten klappt auch nicht so wirklich:
CodeDec 26 22:02:51 raspberrypi homebridge[1220]: [2017-12-26 22:02:51] [Philips TV] getOn: 224 Dec 26 22:02:54 raspberrypi homebridge[1220]: [2017-12-26 22:02:54] [Philips TV] Error: No REPORT_POWER_STATUS received after 3000ms Dec 26 22:02:54 raspberrypi homebridge[1220]: at Timeout._onTimeout (/usr/lib/node_modules/homebridge-cec-accessory/node_modules/cec-promise/index.js:67:23) Dec 26 22:02:54 raspberrypi homebridge[1220]: at ontimeout (timers.js:475:11) Dec 26 22:02:54 raspberrypi homebridge[1220]: at tryOnTimeout (timers.js:310:5) Dec 26 22:02:54 raspberrypi homebridge[1220]: at Timer.listOnTimeout (timers.js:270:5)
-
Also irgendwie will das bei mir nicht so richtig laufen, die PS4 funktioniert super. Der Apple TV dagegen so gut wie nie.
Einschalten kann ich den Apple TV immer problemlos, aber ausschalten bzw. in den StandBy versetzen ist pures Glück, häufig bleibt er einfach an.
Der Log gibt folgendes her:
CodeDec 26 19:18:23 raspberrypi homebridge[1442]: [2017-12-26 19:18:23] [Apple TV] getOn: 228 Dec 26 19:18:24 raspberrypi homebridge[1442]: [2017-12-26 19:18:24] [Apple TV] Apple TV reportStatus: on Dec 26 19:18:24 raspberrypi homebridge[1442]: [2017-12-26 19:18:24] [Apple TV] Apple TV getOn: 1 Dec 26 19:18:24 raspberrypi homebridge[1442]: [2017-12-26 19:18:24] [Apple TV] Apple TV setOn: already on Dec 26 19:18:25 raspberrypi homebridge[1442]: [2017-12-26 19:18:25] [Apple TV] Apple TV reportStatus: on Dec 26 19:18:28 raspberrypi homebridge[1442]: [2017-12-26 19:18:28] [Apple TV] Apple TV reportStatus: on Dec 26 19:18:29 raspberrypi homebridge[1442]: [2017-12-26 19:18:29] [Apple TV] getOn: 228 Dec 26 19:18:29 raspberrypi homebridge[1442]: [2017-12-26 19:18:29] [Apple TV] Apple TV reportStatus: on Dec 26 19:18:29 raspberrypi homebridge[1442]: [2017-12-26 19:18:29] [Apple TV] Apple TV getOn: 1 Dec 26 19:18:29 raspberrypi homebridge[1442]: [2017-12-26 19:18:29] [Apple TV] Apple TV setOn: false
Hier hat es bspw. 1x funktioniert:
Code
Alles anzeigenDec 26 19:13:49 raspberrypi homebridge[1442]: [2017-12-26 19:13:49] [Apple TV] Apple TV reportStatus: standby Dec 26 19:16:48 raspberrypi homebridge[1442]: [2017-12-26 19:16:48] [Apple TV] getOn: 228 Dec 26 19:16:48 raspberrypi homebridge[1442]: [2017-12-26 19:16:48] [PlayStation] getOn: 232 Dec 26 19:16:48 raspberrypi homebridge[1442]: [2017-12-26 19:16:48] [Apple TV] Apple TV reportStatus: standby Dec 26 19:16:48 raspberrypi homebridge[1442]: [2017-12-26 19:16:48] [Apple TV] Apple TV getOn: 0 Dec 26 19:16:48 raspberrypi homebridge[1442]: [2017-12-26 19:16:48] [PlayStation] PlayStation getOn: 0 Dec 26 19:16:53 raspberrypi homebridge[1442]: [2017-12-26 19:16:53] [Apple TV] getOn: 228 Dec 26 19:16:54 raspberrypi homebridge[1442]: [2017-12-26 19:16:54] [Apple TV] Apple TV reportStatus: standby Dec 26 19:16:54 raspberrypi homebridge[1442]: [2017-12-26 19:16:54] [Apple TV] Apple TV getOn: 0 Dec 26 19:16:54 raspberrypi homebridge[1442]: [2017-12-26 19:16:54] [Apple TV] Apple TV setOn: true Dec 26 19:16:54 raspberrypi homebridge[1442]: [2017-12-26 19:16:54] [Apple TV] Apple TV reportStatus: standby Dec 26 19:16:54 raspberrypi homebridge[1442]: [2017-12-26 19:16:54] [Apple TV] Apple TV reportStatus: on
Habt ihr Ideen?
-
Homebridge installiere ich wie folgt, als User Pi auf einem frischen Raspbian Stretch full
sudo apt-get update
sudo apt-get upgrade
curl -sL https//deb.node.source.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm i npm -g
sudo apt-get install libavahi-compat-libdnssd-dev
sudo apt-get install git
sudo npm install -g --unsafe-perm homebridge
-
Moin, ich blicke hier grade irgendwie nicht durch. Weder auf github, npm noch via Google konnte ich eine Antwort auf meine Frage finden.
Es gibt ja das Homematic Plugin: https://github.com/thkl/homebridge-homematic
Unterstützt es folgende Bridge/Gateway von Homematic IP? http://www.eq-3.de/produkte/ho…control-access-point.html
Oder nur diese alte hier? http://www.eq-3.de/produkte/ho…matic-zentrale-ccu-2.html
Gibt es einen Homematic Experten hier, der mir kurz Licht ins dunkle bringen könnte?