Hallo,
ist es eigentlich machbar, bei bestimmten Ereignissen eine Nachricht mittels Telegramm zu bekommen? Habe schon über dieses Plug-In gelesen, weiß aber nicht wie ich das genau für mich umsetzen könnte.
Ich habe momentan ein paar Kräuter angesetzt die im "Glashaus" sitzen. Ich habe einen Mi Flower Care dazu gelegt, um die Temp. bzw die Luftfeuchte messen zu können. Allerdings würde ich gerne eine Benachrichtigung bekommen, wenn die Temperatur einen bestimmten Wert überschreitet, damit ich den "Deckel" wegnehmen kann und die Temp. sinken kann.
Den Flower Care habe ich, nach anfänglichen Schwierigkeiten, da ich eine China-Version habe, schon in HB eingebunden.
Beiträge von uc1dl
-
-
Bei mir hat es einige Zeit gedauert, bis ich die Werte hatte.
-
vek030 das hab ich auch schon des Öfteren versucht.
-
Den Plaste streifen zwischen Batterie und Kontakt entfernt? Diode leuchtet dann kurz blau auf.
Gesendet von iPhone mit Community
ja das habe ich eh gemacht

Aber mein iPhone findet ihn trotzdem nicht

Kann es sein, dass ich über AliExpress eine chinesische Version bekommen habe?
Wenn ja, was müsste ich denn da tun um ihn verwenden zu können?
-
Habe heute meinen Sensor von AliExpress bekommen, schaffe es aber nicht mal ihn mit der Mi Home bzw der Flower Care App zu verbinden

-
Gleich mal 2 zum Probieren bestellt

-
Bei mir funktioniert es auch plötzlich nicht mehr. Das Handy meiner Freundin wird als immer anwesend gekennzeichnet und bei meinem funktioniert alles problemlos.
-
Kann man das eigentlich einstellen dass das iPhone nicht alle ca 2 Stunden die WLAN Verbindung kappt und neu herstellt? Bekomme nämlich alle 2 Stunden eine Verabschiedung und eine Begrüßung mittels Telegramm

-
Also bei mir funktioniert alles, allerdings erscheint im Log folgende Meldung einmal wenn ich die HB starte:
Code
Alles anzeigenraspberrypi homebridge[5004]: [2018-6-22 05:41:13] [FritzBox] [ERROR] FRITZ!Box 7490An error occured by getting device state! raspberrypi homebridge[5004]: [2018-6-22 05:41:13] [FritzBox] [ERROR] { raspberrypi homebridge[5004]: "error": "Internal Server Error", raspberrypi homebridge[5004]: "errorCode": 500, raspberrypi homebridge[5004]: "tr064": "Invalid Action", raspberrypi homebridge[5004]: "tr064code": "401", raspberrypi homebridge[5004]: "serviceType": "urn:dslforum-org:service:WANPPPConnection:1", raspberrypi homebridge[5004]: "action": "GetStatusInfo", raspberrypi homebridge[5004]: "device": "FRITZ!Box 7490", raspberrypi homebridge[5004]: "host": "fritz.box" raspberrypi homebridge[5004]: }Wenn ich die Eve App oder die Apple Home App öffne und diese die FritzBox neu lädt kommt immer diese Meldung:
Code
Alles anzeigenraspberrypi homebridge[5004]: [2018-6-22 05:44:16] [FritzBox] [ERROR] FRITZ!Box 7490An error occured by getting device state! raspberrypi homebridge[5004]: [2018-6-22 05:44:16] [FritzBox] [ERROR] { raspberrypi homebridge[5004]: "response": "OK", raspberrypi homebridge[5004]: "responseCode": 200, raspberrypi homebridge[5004]: "tr064": "Auth. failed", raspberrypi homebridge[5004]: "tr064code": "503", raspberrypi homebridge[5004]: "fault": "UPnPError", raspberrypi homebridge[5004]: "faultcode": "s:Client", raspberrypi homebridge[5004]: "serviceType": "urn:dslforum-org:service:WANPPPConnection:1", raspberrypi homebridge[5004]: "action": "GetStatusInfo" raspberrypi homebridge[5004]: }HB wurde auch schon beendet, FB neugestartet und HB wieder erneut gestartet. Trotzdem kommt diese Meldung.
EDIT: Habe mir jetzt Broadband in der Config aktiviert und bekomme nur mehr die obere Meldung!
-
Das habe ich eigentlich am Anfang eh dazugeschrieben

Aber Hauptsache es funktioniert jetzt alles

-
Nastra Ja jetzt funktioniert alles wie es sollte ?
-
Ja ich hatte irgendwo einen Tippfehler. Wahrscheinlich bei den Klammern rund um Presence

-
Ich verstehe noch immer nicht, wieso meine in der config eingetragenen Geräte nicht im Log erscheinen. Egal ob ich die IP oder die Mac Adresse eintrage

-
Ok dann wissen wir schonmal das dein Telegram Bot funktioniert. Dann kann es nur ein Fehler in deiner Config sein wobei du ja eigentlich nur die Werte für Token und ChatID die im Befehl bei dir für die Testnachricht stehen in deine Config kopieren musst. Dann sollte es klappen.
Das ist meine Config:
Code
Alles anzeigen{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:XX:XX:XX", "port": 51826, "pin": "031-45-154" }, "platforms": [{ "platform": "config", "name": "Config", "port": 8080, "restart": "sudo systemctl restart homebridge", "sudo": false, "log": "/var/log/homebridge.log" }, { "platform": "Hue", "name": "Hue", "host": "192.168.XXX.XX", "users": { "xxxxxxxxx": "xxxxxxxxxxx" }, "heartrate": 5, "timeout": 5, "lights": true, "philipslights": true, "ct": false, "groups": false, "group0": true, "nativeHomeKitLights": true, "rooms": false, "sensors": false, "excludeSensorTypes": [], "schedules": false, "rules": false }, { "platform": "FritzPlatform", "name": "FritzBox", "host": "192.168.xxx.xxx", "port": 49000, "timeout": 5, "username": "xxxxx", "password": "xxxxxxx", "polling": 5, "wifi": { "2.4ghz": true, "5ghz": true, "guest": false, "wps": true, "refreshChanneal": true }, "options": { "deflection": true, "answeringMachine": true, "devicelock": true, "debug": false, "phoneBook": true, "broadband": { "disable": false, "maxTime": 5, "polling": 5 }, "wakeup": { "internNr": "**620", "duration": 30 }, "reboot": { "disable": false, "cmd_on": "sh /var/homebridge-fritz-platform/reboot-start.sh", "cmd_off": "sh /var/homebridge-fritz-platform/reboot-finished.sh", "telegram": true, "token": "xxxxxx:xxxxxxxS9eYxxxxxxxxxaI-Hxxxxxxxg", "chatID": "-2x9xxxxxxx2", "messages": { "on": "Network reboot started!", "off": "Network reboot completed! @" } }, "presence": { "anyoneSensor": true, "delay": 60, "type": "motion", "telegram": true, "token": "xxxxxx:xxxxxxxS9eYxxxxxxxxxaI-Hxxxxxxxg", "chatID": "-2x9xxxxxxx2", "messages": { "sensorOn": "Welcome at home @", "sensorOff": "Bye bye @", "anyoneOn": "Presence detected at home!", "anyoneOff": "No one at home!" }, "devices": { "Daniel": "192.168.xxx.xxx", "Cati": "192.168.Xxx.xxx", "Mac": "6c:40:08:XX:XX:Xx" } } } } ], "accessories": [{ "accessory": "RaspberryPiTemperature", "name": "RaspberryPi CPU Temperatur", "updateIntervall": 500 }, { "accessory": "webos3", "name": "Fernseher 1", "ip": "192.168.XXX.xx", "mac": "71:1C:xx:Xx:x7:xx", "pollingEnabled": false, "volumeControl": false }, { "accessory": "webos3", "name": "Fernseher 2", "ip": "192.168.xxx.xxx", "mac": "C8:xx:xx:7x:xx:xx", "pollingEnabled": true, "volumeControl": false, "schedules": false, "rules": false }, { "accessory": "DummySwitch", "name": "Dummy Cati", "stateful": true }, { "accessory": "DummySwitch", "name": "Dummy Daniel", "stateful": true }, { "accessory": "SonoffTasmotaHTTP", "name": "Sonoff", "hostname": "192.168.xxx.xxx" } ] }Ich finde einfach nicht den Fehler

-
Ok. Hab sofort am Handy die Nachricht bekommen.
-
hab ich jetzt gemacht, dann kommt das: {"ok":false,"error_code":400,"description":"Bad Request: message text is empty"}
-
Meinst du so:
curl -s -X POST https://api.telegram.org/61238…A8caI-HIzXXXX/sendMessage -d chat_id=-25XXXX -d text="$Testnachricht"
Da kommt dann das:
-
Ich bekomme es einfach nicht hin, dass ich über Telegram benachrichtigt werde

Fritz Box ist eine 7490.
Hier meine Config und mein Log von der HB.
Code
Alles anzeigenLOG:raspberrypi systemd[1]: Started Node.js HomeKit Server. raspberrypi homebridge[18699]: [2018-6-19 18:31:23] Loaded config.json with 6 accessories and 3 platforms. raspberrypi homebridge[18699]: [2018-6-19 18:31:23] --- raspberrypi homebridge[18699]: [2018-6-19 18:31:23] Loaded plugin: homebridge-amazondash raspberrypi homebridge[18699]: [2018-6-19 18:31:23] Registering platform 'homebridge-amazondash.AmazonDash' raspberrypi homebridge[18699]: [2018-6-19 18:31:23] --- raspberrypi homebridge[18699]: [2018-6-19 18:31:23] Loaded plugin: homebridge-config-ui-x raspberrypi homebridge[18699]: [2018-6-19 18:31:23] Registering platform 'homebridge-config-ui-x.config' raspberrypi homebridge[18699]: [2018-6-19 18:31:23] --- raspberrypi homebridge[18699]: [2018-6-19 18:31:23] Loaded plugin: homebridge-dummy raspberrypi homebridge[18699]: [2018-6-19 18:31:23] Registering accessory 'homebridge-dummy.DummySwitch' raspberrypi homebridge[18699]: [2018-6-19 18:31:23] --- raspberrypi homebridge[18699]: [2018-6-19 18:31:23] Loaded plugin: homebridge-fritz-platform raspberrypi homebridge[18699]: [2018-6-19 18:31:25] Registering platform 'homebridge-fritz-platform.FritzPlatform' raspberrypi homebridge[18699]: [2018-6-19 18:31:25] --- raspberrypi homebridge[18699]: [2018-6-19 18:31:25] Plugin /usr/local/lib/node_modules/homebridge-hue requires Node version of ^8.11.3 which does not satisfy the current Node version of v9.11.1. You may need to upgrade your installation of Node. raspberrypi homebridge[18699]: [2018-6-19 18:31:27] Loaded plugin: homebridge-hue raspberrypi homebridge[18699]: [2018-6-19 18:31:27] Registering platform 'homebridge-hue.Hue' raspberrypi homebridge[18699]: [2018-6-19 18:31:27] --- raspberrypi homebridge[18699]: [2018-6-19 18:31:27] Loaded plugin: homebridge-ifttt raspberrypi homebridge[18699]: [2018-6-19 18:31:27] Registering platform 'homebridge-ifttt.IFTTT' raspberrypi homebridge[18699]: [2018-6-19 18:31:27] --- raspberrypi homebridge[18699]: [2018-6-19 18:31:28] Loaded plugin: homebridge-people raspberrypi homebridge[18699]: [2018-6-19 18:31:28] Registering platform 'homebridge-people.People' raspberrypi homebridge[18699]: [2018-6-19 18:31:28] Registering accessory 'homebridge-people.PeopleAccessory' raspberrypi homebridge[18699]: [2018-6-19 18:31:28] Registering accessory 'homebridge-people.PeopleAllAccessory' raspberrypi homebridge[18699]: [2018-6-19 18:31:28] --- raspberrypi homebridge[18699]: [2018-6-19 18:31:28] Loaded plugin: homebridge-pi raspberrypi homebridge[18699]: [2018-6-19 18:31:28] Registering accessory 'homebridge-pi.PiTemperature' raspberrypi homebridge[18699]: [2018-6-19 18:31:28] --- raspberrypi homebridge[18699]: [2018-6-19 18:31:28] Loaded plugin: homebridge-raspberrypi-temperature raspberrypi homebridge[18699]: [2018-6-19 18:31:28] Registering accessory 'homebridge-raspberrypi-temperature.RaspberryPiTemperature' raspberrypi homebridge[18699]: [2018-6-19 18:31:28] --- raspberrypi homebridge[18699]: [2018-6-19 18:31:28] Loaded plugin: homebridge-sonoff-tasmota-http raspberrypi homebridge[18699]: [2018-6-19 18:31:28] Registering accessory 'homebridge-sonoff-tasmota-http.SonoffTasmotaHTTP' raspberrypi homebridge[18699]: [2018-6-19 18:31:28] --- raspberrypi homebridge[18699]: [2018-6-19 18:31:28] Loaded plugin: homebridge-telegram raspberrypi homebridge[18699]: [2018-6-19 18:31:28] Registering platform 'homebridge-telegram.Telegram' raspberrypi homebridge[18699]: [2018-6-19 18:31:28] --- raspberrypi homebridge[18699]: [2018-6-19 18:31:28] Loaded plugin: homebridge-webos3 raspberrypi homebridge[18699]: [2018-6-19 18:31:28] Registering accessory 'homebridge-webos3.webos3' raspberrypi homebridge[18699]: [2018-6-19 18:31:28] --- raspberrypi homebridge[18699]: [2018-6-19 18:31:29] Loaded plugin: homebridge-wol raspberrypi homebridge[18699]: [2018-6-19 18:31:29] Registering accessory 'homebridge-wol.NetworkDevice' raspberrypi homebridge[18699]: [2018-6-19 18:31:29] --- raspberrypi homebridge[18699]: [2018-6-19 18:31:29] Loading 3 platforms... raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [Config] Initializing config platform... raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [Config] Spawning homebridge-config-ui-x with PID 18726 raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [Hue] Initializing Hue platform... raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [Hue] config.json: warning: philipslights: ignoring unknown key raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [Hue] config.json: warning: ct: ignoring unknown key raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [Hue] homebridge-hue v0.9.7, node v9.11.1, homebridge v0.4.43 raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [Hue] warning: not using recommended node version v8.11.3 LTS raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [FritzBox] Initializing FritzPlatform platform... raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [FritzBox] [INFO] ************************************************************** raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [FritzBox] [INFO] FritzPlatform v2.7.0 by SeydX raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [FritzBox] [INFO] GitHub: https://github.com/SeydX/homebridge-fritz-platform raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [FritzBox] [INFO] Email: [email protected] raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [FritzBox] [INFO] ************************************************************** raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [FritzBox] [INFO] start success... raspberrypi homebridge[18699]: [2018-6-19 18:31:29] Loading 6 accessories... raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [Sonoff] Initializing SonoffTasmotaHTTP accessory... raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [Sonoff] Sonoff Tasmota HTTP Initialized raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [RaspberryPi CPU Temperatur] Initializing RaspberryPiTemperature accessory... raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [Fernseher 1] Initializing webos3 accessory... raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [Fernseher 2] Initializing webos3 accessory... raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [Dummy Cati] Initializing DummySwitch accessory... raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [Dummy Cati] Setting switch to true raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [Dummy Daniel] Initializing DummySwitch accessory... raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [Dummy Daniel] Setting switch to false raspberrypi homebridge[18699]: Load homebridge-amazondash.AmazonDash raspberrypi homebridge[18699]: Load homebridge-telegram.Telegram raspberrypi homebridge[18699]: [2018-6-19 18:31:29] [homebridge-telegram.Telegram] TelegramPlatform Plugin Loaded raspberrypi homebridge[18699]: [2018-6-19 18:31:31] [FritzBox] [INIT] Device initialized: FRITZ!Box 7490 raspberrypi homebridge[18699]: [2018-6-19 18:31:32] [FritzBox] [INIT] Encrypted communication started with: FRITZ!Box 7490 raspberrypi homebridge[18699]: [2018-6-19 18:31:32] [Fernseher 2] webOS - Error: connect EHOSTUNREACH 192.168.188.34:3000 raspberrypi homebridge[18699]: [2018-6-19 18:31:32] [Fernseher 1] webOS - Error: connect EHOSTUNREACH 192.168.188.36:3000 raspberrypi homebridge[18699]: [2018-6-19 18:31:32] [Hue] Philips hue: Philips BSB002 bridge v1802201122, api v1.24.0 raspberrypi homebridge[18699]: [2018-6-19 18:31:32] [Hue] Philips hue: 6 accessories raspberrypi homebridge[18699]: [2018-6-19 18:31:32] [Hue] masked debug info dumped to /var/homebridge/homebridge-hue.json.gz raspberrypi homebridge[18699]: [2018-6-19 18:31:32] [Hue] Initializing platform accessory 'Philips hue'... raspberrypi homebridge[18699]: [2018-6-19 18:31:32] [Hue] Philips hue: 3 services raspberrypi homebridge[18699]: [2018-6-19 18:31:32] [Hue] Initializing platform accessory 'Radio'... raspberrypi homebridge[18699]: [2018-6-19 18:31:32] [Hue] Initializing platform accessory 'Vorzimmerlicht'... raspberrypi homebridge[18699]: [2018-6-19 18:31:32] [Hue] Initializing platform accessory 'Stehlampe'... raspberrypi homebridge[18699]: [2018-6-19 18:31:32] [Hue] Initializing platform accessory 'Ikea 1'... raspberrypi homebridge[18699]: [2018-6-19 18:31:32] [Hue] Initializing platform accessory 'Ikea 2'... raspberrypi homebridge[18699]: Setup Payload: raspberrypi homebridge[18699]: X-HM://0023ISYWYA2MI raspberrypi homebridge[18699]: Scan this code with your HomeKit app on your iOS device to pair with Homebridge: raspberrypi homebridge[18699]: Or enter this code with your HomeKit app on your iOS device to pair with Homebridge: raspberrypi homebridge[18699]: raspberrypi homebridge[18699]: ?????????????? raspberrypi homebridge[18699]: ? 031-45-154 ? raspberrypi homebridge[18699]: ?????????????? raspberrypi homebridge[18699]: raspberrypi homebridge[18699]: [2018-6-19 18:31:33] Homebridge is running on port 51826. raspberrypi homebridge[18699]: [2018-6-19 18:31:33] [FritzBox] [INIT] Configuring accessory from cache: FRITZ!Box 7490 raspberrypi homebridge[18699]: [2018-6-19 18:31:33] [FritzBox] [INFO] Starting broadband measurement... raspberrypi homebridge[18699]: [2018-6-19 18:31:33] [FritzBox] [INIT] Platform initialization finished raspberrypi homebridge[18699]: [2018-6-19 18:31:35] [Config] Using Form Authentication raspberrypi homebridge[18699]: [2018-6-19 18:31:35] [Config] Console v3.8.5 is listening on port 8080. raspberrypi homebridge[18699]: [2018-6-19 18:31:49] [FritzBox] [INFO] Download: 7.004 Mbps raspberrypi homebridge[18699]: [2018-6-19 18:31:49] [FritzBox] [INFO] Upload: 3.126 Mbps raspberrypi homebridge[18699]: [2018-6-19 18:31:49] [FritzBox] [INFO] Ping: 71.8 ms raspberrypi homebridge[18699]: [2018-6-19 18:31:49] [FritzBox] [INFO] Next measurement in 5 minutes raspberrypi homebridge[2018-6-19 19:22:17] [FritzBox] [ERROR] FRITZ!Box 7490An error occured by getting device state! raspberrypi homebridge[21513]: [2018-6-19 19:22:17] [FritzBox] [ERROR] { raspberrypi homebridge[21513]: "error": "Internal Server Error", raspberrypi homebridge[21513]: "errorCode": 500, raspberrypi homebridge[21513]: "tr064": "Invalid Action", raspberrypi homebridge[21513]: "tr064code": "401", raspberrypi homebridge[21513]: "serviceType": "urn:dslforum-org:service:WANPPPConnection:1", raspberrypi homebridge[21513]: "action": "GetStatusInfo", raspberrypi homebridge[21513]: "device": "FRITZ!Box 7490", raspberrypi homebridge[21513]: "host": "192.168.188.1" raspberrypi homebridge[21513]: } raspberrypi homebridge[21513]: [2018-6-19 19:22:20] [Fernseher 2] webOS - Error: connect EHOSTUNREACH 192.168.188.36:3000 raspberrypi homebridge[21513]: [2018-6-19 19:22:21] [Fernseher 2] webOS - Error: connect EHOSTUNREACH 192.168.188.34:3000 raspberrypi homebridge[21513]: [2018-6-19 19:22:23] [Hue] Ikea 1: homekit on changed from 1 to 0 raspberrypi homebridge[21513]: [2018-6-19 19:22:23] [Hue] Ikea 2: homekit on changed from 1 to 0 raspberrypi homebridge[21513]: [2018-6-19 19:22:51] [FritzBox] [ERROR] FRITZ!Box 7490An error occured by getting device state! raspberrypi homebridge[21513]: [2018-6-19 19:22:51] [FritzBox] [ERROR] { raspberrypi homebridge[21513]: "response": "OK", raspberrypi homebridge[21513]: "responseCode": 200, raspberrypi homebridge[21513]: "tr064": "Auth. failed", raspberrypi homebridge[21513]: "tr064code": "503", raspberrypi homebridge[21513]: "fault": "UPnPError", raspberrypi homebridge[21513]: "faultcode": "s:Client", raspberrypi homebridge[21513]: "serviceType": "urn:dslforum-org:service:WANPPPConnection:1", raspberrypi homebridge[21513]: "action": "GetStatusInfo" raspberrypi homebridge[21513]: } raspberrypi homebridge[21513]: [2018-6-19 19:22:57] [FritzBox] [INFO] Starting broadband measurement... raspberrypi homebridge[21513]: [2018-6-19 19:23:15] [FritzBox] [INFO] Download: 6.026 Mbps raspberrypi homebridge[21513]: [2018-6-19 19:23:15] [FritzBox] [INFO] Upload: 4.363 Mbps raspberrypi homebridge[21513]: [2018-6-19 19:23:15] [FritzBox] [INFO] Ping: 113.7 ms raspberrypi homebridge[21513]: [2018-6-19 19:23:15] [FritzBox] [INFO] Next measurement in 5 minutesconfig:
Code
Alles anzeigen{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:XX:XX:XX", "port": 51826, "pin": "031-45-154" }, "platforms": [{ "platform": "config", "name": "Config", "port": 8080, "restart": "sudo systemctl restart homebridge", "sudo": false, "log": "/var/log/homebridge.log" }, { "platform": "Hue", "name": "Hue", "host": "192.168.188.XX", "users": { "XXXXX": "XXXXXXXXXX" }, "heartrate": 5, "timeout": 5, "lights": true, "philipslights": true, "ct": false, "groups": false, "group0": true, "nativeHomeKitLights": true, "rooms": false, "sensors": false, "excludeSensorTypes": [], "schedules": false, "rules": false }, { "platform": "FritzPlatform", "name": "FritzBox", "host": "192.168.188.XX", "port": 49000, "timeout": 5, "username": "Daniel", "password": "HTLWien10", "polling": 5, "wifi": { "2.4ghz": true, "5ghz": true, "guest": false, "wps": true, "refreshChannel": true }, "options": { "deflection": true, "answeringMachine": true, "devicelock": true, "debug": false, "phoneBook": true, "broadband": { "disable": false, "maxTime": 5, "polling": 5 }, "wakeup": { "internNr": "**620", "duration": 30 }, "reboot": { "disable": false, "cmd_on": "sh /var/homebridge-fritz-platform/reboot-start.sh", "cmd_off": "sh /var/homebridge-fritz-platform/reboot-finished.sh", "telegram": true, "token": "612382053:AAG5BnCvUr8rX55HS9eYwxA8caI-HIXXX", "chatID": "-2594XXXXXX", "messages": { "on": "Network reboot started!", "off": "Network reboot completed! @" } }, "presence": { "anyoneSensor": true, "delay": 60, "type": "motion", "telegram": true, "token": "612382053:AAG5BnCvUr8rX55HS9eYwxA8caI-HIXXX", "chatID": "-2594XXXXX", "messages": { "sensorOn": "Welcome at home @", "sensorOff": "Bye bye @", "anyoneOn": "Presence detected at home!", "anyoneOff": "No one at home!" }, "devices": { "Daniel": "192.168.188.XXX", "Cati": "192.168.188.XXX", "Mac": "6c:40:08:XX:XX:XX" } } } } ], "accessories": [{ "accessory": "RaspberryPiTemperature", "name": "RaspberryPi CPU Temperatur", "updateIntervall": 500 }, { "accessory": "webos3", "name": "Fernseher 1", "ip": "192.168.188.XX", "mac": "71:1C:Xx:XX:XX:X6", "pollingEnabled": false, "volumeControl": false }, { "accessory": "webos3", "name": "Fernseher 2", "ip": "192.168.188.XX", "mac": "C8:XX:XX:XX:X8:6A", "pollingEnabled": true, "volumeControl": false, "schedules": false, "rules": false }, { "accessory": "DummySwitch", "name": "Dummy Cati", "stateful": true }, { "accessory": "DummySwitch", "name": "Dummy Daniel", "stateful": true }, { "accessory": "SonoffTasmotaHTTP", "name": "Sonoff", "hostname": "192.168.188.XX" } ] } -
Also wenn ich jetzt am iPhone in die HomeApp gehe und die ganzen Sachen "aktualisiere" kommt im Log folgende Meldung:
Code
Alles anzeigenJun 07 19:19:31 raspberrypi homebridge[4521]: [2018-6-7 19:19:31] [FritzBox] [ERROR] FRITZ!Box 7490An error occured by getting device state! Jun 07 19:19:31 raspberrypi homebridge[4521]: [2018-6-7 19:19:31] [FritzBox] [ERROR] { Jun 07 19:19:31 raspberrypi homebridge[4521]: "error": "No message", Jun 07 19:19:31 raspberrypi homebridge[4521]: "errorCode": "No code", Jun 07 19:19:31 raspberrypi homebridge[4521]: "tr064": "Invalid Action", Jun 07 19:19:31 raspberrypi homebridge[4521]: "tr064code": "401", Jun 07 19:19:31 raspberrypi homebridge[4521]: "fault": "UPnPError", Jun 07 19:19:31 raspberrypi homebridge[4521]: "faultcode": "s:Client", Jun 07 19:19:31 raspberrypi homebridge[4521]: "serviceType": "urn:dslforum-org:service:WANPPPConnection:1", Jun 07 19:19:31 raspberrypi homebridge[4521]: "action": "GetStatusInfo" Jun 07 19:19:31 raspberrypi homebridge[4521]: } -
Bei mir funktioniert das presence nicht

Habe eine 7490 und im Log von der FB zeigt er mir an, dass sich die Geräte an-/abmelden, aber im Livelog von der HB steht nichts davon.
Hab auch schon mit Nastra darüber geschrieben