Preisliste als Bild hinzugefügt, hier eine etwas miese automatische Übersetzung:
Übersetzung der Liste:
White intelligent camera 399 (nur mit Original App interessant)
Millet multi-function gateway 149 (mus have Gateway)
Cube side of the stem device 69 (lustiger Würfel der durch Drehen Kommandos auslösen kann, habe ich keinen use case für)
Millet door and window sensors 39 (müsste jemand anderes testen, keine Lust noch mehr Batterien zu wechseln, daher nicht gekauft :))
Millet f body specifically sensitive device 49 (Bewegungsmelder, erfolgreich getestet, kommt über die MQTT Variante Recht schnell im FHEM an)
Millet temperature and humidity sensors 39 (Mein Hauptgrund für den Kauf des Systems, bisher acht Stück in Betrieb, einer scheint um 1 Grad versetzt, der Rest stimmt mit der Danfoss CF2 Regelung überein)
Millet wireless switch 29 (Billiger geht's nicht für nen Universalknopf und im Gegensatz zu den gleich teuren Dashbuttons vom großen Fluss reagiert er nicht nur sofort sondern kann auch Double Click, sowie Long Press und Release Stati absetzen! Funktioniert über MQTT bisher auch zuverlässig)
if($devName eq "global" && grep(m/^INITIALIZED|REREADCFG$/, @{$events}))
if($devName eq "global" && grep(m/^INITIALIZED|REREADCFG$/, @{$events}))
Zitat von: torte am 12 März 2017, 16:06:55
Danke nochmal an CoolTux fürs auf den rechten Pfad bringen! Einzig syswrite konnte ich bei mir (noch) nicht nutzen weil der SEND auf die IP des Gateways geht
während Read lokal an der NIC von FHEM lauscht.
Zitat von: torte am 16 März 2017, 12:39:37
Hi,
wenn alles klappt kommt dieses Wochenende der schreibende Support mit rein.
Zumindest so das erstmal das Licht vom Gateway einzuschalten geht von fhem heraus.
Wird die IP Cam auch ans Gateway angeschlossen? Steht nix von in der API Doku.
Die Bedlamp ist denke ich diese "Smart Lantern" steht jetzt aber nix zu den Write-Befehlen in der API.
Müssen wir gucken ..... ;-)
Grüß
Torte
Zitat von: torte am 16 März 2017, 13:34:33
Bei der Camera müssen wir gucken was die dann ans gateway schickt....
Für die Lampe gibt es schon ein anderes Modul "yeelight", die wird dann auch nicht an GW angeschlossen.
Grüße
Torte
Zitat von: rparavicini am 21 März 2017, 13:25:01Bei mir ist ein Adapter CN auf EU dran.
ein kleine Frage am Rande: Gateway hat soweit ich das auf den Bildern sehen kann CN Stromanschluss, habt ihr das über einen Adapter laufen oder habe ich eine Version mit EU Stecker übersehen?
P.S.: das Modul scheint ja schon sehr fortgeschritten zu sein! Gute Arbeit!
Zitat von: rparavicini am 21 März 2017, 13:25:01
ein kleine Frage am Rande: Gateway hat soweit ich das auf den Bildern sehen kann CN Stromanschluss, habt ihr das über einen Adapter laufen oder habe ich eine Version mit EU Stecker übersehen?
P.S.: das Modul scheint ja schon sehr fortgeschritten zu sein! Gute Arbeit!
Zitat von: alex885 am 23 März 2017, 16:03:44habe zwar kein iOS, aber hast du mal auf der Versionsnummer auf Schritt 3 (https://louiszl.gitbooks.io/lumi-gateway-local-api/content/device_discover.html) rumgedrückt?
Allerdings finde ich in der IOS App keine Möglichkeit den Developer Modus einzuschalten!
Zitat von: torte am 23 März 2017, 16:36:05Moin,
@1o16
Stelle mal bitte im Gateway das Attribut Verbose auf 5 dann warte etwas und schicke mir mal das LOG Du kannst auf dem Gateway auf get UpdateALL ausführen.
Wenn die LED des Gateway nicht angeht, hast du das Passwort aus der APP auf in FHEM eingetragen?
2017.03.23 17:11:18.444 5: xiaomigateway> {"cmd":"get_id_list_ack","sid":"f0b4299a985a","token":"LDAgWCth5RNEFT2r","data":"[\"158d000101cdf8\"]"}
2017.03.23 17:11:18.444 5: xiaomigateway> Read:{"cmd":"get_id_list_ack","sid":"f0b4299a985a","token":"LDAgWCth5RNEFT2r","data":"[\"158d000101cdf8\"]"}
2017.03.23 17:11:18.444 4: xiaomigateway> PushRead:158d000101cdf8
2017.03.23 17:11:18.446 5: xiaomigateway> {"cmd":"read_ack","model":"sensor_ht","sid":"158d000101cdf8","short_id":13171,"data":"{\"temperature\":\"2529\",\"humidity\":\"4133\"}"}
2017.03.23 17:11:18.446 5: xiaomigateway: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d000101cdf8","short_id":13171,"data":"{\\"temperature\\":\\"2529\\",\\"humidity\\":\\"4133\\"}"}
2017.03.23 17:11:18.446 4: xiaomigateway> IS DEFINED sensor_ht : 158d000101cdf8
2017.03.23 17:11:18.446 5: xiaomigateway: SID: 158d000101cdf8 XiaomiSmartHome_Device
2017.03.23 17:11:18.446 3: xiaomigateway> SID: 158d000101cdf8 Type: sensor_ht Temperature: 25.29
2017.03.23 17:11:18.458 5: xiaomigateway> UpdateALLReadings Started
2017.03.23 17:13:53.512 4: xiaomigateway> {"cmd":"write","model":"gateway","sid":"","short_id":0,"key":"8","data":"{\"rgb\":4294901760,\"key\":\"f1e3efb630bdd9f8d031915a5c3c007e\"}" } 192.168.1.247
2017.03.23 17:13:53.515 5: xiaomigateway> Read:{"cmd":"write_ack","data":"{\"error\":\"No device\"}"}
2017.03.23 17:13:53.515 4: xiaomigateway> Dispatch! {"cmd":"write_ack","data":"{\"error\":\"No device\"}"}
2017.03.23 17:13:53.515 5: xiaomigateway: dispatch {"cmd":"write_ack","data":"{\\"error\\":\\"No device\\"}"}
2017.03.23 17:13:53.524 3: xiaomigateway: Unknown code {"cmd":"write_ack","data":"{\"error\":\"No device\"}"}, help me!
2017.03.23 17:14:02.676 4: xiaomigateway> Set rgb, ff0000
2017.03.23 17:14:02.676 4: xiaomigateway> Set rgb, 4294901760
2017.03.23 17:14:02.697 4: xiaomigateway> {"cmd":"write","model":"gateway","sid":"","short_id":0,"key":"8","data":"{\"rgb\":4294901760,\"key\":\"f1e3efb630bdd9f8d031915a5c3c007e\"}" } 192.168.1.247
2017.03.23 17:14:05.697 5: xiaomigateway> Read:{"cmd":"write_ack","data":"{\"error\":\"No device\"}"}
2017.03.23 17:14:05.697 4: xiaomigateway> Dispatch! {"cmd":"write_ack","data":"{\"error\":\"No device\"}"}
2017.03.23 17:14:05.697 5: xiaomigateway: dispatch {"cmd":"write_ack","data":"{\\"error\\":\\"No device\\"}"}
2017.03.23 17:14:05.708 3: xiaomigateway: Unknown code {"cmd":"write_ack","data":"{\"error\":\"No device\"}"}, help me!
Zitat von: torte am 23 März 2017, 19:05:06
@alex885, das Gateway blink nicht. Blinken ist von der API so nicht unterstützt. Ist noch ein Fehler.
2017-03-24_00:42:02 23.32
2017-03-24_00:42:02 23.32
2017-03-24_01:39:15 23.48
2017-03-24_01:39:16 23.48
2017-03-24_02:35:42 23.59
2017-03-24_02:35:42 23.59
2017-03-24_03:26:29 23.75
2017-03-24_03:31:40 23.69
2017-03-24_03:31:40 23.69
2017-03-24_04:30:54 23.82
2017-03-24_04:30:54 23.82
2017-03-24_05:27:22 23.89
2017-03-24_05:27:22 23.89
2017-03-24_06:23:25 23.87
2017-03-24_06:23:25 23.87
2017-03-24_07:04:29 24.10
2017-03-24_07:04:49 24.15
2017-03-24_07:05:24 24.20
2017-03-24_07:07:20 24.31
2017-03-24_07:12:41 24.17
2017-03-24_07:22:33 24.06
2017-03-24_07:22:33 24.06
2017-03-24_07:38:27 23.90
2017-03-24_08:16:16 23.73
2017-03-24_08:16:46 23.76
2017-03-24_08:16:46 23.76
2017-03-24_08:40:50 23.76
get [GWNAME] UpdateSingle [SID]
das pushed dann das Reading.no_close
mit Sekunden Angabe 60 & 300 könnte man nun drauf reagierenZitat von: MothersFinest am 29 März 2017, 20:23:02Hi,
Hallo zusammen,
klappt wirklich alles sehr gut, sowohl die Komponenten als auch die Einbindung in FHEM.
Ich habe zusätzlich zu den Schaltern, Magnetkontakten usw. auch die schaltbaren Steckdosen, die ja bisher noch nicht unterstützt werden. Wenn man den Typ "plug" in die zwei Module einbaut, ist aber der Grundstock schon da und sie werden zumindest erkannt.
Was mir aufgefallen ist: Entgegen der API Dokumentation kommen im Heartbeat nie die Leistungsdaten, nur der Schaltzustand und ein "inuse" Indikator, was ich persönlich äußerst schade finde.
Was ich auch nicht finden kann, ist "Voltage" im Heartbeat von den Bewegungsmeldern, soll die Batteriespannung angeben und wäre sicher hilfreich.
Zitat von: torte am 29 März 2017, 20:29:42Voltage usw. soll wohl über ein Firmware Update in der Zukunft mal reinkommen.
Hi,
schicke mir mal genau den Link aus der API Doku welche Steckdosen du hast dann kann ich das einbauen.
Gruß
Torte
Gesendet von meinem Pixel XL mit Tapatalk
2017.03.30 19:20:42 5: MIgateway> Read:{"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.03.30 19:20:42 4: MIgateway> Dispatch! {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.03.30 19:20:42 5: MIgateway: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"on\\"}"}
2017.03.30 19:20:42 4: MIgateway> IS DEFINED plug : 158d00010ac93a
2017.03.30 19:20:42 5: MIgateway: SID: 158d00010ac93a XiaomiSmartHome_Device
2017.03.30 19:20:42 3: MIgateway> SID: 158d00010ac93a Type: plug Status: on
2017.03.30 19:20:42 5: MIgateway> Read:{"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.03.30 19:20:42 4: MIgateway> Dispatch! {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.03.30 19:20:42 5: MIgateway: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"on\\"}"}
2017.03.30 19:20:42 4: MIgateway> IS DEFINED plug : 158d00010ac93a
2017.03.30 19:20:42 5: MIgateway: SID: 158d00010ac93a XiaomiSmartHome_Device
2017.03.30 19:20:42 3: MIgateway> SID: 158d00010ac93a Type: plug Status: on
2017.03.30 19:20:43 5: MIgateway> Read:{"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.03.30 19:20:43 4: MIgateway> Dispatch! {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.03.30 19:20:43 5: MIgateway: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"off\\"}"}
2017.03.30 19:20:43 4: MIgateway> IS DEFINED plug : 158d00010ac93a
2017.03.30 19:20:43 5: MIgateway: SID: 158d00010ac93a XiaomiSmartHome_Device
2017.03.30 19:20:43 3: MIgateway> SID: 158d00010ac93a Type: plug Status: off
2017.03.30 19:20:43 5: MIgateway> Read:{"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.03.30 19:20:43 4: MIgateway> Dispatch! {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.03.30 19:20:43 5: MIgateway: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"off\\"}"}
2017.03.30 19:20:43 4: MIgateway> IS DEFINED plug : 158d00010ac93a
2017.03.30 19:20:43 5: MIgateway: SID: 158d00010ac93a XiaomiSmartHome_Device
2017.03.30 19:20:43 3: MIgateway> SID: 158d00010ac93a Type: plug Status: off
2017.03.30 19:20:45 5: MIgateway> Read:{"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.03.30 19:20:45 4: MIgateway> Dispatch! {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.03.30 19:20:45 5: MIgateway: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"on\\"}"}
2017.03.30 19:20:45 4: MIgateway> IS DEFINED plug : 158d00010ac93a
2017.03.30 19:20:45 5: MIgateway: SID: 158d00010ac93a XiaomiSmartHome_Device
2017.03.30 19:20:45 3: MIgateway> SID: 158d00010ac93a Type: plug Status: on
2017.03.30 19:20:45 5: MIgateway> Read:{"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.03.30 19:20:45 4: MIgateway> Dispatch! {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.03.30 19:20:45 5: MIgateway: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"on\\"}"}
2017.03.30 19:20:45 4: MIgateway> IS DEFINED plug : 158d00010ac93a
2017.03.30 19:20:45 5: MIgateway: SID: 158d00010ac93a XiaomiSmartHome_Device
2017.03.30 19:20:45 3: MIgateway> SID: 158d00010ac93a Type: plug Status: on
2017.03.30 19:20:46 5: MIgateway> Read:{"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.03.30 19:20:46 4: MIgateway> Dispatch! {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.03.30 19:20:46 5: MIgateway: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"off\\"}"}
2017.03.30 19:20:46 4: MIgateway> IS DEFINED plug : 158d00010ac93a
2017.03.30 19:20:46 5: MIgateway: SID: 158d00010ac93a XiaomiSmartHome_Device
2017.03.30 19:20:46 3: MIgateway> SID: 158d00010ac93a Type: plug Status: off
2017.03.30 19:20:46 5: MIgateway> Read:{"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.03.30 19:20:46 4: MIgateway> Dispatch! {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.03.30 19:20:46 5: MIgateway: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"off\\"}"}
2017.03.30 19:20:46 4: MIgateway> IS DEFINED plug : 158d00010ac93a
2017.03.30 19:20:46 5: MIgateway: SID: 158d00010ac93a XiaomiSmartHome_Device
2017.03.30 19:20:46 3: MIgateway> SID: 158d00010ac93a Type: plug Status: off
2017.03.30 19:20:48 5: MIgateway> Read:{"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.03.30 19:20:48 4: MIgateway> Dispatch! {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.03.30 19:20:48 5: MIgateway: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"on\\"}"}
2017.03.30 19:20:48 4: MIgateway> IS DEFINED plug : 158d00010ac93a
2017.03.30 19:20:48 5: MIgateway: SID: 158d00010ac93a XiaomiSmartHome_Device
2017.03.30 19:20:48 3: MIgateway> SID: 158d00010ac93a Type: plug Status: on
2017.03.30 19:20:48 5: MIgateway> Read:{"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.03.30 19:20:48 4: MIgateway> Dispatch! {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.03.30 19:20:48 5: MIgateway: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"on\\"}"}
2017.03.30 19:20:48 4: MIgateway> IS DEFINED plug : 158d00010ac93a
2017.03.30 19:20:48 5: MIgateway: SID: 158d00010ac93a XiaomiSmartHome_Device
2017.03.30 19:20:48 3: MIgateway> SID: 158d00010ac93a Type: plug Status: on
2017.03.30 19:20:50 5: MIgateway> Read:{"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.03.30 19:20:50 4: MIgateway> Dispatch! {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.03.30 19:20:50 5: MIgateway: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"off\\"}"}
2017.03.30 19:20:50 4: MIgateway> IS DEFINED plug : 158d00010ac93a
2017.03.30 19:20:50 5: MIgateway: SID: 158d00010ac93a XiaomiSmartHome_Device
2017.03.30 19:20:50 3: MIgateway> SID: 158d00010ac93a Type: plug Status: off
2017.03.30 19:20:50 5: MIgateway> Read:{"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.03.30 19:20:50 4: MIgateway> Dispatch! {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.03.30 19:20:50 5: MIgateway: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"off\\"}"}
2017.03.30 19:20:50 4: MIgateway> IS DEFINED plug : 158d00010ac93a
2017.03.30 19:20:50 5: MIgateway: SID: 158d00010ac93a XiaomiSmartHome_Device
2017.03.30 19:20:50 3: MIgateway> SID: 158d00010ac93a Type: plug Status: off
2017.03.30 19:20:52 5: MIgateway> Read:{"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.03.30 19:20:52 4: MIgateway> Dispatch! {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.03.30 19:20:52 5: MIgateway: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"on\\"}"}
2017.03.30 19:20:52 4: MIgateway> IS DEFINED plug : 158d00010ac93a
2017.03.30 19:20:52 5: MIgateway: SID: 158d00010ac93a XiaomiSmartHome_Device
2017.03.30 19:20:52 3: MIgateway> SID: 158d00010ac93a Type: plug Status: on
2017.03.30 19:20:52 5: MIgateway> Read:{"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.03.30 19:20:52 4: MIgateway> Dispatch! {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.03.30 19:20:52 5: MIgateway: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"on\\"}"}
2017.03.30 19:20:52 4: MIgateway> IS DEFINED plug : 158d00010ac93a
2017.03.30 19:20:52 5: MIgateway: SID: 158d00010ac93a XiaomiSmartHome_Device
2017.03.30 19:20:52 3: MIgateway> SID: 158d00010ac93a Type: plug Status: on
2017.03.30 19:23:03 5: MIgateway> Read:{"cmd":"heartbeat","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\",\"inuse\":\"0\"}"}
2017.03.30 19:23:03 4: MIgateway> Dispatch! {"cmd":"heartbeat","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\",\"inuse\":\"0\"}"}
2017.03.30 19:23:03 5: MIgateway: dispatch {"cmd":"heartbeat","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"on\\",\\"inuse\\":\\"0\\"}"}
2017.03.30 19:23:03 4: MIgateway> IS DEFINED plug : 158d00010ac93a
2017.03.30 19:23:03 5: MIgateway: SID: 158d00010ac93a XiaomiSmartHome_Device
2017.03.30 19:23:03 3: MIgateway> SID: 158d00010ac93a Type: plug Status: on
2017-03-31 22:55:18 XiaomiSmartHome Xiaomi UNKNOWNCODE {"cmd":"report","model":"cube","sid":"158d000110683d","short_id":21274,"data":"{\"status\":\"alert\"}"} (scheint das Heartbeat vom Cube zu sein)
2017-03-31 22:55:20 XiaomiSmartHome Xiaomi UNKNOWNCODE {"cmd":"report","model":"cube","sid":"158d000110683d","short_id":21274,"data":"{\"status\":\"flip90\"}"}
2017-03-31 22:57:46 XiaomiSmartHome Xiaomi UNKNOWNCODE {"cmd":"report","model":"cube","sid":"158d000110683d","short_id":21274,"data":"{\"status\":\"flip180\"}"}
2017-03-31 22:58:11 XiaomiSmartHome Xiaomi UNKNOWNCODE {"cmd":"report","model":"cube","sid":"158d000110683d","short_id":21274,"data":"{\"status\":\"move\"}"}
2017-03-31 23:00:34 XiaomiSmartHome Xiaomi UNKNOWNCODE {"cmd":"report","model":"cube","sid":"158d000110683d","short_id":21274,"data":"{\"status\":\"shake_air\"}"}
2017-03-31 22:59:46 XiaomiSmartHome Xiaomi UNKNOWNCODE {"cmd":"report","model":"cube","sid":"158d000110683d","short_id":21274,"data":"{\"status\":\"tap_twice\"}"}
2017-03-31 22:58:50 XiaomiSmartHome Xiaomi UNKNOWNCODE
{"cmd":"report","model":"cube","sid":"158d000110683d","short_id":21274,"data":"{\"rotate\":\"33,500\"}"}
Zitat von: torte am 30 März 2017, 09:04:58
@Morrino
Wir haben leider keinen Einfluss darauf wann die Sensoren sich melden und ihren Status Reporten. Du könntest zb. per AT alle 15min ein get UpdateSingel oder UpdateAll machen.
Denke auf dauer geht das bestimmt auf die Batterien der Sensoren, weiß ich aber nicht genau.
Das mit dem motion Sensor ist mir auch schon aufgefallen. Auf einmal reportet er nur nach einer Minute so war es zb. bei mir. Hab dann den Motion Sensor einfach in der MIAPP auf dem Handy gelöscht und neu angelernt. Habe in der MIAPP keine Einstellung gefunden wo man sowas einstellen könnte.
2017.04.01 14:10:56 4: MIgateway> Dispatch! {"cmd":"heartbeat","model":"plug","sid":"158d00010ec709","short_id":58752,"data":"{\"voltage\":3600,\"status\":\"on\",\"inuse\":\"1\",\"power_consumed\":\"10771\",\"load_power\":\"525\"}"}
if(defined $data->{power_consumed}){
Log3 $name, 3, "$name>" . " SID: " . $sid . " Type: " . $hash->{MODEL} . " POWER_Consumed: " . $data->{power_consumed};
readingsSingleUpdate($hash, "LOAD_Power", "$data->{power_consumed}", 1 );
}
Messages collected while initializing FHEM:
configfile: 0
0
0
Zitat von: coyote-x am 04 April 2017, 16:00:47Cool :)
Vielen Dank !!!
Tatsächlich muss irgendwie beim letzten Update das Passwort verrschwunden sein. Ich hatte es auf jeden fall vorher drin.
Nun funktiuoniert alles :-)
Empfange {"cmd":"report","model":"gateway","sid":"f0b429cc5f08","short_id":0,"data":"{\"rgb\":1610678200,\"illumination\":427}"}
Empfange {"cmd":"report","model":"gateway","sid":"f0b429cc5f08","short_id":0,"data":"{\"rgb\":100728760,\"illumination\":427}"}
BEGIN failed--compilation aborted at ./FHEM/71_XiaomiSmartHome.pm line 32.
Compilation failed in require at ./FHEM/71_XiaomiSmartHome.pm line 32.
2017.04.05 16:52:38 0: Attempt to reload Crypt/CBC.pm aborted.
Zitat von: Morrino am 05 April 2017, 21:18:30kann es sein, dass du zwischendurch fhem neu gestartet hast, bzw. fhem nicht aktiv war während du die tueren/fenster geoeffnet hast? die updates kommen dann vielleicht erst nach einer erneuten veraenderung (event-on-change).
Hi,
ich habe momentan das Problem, das hin und wieder die Tür / Fenstersensoren nicht korrekt erkannt werden.
In der App werden bspw. alle Fenster als geschlossen angezeigt. In FHEM werden einige als geöffnet markiert. Auch wenn ich "Update All" mache holt er sich die "falschen" Werte. Nur woher holt sich das Modul die, wenn in der App ein anderer Status angezeigt wird?
Erst wenn ich das Fenster wieder einmal öffne und wieder schließe wird auch in FHEM der korrekte Wert angezeigt.
Jemand dafür eine Lösung?
Gruß
Bareword found where operator expected at ./FHEM/71_XiaomiSmartHome.pm line 23, near "<title>fhem"
Zitat von: torte am 06 April 2017, 16:37:21
Hi coyote,
ich hab so die Vermutung das die Datei bei dir kaputt ist !? line23 steht bei mir nix drin
Ich hänge Dir mal die beiden Dateien hier rein kannst Du ja mal vergleichen.
Grüße
Torte
Zitatupdate all https://raw.githubusercontent.com/T0RST3N/fhem-XiaomiSmartHome/master/controls_mish.txtin der FHEM command Zeile (oben) durchführen.
2017.04.06 19:59:57 5: XiaomiGateway> Read:{"cmd":"heartbeat","model":"gateway","sid":"a0123456789b","short_id":"0","token":"gsPhojTSyL5WkCm9","data":"{\"ip\":\"192.168.xxx.xxx\"}"}
Illegal hexadecimal digit 'o' ignored at FHEM/Color.pm line 73.
Illegal hexadecimal digit 'o' ignored at FHEM/Color.pm line 73.
{my $color=ReadingsVal($name,"rgb","000000");if($color eq "off"){Color_devStateIcon("000000");}else{Color_devStateIcon($color);}}
Zitat von: thaliondrambor am 06 April 2017, 20:27:14[emoji2] [emoji2] genau das baue ich gerade einCode Auswählen{my $color=ReadingsVal($name,"rgb","000000");if($color eq "off"){Color_devStateIcon("000000");}else{Color_devStateIcon($color);}}
Funktioniert bei mir.
Ist vielleicht auch eine Option. Ist das Reading "rgb" ausschließlich fürs devStateIcon oder macht das auch noch was anderes? Sonst könnte man das Reading grundsätzlich auf "000000" setzen, wenn das Licht aus ist.
readingsSingleUpdate( $hash, 'rgb', '000000', 1 );
Zitat von: torte am 06 April 2017, 20:35:37
@thaliondrambor
Zeile 302 71_XiaomiSmartHome.pmCode AuswählenreadingsSingleUpdate( $hash, 'rgb', '000000', 1 );
Läuft!
:)
Zitat von: thaliondrambor am 06 April 2017, 20:41:37Nur nach fhem restart ist mir die mal aufgefallen aber nicht weiter drüber nachgedacht. [emoji52]
Japp, funktioniert^^
Aber die Meldung tauchte bei dir auch im Log auf?
Zitat von: torte am 06 April 2017, 08:30:07
@Morrino
Wenn Du das Problem hast stelle mal das Gateway auf Verbose 5 mache dann ein UpdateALL und schicke mir das LOG mit dem Sensor namen der den Fehler hat.
Habe das bei mir auch so noch nicht beobachtet.
Grüße
Torte
2017.04.06 20:30:06 5: Xiaomi_Gateway> {"cmd":"read_ack","model":"magnet","sid":"158d0001585103","short_id":28110,"data":"{\"voltage\":3065,\"status\":\"open\"}"}
2017.04.06 20:30:06 5: Xiaomi_Gateway: dispatch {"cmd":"read_ack","model":"magnet","sid":"158d0001585103","short_id":28110,"data":"{\\"voltage\\":3065,\\"status\\":\\"open\\"}"}
2017.04.06 20:30:06 4: Xiaomi_Gateway> IS DEFINED magnet : 158d0001585103
2017.04.06 20:30:06 5: Xiaomi_Gateway: SID: 158d0001585103 XiaomiSmartHome_Device
2017.04.06 20:30:06 3: Xiaomi_Gateway> SID: 158d0001585103 Type: magnet Status: open
2017.04.06 20:30:06 3: Xiaomi_Gateway> SID: 158d0001585103 Type: magnet Voltage: 3065
Zitat von: torte am 06 April 2017, 09:02:07
Gerade gab es eine Firmware für das Gateway 1.4.1_145.0141
Habe dann nach dem Firmwareupdate ein UpdateALL gemacht alle Magnet Sensoren waren Open. Das Gateway hat aber auch Open gemeldet obwohl alle zu waren.
Ich musste dann alle Sensoren auslösen damit der Status stimmte. Könnte das Problem von Morrino sein. Vielleicht ist das auch so wenn die Sensoren
ihre Verbindung verloren haben.
2017.04.07 07:46:24 4: MIgateway> {"cmd":"write","model":"plug","sid":"158d00010ac93a","data":"{\"status\":\"off\",\"key\":\"\"}" } 10.1.1.80
2017.04.07 07:46:24 5: MIgateway> Read:{"cmd":"write_ack","sid":"158d00010ac93a","data":"{\"error\":\"Invalid key len\"}"}
2017.04.07 07:46:24 4: MIgateway> Dispatch! {"cmd":"write_ack","sid":"158d00010ac93a","data":"{\"error\":\"Invalid key len\"}"}
2017.04.07 07:46:24 5: MIgateway: dispatch {"cmd":"write_ack","sid":"158d00010ac93a","data":"{\\"error\\":\\"Invalid key len\\"}"}
2017.04.07 07:46:24 3: MIgateway: Unknown code {"cmd":"write_ack","sid":"158d00010ac93a","data":"{\"error\":\"Invalid key len\"}"}, help me!
2
Zitat von: torte am 07 April 2017, 08:05:40
@Morrino
Deckt sich also das Verhalten wie bei mir, durch das Firmwareupdate verursachte verhalten. Mit UpdateAll wird immer nur
das Gateway angefragt wie ist der Status der Sensoren. Wenn das Gateway FHEM meldet das die Sensoren open sind dann zeigt das Modul das auch so an.
UpdateAll triggert nicht die Sensoren direkt an, das geht auch nicht.
Grüße
Torte
2017.04.06 20:30:06 5: Xiaomi_Gateway> {"cmd":"read_ack","model":"magnet","sid":"158d0001585103","short_id":28110,"data":"{\"voltage\":3065,\"status\":\"open\"}"}
Zitat von: torte am 07 April 2017, 19:53:29
Ah cool kannte ich noch nicht. Was mein ihr / du wir können das Reading auch direkt in battery umbenennen.
Gesendet von meinem Pixel XL mit Tapatalk
Zitat von: MothersFinest am 07 April 2017, 21:26:11Na ja vergessen sollte der das Passwort ja eigentlich nicht. Komisch, vielleicht durch einen Update Vorgang. Werde aber auf jeden Fall das error Handling verbessern sodass sowas sofort im Log erscheint.
Wie dösig von mir.
Sieht tatsächlich so aus, als ob das GW mal wieder sein Passwort vergessen hätte.
Jetzt schalten sie wieder.
sub XiaomiSmartHome_Set($@)
...
readingsSingleUpdate( $hash, 'state', 'off', 1 );
readingsSingleUpdate( $hash, 'rgb', 'off', 0 );
sub XiaomiSmartHome_Set($@)
...
readingsSingleUpdate( $hash, 'state', 'off', 1 );
readingsSingleUpdate( $hash, 'rgb', '000000', 1 );
2017.04.10 19:13:39.609 3: MiGateway> ConnectStart
2017.04.10 19:13:39.624 3: MiGateway> connected
invalid destination address at ./FHEM/71_XiaomiSmartHome.pm line 433.
define <name> XiaomiSmartHome <IP or Hostname>
2017.04.10 19:32:53.600 4 : MiGateway> {"cmd":"write","model":"gateway","sid":"","short_id":0,"key":"8","data":"{\"rgb\":4278255360,\"key\":\"79c767d2376d70be110063066a3d36a3\"}" } 192.168.1.106
2017-04-10 19:32:53.621 XiaomiSmartHome MiGateway on
2017-04-10 19:32:53.621 XiaomiSmartHome MiGateway rgb: 00ff00
2017.04.10 19:32:54.006 5 : MiGateway> Read:{"cmd":"write_ack","data":"{\"error\":\"No device\"}"}
2017.04.10 19:32:54.007 4 : MiGateway> Dispatch! {"cmd":"write_ack","data":"{\"error\":\"No device\"}"}
2017.04.10 19:32:54.008 5 : MiGateway: dispatch {"cmd":"write_ack","data":"{\\"error\\":\\"No device\\"}"}
2017-04-10 19:32:54.024 XiaomiSmartHome MiGateway UNKNOWNCODE {"cmd":"write_ack","data":"{\"error\":\"No device\"}"}
2017.04.10 19:32:54.028 3 : MiGateway: Unknown code {"cmd":"write_ack","data":"{\"error\":\"No device\"}"}, help me!
2017.04.10 19:32:55.522 4 : MiGateway> {"cmd":"write","model":"gateway","sid":"","short_id":0,"key":"8","data":"{\"rgb\":4278255360,\"key\":\"79c767d2376d70be110063066a3d36a3\"}" } 192.168.1.106
2017-04-10 19:32:55.538 XiaomiSmartHome MiGateway on
2017-04-10 19:32:55.538 XiaomiSmartHome MiGateway rgb: 00ff00
2017.04.10 19:32:55.547 5 : MiGateway> Read:{"cmd":"write_ack","data":"{\"error\":\"No device\"}"}
2017.04.10 19:32:55.548 4 : MiGateway> Dispatch! {"cmd":"write_ack","data":"{\"error\":\"No device\"}"}
2017.04.10 19:32:55.549 5 : MiGateway: dispatch {"cmd":"write_ack","data":"{\\"error\\":\\"No device\\"}"}
2017-04-10 19:32:55.564 XiaomiSmartHome MiGateway UNKNOWNCODE {"cmd":"write_ack","data":"{\"error\":\"No device\"}"}
2017.04.10 19:32:55.568 3 : MiGateway: Unknown code {"cmd":"write_ack","data":"{\"error\":\"No device\"}"}, help me!
defmod MiGateway XiaomiSmartHome 192.168.1.106
attr MiGateway devStateIcon {Color_devStateIcon(ReadingsVal($name,"rgb","000000"))}
attr MiGateway room MiSmartHome
attr MiGateway verbose 5
attr MiGateway webCmd rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off
setstate MiGateway on
setstate MiGateway 2017-04-10 19:36:21 HEARTBEAT 0
setstate MiGateway 2017-04-10 19:32:46 password 1234567890
setstate MiGateway 2017-04-10 19:33:00 rgb ff0000
setstate MiGateway 2017-04-10 19:33:00 state on
setstate MiGateway 2017-04-10 19:36:21 token 0
2017.04.11 09:02:41.190 3: MiGateway> XMI_158d0001150a7c: sensor_ht I/O device is MiGateway
2017.04.11 09:02:41.191 3: MiGateway> XMI_158d0001150a7c: defined as sensor_ht
2017.04.11 09:02:45.282 3: MiGateway> NotifyStart
2017.04.11 09:02:45.283 3: MiGateway> Starting Connect
2017.04.11 09:02:45.283 3: MiGateway> ConnectStart
2017.04.11 09:02:45.324 4: MiGateway> connecting
2017.04.11 09:02:45.328 3: MiGateway> connected
Zitat von: mahowi am 11 April 2017, 09:06:32
Nach einem shutdown restart bringt das Modul mein FHEM leider zum stehen. :(
Letzte Meldung:Code Auswählen2017.04.11 09:02:41.190 3: MiGateway> XMI_158d0001150a7c: sensor_ht I/O device is MiGateway
2017.04.11 09:02:41.191 3: MiGateway> XMI_158d0001150a7c: defined as sensor_ht
2017.04.11 09:02:45.282 3: MiGateway> NotifyStart
2017.04.11 09:02:45.283 3: MiGateway> Starting Connect
2017.04.11 09:02:45.283 3: MiGateway> ConnectStart
2017.04.11 09:02:45.324 4: MiGateway> connecting
2017.04.11 09:02:45.328 3: MiGateway> connected
Das war's, danach tut sich nichts mehr und FHEM ist nicht erreichbar. Leider bekomme ich trotz verbose 5 sonst nichts im Log angezeigt.
Zitat von: torte am 11 April 2017, 14:42:59Dann wünsche ich Dir einen schönen Urlaub! :)
Ich bin in Urlaub 😁 kann erst nach Ostern helfen.
Zitat von: funt4stic am 12 April 2017, 20:16:04
@torte: Vielen Dank für das Modul und einen schönen Urlaub wünsche ich!
Heute sind die ersten beiden Lieferungen angekommen. Ich habe mir das System in erster Linie wegen der günstigen und unauffälligen Temperatur- u. Luftfeuchtigkeitssensoren zugelegt. Eben habe ich dann alles eingerichtet. Mit den übermittelten Temperaturwerten bin ich sehr zufrieden. Bei der Luftfeuchtigkeit habe ich zum Vergleich einen Sensor von TFA. Die Werte weichen leider stark voneinander ab. Die Xiaomi-Sensoren scheinen viel zu hohe Werte zu messen. Der TFA zeigt 41%, der Xiaomi 50% Luftfeuchtigkeit an. Hat jemand ähnliche Erfahrungen gemacht? Kann natürlich auch am TFA liegen, aber der soll zumindest laut Amazon Rezensionen recht genau sein. Zumindest zeigen beide Xiaomis nahezu identische Werte an...
Zitat von: tterrafan am 14 April 2017, 02:21:51
Perfekt, vielen Dank! Habe mir direkt mal einige Komponenten bestellt.
Zeile 162: readingsBulkUpdate($hash, "state", "rotate", 1);
Zitat von: torte am 18 April 2017, 07:34:03Wenn ich zb wissen will wann das letzte mal die Tür geschlossen wurde kann ich das so nicht sagen.
Zitat von: Markus M. am 18 April 2017, 08:08:52
Dafür gibt es event-on-change-reading und timestamp-on-change-reading.
Also reinschreiben.
Zitat von: torte am 18 April 2017, 11:16:16
Danke Markus, das kannte ich nicht!
event-on-change-reading .*
Zitat von: CoolTux am 18 April 2017, 11:21:15
Torsten, so wie Du es auf dem Screen eingestellt hast, wird aber nur ein Event für state ausgelöst. So kann auf kein Event eines anderen Readings getriggert werden.Code Auswählen
event-on-change-reading .*
Wäre eine Möglichkeit
2017.04.21 22:19:31 5: createNotifyHash
2017.04.21 22:19:31 3: Xiaomi> NotifyStart
2017.04.21 22:19:31 3: Xiaomi> Starting Connect
2017.04.21 22:19:31 3: Xiaomi> ConnectStart
2017.04.21 22:19:31 5: Starting notify loop for Xiaomi, 1 event(s), first is Disconnected
2017.04.21 22:19:31 5: End notify loop for Xiaomi
2017.04.21 22:19:31 4: Xiaomi> connecting
2017.04.21 22:19:31 3: Xiaomi> connected
2017.04.21 22:19:31 5: Starting notify loop for Xiaomi, 1 event(s), first is Connected
2017.04.21 22:19:31 5: End notify loop for Xiaomi
iptables -A INPUT -p udp -m state --state NEW -m udp --dport 4321 -j ACCEPT
Use of uninitialized value in string eq at ./FHEM/71_XiaomiSmartHome.pm line 113.
2017.04.24 20:26:24.652 3: MiGateway: Unknown code {"cmd":"write_ack","sid":"f0b429cc56d5","data":"{\"error\":\"Invalid key\"}"}, help me!
im Log und es tut sich nichts. Readings:
2017-04-24 20:21:58 battery 3.6
2017-04-24 20:21:58 humidity 0
2017-04-24 20:21:58 temperature 1.00.00
2017.04.24 20:21:56.667 2: autocreate: define XMI_158d0001150a7c XiaomiSmartHome_Device 158d0001150a7c sensor_ht MiGateway
2017.04.24 20:21:56.668 3: MiGateway> XMI_158d0001150a7c: sensor_ht I/O device is MiGateway
2017.04.24 20:21:56.669 3: MiGateway> XMI_158d0001150a7c: defined as sensor_ht
2017.04.24 20:21:56.674 2: autocreate: define FileLog_XMI_158d0001150a7c FileLog ./log/XMI_158d0001150a7c-%Y.log XMI_158d0001150a7c
2017.04.24 20:21:58.871 3: MiGateway> SID: 158d0001150a7c Type: sensor_ht Voltage: 3600
2017.04.24 20:21:58.872 3: MiGateway> SID: 158d0001150a7c Type: sensor_ht Temperature: 1.00.00
2017.04.24 20:21:58.872 3: MiGateway> SID: 158d0001150a7c Type: sensor_ht Humidity: 0
Zitat von: ruN am 25 April 2017, 09:18:51Hi ruN,
Hallo zusammen,
ich weiß nicht ob ich hier richtig bin aber ich versuche es mal. Ich habe eine MI Smart Plug also eine per WLAN steuerbare Zwischensteckdose erworben und bin nun auf der Suche nach einer Möglichkeit diese in mein bestehendes FHEM System ein zu binden.
Hier geht es nur um das Gateway und damit um die Zigbee Komponenten oder auch um die angesprochene Zwischensteckdose? Ich wollte nicht direkt einen neuen Thread auf machen und über die Suche habe ich auch nichts passendes gefunden.
Gruß
Zitat von: hanswerner1 am 25 April 2017, 21:25:00Hi Hanswerner,
Hallo, ich habe auch ein Xiaomi Gateway und würde es gerne in FHEM einbinden. Scheitere aber leider schon am einschalten des developer mode, Mit IPhone/IPad geht's ja leider nicht, und meine Android Geräte sind laut PlayStore nicht kompatible zu MIHome :( Gibt's evtl. auch eine andere Möglichkeit ?
Zitat von: torte am 25 April 2017, 21:10:24
Hi ruN,
Jo genau, hier geht es nur um die Sensoren und alles andere was man an das Ml Smarthome Gateway anmelden kann. Für das Gateway gibt es auch eine schaltbare Steckdose, ob die mit deiner Baugleich ist weiß ich nicht.
Viele Grüße
Torte
Gesendet von meinem Pixel XL mit Tapatalk
2017.04.25 22:00:02.808 4 : MiGateway> Set pct, 100,
2017-04-25 22:00:02.824 XiaomiSmartHome MiGateway pct: 100
2017-04-25 22:00:02.840 XiaomiSmartHome MiGateway on
2017.04.25 22:00:02.843 4 : MiGateway> Set pct, 64
2017.04.25 22:00:02.855 4 : MiGateway> {"cmd":"write","model":"gateway","sid":"f0b429cc56d5","short_id":0,"key":"8","data":"{\"rgb\":100,\"key\":\"0a0e36bccfe1ab8ad4f940ddd59a9d0b\"}" } 192.168.1.103
2017.04.25 22:00:02.861 5 : MiGateway> Read start
2017.04.25 22:00:02.862 5 : MiGateway> Read:{"cmd":"write_ack","sid":"f0b429cc56d5","data":"{\"error\":\"Invalid key\"}"}
2017.04.25 22:00:02.862 4 : MiGateway> Dispatch! {"cmd":"write_ack","sid":"f0b429cc56d5","data":"{\"error\":\"Invalid key\"}"}
2017.04.25 22:00:02.863 5 : MiGateway: dispatch {"cmd":"write_ack","sid":"f0b429cc56d5","data":"{\\"error\\":\\"Invalid key\\"}"}
2017-04-25 22:00:02.878 XiaomiSmartHome MiGateway UNKNOWNCODE {"cmd":"write_ack","sid":"f0b429cc56d5","data":"{\"error\":\"Invalid key\"}"}
2017.04.25 22:00:02.881 3 : MiGateway: Unknown code {"cmd":"write_ack","sid":"f0b429cc56d5","data":"{\"error\":\"Invalid key\"}"}, help me!
Zitat von: mahowi am 25 April 2017, 22:05:27Nimm erstmal das Original vom Git. Die Builds wegen Hostnamen sind noch nicht fertig. Wenn ich alles behoben habe gibt es ein Update.
Ich habe jetzt nochmal das Paßwort erneuert und in FHEM geändert. Nach wie vor bekomme ich "invalid key":Code Auswählen2017.04.25 22:00:02.808 4 : MiGateway> Set pct, 100,
2017-04-25 22:00:02.824 XiaomiSmartHome MiGateway pct: 100
2017-04-25 22:00:02.840 XiaomiSmartHome MiGateway on
2017.04.25 22:00:02.843 4 : MiGateway> Set pct, 64
2017.04.25 22:00:02.855 4 : MiGateway> {"cmd":"write","model":"gateway","sid":"f0b429cc56d5","short_id":0,"key":"8","data":"{\"rgb\":100,\"key\":\"0a0e36bccfe1ab8ad4f940ddd59a9d0b\"}" } 192.168.1.103
2017.04.25 22:00:02.861 5 : MiGateway> Read start
2017.04.25 22:00:02.862 5 : MiGateway> Read:{"cmd":"write_ack","sid":"f0b429cc56d5","data":"{\"error\":\"Invalid key\"}"}
2017.04.25 22:00:02.862 4 : MiGateway> Dispatch! {"cmd":"write_ack","sid":"f0b429cc56d5","data":"{\"error\":\"Invalid key\"}"}
2017.04.25 22:00:02.863 5 : MiGateway: dispatch {"cmd":"write_ack","sid":"f0b429cc56d5","data":"{\\"error\\":\\"Invalid key\\"}"}
2017-04-25 22:00:02.878 XiaomiSmartHome MiGateway UNKNOWNCODE {"cmd":"write_ack","sid":"f0b429cc56d5","data":"{\"error\":\"Invalid key\"}"}
2017.04.25 22:00:02.881 3 : MiGateway: Unknown code {"cmd":"write_ack","sid":"f0b429cc56d5","data":"{\"error\":\"Invalid key\"}"}, help me!
Gibt es irgendeine Möglichkeit, dem Problem auf den Grund zu gehen? So langsam verzweifele ich etwas an dem Teil. Zumindest die Readings vom Sensor stimmen jetzt.
2017.04.26 08:30:01 5: MIgateway2> Read:{"cmd":"heartbeat","model":"gateway","sid":"286c07888bee","short_id":"0","token":"hBY611Ut1jmZh3de","data":"{\"ip\":\"10.1.1.85\"}"}
2017.04.26 08:30:05 5: MIgateway3> Read:{"cmd":"heartbeat","model":"gateway","sid":"286c0788bc90","short_id":"0","token":"SdBUUofooecqOpyA","data":"{\"ip\":\"10.1.1.84\"}"}
2017.04.26 08:30:05 5: MIgateway1> Read:{"cmd":"heartbeat","model":"gateway","sid":"286c0788bc90","short_id":"0","token":"SdBUUofooecqOpyA","data":"{\"ip\":\"10.1.1.84\"}"}
Illegal hexadecimal digit 'o' ignored at FHEM/Color.pm line 73.
2017.04.26 08:30:05 5: MIgateway2> Read:{"cmd":"heartbeat","model":"gateway","sid":"286c0788bc90","short_id":"0","token":"SdBUUofooecqOpyA","data":"{\"ip\":\"10.1.1.84\"}"}
2017.04.26 08:30:11 5: MIgateway3> Read:{"cmd":"heartbeat","model":"gateway","sid":"286c0788ac85","short_id":"0","token":"20nlHoaYlbU6yzyY","data":"{\"ip\":\"10.1.1.80\"}"}
2017.04.26 08:30:11 5: MIgateway1> Read:{"cmd":"heartbeat","model":"gateway","sid":"286c0788ac85","short_id":"0","token":"20nlHoaYlbU6yzyY","data":"{\"ip\":\"10.1.1.80\"}"}
Illegal hexadecimal digit 'o' ignored at FHEM/Color.pm line 73.
2017.04.26 08:30:11 5: MIgateway2> Read:{"cmd":"heartbeat","model":"gateway","sid":"286c0788ac85","short_id":"0","token":"20nlHoaYlbU6yzyY","data":"{\"ip\":\"10.1.1.80\"}"}
2017.04.26 08:30:11 5: MIgateway3> Read:{"cmd":"heartbeat","model":"gateway","sid":"286c07888bee","short_id":"0","token":"nIDHpmmzcqGFh9Sa","data":"{\"ip\":\"10.1.1.85\"}"}
2017.04.26 08:30:11 5: MIgateway1> Read:{"cmd":"heartbeat","model":"gateway","sid":"286c07888bee","short_id":"0","token":"nIDHpmmzcqGFh9Sa","data":"{\"ip\":\"10.1.1.85\"}"}
Illegal hexadecimal digit 'o' ignored at FHEM/Color.pm line 73.
2017.04.26 08:30:11 5: MIgateway2> Read:{"cmd":"heartbeat","model":"gateway","sid":"286c07888bee","short_id":"0","token":"nIDHpmmzcqGFh9Sa","data":"{\"ip\":\"10.1.1.85\"}"}
Zitat von: hanswerner1 am 25 April 2017, 21:25:00
Hallo, ich habe auch ein Xiaomi Gateway und würde es gerne in FHEM einbinden. Scheitere aber leider schon am einschalten des developer mode, Mit IPhone/IPad geht's ja leider nicht, und meine Android Geräte sind laut PlayStore nicht kompatible zu MIHome :( Gibt's evtl. auch eine andere Möglichkeit ?
Zitat von: Eckbert0815 am 26 April 2017, 13:48:34
Doch das geht, hab auch nur IOS Geräte!
Hier mal ein Link wie ich es gemacht habe!
https://github.com/fooxy/homeassistant-aqara/wiki/Enable-dev-mode
Zitat von: torte am 26 April 2017, 17:05:38
mmhh komisch, hast Du evtl. irgendwas ins Internet geblockt. Das Ding will eigentlich sofort nach Hause telefonieren.
Zitat von: mahowi am 24 April 2017, 20:33:48Außerdem muß auch Port 9898 UDP offen sein! Dann klappt's auch mit dem Steuern des Gateways. :)
Falls jemand, wie ich, den Pi über iptables abgesichert hat, muß er den Port 4321 UDP öffnen, sonst läßt sich das Gateway nicht erreichen.Code Auswähleniptables -A INPUT -p udp -m state --state NEW -m udp --dport 4321 -j ACCEPT
recv: Unterbrechung während des Betriebssystemaufrufs at ./FHEM/71_XiaomiSmartHome.pm line 166.
$sidsock->recv($msg, 1024) or die "recv: $!";
Zitat von: hijo am 27 April 2017, 18:02:19
Hallo Torte,
also das mit dem Cube hat sich erledigt. Geht jetzt sehr gut!
Das ist das Log vom Schalter:
2017.04.27 17:59:31 3: xiaomi: Unknown code {"cmd":"report","model":"86sw2","sid":"158d0001289047","short_id":32963,"data":"{\"channel_1\":\"click\"}"}, help me!
2017.04.27 17:59:35 3: xiaomi: Unknown code {"cmd":"report","model":"86sw2","sid":"158d0001289047","short_id":32963,"data":"{\"channel_0\":\"click\"}"}, help me!
Danke
Zitat von: mahowi am 27 April 2017, 18:50:41Code Auswählenrecv: Unterbrechung während des Betriebssystemaufrufs at ./FHEM/71_XiaomiSmartHome.pm line 166.
Zeile 166 ist:Code Auswählen$sidsock->recv($msg, 1024) or die "recv: $!";
So, nach einigen (automatischen) Neustarts von FHEM läuft es wieder und das Device geht auf Disconnected. Scheinbar blockiert das Modul zu lange und FHEM startet neu, bevor das Gerät auf Disconnected gesetzt wird.
Zitat von: hijo am 27 April 2017, 18:11:21
Und noch was. Die Schalter antworten ja alle mit einem "click". Kein "Ein" und "Aus". Alles was sich ändert ist der Event, richtig?
Irgendwie sind da meine FHEM Kenntnisse noch nicht so groß wie man das jetzt mit anderen Komponenten einbindet.
Wäre schön, wenn ihr eure Codeschnipsel hier reinhängen könnt, wie man z.B. eine Hue Lampe damit steuert oder eine Homematic Steckdose ein und ausschaltet. :)
Danke schon mal.
define bewegung_FlurLichtAn notify Sensor_Flur:motion {fhem ("set Licht_Flur on-for-timer 40")}
Zitat von: tterrafan am 28 April 2017, 00:30:19
Meine Geräte sind nun alle angekommen und wurden erfolgreich eingebunden.
Was mir jedoch auffällt: Wenn ich die Geräte umbenenne, funktionieren sie nach einer Weile nicht mehr und das Gerät mit dem ursprünglichen Name wird neu angelegt. Kann man das verhindern?
zum Bewegungsmelder:
Als Test hatte ich eingestellt, dass bei erkannter Bewegung das Licht für 40 Sekunden angehen soll. Jedoch sind die 40 Sekunden fix, wenn ich mich also 2 Minuten in dem Raum mit dem Bewegungsmelder bewege, geht das Licht dennoch nach 40 Sekunden aus (statt 2min 40 sek).
Wie habt ihr das gelöst, sodass das Licht erst dann ausgeht, sobald auch keine Bewegung mehr registriert wird?
Mein bisheriges Notify:Code Auswählendefine bewegung_FlurLichtAn notify Sensor_Flur:motion {fhem ("set Licht_Flur on-for-timer 40")}
define bewegung_FlurLichtAn notify Sensor_Flur:motion {fhem ("defmod AT.WZ.LED at +00:02:00 set WZ.LED dimdown 100 60")}
defmod n_flur.motion notify flur.motion:on.* {\
if (ReadingsVal("ZWave_SWITCH_BINARY_6", "reportedState", "") eq "off") {\
fhem ("set ZWave_SWITCH_BINARY_6 on ;; defmod at_flur_licht_aus at +00:01:30 set ZWave_SWITCH_BINARY_6,flur.motion off");;\
} else {\
fhem ("defmod at_flur_licht_aus at +00:01:30 set ZWave_SWITCH_BINARY_6,flur.motion off");;\
}\
}
Zitat
/opt/alexa-fhem/node_modules/nat-upnp/node_modules/async/dist/async.js:105
( }
^
SyntaxError: Unexpected token }
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/opt/alexa-fhem/node_modules/nat-upnp/lib/nat-upnp/cl ient.js:2:13)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10
Zitat von: slawekking am 28 April 2017, 23:03:23Hi Christoph,
Hat einer von euch Profis eine Idee?
add: brightness support for gateway led
add: support for swicht 86sw2
add: support gateway with hostname
add: check missing perl modules
fix: if no password set
fix: gateway support if disconnects
fix: gateway sid not anymore as reading
change: voltage now battery for fhem battery control
change: motionOffTime now as parameter
Zitat von: torte am 28 April 2017, 23:14:03
Wer möchte kann ein Update installieren ist gerade frisch auf dem Git eingetroffen.Code Auswählen
add: brightness support for gateway led
add: support for swicht 86sw2
add: support gateway with hostname
add: check missing perl modules
fix: if no password set
fix: gateway support if disconnects
fix: gateway sid not anymore as reading
change: voltage now battery for fhem battery control
change: motionOffTime now as parameter
Grüße
Torte
if($cmd eq "power")
{
if($args[0] eq "on")
{
IOWrite($hash,"power","on",$hash);
}
elsif($args[0] eq "off")
{
IOWrite($hash,"power","off",$hash);
}
}
elsif($cmd eq "open")
{
readingsSingleUpdate($hash, "state", "open", 1 );
return;
}
elsif($cmd eq "motionOffTimer")
{
readingsSingleUpdate($hash, "motionOffTimer", "$args[0]", 1 );;
return;
}
else
{
return "Unknown argument $cmd, choose one of $setlist";
}
Zitat von: MothersFinest am 29 April 2017, 14:52:30Häng mir bitte ein Fhem Log in Verbose 5 mit den Zeilen hier rein. Hab ja selber kein Plug 🤔
Besser "elsif" statt "if" evtl.?Code Auswählen
if($cmd eq "power")
{
if($args[0] eq "on")
{
IOWrite($hash,"power","on",$hash);
}
elsif($args[0] eq "off")
{
IOWrite($hash,"power","off",$hash);
}
}
elsif($cmd eq "open")
{
readingsSingleUpdate($hash, "state", "open", 1 );
return;
}
elsif($cmd eq "motionOffTimer")
{
readingsSingleUpdate($hash, "motionOffTimer", "$args[0]", 1 );;
return;
}
else
{
return "Unknown argument $cmd, choose one of $setlist";
}
2017.04.29 20:27:22 3: MIgateway1: Write> {"cmd":"write","model":"plug","sid":"158d00010ac93a","data":"{\"status\":\"off\",\"key\":\"207e2ec6d5fdc10c4d61f55b8ed07ed3\"}" } 10.1.1.80
2017.04.29 20:27:22 5: MIgateway1: Write> End 10.1.1.80
2017.04.29 20:27:22 5: MIgateway3: Read> Read start
2017.04.29 20:27:22 5: MIgateway3: Read> {"cmd":"write_ack","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"voltage\":3600,\"status\":\"on\",\"inuse\":\"1\",\"power_consumed\":\"85\",\"load_power\":\"6\"}"}
2017.04.29 20:27:22 4: MIgateway3: Read> Write answer 10.1.1.85
2017.04.29 20:27:22 5: MIgateway1: Read> Read start
2017.04.29 20:27:22 5: MIgateway1: Read> {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.04.29 20:27:22 4: MIgateway1: Read> dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.04.29 20:27:22 5: MIgateway1: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"off\\"}"}
2017.04.29 20:27:22 4: MIgateway1: DEV_Parse> IS DEFINED plug : 158d00010ac93a
2017.04.29 20:27:22 5: MIgateway1: DEV_Read> SID: 158d00010ac93a XiaomiSmartHome_Device
2017.04.29 20:27:22 3: MIgateway1: DEV_Read> SID: 158d00010ac93a Type: plug Status: off
2017.04.29 20:27:22 5: MIgateway3: Read> Read start
2017.04.29 20:27:22 5: MIgateway3: Read> {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.04.29 20:27:22 4: MIgateway3: Read> dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.04.29 20:27:22 5: MIgateway3: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"off\\"}"}
2017.04.29 20:27:22 5: MIgateway2: Read> Read start
2017.04.29 20:27:22 5: MIgateway2: Read> {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.04.29 20:27:22 4: MIgateway2: Read> dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"off\"}"}
2017.04.29 20:27:22 5: MIgateway2: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"off\\"}"}
2017.04.29 20:27:25 5: MIgateway1: Read> Read start
2017.04.29 20:27:25 5: MIgateway1: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07888bee","short_id":"0","token":"1X62942mdpWpOIGN","data":"{\"ip\":\"10.1.1.85\"}"}
2017.04.29 20:27:25 4: MIgateway1: Read> IP-Heartbeat Data didnt match! 10.1.1.85 10.1.1.80
2017.04.29 20:27:25 5: MIgateway3: Read> Read start
2017.04.29 20:27:25 5: MIgateway3: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07888bee","short_id":"0","token":"1X62942mdpWpOIGN","data":"{\"ip\":\"10.1.1.85\"}"}
2017.04.29 20:27:25 5: MIgateway2: Read> Read start
2017.04.29 20:27:25 5: MIgateway2: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07888bee","short_id":"0","token":"1X62942mdpWpOIGN","data":"{\"ip\":\"10.1.1.85\"}"}
2017.04.29 20:27:25 4: MIgateway2: Read> IP-Heartbeat Data didnt match! 10.1.1.85 10.1.1.84
2017.04.29 20:27:27 5: MIgateway1: Read> Read start
2017.04.29 20:27:27 5: MIgateway1: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0788ac85","short_id":"0","token":"W51Gc0ZfsYI3JGac","data":"{\"ip\":\"10.1.1.80\"}"}
2017.04.29 20:27:27 5: MIgateway2: Read> Read start
2017.04.29 20:27:27 5: MIgateway2: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0788ac85","short_id":"0","token":"W51Gc0ZfsYI3JGac","data":"{\"ip\":\"10.1.1.80\"}"}
2017.04.29 20:27:27 4: MIgateway2: Read> IP-Heartbeat Data didnt match! 10.1.1.80 10.1.1.84
2017.04.29 20:27:27 5: MIgateway3: Read> Read start
2017.04.29 20:27:27 5: MIgateway3: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0788ac85","short_id":"0","token":"W51Gc0ZfsYI3JGac","data":"{\"ip\":\"10.1.1.80\"}"}
2017.04.29 20:27:27 4: MIgateway3: Read> IP-Heartbeat Data didnt match! 10.1.1.80 10.1.1.85
2017.04.29 20:27:27 5: MIgateway1: Read> Read start
2017.04.29 20:27:27 5: MIgateway1: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0788bc90","short_id":"0","token":"IRJzZckEaLRE2iOP","data":"{\"ip\":\"10.1.1.84\"}"}
2017.04.29 20:27:27 4: MIgateway1: Read> IP-Heartbeat Data didnt match! 10.1.1.84 10.1.1.80
2017.04.29 20:27:27 5: MIgateway2: Read> Read start
2017.04.29 20:27:27 5: MIgateway2: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0788bc90","short_id":"0","token":"IRJzZckEaLRE2iOP","data":"{\"ip\":\"10.1.1.84\"}"}
2017.04.29 20:27:27 5: MIgateway3: Read> Read start
2017.04.29 20:27:27 5: MIgateway3: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0788bc90","short_id":"0","token":"IRJzZckEaLRE2iOP","data":"{\"ip\":\"10.1.1.84\"}"}
2017.04.29 20:27:27 4: MIgateway3: Read> IP-Heartbeat Data didnt match! 10.1.1.84 10.1.1.85
2017.04.29 20:27:31 5: MIgateway1: Read> Read start
2017.04.29 20:27:31 5: MIgateway1: Read> {"cmd":"heartbeat","model":"magnet","sid":"158d0001584131","short_id":38129,"data":"{\"voltage\":3065,\"status\":\"close\"}"}
2017.04.29 20:27:31 4: MIgateway1: Read> dispatch {"cmd":"heartbeat","model":"magnet","sid":"158d0001584131","short_id":38129,"data":"{\"voltage\":3065,\"status\":\"close\"}"}
2017.04.29 20:27:31 5: MIgateway1: dispatch {"cmd":"heartbeat","model":"magnet","sid":"158d0001584131","short_id":38129,"data":"{\\"voltage\\":3065,\\"status\\":\\"close\\"}"}
2017.04.29 20:27:31 4: MIgateway1: DEV_Parse> IS DEFINED magnet : 158d0001584131
2017.04.29 20:27:31 5: MIgateway1: DEV_Read> SID: 158d0001584131 XiaomiSmartHome_Device
2017.04.29 20:27:31 3: MIgateway1: DEV_Read> SID: 158d0001584131 Type: magnet Status: close
2017.04.29 20:27:31 3: MIgateway1: DEV_Read> SID: 158d0001584131 Type: magnet Voltage: 3065
2017.04.29 20:27:31 5: MIgateway3: Read> Read start
2017.04.29 20:27:31 5: MIgateway3: Read> {"cmd":"heartbeat","model":"magnet","sid":"158d0001584131","short_id":38129,"data":"{\"voltage\":3065,\"status\":\"close\"}"}
2017.04.29 20:27:31 4: MIgateway3: Read> dispatch {"cmd":"heartbeat","model":"magnet","sid":"158d0001584131","short_id":38129,"data":"{\"voltage\":3065,\"status\":\"close\"}"}
2017.04.29 20:27:31 5: MIgateway3: dispatch {"cmd":"heartbeat","model":"magnet","sid":"158d0001584131","short_id":38129,"data":"{\\"voltage\\":3065,\\"status\\":\\"close\\"}"}
2017.04.29 20:27:31 5: MIgateway2: Read> Read start
2017.04.29 20:27:31 5: MIgateway2: Read> {"cmd":"heartbeat","model":"magnet","sid":"158d0001584131","short_id":38129,"data":"{\"voltage\":3065,\"status\":\"close\"}"}
2017.04.29 20:27:31 4: MIgateway2: Read> dispatch {"cmd":"heartbeat","model":"magnet","sid":"158d0001584131","short_id":38129,"data":"{\"voltage\":3065,\"status\":\"close\"}"}
2017.04.29 20:27:31 5: MIgateway2: dispatch {"cmd":"heartbeat","model":"magnet","sid":"158d0001584131","short_id":38129,"data":"{\\"voltage\\":3065,\\"status\\":\\"close\\"}"}
2017.04.29 20:27:31 3: MIgateway1: Write> {"cmd":"write","model":"plug","sid":"158d00010ac93a","data":"{\"status\":\"on\",\"key\":\"311e0c293f666d18370cc4b574696c86\"}" } 10.1.1.80
2017.04.29 20:27:31 5: MIgateway1: Write> End 10.1.1.80
2017.04.29 20:27:31 5: MIgateway3: Read> Read start
2017.04.29 20:27:31 5: MIgateway3: Read> {"cmd":"write_ack","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"voltage\":3600,\"status\":\"off\",\"inuse\":\"0\",\"power_consumed\":\"85\",\"load_power\":\"0\"}"}
2017.04.29 20:27:31 4: MIgateway3: Read> Write answer 10.1.1.85
2017.04.29 20:27:31 5: MIgateway2: Read> Read start
2017.04.29 20:27:31 5: MIgateway2: Read> {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.04.29 20:27:31 4: MIgateway2: Read> dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.04.29 20:27:31 5: MIgateway2: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"on\\"}"}
2017.04.29 20:27:31 4: MIgateway2: DEV_Parse> IS DEFINED plug : 158d00010ac93a
2017.04.29 20:27:31 5: MIgateway2: DEV_Read> SID: 158d00010ac93a XiaomiSmartHome_Device
2017.04.29 20:27:31 3: MIgateway2: DEV_Read> SID: 158d00010ac93a Type: plug Status: on
2017.04.29 20:27:31 5: MIgateway3: Read> Read start
2017.04.29 20:27:31 5: MIgateway3: Read> {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.04.29 20:27:31 4: MIgateway3: Read> dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.04.29 20:27:31 5: MIgateway3: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"on\\"}"}
2017.04.29 20:27:31 5: MIgateway1: Read> Read start
2017.04.29 20:27:31 5: MIgateway1: Read> {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.04.29 20:27:31 4: MIgateway1: Read> dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\"status\":\"on\"}"}
2017.04.29 20:27:31 5: MIgateway1: dispatch {"cmd":"report","model":"plug","sid":"158d00010ac93a","short_id":6412,"data":"{\\"status\\":\\"on\\"}"}
2017.04.29 20:27:35 5: MIgateway2: Read> Read start
2017.04.29 20:27:35 5: MIgateway2: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07888bee","short_id":"0","token":"MVHBuopwOAJeCUgA","data":"{\"ip\":\"10.1.1.85\"}"}
2017.04.29 20:27:35 4: MIgateway2: Read> IP-Heartbeat Data didnt match! 10.1.1.85 10.1.1.84
2017.04.29 20:27:35 5: MIgateway3: Read> Read start
2017.04.29 20:27:35 5: MIgateway3: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07888bee","short_id":"0","token":"MVHBuopwOAJeCUgA","data":"{\"ip\":\"10.1.1.85\"}"}
2017.04.29 20:27:35 5: MIgateway1: Read> Read start
2017.04.29 20:27:35 5: MIgateway1: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07888bee","short_id":"0","token":"MVHBuopwOAJeCUgA","data":"{\"ip\":\"10.1.1.85\"}"}
2017.04.29 20:27:35 4: MIgateway1: Read> IP-Heartbeat Data didnt match! 10.1.1.85 10.1.1.80
Zitat von: Morrino am 29 April 2017, 10:04:44
Hi,
ich habe seit 2-3 Wochen nichts mehr an meiner FHEM Installation geändert. Außer heute morgen das Update hier gezogen.
Seitdem erreiche ich FHEM nicht mehr. Ob es jetzt wirklich daran liegt kann ich aber noch nicht genau sagen. Auch da ich heute keine Zeit habe es zu untersuchen.
Im Log taucht am Ende nur folgende Zeile auf:
"send: Invalid argument at ./FHEM/71_XiaomiSmartHome.pm line 184."
Gruße
Zitat von: MothersFinest am 29 April 2017, 20:45:14
Mein Vorschlag mit "elsif" läuft nicht durch das abschließende "else", aber natürlich ist es nur ein Vorschlag.
Zitat von: MothersFinest am 01 Mai 2017, 13:56:09
Gelobe Besserung!
Zitat von: torte am 01 Mai 2017, 13:35:14
Hallo zusammen,
Update ist wieder auf GIT
behoben ist der Fehler beim Plug
und ich hab eine Altlast beseitigt.
@Morrino
Probiere bitte nochmal so eine richtige Erklärung hatte ich nicht für dein Problem.
Grüße
Zitat von: torte am 03 Mai 2017, 20:25:59
Nabend,
wer Lust auf Sound hat kann sich ein Update vom GIT ziehen.
Aber obacht beim abspielen der ringtones wenn die Frau dabei ist.
Volume 100 ist übrigens ziemlich laut. ;D ;D
Zitat von: hanswerner1 am 28 April 2017, 21:31:51
Hast jemand Alexa mit Xiaomi laufen ?
Seit ich das Xiaomi Gateway installiert habe läuft Alexa nicht mehr.
Bekomme beim start von alexa die Fehlermeldung:
Zitat von: MothersFinest am 04 Mai 2017, 09:07:47
Ich habe Alexa und Xiaomi auch parallel, "Alexa, schalte die Kaffeemaschine ein!" ist mein Favorit. ;)
Der Standard-Skill ist aber sprachlich sehr begrenzt, "Flurlicht" und "Markise" will er nicht, "Nachtlicht" hingegen funktioniert.
set MIgateway1 on
set MIgateway2 on
set MIgateway3 on
2017.05.04 19:35:18 4: MIgateway1: Write> {"cmd":"write","model":"gateway","sid":"286c0788bc90","short_id":0,"key":"8","data":"{\"rgb\":1677786880,\"key\":\"8214d71e4d4ac2f5744d63213099a897\"}" } 10.1.1.80
2017.05.04 19:35:18 5: MIgateway1: Write> End 10.1.1.80
2017.05.04 19:35:18 4: MIgateway3: Read> Write answer 10.1.1.85
2017.05.04 19:35:22 4: MIgateway2: Write> {"cmd":"write","model":"gateway","sid":"286c0788bc90","short_id":0,"key":"8","data":"{\"rgb\":1677786880,\"key\":\"7eac8cd6e9e9854d4f6fd49ba53302ec\"}" } 10.1.1.84
2017.05.04 19:35:22 5: MIgateway2: Write> End 10.1.1.84
2017.05.04 19:35:22 4: MIgateway3: Read> Write answer 10.1.1.85
2017.05.04 19:35:26 4: MIgateway3: Write> {"cmd":"write","model":"gateway","sid":"286c0788bc90","short_id":0,"key":"8","data":"{\"rgb\":1677786880,\"key\":\"f2fd788879f57a4522973d4fa4e54883\"}" } 10.1.1.85
2017.05.04 19:35:26 5: MIgateway3: Write> End 10.1.1.85
2017.05.04 19:35:26 4: MIgateway3: Read> Write answer 10.1.1.85
Zitat von: MothersFinest am 04 Mai 2017, 19:44:11
Ich habe gerade noch mal wegen meiner drei Gateways nachgeschaut und mit einem grep auf "Write" die Meldungsflut im Log radikal gefiltert (Ihr wisst schon, Wald, Bäume usw.).
Was auffällt ist, dass immer die gleiche SID genutzt wird, egal welches Gateway schalten soll. Die IPs im "Write" selber stimmen (.80,.84,.85).
In der Config kommt beim Gateway selber keine SID vor, nur die Subdevices haben eine.
Könnte die SID hier helfen? Warum ist sie immer gleich?
Gruß
Oliver
Zitat von: Eckbert0815 am 04 Mai 2017, 21:22:34
Mal eine Frage, ich bin bisher mit den Xiaomi Komponenten sehr zufrieden und stelle grade einiges um! Wird auch der xiaomi air quallity Sensor unterstützt?
Gruss
2017.05.06 10:50:54 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":1211}"}
2017.05.06 10:53:15 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:53:15 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:53:15 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":459,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:53:15 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292}"}
2017.05.06 10:53:15 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292}"}
2017.05.06 10:53:15 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292}"}
2017.05.06 10:53:15 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":459}"}
2017.05.06 10:53:15 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":459}"}
2017.05.06 10:53:15 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":459}"}
2017.05.06 10:53:15 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:53:16 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:53:16 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":542}"}
2017.05.06 10:53:16 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":542}"}
2017.05.06 10:53:16 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":542}"}
2017.05.06 10:53:17 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c0788ac85","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:53:18 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788ac85","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292}"}
2017.05.06 10:53:18 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788ac85","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292}"}
2017.05.06 10:53:18 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788ac85","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292}"}
2017.05.06 10:53:21 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:54:12 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1280}"}
2017.05.06 10:54:12 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1280}"}
2017.05.06 10:54:12 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1280}"}
2017.05.06 10:54:21 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":1292,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:54:22 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":1210}"}
2017.05.06 10:54:22 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":1210}"}
2017.05.06 10:54:22 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":1210}"}
2017.05.06 10:54:22 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":1210}"}
2017.05.06 10:54:22 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":1210}"}
2017.05.06 10:54:22 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":1210}"}
2017.05.06 10:54:28 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":1260,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:54:29 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":1260}"}
2017.05.06 10:54:29 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":1260}"}
2017.05.06 10:54:29 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":1260}"}
2017.05.06 10:54:29 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":1182}"}
2017.05.06 10:54:29 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":1182}"}
2017.05.06 10:54:29 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":1182}"}
2017.05.06 10:55:45 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":435}"}
2017.05.06 10:55:45 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":435}"}
2017.05.06 10:55:45 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":435}"}
2017.05.06 10:55:46 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":435}"}
2017.05.06 10:55:46 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":435}"}
2017.05.06 10:55:46 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":435}"}
2017.05.06 10:57:46 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":452,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:57:47 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":523}"}
2017.05.06 10:57:47 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":523}"}
2017.05.06 10:57:47 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":523}"}
2017.05.06 10:57:47 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":523}"}
2017.05.06 10:57:47 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":523}"}
2017.05.06 10:57:47 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":523}"}
2017.05.06 10:57:48 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":597}"}
2017.05.06 10:57:48 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":597}"}
2017.05.06 10:57:48 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":597}"}
Zitat von: MothersFinest am 06 Mai 2017, 11:04:35Hi Oliver,
Hi Torte,
Karton gefunden und getestet.
Zuerst konnte ich eine Weile keinen Effekt sehen, dann ist das Reading auf "492" gesprungen, also wird die Helligkeit tatsächlich erfasst. Sehr gut, wenn man Beleuchtung schalten will, wäre toll wenn auch die Bewegungsmelder das liefern würden (was sie nach meiner Kenntnis nicht tun).
Aber: Die neue "Illumination" wurde direkt für alle drei Gateways gesetzt, und nur eins hatte den Hut auf.
Scheinbar muss für die Readings im Multigateway Setup auch noch was geändert werden, beim Writing sieht es ja sehr gut aus.
Grüsse
OliverCode Auswählen
2017.05.06 10:50:54 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":1211}"}
2017.05.06 10:53:15 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:53:15 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:53:15 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":459,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:53:15 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292}"}
2017.05.06 10:53:15 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292}"}
2017.05.06 10:53:15 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292}"}
2017.05.06 10:53:15 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":459}"}
2017.05.06 10:53:15 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":459}"}
2017.05.06 10:53:15 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":459}"}
2017.05.06 10:53:15 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:53:16 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:53:16 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":542}"}
2017.05.06 10:53:16 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":542}"}
2017.05.06 10:53:16 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":542}"}
2017.05.06 10:53:17 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c0788ac85","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:53:18 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788ac85","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292}"}
2017.05.06 10:53:18 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788ac85","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292}"}
2017.05.06 10:53:18 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788ac85","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292}"}
2017.05.06 10:53:21 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1292,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:54:12 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1280}"}
2017.05.06 10:54:12 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1280}"}
2017.05.06 10:54:12 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":1280}"}
2017.05.06 10:54:21 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":1292,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:54:22 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":1210}"}
2017.05.06 10:54:22 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":1210}"}
2017.05.06 10:54:22 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":1210}"}
2017.05.06 10:54:22 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":1210}"}
2017.05.06 10:54:22 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":1210}"}
2017.05.06 10:54:22 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":1210}"}
2017.05.06 10:54:28 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":1260,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:54:29 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":1260}"}
2017.05.06 10:54:29 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":1260}"}
2017.05.06 10:54:29 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":1260}"}
2017.05.06 10:54:29 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":1182}"}
2017.05.06 10:54:29 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":1182}"}
2017.05.06 10:54:29 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":1182}"}
2017.05.06 10:55:45 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":435}"}
2017.05.06 10:55:45 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":435}"}
2017.05.06 10:55:45 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c07888bee","short_id":0,"data":"{\"rgb\":0,\"illumination\":435}"}
2017.05.06 10:55:46 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":435}"}
2017.05.06 10:55:46 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":435}"}
2017.05.06 10:55:46 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":0,\"illumination\":435}"}
2017.05.06 10:57:46 5: MIgateway3: Read> {"cmd":"write_ack","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":452,\"proto_version\":\"1.0.6\"}"}
2017.05.06 10:57:47 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":523}"}
2017.05.06 10:57:47 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":523}"}
2017.05.06 10:57:47 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":523}"}
2017.05.06 10:57:47 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":523}"}
2017.05.06 10:57:47 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":523}"}
2017.05.06 10:57:47 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":523}"}
2017.05.06 10:57:48 5: MIgateway3: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":597}"}
2017.05.06 10:57:48 5: MIgateway2: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":597}"}
2017.05.06 10:57:48 5: MIgateway1: Read> {"cmd":"report","model":"gateway","sid":"286c0788bc90","short_id":0,"data":"{\"rgb\":1694498815,\"illumination\":597}"}
Zitat
Was soll das Modul denn bei den Radiostations machen?
Zitat von: coyote-x am 06 Mai 2017, 23:47:46
Hallo torte, könntest du bitte die aktuellen pm dateien anhängen. Ich krieg es nicht hin mit dem update (open ./FHEM/71_XiaomiSmartHome.pm failed: Permission denied)
Zitat von: gt_im am 07 Mai 2017, 06:37:25
versuch mal:
update all https://raw.githubusercontent.com/T0RST3N/fhem-XiaomiSmartHome/master/controls_mish.txt
Zitat von: Morrino am 04 Mai 2017, 07:16:58
Hi, werde es heute Abend noch mal probieren.
Zum Cube noch eine Frage. Bin leider in Syntax von fhem noch nicht so bewandert.
Würde gerne auf die Drehung des Cube reagieren. Zum Beispiel wenn er rechts rum gedreht wird (also im reading ein positives Vorzeichen) Aktion A ausführen und beim Links drehen (negatives Vorzeichen) Aktion B ausführen.
Jemand eine Idee wie das zu realisieren ist? Die Geschwindigkeit und der Winkel aus dem reading wären mir damit eigentlich egal.
Gruß
define DI_CubeRotation DOIF ([MagicCube:rotate:d] > 0) (set HUEDevice hueUp) DOELSE (set HUEDevice hueDown)
Zitat von: niels330 am 09 Mai 2017, 02:33:35
Servus,
der selben Frage versuche ich grade auch auf den Grund zu gehen. Es wäre doch sehr Hübsch beispielsweise das Farbspektrum meiner Hues oder Yeelights mit rechts- bzw linksrotation des Cubes durchzuschalten. Habe es mit meiner HUE jetzt so "gelöst" (leider ist es eher ein Ansatz als eine Lösung, da ich auch noch nicht allzu bewandert bin), aber um das Thema mal wieder aufzufrischen und vielleicht nen Experten-Tipp dazu zu bekommen, hier mal mein Ansatz:Code Auswählendefine DI_CubeRotation DOIF ([MagicCube:rotate:d] > 0) (set HUEDevice hueUp) DOELSE (set HUEDevice hueDown)
Klar ist, dass man nicht einfach den State des Würfels abgreifen kann, da in diesem Fall das Reading nur "Rotate" oder "Flip90" etc anzeigt. Für die Rotation, bzw deren numerischen Wert (und vorallem das Vorzeichen + oder - für CW bzw CCW) muss man sich auf das Reading der "Rotation" beziehen. Wie gesagt ich bin damit auch überfordert und der obige Ansatz funktioniert nur einmal in jede Richtung. Das heißt, wenn ich den Würfel einmal nach Rechts drehe wird zwar der Befehl HueUp ausgeführt, wenn ich danach nochmal nach rechts drehe passiert aber nichts mehr, obwohl das Reading der Rotation verändert (anderer Wert aber natürlich trotzdem positiv, da erneut CW gedreht). Erst wenn ich einmal CCW drehe und der Befehl HueDown ausgelöst wurde kann ich wieder ein neues Event auf CW ausführen.
Für den ein oder anderen mag diese "Lösung" schon hilfreich sein, da man damit immerhin eine Lampe beispielsweise ein und wieder ausschalten kann, also aus der Rotation immerhin zwei verschiedene Befehle werden. In meinen Augen ist das jedoch verschenktes Potential und grade so etwas wie die Farben stufenlos durch"drehen" wäre wirklich schön (alternativ wie mit einem Dimmer die Helligkeit stufenlos regeln.)
Wäre super, wenn jemand noch eine gescheite Lösung für diese Aufgabe bereitstellen kann?
Danke schonmal und Grüße,
Niels
Zitat von: niels330 am 10 Mai 2017, 03:56:35
Jemand ne Idee, wie ich obiges DOIF so modifizieren kann, dass bei einer links Rotation ein Yeelight set hue "x+10" ausgelöst wird? also das bei jedem drehen wieder auf den aktuellen Wert beispielsweise der Wert 10 aufaddiert wird und nicht der wert immer wieder nur auf 10 glatt gesetzt wird?
define DI_CubeRotation DOIF ([MagicCube:rotate:d] > 0) (set HUEDevice hue {([HUEDevice:hue:d]+5)})
Zitat von: funt4stic am 10 Mai 2017, 11:17:21
Was passiert denn, wenn Xiaomi den Service mal einstellt, dann können wir unsere Komponenten wegschmeißen oder gibt's ne Möglichkeit die autark ohne den Webservice von Xiaomi zu betreiben?
Zitat von: mdebus am 10 Mai 2017, 08:40:59
Probiere es mal hiermit:Code Auswählendefine DI_CubeRotation DOIF ([MagicCube:rotate:d] > 0) (set HUEDevice hue {([HUEDevice:hue:d]+5)})
Damit kann man auch schön z.B. bei einem AVR die Lautstärke verändern.
define MagicCube.flip180_notify_1 notify MagicCube:flip180 set HUEDevice7 rgb FFFFFF
define MagicCube.flip180_notify_2 notify MagicCube:flip180 set YeelightFenster rgb FFFFFF
define MagicCube.flip180_notify_3 notify MagicCube:flip180 set YeelightSchrank rgb FFFFFF
define MagicCube.rotate_notify notify MagicCube:rotate set HUEDevice7 sat 254
define DI_CubeRotation1 DOIF ([MagicCube:rotate:d] > 0) (set HUEDevice7 hueUp) DOELSE (set HUEDevice7 hueDown)
attr DI_CubeRotation1 do always
define DI_CubeRotation_2 DOIF ([MagicCube:rotate:d] > 0) (set YeelightFenster hue {([YeelightFenster:hue:d]+30)}) DOELSE (set YeelightFenster hue {([YeelightFenster:hue:d]-30)})
attr DI_CubeRotation_2 do always
define DI_CubeRotation_3 DOIF ([MagicCube:rotate:d] > 0) (set YeelightSchrank hue {([YeelightSchrank:hue:d]+30)}) DOELSE (set YeelightSchrank hue {([YeelightSchrank:hue:d]-30)})
attr DI_CubeRotation_3 do always
2017.05.11 03:54:13 3: XiaomiGateway: DEV_Read> Name: MagicCube SID: 158d000101b9eb Type: cube Voltage: 2985
Zitat von: torte am 10 Mai 2017, 11:35:31
Autark geht ja jetzt fast schon. Wenn die einmal angelernt sind braucht das GW nicht mehr ins Internet. Halt aber nur fast. Das Problem wird man aber auch bei anderen Herstellern haben.
Zitat von: torte am 11 Mai 2017, 11:39:59
Kann ich Dir nicht sagen wenn die API mal beschreibt wie das anlernen abläuft, wird das auch autrark ablaufen können. Stand jetzt ist aber das die Sensoren über die APP angelernt werden müssen, wenn das durch ist geht's auch ohne Internet am GW.
Zitat von: chunter1 am 11 Mai 2017, 11:53:57
Wenns nach dem Anlernen autark funktioniert bin ich dabei! :D
Gleich mal schaun wo's das Gateway (v2) + motion Sensoren günstig & schnell gibt....
Zitat von: torte am 12 Mai 2017, 07:07:28
Ich persönlich hab nix dagegen wenn der Chinamann weiß wann bei mir die Türen und Fenster auf sind, ich finds jetzt zwar nicht den Brüller
das es bei XIAOMI auf dem Server in einer Datenbank steht aber kaputt können die auch nix machen mit den Infos.
Zitat von: Markus M. am 17 Mai 2017, 19:31:13
Bestellt sich den Vorhang-Motor jemand?
Zitat von: chunter1 am 17 Mai 2017, 22:15:05
Hast du einen Link welchen du meinst?
Zitat von: funt4stic am 18 Mai 2017, 11:58:48
Ich durchschaue das System noch nicht so ganz. Braucht man zwingend neue Schienen oder gibt's ne Möglichkeit die bestehenden zu nutzen?
Zitat von: m_gatz am 18 Mai 2017, 13:03:27
Hinsichtlich Gardinen gibt es das hier noch
Zitat von: FosCo am 22 Mai 2017, 18:35:04Ja geht.
Frage; Kann ich die Devices einfach umbenennen oder interferiert das mit der Funktion?
add: support for sensors all up to now
86sw1,86sw2,ctrl_neutral1,ctrl_neutral2,rgbw_light
add: ringvol set ringtone and volume in one step.
add: support for multigateways
add: commandref english and german
add: support if gateway is not reachable
fix: eval all decode json to prevent perl crash
set <GW> ringvol 5 30
kann jetzt der Klingeltone und die Lautstärke in einem Schritt geändert werden.
define DU.MailBox dummy
attr DU.MailBox webCmd on:off
define ntfy.Mailbox notify XMI.DOOR.Mailbox.Klappe:open|XMI.DOOR.Mailbox.Reset:close { if ($NAME eq 'XMI.DOOR.Mailbox.Klappe') {fhem ("set DU.MailBox on")}\
if ($NAME eq 'XMI.DOOR.Mailbox.Reset') {fhem ("set DU.MailBox off")}}
Zitat von: torte am 25 Mai 2017, 15:04:04
Hier auch noch ein kleiner Anwendungsfall:
Benötigte Hardware:
2* Magentsensoren
1* Briefkasten
Define doif_Briefkasten DOIF ([Briefkasten_Klappe] eq "open") (set Briefkasten Post;; set Telegram message @TS Post im Briefkasten! ;; set Tablet_Kueche ttsMsg Die Post ist im Briefkasten )
DOELSEIF ([Briefkasten_Tuer] eq "open") (set Briefkasten leer)
Zitat von: m_gatz am 25 Mai 2017, 23:42:33
Gibt es eine Möglichkeit die Antenne nach außen zu verlegen? Der Metallbriefkasten schirmt zu viel ab und außerhalb kann ich es nicht anbringen (Nachteile eines Mehrfamilienhauses).
2017-05-27_13:38:29 XiaomiGateway UNKNOWNCODE {"cmd":"heartbeat","model":"","sid":"158d0001a3ddea","short_id":32910,"data":"{\"voltage\":3085}"}
2017-05-27_13:39:57 XiaomiGateway UNKNOWNCODE {"cmd":"heartbeat","model":"","sid":"158d0001a231a8","short_id":18408,"data":"{\"voltage\":3065}"}
Zitat von: torte am 28 Mai 2017, 09:23:33
Hi funt4stic,
nicht so sparsam mit dem LOG :-)
Sieht aber nicht so gut aus. model ist leer. Aktuelle Firmware ist im GW installiert?
Wenn Du den Magnetsensor auslöst sollt statt dem heartbeat auch noch eine report Meldung erscheinen fehlt dort auch das model.
Grüße
Torte
2017-05-28_22:30:47 XiaomiGateway token: z8N5Wv3Guq29DA2A
2017-05-28_22:30:56 XiaomiGateway UNKNOWNCODE {"cmd":"heartbeat","model":"","sid":"158d0001a231a8","short_id":18408,"data":"{\"voltage\":3015}"}
2017-05-28_22:30:57 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:30:57 XiaomiGateway token: QmVu8MHGBmKHeGgg
2017-05-28_22:31:06 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:31:06 XiaomiGateway token: kbFMoSCDlg89fBvC
2017-05-28_22:31:17 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:31:17 XiaomiGateway token: 3e3rFGlyzAbdjeVo
2017-05-28_22:31:26 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:31:26 XiaomiGateway token: 5c7eCVRAfidibtpr
2017-05-28_22:31:37 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:31:37 XiaomiGateway token: mIt0IdmpYvAMW4bP
2017-05-28_22:31:45 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:31:45 XiaomiGateway token: SAvNkA3beTOIBSFp
2017-05-28_22:31:56 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:31:56 XiaomiGateway token: zHxznC2KnIJoFS4o
2017-05-28_22:32:07 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:32:07 XiaomiGateway token: V3liGtcVDzB8PJ5s
2017-05-28_22:32:15 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:32:15 XiaomiGateway token: 8oBVPjNymcgDqxvm
2017-05-28_22:32:25 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:32:25 XiaomiGateway token: LiN4PnV7HSF5NOMg
2017-05-28_22:32:35 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:32:35 XiaomiGateway token: ohZIpLh1RxmLUOHp
2017-05-28_22:32:46 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:32:46 XiaomiGateway token: cUY17kIUHrqkhHhK
2017-05-28_22:32:56 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:32:56 XiaomiGateway token: TsSXvjBRLl09t5Qc
2017-05-28_22:33:04 XiaomiGateway RGB: 0
2017-05-28_22:33:04 XiaomiGateway illumination: 562
2017-05-28_22:33:07 XiaomiGateway RGB: 0
2017-05-28_22:33:07 XiaomiGateway illumination: 533
2017-05-28_22:33:07 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:33:07 XiaomiGateway token: 7YGnX3ZrdUroxP4F
2017-05-28_22:33:17 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:33:17 XiaomiGateway token: cG5xN8YlS4gSdVjO
2017-05-28_22:33:25 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:33:25 XiaomiGateway token: yr4PVFU4aXU2Arxm
2017-05-28_22:33:38 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:33:38 XiaomiGateway token: sOLr1SoBY0lPbCGD
2017-05-28_22:33:46 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:33:46 XiaomiGateway token: NeZogiiqrIu9IxWZ
2017-05-28_22:33:57 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:33:57 XiaomiGateway token: buy3TqMLeZoGycrH
2017-05-28_22:34:05 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:34:05 XiaomiGateway token: GNbVs9Uz7Ozy7f0S
2017-05-28_22:34:15 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:34:15 XiaomiGateway token: eDnQHUMFt3Y9N0R0
2017-05-28_22:34:25 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:34:25 XiaomiGateway token: oc1r3GuW9DSSxIUB
2017-05-28_22:34:35 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:34:35 XiaomiGateway token: GUMQeevtbrRmoygh
2017-05-28_22:34:48 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:34:48 XiaomiGateway token: 8p0C6no5pvV4v1P8
2017-05-28_22:34:56 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:34:56 XiaomiGateway token: QcqoiWaEDmhIsHuz
2017-05-28_22:35:06 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:35:06 XiaomiGateway token: DPzvBXs5X9rRLPRD
2017-05-28_22:35:15 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:35:15 XiaomiGateway token: 2oOAsUSHQZXmdGrx
2017-05-28_22:35:25 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:35:25 XiaomiGateway token: IKwB5QzLXowWAWV5
2017-05-28_22:35:35 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:35:35 XiaomiGateway token: QCi7CyBD5Zr4MxIn
2017-05-28_22:35:47 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:35:47 XiaomiGateway token: iTL0i8ImyOKK7rgj
2017-05-28_22:35:55 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:35:55 XiaomiGateway token: vazbLpk8yjHzzANB
2017-05-28_22:36:07 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:36:07 XiaomiGateway token: 3lCQNsf4CxRQwtor
2017-05-28_22:36:15 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:36:15 XiaomiGateway token: b4JoKEokxhIlWOOd
2017-05-28_22:36:25 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:36:25 XiaomiGateway token: yNdd9zEeirAdpAd6
2017-05-28_22:36:35 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:36:35 XiaomiGateway token: 6EOP8pNbJR6BFlfr
2017-05-28_22:36:51 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:36:51 XiaomiGateway token: EGj7hCJAibHhQFQw
2017-05-28_22:36:56 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:36:56 XiaomiGateway token: 2P6gFd7eaWz3JPqp
2017-05-28_22:37:07 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:37:07 XiaomiGateway token: sEGSNNC8CqiKu9w7
2017-05-28_22:37:15 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:37:15 XiaomiGateway token: dw1XMoERg4edxmhA
2017-05-28_22:37:26 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:37:26 XiaomiGateway token: KUorNFWlora7SWjK
2017-05-28_22:37:35 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:37:35 XiaomiGateway token: BJwQMsFSFE0hvs92
2017-05-28_22:37:45 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:37:45 XiaomiGateway token: IQwARQrj4HA1ZFAE
2017-05-28_22:37:56 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:37:56 XiaomiGateway token: REBcIjAHb4tQxf9i
2017-05-28_22:38:05 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:38:05 XiaomiGateway token: jrY1dCXLBNZF5VVM
2017-05-28_22:38:15 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:38:15 XiaomiGateway token: ezUS2M0htYEYz8Hf
2017-05-28_22:38:25 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:38:25 XiaomiGateway token: qTShIDiU7wv2MoDi
2017-05-28_22:38:34 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:38:34 XiaomiGateway token: xBsnZfWBPO7ugpsE
2017-05-28_22:38:46 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:38:46 XiaomiGateway token: DF0QH9wj9rbcjLUT
2017-05-28_22:38:59 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:38:59 XiaomiGateway token: 3rpDNxezxzi8oV6u
2017-05-28_22:39:06 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:39:06 XiaomiGateway token: PSvGcK25xPHTBRE3
2017-05-28_22:39:15 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:39:15 XiaomiGateway token: GMfjEAjQ9hDCAooR
2017-05-28_22:39:24 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:39:24 XiaomiGateway token: myrmYFEihBd6HoVZ
2017-05-28_22:39:35 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:39:35 XiaomiGateway token: eEbNVRt1FJ6ZM3AN
2017-05-28_22:39:46 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:39:46 XiaomiGateway token: Pcid11fSk4vYPcs2
2017-05-28_22:39:56 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:39:56 XiaomiGateway token: Jraa6NG9PYGqUUs4
2017-05-28_22:40:05 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:40:05 XiaomiGateway token: qNzShEXVOwYFmmSI
2017-05-28_22:40:14 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:40:14 XiaomiGateway token: 4UG5LuB4kip4FPy1
2017-05-28_22:40:24 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:40:24 XiaomiGateway token: BhHWYbfjSF5uORSZ
2017-05-28_22:40:35 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:40:35 XiaomiGateway token: 53FfJmKE4YtVxIMv
2017-05-28_22:40:45 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:40:45 XiaomiGateway token: e8EiemgCF9UhertN
2017-05-28_22:40:55 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:40:55 XiaomiGateway token: 7G4SWTxmkgKLXDIi
2017-05-28_22:41:07 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:41:07 XiaomiGateway token: A5pfZ00O0zxC2G1c
2017-05-28_22:41:14 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:41:14 XiaomiGateway token: nogk0ys9i1FRf6Zl
2017-05-28_22:41:25 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:41:25 XiaomiGateway token: DMWEDCDVy3q0i8X3
2017-05-28_22:41:35 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:41:35 XiaomiGateway token: FYi1ip8M4PHMcGcC
2017-05-28_22:41:45 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:41:45 XiaomiGateway token: bEoWBUysXl8Hgjmr
2017-05-28_22:41:54 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:41:54 XiaomiGateway token: eCBa6X97su30jaMr
2017-05-28_22:42:04 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:42:04 XiaomiGateway token: tKNZ7eY7FSKYEDKs
2017-05-28_22:42:14 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:42:14 XiaomiGateway token: yQiSUawfyuEYYo2a
2017-05-28_22:42:25 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:42:25 XiaomiGateway token: KU76qRlLnNb3KoZG
2017-05-28_22:42:36 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:42:36 XiaomiGateway token: rnD3oqGfUtv2qg6l
2017-05-28_22:42:45 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:42:45 XiaomiGateway token: M4qyBTwXOSMQe66f
2017-05-28_22:42:54 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:42:54 XiaomiGateway token: e0puhYunG90wTp8N
2017-05-28_22:43:04 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:43:04 XiaomiGateway token: Q3igLwZjwXuvLSXU
2017-05-28_22:43:16 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:43:16 XiaomiGateway token: Lt5GSIbBOVKl9hgd
2017-05-28_22:43:26 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:43:26 XiaomiGateway token: KwicBFOD9AUL3lGY
2017-05-28_22:43:36 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:43:36 XiaomiGateway token: mFFFbIKcyptcVWLp
2017-05-28_22:43:46 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:43:46 XiaomiGateway token: BGsfcAfN6X9e0Wv2
2017-05-28_22:43:54 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:43:54 XiaomiGateway token: L2Pu4uHHGJAzrc2c
2017-05-28_22:44:04 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:44:04 XiaomiGateway token: LFyaZ85FPhoSmUQc
2017-05-28_22:44:15 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:44:15 XiaomiGateway token: d2nV6h0gpBbt9Ssw
2017-05-28_22:44:25 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:44:25 XiaomiGateway token: LjOzzeRoUGtbFHSj
2017-05-28_22:44:35 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:44:35 XiaomiGateway token: xulCU6VvntW8E6AV
2017-05-28_22:44:45 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:44:45 XiaomiGateway token: qdPIowVhuugHaQHE
2017-05-28_22:44:49 XiaomiGateway UNKNOWNCODE {"cmd":"heartbeat","model":"","sid":"158d0001a3ddea","short_id":32910,"data":"{\"voltage\":3075}"}
2017-05-28_22:44:54 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:44:54 XiaomiGateway token: 9GWcIKIm7zNzM4oQ
2017-05-28_22:45:04 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:45:04 XiaomiGateway token: 2vuQqRU62GlKoJPf
2017-05-28_22:45:14 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:45:14 XiaomiGateway token: RuW2OC15QbbtDdL9
2017-05-28_22:45:24 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:45:24 XiaomiGateway token: HLnC41yiYZsYUcZh
2017-05-28_22:45:35 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:45:35 XiaomiGateway token: hx01o65ecwaMzOLX
2017-05-28_22:45:45 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:45:45 XiaomiGateway token: W9mSzHX3JJXYFYWE
2017-05-28_22:45:54 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:45:54 XiaomiGateway token: wR5NFPdyJeinHOFf
2017-05-28_22:46:03 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:46:03 XiaomiGateway token: ag42OlnQ7YBisctK
2017-05-28_22:46:14 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:46:14 XiaomiGateway token: Vdz49NLryPx1ncQe
2017-05-28_22:46:24 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:46:24 XiaomiGateway token: eVnvFbmSAEgMT2uB
2017-05-28_22:46:34 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:46:34 XiaomiGateway token: SQ5z4q2gelxKmUIO
2017-05-28_22:46:43 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:46:43 XiaomiGateway token: DEWzxLlrARIl7xNf
2017-05-28_22:46:55 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:46:55 XiaomiGateway token: 1uChSKdkB1GpQSTv
2017-05-28_22:47:03 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:47:03 XiaomiGateway token: y890t0fRL4dwhvt7
2017-05-28_22:47:15 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:47:15 XiaomiGateway token: WllUkTsGVvM9COIJ
2017-05-28_22:47:24 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:47:24 XiaomiGateway token: X8cd4kIFIBDKdoaj
2017-05-28_22:47:35 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:47:35 XiaomiGateway token: KsG79fdCKX0eGNZu
2017-05-28_22:47:44 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:47:44 XiaomiGateway token: rAIvpWu5AorOkMes
2017-05-28_22:47:53 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:47:53 XiaomiGateway token: ButQoqCQ9XPq2CDy
2017-05-28_22:48:03 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:48:03 XiaomiGateway token: qgiF5gLeeFury4YS
2017-05-28_22:48:13 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:48:13 XiaomiGateway token: KpR0Cg4T7DkFteXh
2017-05-28_22:48:23 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:48:23 XiaomiGateway token: NgXWlJ11lPZT7JMw
2017-05-28_22:48:38 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:48:38 XiaomiGateway token: 0IKhJZg6M5ZMadWd
2017-05-28_22:48:45 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:48:45 XiaomiGateway token: UGIAkfIREbWsxMfB
2017-05-28_22:48:53 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:48:53 XiaomiGateway token: 6YlyrR3aATHoGmAH
2017-05-28_22:49:03 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:49:03 XiaomiGateway token: 0CodNQwNEbSqFn7F
2017-05-28_22:49:13 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:49:13 XiaomiGateway token: Tg0vDrSjIfy8vPIR
2017-05-28_22:49:25 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:49:25 XiaomiGateway token: iwyieokbguKQOqpT
2017-05-28_22:49:34 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:49:34 XiaomiGateway token: WU3tPWsEMCdUr9XB
2017-05-28_22:49:44 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:49:44 XiaomiGateway token: 77QjDQywHAAHQAS2
2017-05-28_22:49:53 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:49:53 XiaomiGateway token: pJKwtQ9omihRa7fy
2017-05-28_22:50:03 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:50:03 XiaomiGateway token: C7lA8h1s6UxWn1bM
2017-05-28_22:50:13 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:50:13 XiaomiGateway token: SdGiOBuhcQpfbPsA
2017-05-28_22:50:24 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:50:24 XiaomiGateway token: NpDQt1M63mlMV0uA
2017-05-28_22:50:33 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:50:33 XiaomiGateway token: r02kxCKzBrbsUgU8
2017-05-28_22:50:47 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:50:47 XiaomiGateway token: 95adq6BJxRMhEhsE
2017-05-28_22:50:53 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:50:53 XiaomiGateway token: GLxaVTQGUcmReXv2
2017-05-28_22:51:03 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:51:03 XiaomiGateway token: Ornbf47D9Fu2IDKy
2017-05-28_22:51:13 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:51:13 XiaomiGateway token: 4wYjJfQ0emLjxcxr
2017-05-28_22:51:24 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:51:24 XiaomiGateway token: PCXXEEv1N2MD97Q7
2017-05-28_22:51:34 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:51:34 XiaomiGateway token: 9pLdMQcrIxCDvVgO
2017-05-28_22:51:43 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:51:43 XiaomiGateway token: 9RdUjvL0ucxJjDRD
2017-05-28_22:51:53 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:51:53 XiaomiGateway token: MIjuGPJ4wnxEQJ6C
2017-05-28_22:52:03 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:52:03 XiaomiGateway token: vyXhzaHPx0D15NhD
2017-05-28_22:52:13 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:52:13 XiaomiGateway token: cgXwzauAPR50SX42
2017-05-28_22:52:24 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:52:24 XiaomiGateway token: 6Xz1gQ9iIbQGl20Y
2017-05-28_22:52:35 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:52:35 XiaomiGateway token: dOtz1dIMpw0H9AvN
2017-05-28_22:52:42 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:52:42 XiaomiGateway token: F0K5HMUDTeCrpCtp
2017-05-28_22:52:54 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:52:54 XiaomiGateway token: AdY1YKDGWAPkubCq
2017-05-28_22:53:02 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:53:02 XiaomiGateway token: G58xVSrNLJm1SfMy
2017-05-28_22:53:14 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:53:14 XiaomiGateway token: UzZXTeIB1kFcbd1C
2017-05-28_22:53:25 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:53:25 XiaomiGateway token: tHuTKqtYDDcbhK3w
2017-05-28_22:53:33 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:53:33 XiaomiGateway token: dZnXnPwwuWhqVET4
2017-05-28_22:53:42 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:53:42 XiaomiGateway token: OJcvicq1GsdeJVZx
2017-05-28_22:53:52 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:53:52 XiaomiGateway token: HaONvw7sfBfrq9RZ
2017-05-28_22:54:03 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:54:03 XiaomiGateway token: aKiA3bUKI4OyeAzF
2017-05-28_22:54:15 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:54:15 XiaomiGateway token: rZxrfMlcHD2zA9qD
2017-05-28_22:54:25 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:54:25 XiaomiGateway token: M3XTF5SgHNSwoRq2
2017-05-28_22:54:34 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:54:34 XiaomiGateway token: LxEqJMzR5NngDz9t
2017-05-28_22:54:42 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:54:42 XiaomiGateway token: zaeolFMKMH6jT60x
2017-05-28_22:54:53 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:54:53 XiaomiGateway token: lhb6yiatS5tq75k6
2017-05-28_22:55:04 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:55:04 XiaomiGateway token: GtuLF2sL9Doq5A19
2017-05-28_22:55:15 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:55:15 XiaomiGateway token: NQNMbOaoSCnvOTzu
2017-05-28_22:55:23 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:55:23 XiaomiGateway token: Zh5dGWXhrEHtRyXB
2017-05-28_22:55:32 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:55:32 XiaomiGateway token: A0VPFfNzKiDkxifg
2017-05-28_22:55:42 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:55:42 XiaomiGateway token: GfBMGSi5hPgLiLJ5
2017-05-28_22:55:52 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:55:52 XiaomiGateway token: 4dBjhY8BUCFRA1W5
2017-05-28_22:56:06 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:56:06 XiaomiGateway token: V6j6fj2uKbncmDq2
2017-05-28_22:56:14 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:56:14 XiaomiGateway token: 0RRy1cLtFlblX07D
2017-05-28_22:56:23 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:56:23 XiaomiGateway token: 39ANoA6mjeE7SKZ8
2017-05-28_22:56:32 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:56:32 XiaomiGateway token: LWd1g258P2MGLiBV
2017-05-28_22:56:43 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:56:43 XiaomiGateway token: KA0s65wIYADOaYK9
2017-05-28_22:56:52 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:56:52 XiaomiGateway token: EbJeAWNlUTvExasF
2017-05-28_22:57:02 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:57:02 XiaomiGateway token: fIXEwhXh1Yo95lvw
2017-05-28_22:57:12 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:57:12 XiaomiGateway token: MBAv65UScGXFSxam
2017-05-28_22:57:23 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:57:23 XiaomiGateway token: 4t14e0sswsgIjR86
2017-05-28_22:57:32 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:57:32 XiaomiGateway token: CMqJuh6phP9BsUuE
2017-05-28_22:57:43 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:57:43 XiaomiGateway token: sqi2viTzmkgtmnjg
2017-05-28_22:57:52 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:57:52 XiaomiGateway token: 8dhRWPWfNNosj1S1
2017-05-28_22:58:04 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:58:04 XiaomiGateway token: xWvDpWIFBhujM1Kj
2017-05-28_22:58:13 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:58:13 XiaomiGateway token: OtjxiTkCscs6bxNG
2017-05-28_22:58:22 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:58:22 XiaomiGateway token: nDc4CIGwzkBDg3qG
2017-05-28_22:58:33 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:58:33 XiaomiGateway token: VnnMwL2dZ881HePs
2017-05-28_22:58:42 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:58:42 XiaomiGateway token: X5c1BU4aYzWi77jD
2017-05-28_22:58:53 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:58:53 XiaomiGateway token: 3p8yFWlCgSmZb74S
2017-05-28_22:59:02 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:59:02 XiaomiGateway token: hkm1NDihMt41HA9X
2017-05-28_22:59:17 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:59:17 XiaomiGateway token: Aw20sFnsSfiZCAuN
2017-05-28_22:59:22 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:59:22 XiaomiGateway token: FoAdgCWEzUhGThWV
2017-05-28_22:59:33 XiaomiGateway heartbeat: 286c07892064
2017-05-28_22:59:33 XiaomiGateway token: etgIeiHedpFK3OeK
2017.05.22 20:41:17.437 3: MIGATE2: DEV_Read> Name: XMI.DOOR.Mailbox.Klappe SID: 158d0001584540 Type: magnet Status: close
2017.05.29 11:08:50 5: XiaomiGateway: Read> Read start
2017.05.29 11:08:50 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"sensor_ht","sid":"158d000149cd8c","short_id":36131,"data":"{\"voltage\":3025,\"temperature\":\"2712\",\"humidity\":\"5175\"}"}
2017.05.29 11:08:50 4: XiaomiGateway: Read> dispatch {"cmd":"heartbeat","model":"sensor_ht","sid":"158d000149cd8c","short_id":36131,"data":"{\"voltage\":3025,\"temperature\":\"2712\",\"humidity\":\"5175\"}"}
2017.05.29 11:08:50 5: XiaomiGateway: dispatch {"cmd":"heartbeat","model":"sensor_ht","sid":"158d000149cd8c","short_id":36131,"data":"{\\"voltage\\":3025,\\"temperature\\":\\"2712\\",\\"humidity\\":\\"5175\\"}"}
2017.05.29 11:08:50 4: XiaomiGateway: DEV_Parse> IS DEFINED sensor_ht : 158d000149cd8c
2017.05.29 11:08:50 5: XiaomiGateway: DEV_Read> SID: 158d000149cd8c XiaomiSmartHome_Device
2017.05.29 11:08:50 3: XiaomiGateway: DEV_Read> Name: Sz_Temperatur SID: 158d000149cd8c Type: sensor_ht Voltage: 3025
2017.05.29 11:08:50 3: XiaomiGateway: DEV_Read> Name: Sz_Temperatur SID: 158d000149cd8c Type: sensor_ht Temperature: 27.12
2017.05.29 11:08:50 3: XiaomiGateway: DEV_Read> Name: Sz_Temperatur SID: 158d000149cd8c Type: sensor_ht Humidity: 51.75
2017.05.29 11:08:54 5: XiaomiGateway: Read> Read start
2017.05.29 11:08:54 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"lMw1ARWjWg4qJuya","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:09:00 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:09:04 5: XiaomiGateway: Read> Read start
2017.05.29 11:09:04 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"zvQhWgKs5l7iC35q","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:09:12 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:09:14 5: XiaomiGateway: Read> Read start
2017.05.29 11:09:14 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"oZj4maPY2je5mSmy","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:09:23 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:09:26 5: XiaomiGateway: Read> Read start
2017.05.29 11:09:26 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"ZGuas1Iu9tU9Aj8M","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:09:29 3: Can't connect to 192.168.0.76:19444: No such file or directory
2017.05.29 11:09:29 3: Can't connect to 192.168.0.76:19444: connect to http://192.168.0.76:19444 timed out
2017.05.29 11:09:38 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:09:38 5: XiaomiGateway: Read> Read start
2017.05.29 11:09:38 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"hYGErePkUDplTAeE","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:09:46 5: XiaomiGateway: Read> Read start
2017.05.29 11:09:46 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"IKGZ7MKqLY6sURdI","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:09:50 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:09:55 5: XiaomiGateway: Read> Read start
2017.05.29 11:09:55 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"bnpK0VawQJ5cikyN","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:10:02 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:10:04 5: XiaomiGateway: Read> Read start
2017.05.29 11:10:04 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"odWN69BJN0Sp9bTF","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:10:14 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:10:14 5: XiaomiGateway: Read> Read start
2017.05.29 11:10:14 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"Iz67R9CFJ7ROWmzF","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:10:22 5: XiaomiGateway: Read> Read start
2017.05.29 11:10:22 5: XiaomiGateway: Read> {"cmd":"report","model":"motion","sid":"158d00014dc683","short_id":4268,"data":"{\"status\":\"motion\"}"}
2017.05.29 11:10:22 4: XiaomiGateway: Read> dispatch {"cmd":"report","model":"motion","sid":"158d00014dc683","short_id":4268,"data":"{\"status\":\"motion\"}"}
2017.05.29 11:10:22 5: XiaomiGateway: dispatch {"cmd":"report","model":"motion","sid":"158d00014dc683","short_id":4268,"data":"{\\"status\\":\\"motion\\"}"}
2017.05.29 11:10:22 4: XiaomiGateway: DEV_Parse> IS DEFINED motion : 158d00014dc683
2017.05.29 11:10:22 5: XiaomiGateway: DEV_Read> SID: 158d00014dc683 XiaomiSmartHome_Device
2017.05.29 11:10:22 3: XiaomiGateway: DEV_Read> Name: MI_Bewegungsmelder_Wz SID: 158d00014dc683 Type: motion Status: motion
2017.05.29 11:10:26 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:10:27 5: XiaomiGateway: Read> Read start
2017.05.29 11:10:27 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"dxporz3bdlLN3ZBU","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:10:35 5: XiaomiGateway: Read> Read start
2017.05.29 11:10:35 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"4ImydrpRiHRV35gA","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:10:42 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:10:44 5: XiaomiGateway: Read> Read start
2017.05.29 11:10:44 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"LSVwJaPIPxBT7emR","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:10:47 3: Can't connect to 192.168.0.76:19444: No such file or directory
2017.05.29 11:10:47 3: Can't connect to 192.168.0.76:19444: connect to http://192.168.0.76:19444 timed out
2017.05.29 11:10:54 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:10:55 5: XiaomiGateway: Read> Read start
2017.05.29 11:10:55 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"A59BzxyBl5foAv4c","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:11:04 5: XiaomiGateway: Read> Read start
2017.05.29 11:11:04 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"hXmiGmlYtUi4VI4T","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:11:06 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:11:14 5: XiaomiGateway: Read> Read start
2017.05.29 11:11:14 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"3v0ePFc0WJtU1tx0","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:11:18 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:11:24 5: XiaomiGateway: Read> Read start
2017.05.29 11:11:24 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"dp7dGIfCbA2RLghL","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:11:30 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:11:35 5: XiaomiGateway: Read> Read start
2017.05.29 11:11:35 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"yykwWVhxo3fxBZyo","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:11:45 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:11:46 5: XiaomiGateway: Read> Read start
2017.05.29 11:11:46 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"bb9nhhedz8EoQ2J2","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:11:56 5: XiaomiGateway: Read> Read start
2017.05.29 11:11:56 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"i3CK2NCmzNuj8RIH","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:11:57 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:12:01 3: Can't connect to 192.168.0.76:19444: Operation now in progress
2017.05.29 11:12:01 3: Can't connect to 192.168.0.76:19444: 192.168.0.76: No route to host
2017.05.29 11:12:04 5: XiaomiGateway: Read> Read start
2017.05.29 11:12:04 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"hVbdNAm9aQ0L3CFm","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:12:09 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:12:14 5: XiaomiGateway: Read> Read start
2017.05.29 11:12:14 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"mJbTulLHmZQv88A7","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:12:21 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:12:21 5: XiaomiGateway: Read> Read start
2017.05.29 11:12:21 5: XiaomiGateway: Read> {"cmd":"report","model":"motion","sid":"158d00014dc683","short_id":4268,"data":"{\"no_motion\":\"120\"}"}
2017.05.29 11:12:21 4: XiaomiGateway: Read> dispatch {"cmd":"report","model":"motion","sid":"158d00014dc683","short_id":4268,"data":"{\"no_motion\":\"120\"}"}
2017.05.29 11:12:21 5: XiaomiGateway: dispatch {"cmd":"report","model":"motion","sid":"158d00014dc683","short_id":4268,"data":"{\\"no_motion\\":\\"120\\"}"}
2017.05.29 11:12:21 4: XiaomiGateway: DEV_Parse> IS DEFINED motion : 158d00014dc683
2017.05.29 11:12:21 5: XiaomiGateway: DEV_Read> SID: 158d00014dc683 XiaomiSmartHome_Device
2017.05.29 11:12:21 3: XiaomiGateway: DEV_Read> Name: MI_Bewegungsmelder_Wz SID: 158d00014dc683 Type: motion NO_motion: 120
2017.05.29 11:12:24 5: XiaomiGateway: Read> Read start
2017.05.29 11:12:24 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"dDslLjOZ0PK6HhNm","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:12:33 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:12:34 5: XiaomiGateway: Read> Read start
2017.05.29 11:12:34 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"KbCW3YYqbFlAX1MI","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:12:44 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:12:45 5: XiaomiGateway: Read> Read start
2017.05.29 11:12:45 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"tr2sbUEqLQKUPFoJ","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:12:55 5: XiaomiGateway: Read> Read start
2017.05.29 11:12:55 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"0ASSLNX4qEu0mdVt","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:12:57 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:13:03 5: XiaomiGateway: Read> Read start
2017.05.29 11:13:03 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"2rER8PdVmukRTsmB","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:13:09 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:13:13 3: Can't connect to 192.168.0.76:19444: Operation now in progress
2017.05.29 11:13:13 3: Can't connect to 192.168.0.76:19444: 192.168.0.76: No route to host
2017.05.29 11:13:14 5: XiaomiGateway: Read> Read start
2017.05.29 11:13:14 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"Fa6O3tf6C3gNmNdX","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:13:21 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:13:21 5: XiaomiGateway: Read> Read start
2017.05.29 11:13:21 5: XiaomiGateway: Read> {"cmd":"report","model":"motion","sid":"158d00014dc683","short_id":4268,"data":"{\"no_motion\":\"180\"}"}
2017.05.29 11:13:21 4: XiaomiGateway: Read> dispatch {"cmd":"report","model":"motion","sid":"158d00014dc683","short_id":4268,"data":"{\"no_motion\":\"180\"}"}
2017.05.29 11:13:21 5: XiaomiGateway: dispatch {"cmd":"report","model":"motion","sid":"158d00014dc683","short_id":4268,"data":"{\\"no_motion\\":\\"180\\"}"}
2017.05.29 11:13:21 4: XiaomiGateway: DEV_Parse> IS DEFINED motion : 158d00014dc683
2017.05.29 11:13:21 5: XiaomiGateway: DEV_Read> SID: 158d00014dc683 XiaomiSmartHome_Device
2017.05.29 11:13:21 3: XiaomiGateway: DEV_Read> Name: MI_Bewegungsmelder_Wz SID: 158d00014dc683 Type: motion NO_motion: 180
2017.05.29 11:13:24 5: XiaomiGateway: Read> Read start
2017.05.29 11:13:24 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"w0L9OY6PNgUEcz4G","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:13:34 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:13:34 5: XiaomiGateway: Read> Read start
2017.05.29 11:13:34 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"eWN7Zy0lvT6SMRcM","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:13:46 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:13:46 5: XiaomiGateway: Read> Read start
2017.05.29 11:13:46 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"5n4xIeI0XZnO4Uwz","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:13:53 5: XiaomiGateway: Read> Read start
2017.05.29 11:13:53 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"8TuQQBEF79am7siS","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:13:59 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:14:03 5: XiaomiGateway: Read> Read start
2017.05.29 11:14:03 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"PtEeAz5ghf63GWx3","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:14:10 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:14:13 5: XiaomiGateway: Read> Read start
2017.05.29 11:14:13 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"zF2XiUCrfKWa3fDi","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:14:22 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:14:23 5: XiaomiGateway: Read> Read start
2017.05.29 11:14:23 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"7XmY1rgyrv2FtdiS","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:14:25 3: Can't connect to 192.168.0.76:19444: No such file or directory
2017.05.29 11:14:25 3: Can't connect to 192.168.0.76:19444: 192.168.0.76: No route to host
2017.05.29 11:14:36 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:14:36 5: XiaomiGateway: Read> Read start
2017.05.29 11:14:36 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"FIDSdxzm0UHTYNQk","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:14:43 5: XiaomiGateway: Read> Read start
2017.05.29 11:14:43 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"gwSaTToxGvFqahPF","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:14:48 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:14:58 5: XiaomiGateway: Read> Read start
2017.05.29 11:14:58 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"JnfuJmo4c2qxBiVh","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:15:00 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:15:03 5: XiaomiGateway: Read> Read start
2017.05.29 11:15:03 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"x1NNu3PIT7zu16Ki","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:15:12 3: Opening Ambilight_Wz device 192.168.0.76:19444
2017.05.29 11:15:13 5: XiaomiGateway: Read> Read start
2017.05.29 11:15:13 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07892064","short_id":"0","token":"iMjoXeG6x29HeXsZ","data":"{\"ip\":\"192.168.0.68\"}"}
2017.05.29 11:15:20 5: XiaomiGateway: Read> Read start
2017.05.29 11:15:20 5: XiaomiGateway: Read> {"cmd":"report","model":"motion","sid":"158d00014dc683","short_id":4268,"data":"{\"no_motion\":\"300\"}"}
2017.05.29 11:15:20 4: XiaomiGateway: Read> dispatch {"cmd":"report","model":"motion","sid":"158d00014dc683","short_id":4268,"data":"{\"no_motion\":\"300\"}"}
2017.05.29 11:15:20 5: XiaomiGateway: dispatch {"cmd":"report","model":"motion","sid":"158d00014dc683","short_id":4268,"data":"{\\"no_motion\\":\\"300\\"}"}
2017.05.29 11:15:20 4: XiaomiGateway: DEV_Parse> IS DEFINED motion : 158d00014dc683
2017.05.29 11:15:20 5: XiaomiGateway: DEV_Read> SID: 158d00014dc683 XiaomiSmartHome_Device
2017.05.29 11:15:20 3: XiaomiGateway: DEV_Read> Name: MI_Bewegungsmelder_Wz SID: 158d00014dc683 Type: motion NO_motion: 300
2017.05.29 11:52:01 5: XiaomiGateway: Read> Read start
2017.05.29 11:52:01 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"","sid":"158d0001a3ddea","short_id":32910,"data":"{\"voltage\":3075}"}
2017.05.29 11:52:01 4: XiaomiGateway: Read> dispatch {"cmd":"heartbeat","model":"","sid":"158d0001a3ddea","short_id":32910,"data":"{\"voltage\":3075}"}
2017.05.29 11:52:01 5: XiaomiGateway: dispatch {"cmd":"heartbeat","model":"","sid":"158d0001a3ddea","short_id":32910,"data":"{\\"voltage\\":3075}"}
2017.05.29 11:52:01 3: XiaomiGateway: Unknown code {"cmd":"heartbeat","model":"","sid":"158d0001a3ddea","short_id":32910,"data":"{\"voltage\":3075}"}, help me!
"model":""
"model":"magnet"
Zitat von: tterrafan am 29 Mai 2017, 18:06:33
Geht denn bei den neuen Aqara-Sensoren zumindest das Temperatur-Modul und der Schalter?
Oder wird da auch kein Model übermittelt. Habe mir davon nämlich zwei bestellt (ebenfalls weil mir das eckige Design besser gefällt).
Zitat von: funt4stic am 29 Mai 2017, 22:21:27Danke für die Rückmeldung. Ja hoffentlich, theoretisch müsste es ja ohne Probleme möglich sein, da die Geräte mit dem Gateway verbunden sind und dieses über die API alle Geräte zur Verfügung stellt.
Der Aqara Temperatur Sensor hat leider das selbe Problem. Vielleicht schaffen die kommenden GW Firmware Updates ja Abhilfe....
Zitat von: chunter1 am 30 Mai 2017, 11:28:25
Ich nehme an, die Xiaomi Komponenten lassen sich genau so einfach hacken wie im folgenden Link beschrieben?
https://www.heise.de/security/meldung/Deepsec-ZigBee-macht-Smart-Home-zum-offenen-Haus-3010287.html (https://www.heise.de/security/meldung/Deepsec-ZigBee-macht-Smart-Home-zum-offenen-Haus-3010287.html)
Zitat von: chunter1 am 30 Mai 2017, 12:07:03
Kann mir ein Besitzer eines Xiaomi motion Sensors sagen, wie lange die Auslöseverzögerung und die Totzeit bis zur nächsten Auslösung ist.
Zitat von: chunter1 am 30 Mai 2017, 12:07:03Es sind genau 60 Sekunden, nach denen die nächste Bewegung registriert wird.
Kann mir ein Besitzer eines Xiaomi motion Sensors sagen, wie lange die Auslöseverzögerung und die Totzeit bis zur nächsten Auslösung ist.
Zitat von: tterrafan am 30 Mai 2017, 23:44:23Vielen Dank!
Es sind genau 60 Sekunden, nach denen die nächste Bewegung registriert wird.
Zitat von: chunter1 am 31 Mai 2017, 10:02:33Moin,
Habt ihr eure Xiaomi Gateways alle aus China oder gibts auch eine Quelle in Europa?
Zitat von: neumann am 10 Juni 2017, 11:14:15
Hey!
Es gab heute ein Firmware-Update für das Gateway - vielleicht klappen ja jetzt die neuen Sensoren?
LG
Zitat von: funt4stic am 10 Juni 2017, 12:26:13Konntest du bereits testen, ob es nun funktioniert?
Danke für den Hinweis!
Ich schau heute Abend mal, wenn ich es zeitlich schaffe!
2017.06.12 18:03:28 5: XiaomiGateway: Read> Read start
2017.06.12 18:03:28 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"","sid":"158d000171f0d1","short_id":19356,"data":"{\"voltage\":2995}"}
2017.06.12 18:03:28 5: XiaomiGateway: Read> Dispatch {"cmd":"heartbeat","model":"","sid":"158d000171f0d1","short_id":19356,"data":"{\"voltage\":2995}"}
2017.06.12 18:03:28 5: XiaomiGateway: dispatch {"cmd":"heartbeat","model":"","sid":"158d000171f0d1","short_id":19356,"data":"{\\"voltage\\":2995}"}
2017.06.12 18:03:28 3: XiaomiGateway: Unknown code {"cmd":"heartbeat","model":"","sid":"158d000171f0d1","short_id":19356,"data":"{\"voltage\":2995}"}, help me!
cpan Crypt::Cipher::AES
Loading internal null logger. Install Log::Log4perl for logging messages
Reading '/root/.cpan/Metadata'
Database was generated on Sat, 24 Jun 2017 19:54:07 GMT
Running install for module 'Crypt::Cipher::AES'
Checksum for /root/.cpan/sources/authors/id/M/MI/MIK/CryptX-0.048.tar.gz ok
'YAML' not installed, will not store persistent state
Configuring M/MI/MIK/CryptX-0.048.tar.gz with Makefile.PL
Can't exec "ar": Datei oder Verzeichnis nicht gefunden at Makefile.PL line 23.
Use of uninitialized value $arver in pattern match (m//) at Makefile.PL line 24.
Use of uninitialized value $arver in pattern match (m//) at Makefile.PL line 25.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for CryptX
Writing MYMETA.yml and MYMETA.json
MIK/CryptX-0.048.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for M/MI/MIK/CryptX-0.048.tar.gz
MIK/CryptX-0.048.tar.gz
make -- NOT OK
Couldn't load Crypt::Cipher::AES: Can't locate Crypt/Cipher/AES.pm in @INC
apt-get install libcrypt-cbc-perl
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
libcrypt-cbc-perl ist schon die neueste Version (2.33-1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
2017.06.30 21:44:46 5 : XiaomiGateway: Read> Read start
2017.06.30 21:44:46 5 : XiaomiGateway: Read> {"cmd":"heartbeat","model":"","sid":"158d0001a3ddea","short_id":32910,"data":"{\"voltage\":3035}"}
2017.06.30 21:44:46 5 : XiaomiGateway: Read> Dispatch {"cmd":"heartbeat","model":"","sid":"158d0001a3ddea","short_id":32910,"data":"{\"voltage\":3035}"}
2017.06.30 21:44:46 5 : XiaomiGateway: dispatch {"cmd":"heartbeat","model":"","sid":"158d0001a3ddea","short_id":32910,"data":"{\\"voltage\\":3035}"}
2017-06-30 21:44:46 XiaomiSmartHome XiaomiGateway UNKNOWNCODE {"cmd":"heartbeat","model":"","sid":"158d0001a3ddea","short_id":32910,"data":"{\"voltage\":3035}"}
2017.06.30 21:44:46 3 : XiaomiGateway: Unknown code {"cmd":"heartbeat","model":"","sid":"158d0001a3ddea","short_id":32910,"data":"{\"voltage\":3035}"}, help me!
Zitat von: funt4stic am 30 Juni 2017, 22:08:49👍 😎
Schon klar, sollte ja auch kein Vorwurf sein ;). So lange es nur Heartbeats und keine Reports gibt, ist es ja eh uninteressant. Ich wollte nurnochmal den aktuellen Stand teilen.
Woher hast du denn die Info, dass es behoben wird?
2017.07.17 15:49:02 3: xGateway: Unknown code {"cmd":"report","model":"weather.v1","sid":"158d0001720384","short_id":3996,"data":"{\"temperature\":\"2295\"}"}, help me!
2017.07.17 15:49:02 3: xGateway: Unknown code {"cmd":"report","model":"weather.v1","sid":"158d0001720384","short_id":3996,"data":"{\"humidity\":\"6911\"}"}, help me!
2017.07.17 15:49:02 3: xGateway: Unknown code {"cmd":"report","model":"weather.v1","sid":"158d0001720384","short_id":3996,"data":"{\"pressure\":\"99960\"}"}, help me!
Zitat von: CoolTux am 17 Juli 2017, 16:08:28Musste zuerst testen, ob es klappt.
Darf man Fragen warum hier nicht dem Maintainer ein Patch angeboten wird, wenn schon Code angepasst wurde. Man darf die Developer auch gerne Unterstützen.
ContactSensorState=state,values=close:CONTACT_DETECTED;/open/:CONTACT_NOT_DETECTED
Zitat von: slawekking am 22 Juli 2017, 22:31:30Hi Christoph,
Hi,
kurze frage . Besteht die Moeglichkeit das Radio ueber FHEM anzusteuern?
Waehre natuerlich schoen beim eintretten ins Bad automatisch das Radio einzuschalten.
Guss
Christoph
Zitat von: tterrafan am 30 Juli 2017, 18:05:40Hi Timo
Ich habe nun die Änderungen vorgenommen:
- der neue Sensor wird korrekt erkannt und initialisiert
- lux Readings für neuen Sensor hinzugefügt
TODO:
- MotionOffTimer sollte standardmäßig am besten auf 5 gesetzt werden, da der neue und auch der alte Sensor seit dem FW Update alle 5 Sekunden nach der letzten Bewegung eine erneute Bewegung registriert.
- controls_mish.txt muss entsprechend nach der Änderung korrigiert werden
Habe dazu ein Pull Request erstellt.
LG Timo
Zitat von: torte am 30 Juli 2017, 19:19:32Ja habe ich. Der aktualisiert nun auch alle 5 Sekunden seit der letzten Bewegung.
Hi Timo
hast du zufällig auch einen alten Motion Sensor?
Gruß
Torte
Gesendet mit Tapatalk
Zitat von: rimjim am 31 Juli 2017, 21:46:25
Und wie setzt man den MotioOffTimer auf 5 sek? Leider habe ich das nicht ganz verstanden.
set <Sensorname> motionOffTimer 5
2017.08.01 16:03:48 1: PERL WARNING: Illegal hexadecimal digit 'o' ignored at FHEM/Color.pm line 73. 2017.08.01 16:03:48 1: stacktrace: 2017.08.01 16:03:48 1: main::__ANON__ called by FHEM/Color.pm (73) 2017.08.01 16:03:48 1: Color::RgbToChannels called by FHEM/Color.pm (45) 2017.08.01 16:03:48 1: main::Color_devStateIcon called by (eval 340) (1) 2017.08.01 16:03:48 1: (eval) called by ./FHEM/01_FHEMWEB.pm (2666) 2017.08.01 16:03:48 1: main::FW_dev2image called by ./FHEM/01_FHEMWEB.pm (2982) 2017.08.01 16:03:48 1: main::FW_devState called by ./FHEM/01_FHEMWEB.pm (2857) 2017.08.01 16:03:48 1: main::FW_Notify called by fhem.pl (3411) 2017.08.01 16:03:48 1: main::CallFn called by fhem.pl (3332) 2017.08.01 16:03:48 1: main::DoTrigger called by fhem.pl (4300) 2017.08.01 16:03:48 1: main::readingsEndUpdate called by ./FHEM/71_XiaomiSmartHome.pm (118) 2017.08.01 16:03:48 1: main::XiaomiSmartHome_Read called by fhem.pl (3411) 2017.08.01 16:03:48 1: main::CallFn called by fhem.pl (686) 2017.08.01 16:03:48 1: PERL WARNING: Illegal hexadecimal digit 'o' ignored at FHEM/Color.pm line 73. 2017.08.01 16:03:48 1: stacktrace: 2017.08.01 16:03:48 1: main::__ANON__ called by FHEM/Color.pm (73) 2017.08.01 16:03:48 1: Color::RgbToChannels called by FHEM/Color.pm (45) 2017.08.01 16:03:48 1: main::Color_devStateIcon called by (eval 341) (1) 2017.08.01 16:03:48 1: (eval) called by ./FHEM/01_FHEMWEB.pm (2666) 2017.08.01 16:03:48 1: main::FW_dev2image called by ./FHEM/01_FHEMWEB.pm (2982) 2017.08.01 16:03:48 1: main::FW_devState called by ./FHEM/01_FHEMWEB.pm (2857) 2017.08.01 16:03:48 1: main::FW_Notify called by fhem.pl (3411) 2017.08.01 16:03:48 1: main::CallFn called by fhem.pl (3332) 2017.08.01 16:03:48 1: main::DoTrigger called by fhem.pl (4300) 2017.08.01 16:03:48 1: main::readingsEndUpdate called by ./FHEM/71_XiaomiSmartHome.pm (118) 2017.08.01 16:03:48 1: main::XiaomiSmartHome_Read called by fhem.pl (3411) 2017.08.01 16:03:48 1: main::CallFn called by fhem.pl (686) |
Zitat von: rimjim am 01 August 2017, 16:07:56
2017.08.01 16:03:48 1: PERL WARNING: Illegal hexadecimal digit 'o' ignored at FHEM/Color.pm line 73.
2017.08.01 16:03:48 1: stacktrace:
2017.08.01 16:03:48 1: main::__ANON__ called by FHEM/Color.pm (73)
2017.08.01 16:03:48 1: Color::RgbToChannels called by FHEM/Color.pm (45)
2017.08.01 16:03:48 1: main::Color_devStateIcon called by (eval 340) (1)
2017.08.01 16:03:48 1: (eval) called by ./FHEM/01_FHEMWEB.pm (2666)
2017.08.01 16:03:48 1: main::FW_dev2image called by ./FHEM/01_FHEMWEB.pm (2982)
2017.08.01 16:03:48 1: main::FW_devState called by ./FHEM/01_FHEMWEB.pm (2857)
2017.08.01 16:03:48 1: main::FW_Notify called by fhem.pl (3411)
2017.08.01 16:03:48 1: main::CallFn called by fhem.pl (3332)
2017.08.01 16:03:48 1: main::DoTrigger called by fhem.pl (4300)
2017.08.01 16:03:48 1: main::readingsEndUpdate called by ./FHEM/71_XiaomiSmartHome.pm (118)
2017.08.01 16:03:48 1: main::XiaomiSmartHome_Read called by fhem.pl (3411)
2017.08.01 16:03:48 1: main::CallFn called by fhem.pl (686)
2017.08.01 16:03:48 1: PERL WARNING: Illegal hexadecimal digit 'o' ignored at FHEM/Color.pm line 73.
2017.08.01 16:03:48 1: stacktrace:
2017.08.01 16:03:48 1: main::__ANON__ called by FHEM/Color.pm (73)
2017.08.01 16:03:48 1: Color::RgbToChannels called by FHEM/Color.pm (45)
2017.08.01 16:03:48 1: main::Color_devStateIcon called by (eval 341) (1)
2017.08.01 16:03:48 1: (eval) called by ./FHEM/01_FHEMWEB.pm (2666)
2017.08.01 16:03:48 1: main::FW_dev2image called by ./FHEM/01_FHEMWEB.pm (2982)
2017.08.01 16:03:48 1: main::FW_devState called by ./FHEM/01_FHEMWEB.pm (2857)
2017.08.01 16:03:48 1: main::FW_Notify called by fhem.pl (3411)
2017.08.01 16:03:48 1: main::CallFn called by fhem.pl (3332)
2017.08.01 16:03:48 1: main::DoTrigger called by fhem.pl (4300)
2017.08.01 16:03:48 1: main::readingsEndUpdate called by ./FHEM/71_XiaomiSmartHome.pm (118)
2017.08.01 16:03:48 1: main::XiaomiSmartHome_Read called by fhem.pl (3411)
2017.08.01 16:03:48 1: main::CallFn called by fhem.pl (686)
Weiß jemand woran das liegen kann? Ich habe was von stackrace etc. gelesen, aber "attr global stacktrace 1" hat auch nicht weiter geholfen.
Zitat von: rimjim am 01 August 2017, 21:16:19Moin,
Kann mir jemand helfen ein Homebridgemapping zu erstellen ?
Es ist ein Xiaomi MotionSensor, in fhem funktioniert er, in der Homebridge leider noch nicht.
Hab ein Json2 im Anhang
Das aktuell eingetragene funktioniert leider nicht
{
"Arg":"NAME=Bewegungsmelder",
"Results": [
{
"Name":"Bewegungsmelder",
"PossibleSets":"",
"PossibleAttrs":"alias comment:textField-long eventMap group room suppressReading userReadings:textField-long verbose:0,1,2,3,4,5 IODev follow-on-for-timer:1,0 follow-on-timer do_not_notify:1,0 ignore:1,0 dummy:1,0 showtime:1,0 valueFn:textField-long event-on-change-reading event-on-update-reading event-aggregator event-min-interval stateFormat:textField-long timestamp-on-change-reading alexaName alexaRoom cmdIcon devStateIcon devStateStyle fhem_widget_command, fhem_widget_command_2 fm_type fp_Haus genericDeviceType:security,ignore,switch,outlet,light,blind,thermometer,thermostat,contact,garage,window,lock homebridgeMapping:textField-long icon sortby webCmd widgetOverride userattr",
"Internals": {
"DEF": "1001d5c843 sensor_motion.aq2 SmartHome",
"LASTInputDev": "SmartHome",
"MODEL": "sensor_motion.aq2",
"MSGCNT": "15",
"NAME": "Bewegungsmelder",
"NR": "65",
"SID": "1001d5c843",
"STATE": "motion",
"SmartHome_MSGCNT": "15",
"SmartHome_TIME": "2017-08-01 20:08:18",
"TYPE": "XiaomiSmartHome_Device",
"VERSION": "1.05"
},
"Readings": {
"battery": { "Value":"3.045", "Time":"2017-08-01 19:54:56" },
"heartbeat": { "Value":"1001d5c843", "Time":"2017-08-01 19:34:52" },
"motionOffTimer": { "Value":"5", "Time":"2017-08-01 15:46:57" },
"no_motion": { "Value":"300", "Time":"2017-08-01 20:04:05" },
"state": { "Value":"motion", "Time":"2017-08-01 20:08:18" }
},
"Attributes": {
"IODev": "SmartHome",
"devStateIcon": "no_motion:motion_detector@red motion:motion_detector@green",
"genericDeviceType": "MotionSensor",
"group": "06_Motion Sensor",
"homebridgeMapping": "MotionDetectedState=state,values=no_motion:off;/motion/:on",
"room": "Wohnzimmer"
}
} ],
"totalResultsReturned":1
}
Zitat von: rimjim am 01 August 2017, 21:27:12Also hast du eine FHEM Instanz und eine Homebrige Instanz bei dir?
ok, aber für mich ist es interessant, weil man damit wesentlich einfacher und schneller Szenen erstellen kann.
Zitat von: rimjim am 02 August 2017, 16:21:42Hi
Wenn man fhem startet, ist der Aqara Motionsensor auf no_motion geschaltet, aktiviert man den Motionsensor, schaltet fhem auf motion, aber nicht mehr zurück, trotz motionOffTimer 5.
Hat jemand einen Tipp ?
Zitat von: torte am 02 August 2017, 16:31:48Es kann sein das dort noch gebaut wird, und es deswegen noch auf Motion steht. [emoji6]
Hi
Motionofftimer setzt das state auf off
Nach 1, 5 oder 10 Sekunden was du einstellst.
Ansonsten würde das state auf Motion stehen bleiben. es gibt noch ein Reading no_motion dort wird hochgezählt wie lange nach dem letzten Motion keine Bewegung mehr war bis max 1800 Sekunden. (Potenziell ansteigen gemeldet.)
Gruß
Torte
Gesendet mit Tapatalk
Zitat von: rimjim am 03 August 2017, 13:27:22Normalerweise solltest du nur das state betrachten.
Wie kann ich den die no_motion Zeit heruntersetzen?
Weil der Sensor jetzt viiieeeel zu lange aktiv bleibt.
ich hab es mit -------- setreading <Name> no_motion 120 -------- versucht, er scheint auch kurz was angenommen zu haben aber nach der ersten bewegung fängt er wieder an hochzuzählen.
Zitat von: torte am 26 Juli 2017, 07:51:43
Hi Hanswerner,
also die neuen Aqara Sensoren Switch, Magnet, Bewegung, Druck/Temp/Feuchte und Wasser werden von der Protokoll Version 1.0.8 (XIAOMI)
unterstütz. Sind aber noch nicht vom FHEM Modul supportet :(.
Ich gucke das ich das in den nächsten Tagen einarbeite, aus China dauert es ja auch etwas bis die Dinger da sind ;D
Grüße
Torte
Nachtrag: Druck/Temp/Feuchte ist schon drin dank tterrafan
Zitat von: rimjim am 04 August 2017, 22:03:41
@ torte: Der Motionofftimer ist auf 10 gesetzt, aber das bringt irgendwie nichts.
Habe im Anhang auch noch ein screenshot angehangen, vielleicht fällt dir ja noch auf was da falsch sein könnte.
no_motion zählt nach der Erkennung hoch bis 1800 und schaltet dann erst auf no_motion.
Zitat von: hanswerner1 am 05 August 2017, 08:46:02Ich hab noch einen PULL request von tterrafan offen der was bezüglich der Aqara Sensor gemacht hat. Bin aber gerade im Urlaub und kann nur über's Handy. Deswegen hab ich noch nicht gemerged.
Bei mir geht der Aqara auch nicht mehr auf off, bleibt immer auf Motion, no_motion geht aber normal. Habe motionOffTimer auf 1.
Meine 3 nicht Aqara funktionieren mit gleicher Einstellung normal.
Zitat von: rimjim am 05 August 2017, 10:15:24Prüfe mal deine Modul Version du hast noch 1.05 meine das sollte schon 1.07 sein.
Ok gut zu wissen, dann liegt es nicht an meinen Einstellungen, danke für die info
Zitat von: rimjim am 05 August 2017, 10:53:30Steht im Device oben auf deinem Bild.
wenn ich Version eingebe, zeigt er mir folgendes
No Id found for 71_XiaomiSmartHome.pm
No Id found for 71_XiaomiSmartHome_Device.pm
aber nur bei diesen beiden Modulen. Ist das normal?
Wie überprüfe ich die Version ansonsten?
Zitat von: rimjim am 05 August 2017, 10:57:35https://github.com/T0RST3N/fhem-XiaomiSmartHome/wiki
ja schon klar ;D
Aber woher weiss ich ob es 1.07 gibt ?
Und wenn wie update ich darauf?
Zitat von: rimjim am 05 August 2017, 11:14:17Nö, der fhem Server hatte keine Schreibrechte an den PM Dateien. Das musst du ändern. Such mal hier im Forum, geht auf ssh console oder mit einem FTP Programm oder winscp.
Ok habe ich gemacht.
Das kommt dabei rum
2017.08.05 11:13:28 1 : UPD FHEM/71_XiaomiSmartHome.pm
2017.08.05 11:13:28 1 : open ./FHEM/71_XiaomiSmartHome.pm failed: Permission denied, trying to restore the previous version and aborting the update
ist das normal?
Zitat von: rimjim am 06 August 2017, 21:28:26Ohne Log ist das schwer. fhem/log dort liegt eine mit fhem-Datum.log
Seit dem update, macht mein fhem nach nem reboot keinen autostart, habe testweise die 71_Xiaomi...pm´s herausgelöscht, dann ging es wieder.
Wisst ihr woran das liegen kann?
Zitat von: rimjim am 06 August 2017, 21:28:26
Seit dem update, macht mein fhem nach nem reboot keinen autostart, habe testweise die 71_Xiaomi...pm´s herausgelöscht, dann ging es wieder.
Wisst ihr woran das liegen kann?
Zitat von: rimjim am 06 August 2017, 21:28:26hatte ich auch mal, bin mir nicht mehr sicher, woran es lag.
Seit dem update, macht mein fhem nach nem reboot keinen autostart, habe testweise die 71_Xiaomi...pm´s herausgelöscht, dann ging es wieder.
Wisst ihr woran das liegen kann?
Zitat von: torte am 06 August 2017, 22:00:35
Ohne Log ist das schwer. fhem/log dort liegt eine mit fhem-Datum.log
Gesendet mit Tapatalk
Zitat von: rimjim am 09 August 2017, 21:49:56Hi,
Hi, sorry für die Verzögerung
hier die letzten log eintrage
017.08.09 21:16:49 1: usb create end
2017.08.09 21:16:49 0: Featurelevel: 5.8
2017.08.09 21:16:49 0: Server started with 52 defined entities (fhem.pl:14854/2017-08-06 perl:5.020002 os:linux user:fhem pid:623)
Creating socket: Invalid argument
wie gesagt man kann es Manuel starten, der autosatt geht nicht. Lädt man die 1.07 Dateien rein, funktioniert es problemlos.
Zitat von: xotox91 am 09 August 2017, 16:59:14Hi,
Hallo liebe Heimautomatisierer,
ich habe eine kleine, generelle Frage zur Verwendung der Xiaomi Komponenten. Vor kurzem habe ich mir einen "Xiaomi Aqara Intelligent Smart Home Temperature Humidity Sensor" gekauft. (war im Angebot -> musste zuschlagen ;) )
Ist zur Verwendung in FHEM zwingend ein Xiaomi Gateway notwendig oder würde ein ZigBee USB Stick auch funktionieren um den Sensor zu verwenden?
Vielen Dank für eure Hilfe. xotox91
Zitat von: torte am 09 August 2017, 21:59:23
Hi,
sieht aber nicht nach Verbose 5 aus. Wie ist der define des Moduls ?
Gruß
Torte
Gesendet mit Tapatalk
Zitat von: rimjim am 09 August 2017, 22:18:44Ja, der ist richtig weil im Log was mit illegal Argument stand dachte ich das ist was faul.
Danke für die schnelle Antwort, habe verbose soeben auf 5 gesetzt war auf 0
define SmartHome XiaomiSmartHome 192.168.2.107
diesen define?
Zitat von: Örik am 09 August 2017, 22:33:12Ich weiß es nicht, probiere doch mal im Xiaomi Forum nachzufragen ist zwar auf Englisch aber die Antworten dort sehr flott.
Hallo,
erstmal vielen Dank für die Möglichkeit der durchaus unkomplizierten FHEM-Anbindung meiner XIAOMI-Komponenten.
Der Wireless-Switch sowie diverse Rauchmelder habe ich bereits angebunden. Der MI-Robot Vacuum läuft auch seit einigen Monaten ohne Probleme ;-) - FHEM-Anbindung steht nun auch noch an!
Jedoch habe ich es bisher noch nicht hinbekommen, dass die Rauchmelder untereinander kommunizieren, sodass der Alarm eines Rauchmelders auch ohne FHEM-Server und XIAOMI-Gateway an alle weiteren Rauchmelder gesendet wird.
Ist diese Funktion bei den XIAOMI-Meldern vorhanden?
Viele Grüße
Zitat von: torte am 09 August 2017, 22:51:54
Ja, der ist richtig weil im Log was mit illegal Argument stand dachte ich das ist was faul.
Was schreibt das Log den jetzt ?
Die rechte für den fhem User für die beiden PM Dateien hattest du aber gesetzt? [emoji9]
Gesendet mit Tapatalk
xi_gateway: Unknown code {"cmd":"iam","port":"9898","sid":"286c07891a3c","model":"gateway","ip":"192.168.47.49"}, help me!
Zitat von: hanswerner1 am 15 August 2017, 09:41:51Hi,
ist es eigentlich möglich die Anzahl der Nachkommastellen vielleicht per Attribute zu definieren ?
zb. Haben temperature, humidity bei dem Temperatur Sensoren 2 Stellen hinterm Komma, battery sogar 3.
ich behelfe mir im Moment damit neue Userreadings zu erstellen und da die Stellen zu kürzen.
Das ist natürlich nicht so elegant als wenn die Stellen direkt im Modul gekürzt würden.
Ist nur eine Idee für eine zukünftige Version. Vielleicht stören die vielen Nachkommastellen ja sonst noch jemanden.
Geht aber auch mit den zusätzlichen Userreadings.
Ich bin von dem Modul und den Xiaomi sensoren echt begeistert. hab bis jetzt 22 Sensoren eingebunden und es läuft alles perfekt.
Zitat von: m_gatz am 15 August 2017, 22:55:04Hi,
N'Abend,
was möchte mir das Modul mit folgender Meldung sagen?Code Auswählen
xi_gateway: Unknown code {"cmd":"iam","port":"9898","sid":"286c07891a3c","model":"gateway","ip":"192.168.47.49"}, help me!
Die Meldung habe ich recht regelmäßig im Log..
Danke und Gruß!
Zitat von: torte am 15 August 2017, 23:07:44
Hi,
welche Version des Moduls ist bei dir Aktiv?
Gruß
Torte
Gesendet mit Tapatalk
TYPE
XiaomiSmartHome
VERSION
0.23
Zitat von: torte am 15 August 2017, 23:17:39
Hi,
das ist aber schon was älter.
Wir sind schon bei 1.08.
In der GIT Wiki steht wie du das Update machst, denke der Fehler ist dann weg.
Ansonsten melde Dich bitte noch mal.
Grüße
Torte
2017.08.15 23:31:55 5 : xi_gateway: Read> Read start
2017.08.15 23:31:55 5 : xi_gateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07891a3c","short_id":"0","token":"OGQGv0fymsE8Hu9o","data":"{\"ip\":\"192.168.47.49\"}"}
2017.08.15 23:31:55 5 : xi_gateway: Read> HASH correctly
2017.08.15 23:31:55 5 : xi_gateway: Reading> Reading start
2017.08.15 23:31:55 4 : xi_gateway: Reading> Heartbeat from 192.168.47.49 received with 286c07891a3c
2017.08.15 23:32:02 5 : xi_gateway: Read> Read start
2017.08.15 23:32:02 5 : xi_gateway: Read> {"cmd":"iam","port":"9898","sid":"286c07891a3c","model":"gateway","ip":"192.168.47.49"}
2017.08.15 23:32:02 5 : xi_gateway: Read> HASH correctly
2017.08.15 23:32:02 5 : xi_gateway: Reading> Reading start
2017.08.15 23:32:02 5 : xi_gateway: Reading> Dispatch {"cmd":"iam","port":"9898","sid":"286c07891a3c","model":"gateway","ip":"192.168.47.49"}
2017.08.15 23:32:02 5 : xi_gateway: dispatch {"cmd":"iam","port":"9898","sid":"286c07891a3c","model":"gateway","ip":"192.168.47.49"}
2017.08.15 23:32:02 3 : xi_gateway: Unknown code {"cmd":"iam","port":"9898","sid":"286c07891a3c","model":"gateway","ip":"192.168.47.49"}, help me!
2017.08.15 23:32:05 5 : xi_gateway: Read> Read start
2017.08.15 23:32:05 5 : xi_gateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07891a3c","short_id":"0","token":"RcwlO7pyPqDjfiy7","data":"{\"ip\":\"192.168.47.49\"}"}
2017.08.15 23:32:05 5 : xi_gateway: Read> HASH correctly
2017.08.15 23:32:05 5 : xi_gateway: Reading> Reading start
2017.08.15 23:32:05 4 : xi_gateway: Reading> Heartbeat from 192.168.47.49 received with 286c07891a3c
{"cmd":"iam","port":"9898","sid":"286c07891a3c","model":"gateway","ip":"192.168.47.49"}
Zitat von: torte am 15 August 2017, 23:06:37
Hi,
baue in der nächsten Version was ein.
Gruß
Torte
Gesendet mit Tapatalk
password giveaPassword!
pct 100
ringtone 21
state Connected
volume 10
2017.08.27 12:17:58.459 1: Gateway01: getGatewaySID> Error no response from whois!! STOP!!
2017.08.27 12:17:58.552 3: Gateway01: connect> Connected
2017.08.27 12:24:34.350 5: Gateway01: Notify> NotifyStart
2017.08.27 12:24:37.914 5: Gateway01: Notify> NotifyStart
2017.08.27 12:24:38.760 5: Gateway01: updateAllReadings> Starting UpdateALLReadings
2017.08.27 12:24:39.169 4: Gateway01: Write> Get all Sensors
2017.08.27 12:24:39.169 4: Gateway01: Write> {"cmd" : "get_id_list"} xxx.xxx.xxx.34
2017.08.27 12:24:39.169 5: Gateway01: Write> End xxx.xxx.xxx.34
2017.08.27 12:24:39.170 5: Gateway01: Get> UpdateALLReadings Started
Zitat von: Stoanze01 am 27 August 2017, 12:38:07Hi,
Hallo,
habe leider im GW-Device kein 'set' um das 'password' zu setzen und die in der App verbundenen Devices (MotionSensor und SmartSwitch) sind auch nicht zu sehen.
Wenn ich es richtig verstanden habe müssten diese automatisch angelegt werden.
Es werden diese readings angezeigt:Code Auswählenpassword giveaPassword!
pct 100
ringtone 21
state Connected
volume 10
Jemand eine Idee was ich falsch mache!? Habe mir auch die neuesten Versionen von 71_XiaomiSmartHome_Device.pm & 71_XiaomiSmartHome.pm_13.08.2017 geladen, leider ohne erfolg.
FhemLog:Code Auswählen2017.08.27 12:17:58.459 1: Gateway01: getGatewaySID> Error no response from whois!! STOP!!
2017.08.27 12:17:58.552 3: Gateway01: connect> Connected
2017.08.27 12:24:34.350 5: Gateway01: Notify> NotifyStart
2017.08.27 12:24:37.914 5: Gateway01: Notify> NotifyStart
2017.08.27 12:24:38.760 5: Gateway01: updateAllReadings> Starting UpdateALLReadings
2017.08.27 12:24:39.169 4: Gateway01: Write> Get all Sensors
2017.08.27 12:24:39.169 4: Gateway01: Write> {"cmd" : "get_id_list"} xxx.xxx.xxx.34
2017.08.27 12:24:39.169 5: Gateway01: Write> End xxx.xxx.xxx.34
2017.08.27 12:24:39.170 5: Gateway01: Get> UpdateALLReadings Started
Zitat von: torte am 27 August 2017, 13:29:53
Hi,
hast du eine Firewall? Sieht so aus das Port 4321 geblockt wird. Port 9898 und 4321 sind die Ports über die das GW kommuniziert.
Grüsse
Torte
Gesendet mit Tapatalk
apt-get install libcrypt-
libcrypt-cbc-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libcrypt-cbc-perl' has no installation candidate
Zitat von: Stoanze01 am 27 August 2017, 17:12:54Code Auswählenlibcrypt-cbc-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libcrypt-cbc-perl' has no installation candidate
Bin leider noch nicht dahinter gekommen wo genau das Problem liegt.
sudo apt-get update && sudo apt-get upgrade
2017.08.29 13:04:55 1: MI_Gateway: getGatewaySID> Error no response from whois!! STOP!!
2017.08.29 13:04:55 3: MI_Gateway: connect> Connected
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Can't locate object method "new" via package "IO::Socket::Multicast" (perhaps you forgot to load "IO::Socket::Multicast"?) at /opt/fhem/FHEM/71_XiaomiSmartHome.pm line 273
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Zitat von: dgi am 17 Juni 2017, 15:53:23
Habe ein großes Netz, keine Firewall dazwischen. Aber zwischen dem Raspi und dem WLAN-AP sind ein paar switche dazwischen. Ich schau mal auf dem WLAN-AP nach, ob da multicast geblockt wird. Ansonsten ist der developer mode auf jeden Fall an. Im Log habe ich nichts gesehen.
Zitat von: Raemsna am 29 August 2017, 18:46:05Moin,
Bei mir ähnliches Setup mit Raspbian wheezy.Code AuswählenPRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Hier irgendwo im Thread habe ich noch gelesen, dass es bei einem größeren Netzwerk ebenfalls Probleme geben könnte.
Vielleicht liegt da irgendwo der Hund begraben...
Mein Gateway läuft über WLAN, der Raspi mit FHEM hängt über LAN am zentralen Router...
Zitat von: Raemsna am 29 August 2017, 20:55:33[emoji2] [emoji2] Also doch Firewall [emoji54]
Guten Abend zusammen,
ich habs jetzt hinbekommen.
Da der Gateway am WLAN Netz eines WLAN AccessPoints und nicht direkt am zentralen Router hängt, habe ich im AccessPoint (Software DD-WRT) in den Einstellungen "Filter Multicast" disabled. Das war der Brustlöser
Fazit:
Auch unter Raspbian wheezy läuft das Modul soweit.
2017-08-30_15:13:32 wzBewegung motion
2017-08-30_15:30:52 bdBewegung motion
2017-08-30_15:32:12 kuBewegung motion
2017-08-30_16:08:35 wzBewegung motion
2017-08-30_16:25:53 bdBewegung motion
2017-08-30_16:27:13 kuBewegung motion
2017-08-30_17:03:39 wzBewegung motion
2017-08-30_17:20:56 bdBewegung motion
2017-08-30_17:22:14 kuBewegung motion
2017-08-30_17:58:43 wzBewegung motion
2017-08-30_18:15:58 bdBewegung motion
2017.08.30 15:13:27 4: xGateway: Reading> Heartbeat from 192.168.0.88 received with 34ce00889745
2017.08.30 15:13:32 5: xGateway: Read> Read start
2017.08.30 15:13:32 5: xGateway: Read> {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001d6ad23","short_id":46391,"data":"{\"lux\":\"0\"}"}
2017.08.30 15:13:32 5: xGateway: Read> Dispatch {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001d6ad23","short_id":46391,"data":"{\"lux\":\"0\"}"}
2017.08.30 15:13:32 5: xGateway: dispatch {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001d6ad23","short_id":46391,"data":"{\\"lux\\":\\"0\\"}"}
2017.08.30 15:13:32 4: xGateway: DEV_Parse> IS DEFINED sensor_motion.aq2 : 158d0001d6ad23
2017.08.30 15:13:32 5: xGateway: DEV_Read> SID: 158d0001d6ad23 XiaomiSmartHome_Device
2017.08.30 15:13:32 3: xGateway: DEV_Read> Name: wzBewegung SID: 158d0001d6ad23 Type: sensor_motion.aq2 Illuminance: 0
2017.08.30 15:13:32 5: xGateway: Read> Read start
2017.08.30 15:13:32 5: xGateway: Read> {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d0001d6ad23","short_id":46391,"data":"{\"voltage\":3015,\"status\":\"motion\"}"}
2017.08.30 15:13:32 5: xGateway: Read> Dispatch {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d0001d6ad23","short_id":46391,"data":"{\"voltage\":3015,\"status\":\"motion\"}"}
2017.08.30 15:13:32 5: xGateway: dispatch {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d0001d6ad23","short_id":46391,"data":"{\\"voltage\\":3015,\\"status\\":\\"motion\\"}"}
2017.08.30 15:13:32 4: xGateway: DEV_Parse> IS DEFINED sensor_motion.aq2 : 158d0001d6ad23
2017.08.30 15:13:32 5: xGateway: DEV_Read> SID: 158d0001d6ad23 XiaomiSmartHome_Device
2017.08.30 15:13:32 3: xGateway: DEV_Read> Name: wzBewegung SID: 158d0001d6ad23 Type: sensor_motion.aq2 Status: motion
2017.08.30 15:13:32 3: xGateway: DEV_Read> Name: wzBewegung SID: 158d0001d6ad23 Type: sensor_motion.aq2 Voltage: 3015
2017.08.30 15:30:48 5: xGateway: Read> {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001d6e046","short_id":40883,"data":"{\"lux\":\"27\"}"}
2017.08.30 15:30:48 5: xGateway: Read> Dispatch {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001d6e046","short_id":40883,"data":"{\"lux\":\"27\"}"}
2017.08.30 15:30:48 5: xGateway: dispatch {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001d6e046","short_id":40883,"data":"{\\"lux\\":\\"27\\"}"}
2017.08.30 15:30:48 4: xGateway: DEV_Parse> IS DEFINED sensor_motion.aq2 : 158d0001d6e046
2017.08.30 15:30:48 5: xGateway: DEV_Read> SID: 158d0001d6e046 XiaomiSmartHome_Device
2017.08.30 15:30:48 3: xGateway: DEV_Read> Name: flBewegung SID: 158d0001d6e046 Type: sensor_motion.aq2 Illuminance: 27
2017.08.30 15:30:48 5: xGateway: Read> Read start
2017.08.30 15:30:48 5: xGateway: Read> {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d0001d6e046","short_id":40883,"data":"{\"voltage\":3055,\"status\":\"no_motion\",\"lux\":\"27\"}"}
2017.08.30 15:30:48 5: xGateway: Read> Dispatch {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d0001d6e046","short_id":40883,"data":"{\"voltage\":3055,\"status\":\"no_motion\",\"lux\":\"27\"}"}
2017.08.30 15:30:48 5: xGateway: dispatch {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d0001d6e046","short_id":40883,"data":"{\\"voltage\\":3055,\\"status\\":\\"no_motion\\",\\"lux\\":\\"27\\"}"}
2017.08.30 15:30:48 4: xGateway: DEV_Parse> IS DEFINED sensor_motion.aq2 : 158d0001d6e046
2017.08.30 15:30:48 5: xGateway: DEV_Read> SID: 158d0001d6e046 XiaomiSmartHome_Device
2017.08.30 15:30:48 3: xGateway: DEV_Read> Name: flBewegung SID: 158d0001d6e046 Type: sensor_motion.aq2 Status: no_motion
2017.08.30 15:30:48 3: xGateway: DEV_Read> Name: flBewegung SID: 158d0001d6e046 Type: sensor_motion.aq2 Voltage: 3055
2017.08.30 15:30:48 3: xGateway: DEV_Read> Name: flBewegung SID: 158d0001d6e046 Type: sensor_motion.aq2 Illuminance: 27
2017.08.30 15:30:52 5: xGateway: Read> Read start
2017.08.30 15:30:52 5: xGateway: Read> {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001d5da79","short_id":46479,"data":"{\"lux\":\"235\"}"}
2017.08.30 15:30:52 5: xGateway: Read> Dispatch {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001d5da79","short_id":46479,"data":"{\"lux\":\"235\"}"}
2017.08.30 15:30:52 5: xGateway: dispatch {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001d5da79","short_id":46479,"data":"{\\"lux\\":\\"235\\"}"}
2017.08.30 15:30:52 4: xGateway: DEV_Parse> IS DEFINED sensor_motion.aq2 : 158d0001d5da79
2017.08.30 15:30:52 5: xGateway: DEV_Read> SID: 158d0001d5da79 XiaomiSmartHome_Device
2017.08.30 15:30:52 3: xGateway: DEV_Read> Name: bdBewegung SID: 158d0001d5da79 Type: sensor_motion.aq2 Illuminance: 235
Zitat von: moppy am 31 August 2017, 20:36:56Hi Moppy,
Erst einmal: vielen Dank für das Modul, funktioniert 1A
Ich habe die Aqara Fensterkontakt Sensoren und Aqara Bewegungsmelder im Einsatz. Kann es sein dass mit dem neuesten Firmwareupdate das Intervall der Motion Sensoren angehoben wurde? Habe gelesen dass alle 5-10 Sekunden eine neue Bewegung erkannt werden kann, bei mir ist es eher alle 60 Sekunden, manchmal mehr.
In der Mi Home App unter "Settings" --> "Firmware Update" wird mir "No updates available" angezeigt.
Zitat von: torte am 01 September 2017, 12:21:06
Hi Abercrombie,
wenn Du mir sagst welches MODEL. Steht im Device Internals.
Kann Di APP ein Longclick?
Gruss
Torte
Zitat von: Eckbert0815 am 01 September 2017, 22:41:01Hi Eckbert,
Also meine Taster können weder doppel noch langzeitclick! Und seit dem letzten Update von Xiaomi erkennt das Gateaway nur noch einen Taster von dem Doppeltaster, sieht man im Log in der Mii App! Aber wenn man die nicht funktionierende Seite lage oder oft drückt, dann fängt es an irgendwas zu reden!
Zitat von: Eckbert0815 am 01 September 2017, 22:41:01
Also meine Taster können weder doppel noch langzeitclick! Und seit dem letzten Update von Xiaomi erkennt das Gateaway nur noch einen Taster von dem Doppeltaster, sieht man im Log in der Mii App! Aber wenn man die nicht funktionierende Seite lage oder oft drückt, dann fängt es an irgendwas zu reden!
Ich habe den selben wie auf dem Bild!
attr DEVICENAME userReadings batterystate {return "low" if (ReadingsVal("DEVICENAME","battery","0") < "2.2"); return "ok" }
attr DEVICENAME homebridgeMapping clear ContactSensorState=state,values=close:CONTACT_DETECTED;/open/:CONTACT_NOT_DETECTED StatusLowBattery=batterystate,values=ok:BATTERY_LEVEL_NORMAL;low:BATTERY_LEVEL_LOW
get DEINGATEWAY UpdateAll
nternals:
DEF 158d00015f1d47 motion xiaomi_gateway
IODev xiaomi_gateway
LASTInputDev xiaomi_gateway
MODEL motion
MSGCNT 198
NAME oben_bewegung
NR 108
SID 158d00015f1d47
STATE off
TYPE XiaomiSmartHome_Device
VERSION 1.08
xiaomi_gateway_MSGCNT 198
xiaomi_gateway_TIME 2017-09-15 13:27:32
READINGS:
2017-09-15 13:27:32 _state off
2017-09-15 12:53:07 battery 3.045
2017-09-15 12:53:07 heartbeat 158d00015f1d47
2017-08-16 00:59:19 motionOffTimer 5
2017-09-15 13:27:32 no_motion 180
2017-09-15 13:24:37 state off
Attributes:
IODev xiaomi_gateway
devStateIcon motion:motion_detector@red off:motion_detector@green no_motion:motion_detector@green
event-on-change-reading .*
room MiSmartHome
timestamp-on-change-reading state
userReadings _state:.* {ReadingsVal('oben_bewegung','state','')}
Zitat von: neumann am 16 September 2017, 14:04:36
Hallo,
ich habe folgenden Schalter gekauft: https://www.gearbest.com/alarm-systems/pp_610095.html (https://www.gearbest.com/alarm-systems/pp_610095.html)
Leider wird in FHEM nur der rechte Klick erkannt (das Gateway sendet auch nur dann ein Paket) - die linke Seite wird nur in der App erkannt.
Muss ich auf ein Firmware Update des Gateways hoffen?
LG
DEF
([20:00-06:00] and [XMI_158d0001656a11:"motion"]) (set XiaomiGateway rgb ff0000) (set XiaomiGateway pct 50) (set XiaomiGateway off) DOELSEIF
([06:00-20:00] and [XMI_158d0001656a11:"motion"]) (set XiaomiGateway rgb ffffff) (set XiaomiGateway pct 100) (set XiaomiGateway off)
do always
wait 0,1,180:0,1,180
send: Invalid argument at ./FHEM/71_XiaomiSmartHome.pm line 484.
Zitat von: Morrino am 19 September 2017, 21:39:08Hi,
Hi,
ich habe bzw. hatte seit lnger Zeit das FHEM beim restart oft sich aufgehngen hat. Das hatte ich schon vor einigen Monaten https://forum.fhem.de/index.php/topic,73837.msg657291.html#msg657291 (https://forum.fhem.de/index.php/topic,73837.msg657291.html#msg657291) im hier im Forum versucht zu lösen leider ohne echten Erfolg.
Nun nachdem ich wieder mehr Zeit habe bin ich darauf gekommen das es irgendwie mit dem Xiaomi Modul zusammen hängt. Nachdem ich das deinstalliert hatte lief alles problemlos.
Jetzt wieder neu installiert und es hat sich nach dem update des Moduls sofort aufgehängt. Nach einem Reboot scheint aber jetzt erst einmal alles zu funktionieren. Aber die Fehlermeldung war/ist immer die selbe.Code Auswählen
send: Invalid argument at ./FHEM/71_XiaomiSmartHome.pm line 484.
Kurz danach hört das Log auf. Es kommen noch ein paar Einträge aber die sind meist unterschiedlich.
Eine Idee woran es liegen könnte?
Gruß
Zitat von: torte am 19 September 2017, 12:33:14
Und was sagt dein FHEM Log? Bitte am GatewayDevice Verbose auf 5 stellen und dann mal posten was im Log steht.
Grüße
Torte
2017.09.19 23:45:53 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:45:53 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:45:53 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:45:53 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"Gtf8n7qkLXk1XaLx","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:45:53 5: XiaomiGateway: Read> Read start
2017.09.19 23:45:33 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:45:33 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:45:33 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:45:33 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"TLnC2EUw7rcngNNy","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:45:33 5: XiaomiGateway: Read> Read start
2017.09.19 23:45:13 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:45:13 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:45:13 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:45:13 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"Q53TXkloPSH7xQQZ","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:45:13 5: XiaomiGateway: Read> Read start
2017.09.19 23:44:23 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:44:23 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:44:23 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:44:23 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"WjldMEGu8MqQawQj","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:44:23 5: XiaomiGateway: Read> Read start
2017.09.19 23:43:33 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:43:33 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:43:33 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:43:33 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"KvZCHTNFCCY65Kcc","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:43:33 5: XiaomiGateway: Read> Read start
2017.09.19 23:43:03 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:43:03 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:43:03 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:43:03 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"pApXViDV0JZWs9hL","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:43:03 5: XiaomiGateway: Read> Read start
2017.09.19 23:42:23 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:42:23 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:42:23 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:42:23 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"HzMC8Vj7vVUp8ooL","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:42:23 5: XiaomiGateway: Read> Read start
2017.09.19 23:42:13 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:42:13 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:42:13 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:42:13 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"qfbnVGRyl71eop8l","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:42:13 5: XiaomiGateway: Read> Read start
2017.09.19 23:41:33 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:41:33 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:41:33 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:41:33 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"Om09HgHQHLhZLqp4","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:41:33 5: XiaomiGateway: Read> Read start
2017.09.19 23:41:33 3: XiaomiGateway: DEV_Read> Name: XMI_158d0001656a11 SID: 158d0001656a11 Type: sensor_motion.aq2 Illuminance: 80
2017.09.19 23:41:33 3: XiaomiGateway: DEV_Read> Name: XMI_158d0001656a11 SID: 158d0001656a11 Type: sensor_motion.aq2 Voltage: 3045
2017.09.19 23:41:33 3: XiaomiGateway: DEV_Read> Name: XMI_158d0001656a11 SID: 158d0001656a11 Type: sensor_motion.aq2 Status: no_motion
2017.09.19 23:41:33 5: XiaomiGateway: DEV_Read> SID: 158d0001656a11 XiaomiSmartHome_Device
2017.09.19 23:41:33 4: XiaomiGateway: DEV_Parse> IS DEFINED sensor_motion.aq2 : 158d0001656a11
2017.09.19 23:41:33 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\\"voltage\\":3045,\\"status\\":\\"no_motion\\",\\"lux\\":\\"80\\"}"}
2017.09.19 23:41:33 5: XiaomiGateway: Read> Dispatch {"cmd":"read_ack","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\"voltage\":3045,\"status\":\"no_motion\",\"lux\":\"80\"}"}
2017.09.19 23:41:33 5: XiaomiGateway: Read> {"cmd":"read_ack","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\"voltage\":3045,\"status\":\"no_motion\",\"lux\":\"80\"}"}
2017.09.19 23:41:33 5: XiaomiGateway: Read> Read start
2017.09.19 23:41:33 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Pressure: 100.165
2017.09.19 23:41:33 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Humidity: 58.26
2017.09.19 23:41:33 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Temperature: 21.84
2017.09.19 23:41:33 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Voltage: 2985
2017.09.19 23:41:33 5: XiaomiGateway: DEV_Read> SID: 158d0001a36149 XiaomiSmartHome_Device
2017.09.19 23:41:33 4: XiaomiGateway: DEV_Parse> IS DEFINED weather.v1 : 158d0001a36149
2017.09.19 23:41:33 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\\"voltage\\":2985,\\"temperature\\":\\"2184\\",\\"humidity\\":\\"5826\\",\\"pressure\\":\\"100165\\"}"}
2017.09.19 23:41:33 5: XiaomiGateway: Read> Dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\"voltage\":2985,\"temperature\":\"2184\",\"humidity\":\"5826\",\"pressure\":\"100165\"}"}
2017.09.19 23:41:33 5: XiaomiGateway: Read> {"cmd":"read_ack","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\"voltage\":2985,\"temperature\":\"2184\",\"humidity\":\"5826\",\"pressure\":\"100165\"}"}
2017.09.19 23:41:33 5: XiaomiGateway: Read> Read start
2017.09.19 23:41:33 3: XiaomiGateway: DEV_Read> Name: BA.o.Hz_XiaomiSensor SID: 158d000171f2f0 Type: weather.v1 Pressure: 100.132
2017.09.19 23:41:33 3: XiaomiGateway: DEV_Read> Name: BA.o.Hz_XiaomiSensor SID: 158d000171f2f0 Type: weather.v1 Humidity: 54.73
2017.09.19 23:41:33 3: XiaomiGateway: DEV_Read> Name: BA.o.Hz_XiaomiSensor SID: 158d000171f2f0 Type: weather.v1 Temperature: 23.04
2017.09.19 23:41:33 3: XiaomiGateway: DEV_Read> Name: BA.o.Hz_XiaomiSensor SID: 158d000171f2f0 Type: weather.v1 Voltage: 3005
2017.09.19 23:41:33 5: XiaomiGateway: DEV_Read> SID: 158d000171f2f0 XiaomiSmartHome_Device
2017.09.19 23:41:33 4: XiaomiGateway: DEV_Parse> IS DEFINED weather.v1 : 158d000171f2f0
2017.09.19 23:41:33 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d000171f2f0","short_id":31604,"data":"{\\"voltage\\":3005,\\"temperature\\":\\"2304\\",\\"humidity\\":\\"5473\\",\\"pressure\\":\\"100132\\"}"}
2017.09.19 23:41:33 5: XiaomiGateway: Read> Dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d000171f2f0","short_id":31604,"data":"{\"voltage\":3005,\"temperature\":\"2304\",\"humidity\":\"5473\",\"pressure\":\"100132\"}"}
2017.09.19 23:41:33 5: XiaomiGateway: Read> {"cmd":"read_ack","model":"weather.v1","sid":"158d000171f2f0","short_id":31604,"data":"{\"voltage\":3005,\"temperature\":\"2304\",\"humidity\":\"5473\",\"pressure\":\"100132\"}"}
2017.09.19 23:41:33 5: XiaomiGateway: Read> Read start
2017.09.19 23:41:33 5: XiaomiGateway: Get> UpdateSingel Started
2017.09.19 23:41:33 5: XiaomiGateway: Write> End 192.168.1.113
2017.09.19 23:41:33 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d0001656a11"} 192.168.1.113
2017.09.19 23:41:33 4: XiaomiGateway: updateSingleReading> PushSingelRead:158d0001656a11
2017.09.19 23:41:33 5: XiaomiGateway: Get> UpdateSingel Started
2017.09.19 23:41:33 5: XiaomiGateway: Write> End 192.168.1.113
2017.09.19 23:41:33 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d0001a36149"} 192.168.1.113
2017.09.19 23:41:33 4: XiaomiGateway: updateSingleReading> PushSingelRead:158d0001a36149
2017.09.19 23:41:33 5: XiaomiGateway: Get> UpdateSingel Started
2017.09.19 23:41:33 5: XiaomiGateway: Write> End 192.168.1.113
2017.09.19 23:41:33 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d000171f2f0"} 192.168.1.113
2017.09.19 23:41:33 4: XiaomiGateway: updateSingleReading> PushSingelRead:158d000171f2f0
2017.09.19 23:41:23 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:41:23 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:41:23 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:41:23 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"mR0dnyji1QXG2KV9","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:41:23 5: XiaomiGateway: Read> Read start
2017.09.19 23:41:03 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:41:03 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:41:03 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:41:03 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"QWZrJ3KGB5UGNGzF","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:41:03 5: XiaomiGateway: Read> Read start
2017.09.19 23:39:24 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:39:24 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:39:24 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:39:24 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"k9HKIA78WrggEFpK","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:39:24 5: XiaomiGateway: Read> Read start
2017.09.19 23:38:54 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:38:54 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:38:54 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:38:54 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"6trf0NxcBlDBms3M","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:38:54 5: XiaomiGateway: Read> Read start
2017.09.19 23:38:53 3: XiaomiGateway: DEV_Read> Name: XMI_158d0001656a11 SID: 158d0001656a11 Type: sensor_motion.aq2 NO_motion: 120
2017.09.19 23:38:53 5: XiaomiGateway: DEV_Read> SID: 158d0001656a11 XiaomiSmartHome_Device
2017.09.19 23:38:53 4: XiaomiGateway: DEV_Parse> IS DEFINED sensor_motion.aq2 : 158d0001656a11
2017.09.19 23:38:53 5: XiaomiGateway: dispatch {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\\"no_motion\\":\\"120\\"}"}
2017.09.19 23:38:53 5: XiaomiGateway: Read> Dispatch {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\"no_motion\":\"120\"}"}
2017.09.19 23:38:53 5: XiaomiGateway: Read> {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\"no_motion\":\"120\"}"}
2017.09.19 23:38:53 5: XiaomiGateway: Read> Read start
2017.09.19 23:38:44 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:38:44 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:38:44 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:38:44 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"Ie2lMRqf9UIEQytU","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:38:44 5: XiaomiGateway: Read> Read start
2017.09.19 23:38:24 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:38:24 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:38:24 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:38:24 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"GAGkLAYaEamMyDn2","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:38:24 5: XiaomiGateway: Read> Read start
2017.09.19 23:37:45 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:37:45 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:37:45 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:37:45 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"AgXNTEuRaTf79ONe","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:37:45 5: XiaomiGateway: Read> Read start
2017.09.19 23:37:04 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:37:04 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:37:04 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:37:04 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"7Ii58DcmHlWNBmiu","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:37:04 5: XiaomiGateway: Read> Read start
2017.09.19 23:36:56 3: XiaomiGateway: Reading> SID: 34ce00909d70 Type: Gateway Illumination: 487
2017.09.19 23:36:56 3: XiaomiGateway: Reading> SID: 34ce00909d70 Type: Gateway RGB: 872350208
2017.09.19 23:36:56 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:36:56 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:36:56 5: XiaomiGateway: Read> {"cmd":"report","model":"gateway","sid":"34ce00909d70","short_id":0,"data":"{\"rgb\":872350208,\"illumination\":487}"}
2017.09.19 23:36:56 5: XiaomiGateway: Read> Read start
2017.09.19 23:36:56 3: XiaomiGateway: Reading> SID: 34ce00909d70 Type: Gateway Illumination: 397
2017.09.19 23:36:56 3: XiaomiGateway: Reading> SID: 34ce00909d70 Type: Gateway RGB: 872350208
2017.09.19 23:36:56 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:36:56 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:36:56 5: XiaomiGateway: Read> {"cmd":"report","model":"gateway","sid":"34ce00909d70","short_id":0,"data":"{\"rgb\":872350208,\"illumination\":397}"}
2017.09.19 23:36:56 5: XiaomiGateway: Read> Read start
2017.09.19 23:36:56 3: XiaomiGateway: DEV_Timeout> SID: 158d0001656a11 Type: sensor_motion.aq2 Status: off
2017.09.19 23:36:53 3: XiaomiGateway: DEV_Read> Name: XMI_158d0001656a11 SID: 158d0001656a11 Type: sensor_motion.aq2 Status: motion
2017.09.19 23:36:53 5: XiaomiGateway: DEV_Read> SID: 158d0001656a11 XiaomiSmartHome_Device
2017.09.19 23:36:53 4: XiaomiGateway: DEV_Parse> IS DEFINED sensor_motion.aq2 : 158d0001656a11
2017.09.19 23:36:53 5: XiaomiGateway: dispatch {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\\"status\\":\\"motion\\"}"}
2017.09.19 23:36:53 5: XiaomiGateway: Read> Dispatch {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\"status\":\"motion\"}"}
2017.09.19 23:36:53 5: XiaomiGateway: Read> {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\"status\":\"motion\"}"}
2017.09.19 23:36:53 5: XiaomiGateway: Read> Read start
2017.09.19 23:36:45 3: XiaomiGateway: DEV_Read> Name: XMI_158d0001656a11 SID: 158d0001656a11 Type: sensor_motion.aq2 NO_motion: 180
2017.09.19 23:36:45 5: XiaomiGateway: DEV_Read> SID: 158d0001656a11 XiaomiSmartHome_Device
2017.09.19 23:36:45 4: XiaomiGateway: DEV_Parse> IS DEFINED sensor_motion.aq2 : 158d0001656a11
2017.09.19 23:36:45 5: XiaomiGateway: dispatch {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\\"no_motion\\":\\"180\\"}"}
2017.09.19 23:36:45 5: XiaomiGateway: Read> Dispatch {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\"no_motion\":\"180\"}"}
2017.09.19 23:36:45 5: XiaomiGateway: Read> {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\"no_motion\":\"180\"}"}
2017.09.19 23:36:45 5: XiaomiGateway: Read> Read start
2017.09.19 23:36:33 3: XiaomiGateway: DEV_Read> Name: XMI_158d0001656a11 SID: 158d0001656a11 Type: sensor_motion.aq2 Voltage: 3045
2017.09.19 23:36:33 3: XiaomiGateway: DEV_Read> Name: XMI_158d0001656a11 SID: 158d0001656a11 Type: sensor_motion.aq2 Status: no_motion
2017.09.19 23:36:33 5: XiaomiGateway: DEV_Read> SID: 158d0001656a11 XiaomiSmartHome_Device
2017.09.19 23:36:33 4: XiaomiGateway: DEV_Parse> IS DEFINED sensor_motion.aq2 : 158d0001656a11
2017.09.19 23:36:33 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\\"voltage\\":3045,\\"status\\":\\"no_motion\\"}"}
2017.09.19 23:36:33 5: XiaomiGateway: Read> Dispatch {"cmd":"read_ack","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\"voltage\":3045,\"status\":\"no_motion\"}"}
2017.09.19 23:36:33 5: XiaomiGateway: Read> {"cmd":"read_ack","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\"voltage\":3045,\"status\":\"no_motion\"}"}
2017.09.19 23:36:33 5: XiaomiGateway: Read> Read start
2017.09.19 23:36:33 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Pressure: 100.165
2017.09.19 23:36:33 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Humidity: 58.26
2017.09.19 23:36:33 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Temperature: 21.84
2017.09.19 23:36:33 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Voltage: 2985
2017.09.19 23:36:33 5: XiaomiGateway: DEV_Read> SID: 158d0001a36149 XiaomiSmartHome_Device
2017.09.19 23:36:33 4: XiaomiGateway: DEV_Parse> IS DEFINED weather.v1 : 158d0001a36149
2017.09.19 23:36:33 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\\"voltage\\":2985,\\"temperature\\":\\"2184\\",\\"humidity\\":\\"5826\\",\\"pressure\\":\\"100165\\"}"}
2017.09.19 23:36:33 5: XiaomiGateway: Read> Dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\"voltage\":2985,\"temperature\":\"2184\",\"humidity\":\"5826\",\"pressure\":\"100165\"}"}
2017.09.19 23:36:33 5: XiaomiGateway: Read> {"cmd":"read_ack","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\"voltage\":2985,\"temperature\":\"2184\",\"humidity\":\"5826\",\"pressure\":\"100165\"}"}
2017.09.19 23:36:33 5: XiaomiGateway: Read> Read start
2017.09.19 23:36:33 3: XiaomiGateway: DEV_Read> Name: BA.o.Hz_XiaomiSensor SID: 158d000171f2f0 Type: weather.v1 Pressure: 100.132
2017.09.19 23:36:33 3: XiaomiGateway: DEV_Read> Name: BA.o.Hz_XiaomiSensor SID: 158d000171f2f0 Type: weather.v1 Humidity: 54.73
2017.09.19 23:36:33 3: XiaomiGateway: DEV_Read> Name: BA.o.Hz_XiaomiSensor SID: 158d000171f2f0 Type: weather.v1 Temperature: 23.04
2017.09.19 23:36:33 3: XiaomiGateway: DEV_Read> Name: BA.o.Hz_XiaomiSensor SID: 158d000171f2f0 Type: weather.v1 Voltage: 3005
2017.09.19 23:36:33 5: XiaomiGateway: DEV_Read> SID: 158d000171f2f0 XiaomiSmartHome_Device
2017.09.19 23:36:33 4: XiaomiGateway: DEV_Parse> IS DEFINED weather.v1 : 158d000171f2f0
2017.09.19 23:36:33 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d000171f2f0","short_id":31604,"data":"{\\"voltage\\":3005,\\"temperature\\":\\"2304\\",\\"humidity\\":\\"5473\\",\\"pressure\\":\\"100132\\"}"}
2017.09.19 23:36:33 5: XiaomiGateway: Read> Dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d000171f2f0","short_id":31604,"data":"{\"voltage\":3005,\"temperature\":\"2304\",\"humidity\":\"5473\",\"pressure\":\"100132\"}"}
2017.09.19 23:36:33 5: XiaomiGateway: Read> {"cmd":"read_ack","model":"weather.v1","sid":"158d000171f2f0","short_id":31604,"data":"{\"voltage\":3005,\"temperature\":\"2304\",\"humidity\":\"5473\",\"pressure\":\"100132\"}"}
2017.09.19 23:36:33 5: XiaomiGateway: Read> Read start
2017.09.19 23:36:33 5: XiaomiGateway: Get> UpdateSingel Started
2017.09.19 23:36:33 5: XiaomiGateway: Write> End 192.168.1.113
2017.09.19 23:36:33 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d0001656a11"} 192.168.1.113
2017.09.19 23:36:33 4: XiaomiGateway: updateSingleReading> PushSingelRead:158d0001656a11
2017.09.19 23:36:33 5: XiaomiGateway: Get> UpdateSingel Started
2017.09.19 23:36:33 5: XiaomiGateway: Write> End 192.168.1.113
2017.09.19 23:36:33 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d0001a36149"} 192.168.1.113
2017.09.19 23:36:33 4: XiaomiGateway: updateSingleReading> PushSingelRead:158d0001a36149
2017.09.19 23:36:33 5: XiaomiGateway: Get> UpdateSingel Started
2017.09.19 23:36:33 5: XiaomiGateway: Write> End 192.168.1.113
2017.09.19 23:36:33 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d000171f2f0"} 192.168.1.113
2017.09.19 23:36:33 4: XiaomiGateway: updateSingleReading> PushSingelRead:158d000171f2f0
2017.09.19 23:35:54 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:35:54 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:35:54 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:35:54 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"bwgJ9ovaqdgsEYyN","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:35:54 5: XiaomiGateway: Read> Read start
2017.09.19 23:35:44 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:35:44 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:35:44 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:35:44 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"IEoMrqluAqXfcBnN","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:35:44 5: XiaomiGateway: Read> Read start
2017.09.19 23:35:43 3: XiaomiGateway: Reading> SID: 34ce00909d70 Type: Gateway Illumination: 361
2017.09.19 23:35:43 3: XiaomiGateway: Reading> SID: 34ce00909d70 Type: Gateway RGB: 436142592
2017.09.19 23:35:43 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:35:43 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:35:43 5: XiaomiGateway: Read> {"cmd":"report","model":"gateway","sid":"34ce00909d70","short_id":0,"data":"{\"rgb\":436142592,\"illumination\":361}"}
2017.09.19 23:35:43 5: XiaomiGateway: Read> Read start
2017.09.19 23:35:31 3: XiaomiGateway: Reading> SID: 34ce00909d70 Type: Gateway Illumination: 361
2017.09.19 23:35:31 3: XiaomiGateway: Reading> SID: 34ce00909d70 Type: Gateway RGB: 872350208
2017.09.19 23:35:31 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:35:31 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:35:31 5: XiaomiGateway: Read> {"cmd":"report","model":"gateway","sid":"34ce00909d70","short_id":0,"data":"{\"rgb\":872350208,\"illumination\":361}"}
2017.09.19 23:35:31 5: XiaomiGateway: Read> Read start
2017.09.19 23:35:04 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:35:04 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:35:04 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:35:04 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"KsKKkfafKbL0G31O","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:35:04 5: XiaomiGateway: Read> Read start
2017.09.19 23:34:44 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:34:44 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:34:44 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:34:44 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"X7vBWNa7cKh8gugv","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:34:44 5: XiaomiGateway: Read> Read start
2017.09.19 23:33:44 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:33:44 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:33:44 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:33:44 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"ynC6z7elqDXZDuyA","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:33:44 5: XiaomiGateway: Read> Read start
2017.09.19 23:33:23 3: CUL_HM set SZ.o.vFensterkontakt postEvent closed
2017.09.19 23:33:23 3: CUL_HM set SZ.o.vFensterkontakt postEvent closed
2017.09.19 23:33:23 3: CUL_HM set SZ.o.vFensterkontakt postEvent closed
2017.09.19 23:33:23 3: CUL_HM set SZ.o.vFensterkontakt postEvent closed
2017.09.19 23:33:23 3: XiaomiGateway: DEV_Read> Name: SZ.o.Fenster SID: 158d0001a045ae Type: magnet Voltage: 2975
2017.09.19 23:33:23 3: XiaomiGateway: DEV_Read> Name: SZ.o.Fenster SID: 158d0001a045ae Type: magnet Status: close
2017.09.19 23:33:23 5: XiaomiGateway: DEV_Read> SID: 158d0001a045ae XiaomiSmartHome_Device
2017.09.19 23:33:23 4: XiaomiGateway: DEV_Parse> IS DEFINED magnet : 158d0001a045ae
2017.09.19 23:33:23 5: XiaomiGateway: dispatch {"cmd":"heartbeat","model":"magnet","sid":"158d0001a045ae","short_id":19765,"data":"{\\"voltage\\":2975,\\"status\\":\\"close\\"}"}
2017.09.19 23:33:23 5: XiaomiGateway: Read> Dispatch {"cmd":"heartbeat","model":"magnet","sid":"158d0001a045ae","short_id":19765,"data":"{\"voltage\":2975,\"status\":\"close\"}"}
2017.09.19 23:33:23 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"magnet","sid":"158d0001a045ae","short_id":19765,"data":"{\"voltage\":2975,\"status\":\"close\"}"}
2017.09.19 23:33:23 5: XiaomiGateway: Read> Read start
2017.09.19 23:33:04 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:33:04 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:33:04 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:33:04 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"Th8w4dEJeGIq68BP","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:33:04 5: XiaomiGateway: Read> Read start
2017.09.19 23:32:44 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:32:44 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:32:44 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:32:44 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"GZnuRWQKlpumzAav","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:32:44 5: XiaomiGateway: Read> Read start
2017.09.19 23:32:14 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:32:14 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:32:14 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:32:14 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"Z1bvRM7EJWh2LYZs","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:32:14 5: XiaomiGateway: Read> Read start
2017.09.19 23:32:04 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:32:04 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:32:04 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:32:04 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"OfsCnmrZ1BjOKQCI","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:32:04 5: XiaomiGateway: Read> Read start
2017.09.19 23:31:45 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:31:45 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:31:45 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:31:45 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"A8StCwKvBod3TqaO","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:31:45 5: XiaomiGateway: Read> Read start
2017.09.19 23:31:34 3: XiaomiGateway: DEV_Read> Name: XMI_158d0001656a11 SID: 158d0001656a11 Type: sensor_motion.aq2 Illuminance: 2
2017.09.19 23:31:34 3: XiaomiGateway: DEV_Read> Name: XMI_158d0001656a11 SID: 158d0001656a11 Type: sensor_motion.aq2 Voltage: 3045
2017.09.19 23:31:34 3: XiaomiGateway: DEV_Read> Name: XMI_158d0001656a11 SID: 158d0001656a11 Type: sensor_motion.aq2 Status: no_motion
2017.09.19 23:31:34 5: XiaomiGateway: DEV_Read> SID: 158d0001656a11 XiaomiSmartHome_Device
2017.09.19 23:31:34 4: XiaomiGateway: DEV_Parse> IS DEFINED sensor_motion.aq2 : 158d0001656a11
2017.09.19 23:31:34 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\\"voltage\\":3045,\\"status\\":\\"no_motion\\",\\"lux\\":\\"2\\"}"}
2017.09.19 23:31:34 5: XiaomiGateway: Read> Dispatch {"cmd":"read_ack","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\"voltage\":3045,\"status\":\"no_motion\",\"lux\":\"2\"}"}
2017.09.19 23:31:34 5: XiaomiGateway: Read> {"cmd":"read_ack","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\"voltage\":3045,\"status\":\"no_motion\",\"lux\":\"2\"}"}
2017.09.19 23:31:34 5: XiaomiGateway: Read> Read start
2017.09.19 23:31:34 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Pressure: 100.165
2017.09.19 23:31:34 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Humidity: 58.26
2017.09.19 23:31:34 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Temperature: 21.84
2017.09.19 23:31:34 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Voltage: 2985
2017.09.19 23:31:34 5: XiaomiGateway: DEV_Read> SID: 158d0001a36149 XiaomiSmartHome_Device
2017.09.19 23:31:34 4: XiaomiGateway: DEV_Parse> IS DEFINED weather.v1 : 158d0001a36149
2017.09.19 23:31:34 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\\"voltage\\":2985,\\"temperature\\":\\"2184\\",\\"humidity\\":\\"5826\\",\\"pressure\\":\\"100165\\"}"}
2017.09.19 23:31:34 5: XiaomiGateway: Read> Dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\"voltage\":2985,\"temperature\":\"2184\",\"humidity\":\"5826\",\"pressure\":\"100165\"}"}
2017.09.19 23:31:34 5: XiaomiGateway: Read> {"cmd":"read_ack","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\"voltage\":2985,\"temperature\":\"2184\",\"humidity\":\"5826\",\"pressure\":\"100165\"}"}
2017.09.19 23:31:34 5: XiaomiGateway: Read> Read start
2017.09.19 23:31:34 3: XiaomiGateway: DEV_Read> Name: BA.o.Hz_XiaomiSensor SID: 158d000171f2f0 Type: weather.v1 Pressure: 100.132
2017.09.19 23:31:34 3: XiaomiGateway: DEV_Read> Name: BA.o.Hz_XiaomiSensor SID: 158d000171f2f0 Type: weather.v1 Humidity: 54.73
2017.09.19 23:31:34 3: XiaomiGateway: DEV_Read> Name: BA.o.Hz_XiaomiSensor SID: 158d000171f2f0 Type: weather.v1 Temperature: 23.04
2017.09.19 23:31:34 3: XiaomiGateway: DEV_Read> Name: BA.o.Hz_XiaomiSensor SID: 158d000171f2f0 Type: weather.v1 Voltage: 3005
2017.09.19 23:31:34 5: XiaomiGateway: DEV_Read> SID: 158d000171f2f0 XiaomiSmartHome_Device
2017.09.19 23:31:34 4: XiaomiGateway: DEV_Parse> IS DEFINED weather.v1 : 158d000171f2f0
2017.09.19 23:31:34 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d000171f2f0","short_id":31604,"data":"{\\"voltage\\":3005,\\"temperature\\":\\"2304\\",\\"humidity\\":\\"5473\\",\\"pressure\\":\\"100132\\"}"}
2017.09.19 23:31:34 5: XiaomiGateway: Read> Dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d000171f2f0","short_id":31604,"data":"{\"voltage\":3005,\"temperature\":\"2304\",\"humidity\":\"5473\",\"pressure\":\"100132\"}"}
2017.09.19 23:31:34 5: XiaomiGateway: Read> {"cmd":"read_ack","model":"weather.v1","sid":"158d000171f2f0","short_id":31604,"data":"{\"voltage\":3005,\"temperature\":\"2304\",\"humidity\":\"5473\",\"pressure\":\"100132\"}"}
2017.09.19 23:31:34 5: XiaomiGateway: Read> Read start
2017.09.19 23:31:34 5: XiaomiGateway: Get> UpdateSingel Started
2017.09.19 23:31:34 5: XiaomiGateway: Write> End 192.168.1.113
2017.09.19 23:31:34 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d0001656a11"} 192.168.1.113
2017.09.19 23:31:34 4: XiaomiGateway: updateSingleReading> PushSingelRead:158d0001656a11
2017.09.19 23:31:34 5: XiaomiGateway: Get> UpdateSingel Started
2017.09.19 23:31:34 5: XiaomiGateway: Write> End 192.168.1.113
2017.09.19 23:31:34 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d0001a36149"} 192.168.1.113
2017.09.19 23:31:34 4: XiaomiGateway: updateSingleReading> PushSingelRead:158d0001a36149
2017.09.19 23:31:34 5: XiaomiGateway: Get> UpdateSingel Started
2017.09.19 23:31:34 5: XiaomiGateway: Write> End 192.168.1.113
2017.09.19 23:31:34 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d000171f2f0"} 192.168.1.113
2017.09.19 23:31:33 4: XiaomiGateway: updateSingleReading> PushSingelRead:158d000171f2f0
2017.09.19 23:31:29 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Pressure: 100.165
2017.09.19 23:31:29 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Humidity: 58.26
2017.09.19 23:31:29 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Temperature: 21.84
2017.09.19 23:31:29 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Voltage: 2985
2017.09.19 23:31:29 5: XiaomiGateway: DEV_Read> SID: 158d0001a36149 XiaomiSmartHome_Device
2017.09.19 23:31:29 4: XiaomiGateway: DEV_Parse> IS DEFINED weather.v1 : 158d0001a36149
2017.09.19 23:31:29 5: XiaomiGateway: dispatch {"cmd":"heartbeat","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\\"voltage\\":2985,\\"temperature\\":\\"2184\\",\\"humidity\\":\\"5826\\",\\"pressure\\":\\"100165\\"}"}
2017.09.19 23:31:29 5: XiaomiGateway: Read> Dispatch {"cmd":"heartbeat","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\"voltage\":2985,\"temperature\":\"2184\",\"humidity\":\"5826\",\"pressure\":\"100165\"}"}
2017.09.19 23:31:29 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\"voltage\":2985,\"temperature\":\"2184\",\"humidity\":\"5826\",\"pressure\":\"100165\"}"}
2017.09.19 23:31:29 5: XiaomiGateway: Read> Read start
2017.09.19 23:31:29 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Pressure: 100.165
2017.09.19 23:31:29 5: XiaomiGateway: DEV_Read> SID: 158d0001a36149 XiaomiSmartHome_Device
2017.09.19 23:31:29 4: XiaomiGateway: DEV_Parse> IS DEFINED weather.v1 : 158d0001a36149
2017.09.19 23:31:29 5: XiaomiGateway: dispatch {"cmd":"report","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\\"pressure\\":\\"100165\\"}"}
2017.09.19 23:31:29 5: XiaomiGateway: Read> Dispatch {"cmd":"report","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\"pressure\":\"100165\"}"}
2017.09.19 23:31:29 5: XiaomiGateway: Read> {"cmd":"report","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\"pressure\":\"100165\"}"}
2017.09.19 23:31:29 5: XiaomiGateway: Read> Read start
2017.09.19 23:31:29 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Humidity: 58.26
2017.09.19 23:31:29 5: XiaomiGateway: DEV_Read> SID: 158d0001a36149 XiaomiSmartHome_Device
2017.09.19 23:31:29 4: XiaomiGateway: DEV_Parse> IS DEFINED weather.v1 : 158d0001a36149
2017.09.19 23:31:29 5: XiaomiGateway: dispatch {"cmd":"report","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\\"humidity\\":\\"5826\\"}"}
2017.09.19 23:31:29 5: XiaomiGateway: Read> Dispatch {"cmd":"report","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\"humidity\":\"5826\"}"}
2017.09.19 23:31:29 5: XiaomiGateway: Read> {"cmd":"report","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\"humidity\":\"5826\"}"}
2017.09.19 23:31:29 5: XiaomiGateway: Read> Read start
2017.09.19 23:31:29 3: XiaomiGateway: DEV_Read> Name: BA.u.Hz_XiaomiSensor SID: 158d0001a36149 Type: weather.v1 Temperature: 21.84
2017.09.19 23:31:29 5: XiaomiGateway: DEV_Read> SID: 158d0001a36149 XiaomiSmartHome_Device
2017.09.19 23:31:29 4: XiaomiGateway: DEV_Parse> IS DEFINED weather.v1 : 158d0001a36149
2017.09.19 23:31:29 5: XiaomiGateway: dispatch {"cmd":"report","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\\"temperature\\":\\"2184\\"}"}
2017.09.19 23:31:29 5: XiaomiGateway: Read> Dispatch {"cmd":"report","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\"temperature\":\"2184\"}"}
2017.09.19 23:31:29 5: XiaomiGateway: Read> {"cmd":"report","model":"weather.v1","sid":"158d0001a36149","short_id":6870,"data":"{\"temperature\":\"2184\"}"}
2017.09.19 23:31:29 5: XiaomiGateway: Read> Read start
2017.09.19 23:30:15 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:30:15 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:30:15 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:30:15 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"HmZ4aj5VnzZnryXY","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:30:15 5: XiaomiGateway: Read> Read start
2017.09.19 23:29:45 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:29:45 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:29:45 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:29:45 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"TujbWr5kWk8vbwWw","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:29:45 5: XiaomiGateway: Read> Read start
2017.09.19 23:29:25 4: XiaomiGateway: Reading> Heartbeat from 192.168.1.113 received with 34ce00909d70
2017.09.19 23:29:25 5: XiaomiGateway: Reading> Reading start
2017.09.19 23:29:25 5: XiaomiGateway: Read> HASH correctly
2017.09.19 23:29:25 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00909d70","short_id":"0","token":"HMxRnCAjjrZXthL5","data":"{\"ip\":\"192.168.1.113\"}"}
2017.09.19 23:29:25 5: XiaomiGateway: Read> Read start
2017.09.19 23:36:53 3: XiaomiGateway: DEV_Read> Name: XMI_158d0001656a11 SID: 158d0001656a11 Type: sensor_motion.aq2 Status: motion
2017.09.19 23:41:33 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\\"voltage\\":3045,\\"status\\":\\"no_motion\\",\\"lux\\":\\"80\\"}"}
2017.09.19 23:38:53 5: XiaomiGateway: dispatch {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001656a11","short_id":30825,"data":"{\\"no_motion\\":\\"120\\"}"}
Zitat von: Eckbert0815 am 19 September 2017, 16:53:19Hey Eckbert,
Mit dem neuen Firmware Update gehen wieder beide Tasten an einem 2Fach Taster!
Endlich
Zitat von: torte am 19 September 2017, 22:28:43
Hi,
wie sieht das define aus ?
Gruß
Torte
Gesendet mit Tapatalk
define <DEINNAMEWIEDUWILLST> XiaomiSmartHome <IP_DES_MI_GATEWAYS>
Zitat von: Morrino am 20 September 2017, 20:40:52
Hi,
wie in Wiki angegeben:Code Auswählendefine <DEINNAMEWIEDUWILLST> XiaomiSmartHome <IP_DES_MI_GATEWAYS>
Grüße
send: Invalid argument at ./FHEM/71_XiaomiSmartHome.pm line 484
Zitat von: Morrino am 21 September 2017, 21:28:30Nabend,
Abend,
heute ein neuer Fehler:Code Auswählensend: Invalid argument at ./FHEM/71_XiaomiSmartHome.pm line 277.
Wieder startet danach FHEM nicht mehr weiter... :(
Grüße
Zitat von: torte am 21 September 2017, 21:35:54
Nabend,
sorry meine Glaskugel ist kaputt[emoji12] . Wenn ich schreibe wie ist das define hätte ich gerne dein define so wie es bei dir gesetzt ist. Dann wäre auch immer noch hilfreich ein Log mit Verbose 5. Außerdem muss ich wissen wann der Fehler passiert beim schalten von Licht oder oder oder.
So wie es aussieht bist du der einzige der dieses Problem hat.
Hast du eine Firewall, ist das Gateway und Fhem im selben Netz.
Gruß
Torte
Gesendet mit Tapatalk
define Xiaomi_Gateway XiaomiSmartHome 192.168.178.46
2017.09.21 22:05:06 3: Opening Mosquitto device 192.168.178.50:1883
2017.09.21 22:05:06 3: Mosquitto device opened
2017.09.21 22:05:06 3: WZ.Harmony: connected
2017.09.21 22:05:07 3: WZ.WifiLight low level cmd queue send ERROR 3100000000000f40, qlen 1 (reconnect giving up)
2017.09.21 22:05:07 5: Xiaomi_Gateway: Notify> NotifyStart
2017.09.21 22:05:07 5: Xiaomi_Gateway: Notify> Starting Connect after global
2017.09.21 22:05:07 1: usb create starting
2017.09.21 22:05:08 3: Probing CUL device /dev/ttyAMA0
2017.09.21 22:05:08 3: Probing TCM_ESP3 device /dev/ttyAMA0
2017.09.21 22:05:08 3: Probing ZWDongle device /dev/ttyAMA0
2017.09.21 22:05:08 3: Probing FRM device /dev/ttyAMA0
2017.09.21 22:05:13 1: usb create end
2017.09.21 22:05:13 3: roku: ssdp responder started
2017.09.21 22:05:14 3: roku: listener started
2017.09.21 22:05:14 2: SecurityCheck: WEBtablet has no associated allowed device with basicAuth. telnetForBlockingFn has no associated allowed device with password/globalpassword. Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2017.09.21 22:05:14 0: Featurelevel: 5.8
2017.09.21 22:05:14 0: Server started with 310 defined entities (fhem.pl:15091/2017-09-18 perl:5.020002 os:linux user:fhem pid:3302)
2017.09.21 22:05:15 3: DbRep DbRep - connected
2017.09.21 22:05:17 1: PERL WARNING: Can't exec "hddtemp": No such file or directory at (eval 487) line 1.
2017.09.21 22:05:17 1: PERL WARNING: Argument "cat: /sys/class/power_supply/ac/voltage_now: No such fil..." isn't numeric in division (/) at (eval 488) line 1.
2017.09.21 22:05:17 1: PERL WARNING: Argument "cat: /sys/class/power_supply/ac/current_now: No such fil..." isn't numeric in division (/) at (eval 489) line 1.
2017.09.21 22:05:17 5: Xiaomi_Gateway: connect> ConnectStart
2017.09.21 22:05:17 4: Xiaomi_Gateway: connecting
[u][b]send: Invalid argument at ./FHEM/71_XiaomiSmartHome.pm line 277.[/b][/u]
2017.09.21 22:05:17 3: UWZ Wetter_UWZ: Run.1000 Done fetching data
2017.09.21 22:05:17 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:17 1: BlockingInformParent (UWZ_Done): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:17 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:17 1: BlockingInformParent (FRITZBOX_Readout_Done): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:23 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:23 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
heartbeat
f0b429cfbb0f
2017-09-21 22:03:32
password
giveaPassword!
2017-09-21 22:02:07
pct
100
2017-09-21 22:02:02
ringtone
21
2017-09-21 22:02:02
state
Connected
2017-09-21 22:02:07
token
XXXXXXXXXXXXXXXXX
2017-09-21 22:03:32
volume
10
2017-09-21 22:02:02
2017.09.21 22:00:00 1: BlockingInformParent (BlockingStart): Can't connect to localhost:44017: IO::Socket::INET: connect: Connection refused
Zitat von: Morrino am 21 September 2017, 22:06:40Hi,
Hi,
sorry für die wenigen Infos:
Mein define sieht folgendermaßen aus:Code Auswählendefine Xiaomi_Gateway XiaomiSmartHome 192.168.178.46
Der Fehler passiert nicht immer aber oft. Einmal auch nachdem ich das Modul neu aufgesetzt habe und ein update des Moduls durchgeführt habe.
Ansonsten hängt es (fast) immer bei jedem Neustart, wenn einmal doch FHEM komplett startet funktioniert alles tadellos, auch das Xiaomi Modul.
Anbei ein Verbose 5 log, wobei hier sich nichts unterscheidet zum Log ohne Verbose. FHEm startet ja nicht korrekt:Code Auswählen2017.09.21 22:05:06 3: Opening Mosquitto device 192.168.178.50:1883
2017.09.21 22:05:06 3: Mosquitto device opened
2017.09.21 22:05:06 3: WZ.Harmony: connected
2017.09.21 22:05:07 3: WZ.WifiLight low level cmd queue send ERROR 3100000000000f40, qlen 1 (reconnect giving up)
2017.09.21 22:05:07 5: Xiaomi_Gateway: Notify> NotifyStart
2017.09.21 22:05:07 5: Xiaomi_Gateway: Notify> Starting Connect after global
2017.09.21 22:05:07 1: usb create starting
2017.09.21 22:05:08 3: Probing CUL device /dev/ttyAMA0
2017.09.21 22:05:08 3: Probing TCM_ESP3 device /dev/ttyAMA0
2017.09.21 22:05:08 3: Probing ZWDongle device /dev/ttyAMA0
2017.09.21 22:05:08 3: Probing FRM device /dev/ttyAMA0
2017.09.21 22:05:13 1: usb create end
2017.09.21 22:05:13 3: roku: ssdp responder started
2017.09.21 22:05:14 3: roku: listener started
2017.09.21 22:05:14 2: SecurityCheck: WEBtablet has no associated allowed device with basicAuth. telnetForBlockingFn has no associated allowed device with password/globalpassword. Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2017.09.21 22:05:14 0: Featurelevel: 5.8
2017.09.21 22:05:14 0: Server started with 310 defined entities (fhem.pl:15091/2017-09-18 perl:5.020002 os:linux user:fhem pid:3302)
2017.09.21 22:05:15 3: DbRep DbRep - connected
2017.09.21 22:05:17 1: PERL WARNING: Can't exec "hddtemp": No such file or directory at (eval 487) line 1.
2017.09.21 22:05:17 1: PERL WARNING: Argument "cat: /sys/class/power_supply/ac/voltage_now: No such fil..." isn't numeric in division (/) at (eval 488) line 1.
2017.09.21 22:05:17 1: PERL WARNING: Argument "cat: /sys/class/power_supply/ac/current_now: No such fil..." isn't numeric in division (/) at (eval 489) line 1.
2017.09.21 22:05:17 5: Xiaomi_Gateway: connect> ConnectStart
2017.09.21 22:05:17 4: Xiaomi_Gateway: connecting
[u][b]send: Invalid argument at ./FHEM/71_XiaomiSmartHome.pm line 277.[/b][/u]
2017.09.21 22:05:17 3: UWZ Wetter_UWZ: Run.1000 Done fetching data
2017.09.21 22:05:17 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:17 1: BlockingInformParent (UWZ_Done): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:17 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:17 1: BlockingInformParent (FRITZBOX_Readout_Done): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:20 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:23 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
2017.09.21 22:05:23 1: BlockingInformParent (PRESENCE_ProcessLocalScan): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
Anbei die Readings:Code Auswählenheartbeat
f0b429cfbb0f
2017-09-21 22:03:32
password
giveaPassword!
2017-09-21 22:02:07
pct
100
2017-09-21 22:02:02
ringtone
21
2017-09-21 22:02:02
state
Connected
2017-09-21 22:02:07
token
XXXXXXXXXXXXXXXXX
2017-09-21 22:03:32
volume
10
2017-09-21 22:02:02
Entferne ich das Modul wieder funktioniert alles normal. Auch die Fehlermeldungen wieCode Auswählen2017.09.21 22:00:00 1: BlockingInformParent (BlockingStart): Can't connect to localhost:44017: IO::Socket::INET: connect: Connection refused
kommen dann beim starten von FHEM nicht mehr.
Gateway und FHEM sind im selben Netz. Firewall glaube ich nicht zu haben :-[ :-[
Danke für deine Unterstützung.
Grüße
Zitat von: Morrino am 21 September 2017, 22:06:40
send: Invalid argument at ./FHEM/71_XiaomiSmartHome.pm line 277.
2017.09.21 22:05:17 3: UWZ Wetter_UWZ: Run.1000 Done fetching data
2017.09.21 22:05:17 1: BlockingInformParent (BlockingStart): Can't connect to localhost:39275: IO::Socket::INET: connect: Connection refused
Xiaomi_Gateway: connecting
Zitat von: ofno am 21 September 2017, 22:58:43
wurden alle benötigten module vollständig ohne Fehler installiert?
JSON
MULTICAST
CBC (for AES encryption)
Crypt::Cipher::AES (for AES encryption)
root@fhemdev:~# apt-get install libio-socket-multicast-perl
root@fhemdev:~# apt-get install libjson-perl
root@fhemdev:~# apt-get install libcrypt-cbc-perl
root@fhemdev:~# cpan Crypt::Cipher::AES
Auf welchem System läuft fhem?
sudo apt-get autoremove && sudo apt-get update && sudo apt-get upgrade
Zitat von: tterrafan am 24 September 2017, 00:44:38
Wird möglicherweise nicht die Lösung sein, aber einige (ältere Pakete) sind noch auf deinem Pi. Möglicherweise überschneiden die sich mit neueren, anderen Paketen.
Daher bitte auch malCode Auswählensudo apt-get autoremove && sudo apt-get update && sudo apt-get upgrade
durchführen und dann Fhem neustarten.
Vllt ist der Fehler dann behoben.
LG Timo
W: Failed to fetch https://debian.fhem.de/stable/./Packages HttpError403
E: Some index files failed to download. They have been ignored, or old ones used instead.
2017.09.24 09:22:21 5: IP: api.telegram.org -> 149.154.167.200
2017.09.24 09:22:21 5: TelegramBot_UpdatePoll TelegramBot: - Ende > next polling started
2017.09.24 09:22:21 4: TelegramBot_Callback TelegramBot: resulted in SUCCESS from Polling
2017.09.24 09:22:21 5: TelegramBot_Callback TelegramBot: - Ende > Control back to FHEM
2017.09.24 09:22:21 3: XMI_158d00015845b4: DEV_updateSReading> for 158d00015845b4
2017.09.24 09:22:21 4: Xiaomi_Gateway: Write> {"cmd":"read","sid":"158d00015845b4"} 192.168.178.46
send: Invalid argument at ./FHEM/71_XiaomiSmartHome.pm line 484.
2017.09.24 11:05:40 2: autocreate: define XMI_158d00015846be XiaomiSmartHome_Device 158d00015846be magnet Xiaomi_Gateway
2017.09.24 11:05:40 4: Xiaomi_Gateway: DEV_Define> XMI_158d00015846be: magnet I/O device is Xiaomi_Gateway
2017.09.24 11:05:40 4: Xiaomi_Gateway: DEV_Define> XMI_158d00015846be: defined as magnet
2017.09.24 11:05:40 4: Xiaomi_Gateway: DEV_Define> XMI_158d00015846be Init Done set InternalTimer for Update
2017.09.24 11:05:40 2: autocreate: define FileLog_XMI_158d00015846be FileLog ./log/XMI_158d00015846be-%Y.log XMI_158d00015846be
2017.09.24 11:05:41 5: End notify loop for global
2017.09.24 11:05:41 4: <hidden>: HTTP response code 200
2017.09.24 11:05:41 4: HttpUtils <hidden>: Got data, length: 23
2017.09.24 11:05:41 5: HttpUtils response header:
HTTP/1.1 200 OK
Server: nginx/1.10.0
Date: Sun, 24 Sep 2017 09:05:40 GMT
Content-Type: application/json
Content-Length: 23
Connection: close
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Expose-Headers: Content-Length,Content-Type,Date,Server,Connection
Strict-Transport-Security: max-age=31536000; includeSubdomains
2017.09.24 11:05:41 5: TelegramBot_Callback TelegramBot: called from Polling
2017.09.24 11:05:41 5: TelegramBot_Callback TelegramBot: data returned :{"ok":true,"result":[]}:
2017.09.24 11:05:41 5: TelegramBot_Deepencode TelegramBot: found an ARRAY
2017.09.24 11:05:41 5: TelegramBot_Deepencode TelegramBot: encoded a String from :true: to :true:
2017.09.24 11:05:41 5: TelegramBot_Deepencode TelegramBot: found a HASH
2017.09.24 11:05:41 5: TelegramBot_Callback TelegramBot: after encoding
2017.09.24 11:05:41 5: TelegramBot_Callback TelegramBot: polling returned result? 0
2017.09.24 11:05:41 5: UpdatePoll TelegramBot: number of results 0
2017.09.24 11:05:41 5: TelegramBot_UpdatePoll TelegramBot: called
2017.09.24 11:05:41 5: TelegramBot_UpdatePoll TelegramBot: - Initiate non blocking polling - With callback set
2017.09.24 11:05:41 5: TelegramBot_readToken: Read Telegram API token from file
2017.09.24 11:05:41 4: TelegramBot_UpdatePoll TelegramBot: initiate polling with nonblockingGet with 120s
2017.09.24 11:05:41 4: HttpUtils url=<hidden>
2017.09.24 11:05:41 5: IP: api.telegram.org -> 149.154.167.199
2017.09.24 11:05:41 5: TelegramBot_UpdatePoll TelegramBot: - Ende > next polling started
2017.09.24 11:05:41 4: TelegramBot_Callback TelegramBot: resulted in SUCCESS from Polling
2017.09.24 11:05:41 5: TelegramBot_Callback TelegramBot: - Ende > Control back to FHEM
2017.09.24 11:05:41 3: XMI_158d0001291479: DEV_updateSReading> for 158d0001291479
2017.09.24 11:05:41 4: Xiaomi_Gateway: Write> {"cmd":"read","sid":"158d0001291479"} 192.168.178.46
send: Invalid argument at ./FHEM/71_XiaomiSmartHome.pm line 484.
Zitat von: slawekking am 02 Oktober 2017, 13:38:42Hi Christoph,
Hallo Torte,
einfach Mega deine Arbeit. Kurze Frage zur Unterstützung des Rauchmelders. Besteht die Möglichkeit ihn zu integrieren?
Bitte um Rückmeldung
Gruß
Christoph
Zitat von: torte am 02 Oktober 2017, 13:41:56
Hi Christoph,
sollte eigentlich schon drin sein, hab nur selber keinen zum Testen. Falls du einen hast und er nicht geht, schicke mir mal ein Log in Verbose 5
Gruß
Torte
Gesendet mit Tapatalk
Zitat von: torte am 02 Oktober 2017, 19:35:06
Hi Christoph,
ich brauche ein FHEM.LOG geh bitte im GatewayModul und setze das Attribut Verbose auf 5. Dann löse deinen Alarm aus.
Dann das log abziehen und hier posten oder mir schicken. Es reichen die letzen Zeilen ;-)
Gruß
Torte
Zitat von: torte am 02 Oktober 2017, 20:28:44
Ok, schick mir mal zur Sicherheit ein Foto von dem Smoke Device, alle Readings und Parameter usw.
Denke der ist falsch abgebogen :-) Das Rotate gehört da denke ich nicht hin, guck ich mir an.
Zitat von: slawekking am 02 Oktober 2017, 21:14:05Du bekommst gleich PN, ist ein Copy Paste mit Hirnlosigkeits Fehler [emoji12]
;D Das weiß ich nicht warum es arlarm heißt. Würde automatisch so erzeugt. Soll ich das Device mal löschen und neu erzeugen?Vielleicht hilft das.
Zitat von: torte am 02 Oktober 2017, 21:19:44Da bin ich auf den fix im github gespannt
Du bekommst gleich PN, ist ein Copy Paste mit Hirnlosigkeits Fehler [emoji12]
Ich teste gerade
Gesendet mit Tapatalk
Zitat von: Eckbert0815 am 03 Oktober 2017, 12:11:53
Kurze Frage zu den Rauchmeldern!
Gehen die beim Dampf einer E-Zigarette an? Ich habe die alten von Homematic und die sind da sehr empfindlich!
Zitat von: ofno am 24 September 2017, 11:44:22
Ich würde fhem beenden
- den fhem Ordner umbenennen
- neues fhem installieren mit nur dem xiaomi Gateway Modul und testen ob es geht, ggf stimmt was mit der fhem Installation nicht da das update ja scheinbar auch zu Fehlern führt.
Wenn es dann läuft dann wieder beenden und mal zum Test mit der alten cfg so wie allen benötigten Bildern etc. Testen in die neue Version kopieren
Reading '/root/.cpan/Metadata'
Database was generated on Wed, 06 May 2015 23:17:02 GMT
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Could not split line["<!DOCTYPE html>\cM"]
Could not split line["<html>\cM"]
Could not split line["<head>\cM"]
.Could not split line["</title>\cM"]
Giving up parsing your /root/.cpan/sources/modules/02packages.details.txt.gz, too many errors
2017.10.05 20:42:42 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/71_XiaomiSmartHome.pm line 139.
2017.10.05 20:42:42 3: XiaomiZentrale: Unknown code {"cmd":"write_ack","sid":"34ce0081414a","data":"{\"error\":\"Invalid key\"}"}, help me!
([keller_bewegungsmelder:state] eq "motion" and [HomeStatus:state] eq "weg") (set FehmBot message Bewegung im Keller)
2017-10-06 18:14:07 TelegramBot FHEMBOT message Bewegung im Keller
2017-10-06 18:14:07 DOIF di_sec_keller cmd_nr: 1
2017-10-06 18:14:07 DOIF di_sec_keller cmd: 1
2017-10-06 18:14:07 DOIF di_sec_keller cmd_event: keller_bewegungsmelder
2017-10-06 18:14:07 DOIF di_sec_keller cmd_1
2017-10-06 18:14:07 XiaomiSmartHome_Device keller_bewegungsmelder motion
2017-10-06 18:14:07 TelegramBot FHEMBOT sentMsgResult: SUCCESS
2017-10-06 18:14:07 TelegramBot FHEMBOT sentMsgId: 34
2017-10-06 18:14:07 TelegramBot FHEMBOT sentMsgPeerId: 410018986
2017-10-06 18:14:12 XiaomiSmartHome XiaomiGateway heartbeat: 34ce008c12d5
2017-10-06 18:14:12 XiaomiSmartHome XiaomiGateway token: 3hD8eaWV95HiiyOS
2017-10-06 18:14:17 DOIF di_sec_keller cmd_nr: 2
2017-10-06 18:14:17 DOIF di_sec_keller cmd: 2
2017-10-06 18:14:17 DOIF di_sec_keller cmd_event: keller_bewegungsmelder
2017-10-06 18:14:17 DOIF di_sec_keller cmd_2
2017-10-06 18:14:17 XiaomiSmartHome_Device keller_bewegungsmelder off
2017.10.06 18:14:07 3: XiaomiGateway: DEV_Read> Name: keller_bewegungsmelder SID: 158d0001a251cc Type: sensor_motion.aq2 Illuminance: 2
2017.10.06 18:14:07 3: XiaomiGateway: DEV_Read> Name: keller_bewegungsmelder SID: 158d0001a251cc Type: sensor_motion.aq2 Status: motion
2017.10.06 18:14:07 3: XiaomiGateway: DEV_Read> Name: keller_bewegungsmelder SID: 158d0001a251cc Type: sensor_motion.aq2 Voltage: 3025
2017.10.06 18:14:07 3: XiaomiGateway: DEV_Read> Name: keller_bewegungsmelder SID: 158d0001a251cc Type: sensor_motion.aq2 Illuminance: 2
2017.10.06 18:14:17 3: XiaomiGateway: DEV_Timeout> SID: 158d0001a251cc Type: sensor_motion.aq2 Status: off
Zitat von: torte am 06 Oktober 2017, 18:32:04Vielen Dank für die angebotene Hilfe.
also gucke mal meine Antwort hier im Thread #509.
Habe gerade erst gesehen das du schon den neueren Sensortyp aqara hast.
Wenn sicher sich im Keller nix bewegt hat ( vielleicht war es ja ne Maus ;D ), könntest Du mir mal ein Verbose 5 Logfile erzeugen.
Im eventmonitor ist ein motion angekommen. Mit dem Log kann ich aber genau sehen was passiert ist.
Am GW Attribut auf Verbose auf 5 stellen (nachher wieder löschen) dann das Log hier posten oder mir schicken.
Grüße
Torte
2017.10.06 20:04:10 5: XiaomiGateway: dispatch {"cmd":"report","model":"sensor_motion.aq2","sid":"158d0001a251cc","short_id":13911,"data":"{\\"lux\\":\\"2\\"}"} 2017.10.06 20:04:10 4: XiaomiGateway: DEV_Parse> IS DEFINED sensor_motion.aq2 : 158d0001a251cc 2017.10.06 20:04:10 5: XiaomiGateway: DEV_Read> SID: 158d0001a251cc XiaomiSmartHome_Device 2017.10.06 20:04:10 3: XiaomiGateway: DEV_Read> Name: keller_bewegungsmelder SID: 158d0001a251cc Type: sensor_motion.aq2 Illuminance: 2 2017.10.06 20:04:10 5: XiaomiGateway: Read> Read start 2017.10.06 20:04:10 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d0001a251cc","short_id":13911,"data":"{\"voltage\":3025,\"status\":\"motion\",\"lux\":\"2\"}"} 2017.10.06 20:04:10 5: XiaomiGateway: Read> Dispatch {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d0001a251cc","short_id":13911,"data":"{\"voltage\":3025,\"status\":\"motion\",\"lux\":\"2\"}"} 2017.10.06 20:04:10 5: XiaomiGateway: dispatch {"cmd":"heartbeat","model":"sensor_motion.aq2","sid":"158d0001a251cc","short_id":13911,"data":"{\\"voltage\\":3025,\\"status\\":\\"motion\\",\\"lux\\":\\"2\\"}"} 2017.10.06 20:04:10 4: XiaomiGateway: DEV_Parse> IS DEFINED sensor_motion.aq2 : 158d0001a251cc 2017.10.06 20:04:10 5: XiaomiGateway: DEV_Read> SID: 158d0001a251cc XiaomiSmartHome_Device 2017.10.06 20:04:10 3: XiaomiGateway: DEV_Read> Name: keller_bewegungsmelder SID: 158d0001a251cc Type: sensor_motion.aq2 Status: motion 2017.10.06 20:04:10 3: XiaomiGateway: DEV_Read> Name: keller_bewegungsmelder SID: 158d0001a251cc Type: sensor_motion.aq2 Voltage: 3025 2017.10.06 20:04:10 3: XiaomiGateway: DEV_Read> Name: keller_bewegungsmelder SID: 158d0001a251cc Type: sensor_motion.aq2 Illuminance: 2 2017.10.06 20:04:10 5: XiaomiGateway: Read> Read start 2017.10.06 20:04:10 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce008c12d5","short_id":"0","token":"HQ0ngv4jz0jlbeAu","data":"{\"ip\":\"192.168.178.55\"}"} 2017.10.06 20:04:10 5: XiaomiGateway: Read> HASH correctly 2017.10.06 20:04:10 5: XiaomiGateway: Reading> Reading start 2017.10.06 20:04:10 4: XiaomiGateway: Reading> Heartbeat from 192.168.178.55 received with 34ce008c12d5 2017.10.06 20:04:20 3: XiaomiGateway: DEV_Timeout> SID: 158d0001a251cc Type: sensor_motion.aq2 Status: off 2017.10.06 20:04:20 5: XiaomiGateway: Read> Read start 2017.10.06 20:04:20 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce008c12d5","short_id":"0","token":"uJY1T207TDpwFIE3","data":"{\"ip\":\"192.168.178.55\"}"} 2017.10.06 20:04:20 5: XiaomiGateway: Read> HASH correctly 2017.10.06 20:04:20 5: XiaomiGateway: Reading> Reading start 2017.10.06 20:04:20 4: XiaomiGateway: Reading> Heartbeat from 192.168.178.55 received with 34ce008c12d5
Zitat von: torte am 06 Oktober 2017, 21:26:46Leider wird immer noch eine Bewegung ausgelöst.
Hi,
works as designed. ;D
trage mal bei timestamp-on-change-reading state,lux ein bin mir jetzt nicht 100% sicher, denke aber es ist ein versuch wert.
Grüße
Torte
Zitat von: nanocosmos am 06 Oktober 2017, 21:59:05Das Problem tritt nur bei den Aqara Bewegungsmeldern auf. Die Tür/Fenster Kontakte bleiben still.
Leider wird immer noch eine Bewegung ausgelöst.
Es findet tatsächlich ca. alle 60 Minuten statt
event-on-change-reading .*
timestamp-on-change-reading state,lux
Zitat von: nanocosmos am 08 Oktober 2017, 20:56:38No motion steht für "keine Bewegung registriert"
Ich bin doch nicht ganz sicher, ob ich es richtig verstanden habe.
Sobald eine Bewegung registriert wird, state also auf motion steht, wird no-motion auf 0 gesetzt. Dann wird no-motion hochgezählt. So lange also keine weitere Bewegung registriert wird, sollte no-motion doch eigentlich beim maximal Zählerstand bleiben, oder?
Bei mir steht aber ohne Bewegung no-motion auf 0 und wird auch nicht hochgezählt und bleibt bei 0.
Danke für die Unterstützung!
Zitat von: torte am 08 Oktober 2017, 21:29:34Habe Version 1.4.1_150.0143 auf dem Gateway.
Welche Firmware-Version hast du/ihr
Gesendet mit Tapatalk
2017.10.12 20:20:33 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 422.
2017.10.12 20:20:42 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 626.
2017.10.12 20:20:42 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 632.
2017.10.12 20:20:42 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 426.
2017-10-13 16:09:02 XiaomiSmartHome GWomi off
2017-10-13 16:09:05 XiaomiSmartHome GWomi UNKNOWNCODE {"cmd":"write_ack","data":"{\"error\":\"No device\"}"}
2017-10-13 16:09:08 XiaomiSmartHome GWomi rgb: 0000ff
2017-10-13 16:09:08 XiaomiSmartHome GWomi on
2017-10-13 16:09:08 XiaomiSmartHome GWomi UNKNOWNCODE {"cmd":"write_ack","data":"{\"error\":\"No device\"}"}
2017-10-13 16:09:22 XiaomiSmartHome GWomi pct: 51
2017-10-13 16:09:22 XiaomiSmartHome GWomi UNKNOWNCODE {"cmd":"write_ack","data":"{\"error\":\"No device\"}"}
2017-10-13 16:09:24 XiaomiSmartHome GWomi UNKNOWNCODE {"cmd":"write_ack","data":"{\"error\":\"No device\"}"}
2017-10-13 16:09:25 XiaomiSmartHome GWomi pct: 50
2017-10-13 16:09:25 XiaomiSmartHome GWomi UNKNOWNCODE {"cmd":"write_ack","data":"{\"error\":\"No device\"}"}
Read> HASH correctly
2017.10.13 18:18:13 5: GWomi: Reading> Reading start
2017.10.13 18:18:13 5: GWomi: Reading> xxxxyyyy not matching with my SID skipping TT
2017.10.13 18:18:23 5: GWomi: Read> Read start
2017.10.13 18:18:23 5: GWomi: Read> {"cmd":"heartbeat","model":"gateway","sid":"xxxxyyyy","short_id":"0","token":"xxx","data":"{\"ip\":\"192.168.78.33\"}"}
2017.10.13 18:18:23 5: GWomi: Read> HASH correctly
Zitat von: RaspiLED am 14 Oktober 2017, 19:51:21
Hi Abercrombie,
Hast Du das Modul vielleicht als HTML Datei geladen?
Was sagt:
file 71_Xia*
head 71_Xia*
Gruß Arnd
Raspi2 mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, Bravia, ...
Zitat von: Abercrombie1892 am 15 Oktober 2017, 17:32:23Ja, in dem man sich in einem dummy den Zustand merkt und entsprechend darauf reagiert.
ich habe ja nun das Gateway eingebunden und sehe nun auch die Taster im log. Wie kann ich denn jetzt zb mit der Linken Wippe vom Schalter zb eine Lampe ein und aus schalten. ::)
Gateway: DEV_Read> Name: XMI_158d000170c68e SID: 158d000170c68e Type: 86sw2 Channel_0: click
wäre es denn möglich, das man beim ersten click die lampen ( hue ) einschaltet und beim 2. click die lampen ausschaltet?
Zitat von: ofno am 16 Oktober 2017, 06:46:51
Ja, in dem man sich in einem dummy den Zustand merkt und entsprechend darauf reagiert.
define ntfy.Abfall notify XMI.SWITCH.Abfall:state:.* { if( Value("XMI.SWITCH.Abfall") eq "click" ) { DebianMail ('einemail@gmail.com;;einemai@gmail.de;;einemail@gmail.com','Hausmüll','Hallo Kinder, der HAUSMÜLL ist voll und muss geleert werden. \n Bitte SOFORT erledigen. \nBei nicht Erfüllung der Aufgabe wird das Internet für diesen Tag gesperrt! \nDiese Mail wurde automatisch an euch versendet ' ) };;\
if( Value("XMI.SWITCH.Abfall") eq "double_click" ) { DebianMail ('einemail@gmail.com;;einemail@gmail.de;;einemail@gmail.com','GELBER Müll','Hallo Kinder, der GELBERSACK Müll ist voll und muss geleert werden. \n Bitte SOFORT erledigen. \nBei nicht Erfüllung der Aufgabe wird das Internet für diesen Tag gesperrt! \nDiese Mail wurde automatisch an euch versendet ' ) }\
}
Zitat von: torte am 16 Oktober 2017, 22:23:27Sehr geil, endlich habe ich für meinen button eine sinnvollere Verwendung vorgestellt bekommen als nur am gateway den ringtone abzuspielen!
also nen notify so zb.Code Auswählendefine ntfy.Abfall notify XMI.SWITCH.Abfall:state:.* { if( Value("XMI.SWITCH.Abfall") eq "click" ) { DebianMail ('einemail@gmail.com;;einemai@gmail.de;;einemail@gmail.com','Hausmüll','Hallo Kinder, der HAUSMÜLL ist voll und muss geleert werden. \n Bitte SOFORT erledigen. \nBei nicht Erfüllung der Aufgabe wird das Internet für diesen Tag gesperrt! \nDiese Mail wurde automatisch an euch versendet ' ) };;\
if( Value("XMI.SWITCH.Abfall") eq "double_click" ) { DebianMail ('einemail@gmail.com;;einemail@gmail.de;;einemail@gmail.com','GELBER Müll','Hallo Kinder, der GELBERSACK Müll ist voll und muss geleert werden. \n Bitte SOFORT erledigen. \nBei nicht Erfüllung der Aufgabe wird das Internet für diesen Tag gesperrt! \nDiese Mail wurde automatisch an euch versendet ' ) }\
}
:o
(["XMI_158d000155e23d:\bclick\b"])
(set hueBridgeHafenCity_HUEDevice1 toggle)
(set telebot message @3706xxx Licht im Schlafzimmer geschaltet)
DOELSEIF
(["XMI_158d000155e23d:\bdouble_click\b"])
(set hueBridgeHafenCity_HUEDevice1 rgb ECEEFF)
(set telebot message @3706xxx Licht im Schlafzimmer doppelclick)
Zitat von: m_gatz am 16 Oktober 2017, 22:29:47
ich hab dafür ein DOIF. Ganz ohne dummy. Einfach per toggle.
Und den Doppelklick als "Farbreset" für den Fall, dass man mal wieder gespielt hat.Code Auswählen
(["XMI_158d000155e23d:\bclick\b"])
(set hueBridgeHafenCity_HUEDevice1 toggle)
(set telebot message @3706xxx Licht im Schlafzimmer geschaltet)
DOELSEIF
(["XMI_158d000155e23d:\bdouble_click\b"])
(set hueBridgeHafenCity_HUEDevice1 rgb ECEEFF)
(set telebot message @3706xxx Licht im Schlafzimmer doppelclick)
Zitat von: nanocosmos am 09 Oktober 2017, 17:03:10Mir ist etwas aufgefallen bezüglich meines Problems mit den Phantom Motions jede Stunde.
Die Aqara Sensoren scheinen nicht empfehlenswert zu sein. [emoji16]
Neben dem fehlenden Zeitstempel bei no-motion wird ja auch scheinbar 1x die Stunde ein motion detektiert, da mein doif immer anspringt.
Wie schon gesagt, vielen Dank für die Unterstützung!
Hoffe auf einen Fix von Xiaomi. [emoji4]
Zitat von: ofno am 21 Oktober 2017, 22:40:28Leider taucht das Problem wieder auf, wenn ich dem Gateway wieder den Zugang zum Internet verweigere.
Hi, mach ich auch so, nur ab und zu lasse ich ihn raus, oftmals gibts dann ein Firmware update. Ggf. war was bei dir jetzt auch der Fall und das Problem ist behoben.
Zitat von: devil77 am 23 Oktober 2017, 07:31:18Ich erstelle dann mal hier im Subforum "Sonstige Systeme" meine Frage als neuen Thread.
Wie Boris schon geschrieben hatte rechtfertigt ein einzelner Thread kein eigenes Subforum.
Wir sollten hier erstmal anfangen Fragen gezielt einzeln zu stellen und sie hier nicht immer hinten dran hängen.
Zum Bsp. die Geistermeldung jede Stunde, warum nicht die Frage extra Stellen?
Momentan muss man den ganzen Beitrag durchforsten um zu schauen ob jemand das Problem schon hatte bzw. ob jemand eine Lösung gefunden hat.
Zitat von: nanocosmos am 23 Oktober 2017, 07:40:27Prima, am besten immer 'Xiaomi Smart Home" mit in den Titel.
Ich erstelle dann mal hier im Subforum "Sonstige Systeme" meine Frage als neuen Thread.
Für mich stellt die Xiaomi Smart Home Umgebung ein eigenes System, vergleichbar mit Homematic und Co, dar.
Ansonsten kann man den Thread ja noch verschieben.
Zitat von: ofno am 23 Oktober 2017, 08:03:09Schon erledigt. [emoji4]
Prima, am besten immer 'Xiaomi Smart Home" mit in den Titel.
ZitatXiaomi sends the attribute reports based on the HA profile to the wrong (= non-standard) endpoint of the controller. (1 instead of 2 for 0x0104, HA profile)
Zitat von: DOCa Cola am 24 Oktober 2017, 13:11:40Aber scheinbar bisher nur die Aqara Reihe, aber interessanter Hinweis, mein Stand war bisher, dass es ohne Gateway nicht geht
Anscheinend ist man andernorts schon der Lösung näher gekommen wie das Xiaomi Protokoll funktioniert und auch schon erfolgreich in deren Gerät integriert (https://github.com/TedTolboom/com.xiaomi-mi-zigbee). Eben ohne die Xiaomi Steuerung und stattdessen mit einem Zigbee controller anzusprechen.
https://forum.athom.com/discussion/450/use-integrate-of-xiaomi-mi-smart-home-kit-sensors-zigbee-protocol
Zitat von: till24 am 28 Oktober 2017, 13:55:22
Hallo zusammen,
ich nutze das Plugin schon seit Anfang an.. seit dem letzten Update sind komischerweise alle meine Sensoren in fhem nicht mehr da. Das Gateway ist connected, Developer Mode an und das Kennwort auch korrekt. Mehrfache neu Starts von fhem haben nichts gebracht. Hat jemand eine Lösubg? Danke schonmal!
Internals:
DEF 192.168.99.129
FD 22
FHEMIP 192.168.99.80
GATEWAY 192.168.99.129
GATEWAY_IP 192.168.99.129
NAME XiaomiGW
NOTIFYDEV global
NR 1052
NTFY_ORDER 50-XiaomiGW
STATE Connected
TYPE XiaomiSmartHome
VERSION 1.12
Helper:
DBLOG:
state:
myDB:
TIME 1509466298.74872
VALUE Connected
READINGS:
2017-10-30 19:35:57 password xxxxxxxxxxxx
2017-10-30 19:31:57 pct 100
2017-10-31 17:03:58 rgb 000000
2017-10-30 19:31:57 ringtone 21
2017-10-31 17:11:38 state Connected
2017-10-30 19:39:59 token 0
2017-10-30 19:42:26 volume 2
helper:
ConnectionState Connected
host 192.168.99.129
Attributes:
devStateIcon motion:motion_detector@red off:motion_detector@green open:fts_door_open@red close:fts_door@green
event-on-change-reading .*
room MiSmartHome
timestamp-on-change-reading state
webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off
Zitathabe ich im AccessPoint (Software DD-WRT) in den Einstellungen "Filter Multicast" disabled
getGatewaySID> Error no response from whois!! STOP!!
Zitat von: tterrafan am 30 Juli 2017, 18:05:40Hallo,
- MotionOffTimer sollte standardmäßig am besten auf 5 gesetzt werden, da der neue und auch der alte Sensor seit dem FW Update alle 5 Sekunden nach der letzten Bewegung eine erneute Bewegung registriert.
.*:[Bb]attery:.* {
if("$EVENT" !~ m/ok/) {
{fhem ("set Telegram message Batteriewarnung $NAME $EVENT")};
Log 3, "$NAME: $EVENT";
}
}
TYPE=XiaomiSmartHome_Device:battery
Zitat von: blueberry63 am 01 November 2017, 21:11:05
Beim Einbinden der Sensoren ist mir aufgefallen, dass die Readings für die Batterie anders belegt sind, als das z.Bsp. bei den Homematic-Komponenten der Fall ist. Keine Ahnung, ob es hier übergreifend einen Standard gibt, aber ich zeige mal den Unterschied:
HM:
battery ok
battery_level 2.9
Xiaomi:
battery 2.995
batterystate ok
Wenn man sich z.Bsp. den Batterie-Status bzw. -Level aller Geräte mit Batterie anzeigen lassen möchte, dann führt dieser Mix zu Problemen.
Das bekannte Notify zur Warnung bei "Batterie=low" funktioniert z.Bsp. bei den Xiaomi-Komponenten nicht:Code Auswählen
.*:[Bb]attery:.* {
if("$EVENT" !~ m/ok/) {
{fhem ("set Telegram message Batteriewarnung $NAME $EVENT")};
Log 3, "$NAME: $EVENT";
}
}
Gruß
Blueberry63
Zitat von: blueberry63
HM:
battery ok
battery_level
ZitatWarum wollen das das Modul geändert wird und nicht selber überlegen wie man ans Ziel kommt?
Zitat von: basty2 am 01 November 2017, 13:22:08
Hallo,
bei mir funktionieren mehrere Sender mit dem Gateway sehr gut. Aber meine Motion Sensoren (1x Body Sensor, 1x Aqara Body Sensor) aktualisieren nur 1x pro Minute. Wie habt Ihr es geschafft das auf 5 Sekunden zu ändern?
Grüße
Update: Im Gateway löschen und neu hinzufügen hat geholfen.
Zitat von: torte am 04 November 2017, 18:10:51Hi Torte,
Hi,
meine Motions lösen nur bei Bewegung aus. Zwischen den motions müssen bei mir 60 Sekunden sein, vorher wird eine erneute Bewegung nicht signalisiert.
Grüße
Torte
2017-11-04_17:47:35 XMI_158d0001dxxxxx off
2017-11-04_17:47:39 XMI_158d0001dxxxxx no_motion
2017-11-04_17:47:44 XMI_158d0001dxxxxx motion
2017-11-04_17:47:49 XMI_158d0001dxxxxx off
2017-11-04_17:49:14 XMI_158d0001dxxxxx motion
2017-11-04_17:49:19 XMI_158d0001dxxxxx off
2017-11-04_18:17:01 XMI_158d0001dxxxxx motion
2017-11-04_18:17:01 XMI_158d0001dxxxxx no_motion: 0
2017-11-04_18:17:06 XMI_158d0001dxxxxx off
2017-11-04_18:17:17 XMI_158d0001dxxxxx motion
2017-11-04_18:17:17 XMI_158d0001dxxxxx no_motion: 0
2017-11-04_18:17:22 XMI_158d0001dxxxxx off
2017-11-04_18:17:22 XMI_158d0001dxxxxx motion
2017-11-04_18:17:22 XMI_158d0001dxxxxx no_motion: 0
2017-11-04_18:17:27 XMI_158d0001dxxxxx off
2017-11-04_18:17:28 XMI_158d0001dxxxxx motion
2017-11-04_18:17:28 XMI_158d0001dxxxxx no_motion: 0
2017-11-04_18:17:33 XMI_158d0001dxxxxx off
2017-11-04_18:17:34 XMI_158d0001dxxxxx motion
2017-11-04_18:17:34 XMI_158d0001dxxxxx no_motion: 0
2017-11-04_18:17:39 XMI_158d0001dxxxxx off
2017-11-04_18:17:40 XMI_158d0001dxxxxx motion
2017-11-04_18:17:40 XMI_158d0001dxxxxx no_motion: 0
2017-11-04_18:17:45 XMI_158d0001dxxxxx off
2017.11.20 14:15:55 3: Xiaomi.GW1: DEV_Read> Name: Taster.X2 SID: 158d00018b4dd5 Type: switch Voltage: 3042
2017.11.20 14:15:55 3: Xiaomi.GW1: DEV_Read> Name: Taster.X1 SID: 158d000149bb9a Type: switch Voltage: 3032
2017.11.20 14:15:55 3: Xiaomi.GW1: DEV_Read> Name: XMI_158d0001826541 SID: 158d0001826541 Type: sensor_ht Voltage: 2965
2017.11.20 14:15:55 3: Xiaomi.GW1: DEV_Read> Name: XMI_158d0001826541 SID: 158d0001826541 Type: sensor_ht Temperature: 21.05
2017.11.20 14:15:55 3: Xiaomi.GW1: DEV_Read> Name: XMI_158d0001826541 SID: 158d0001826541 Type: sensor_ht Humidity: 53.91
2017.11.20 14:15:55 3: Xiaomi.GW1: DEV_Read> Name: SD.X1 SID: 158d000149f757 Type: smoke Voltage: 3105
2017.11.20 14:15:58 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/71_XiaomiSmartHome.pm line 142.
2017.11.20 14:15:58 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 144.
2017.11.20 14:15:58 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 158.
Can't call method "incr_parse" on an undefined value at ./FHEM/71_XiaomiSmartHome.pm line 159.
Internals:
DEF 158d000149f757 smoke Xiaomi.GW1
IODev
IODevName Xiaomi.GW1
MODEL smoke
NAME SD.X1
NR 122
SID 158d000149f757
STATE initialized
TYPE XiaomiSmartHome_Device
VERSION 1.07
READINGS:
2017-09-25 18:22:03 arlarm
2017-11-12 11:52:40 battery 3.115
2017-11-12 11:52:40 heartbeat 158d000149f757
Attributes:
IODev Xiaomi.GW1
event-on-change-reading .*
room MiSmartHome
2017.11.20 16:15:25 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/71_XiaomiSmartHome.pm line 147.
2017.11.20 16:15:25 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 149.
2017.11.20 16:15:25 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 163.
Can't call method "incr_parse" on an undefined value at ./FHEM/71_XiaomiSmartHome.pm line 164.
Internals:
DEF 158d000149f757 smoke Xiaomi.GW1
IODev
IODevName Xiaomi.GW1
MODEL smoke
NAME SD.X1
NR 122
SID 158d000149f757
STATE initialized
TYPE XiaomiSmartHome_Device
VERSION 1.12
READINGS:
2017-09-25 18:22:03 arlarm
2017-11-12 11:52:40 battery 3.115
2017-11-12 11:52:40 heartbeat 158d000149f757
Attributes:
IODev Xiaomi.GW1
event-on-change-reading .*
room MiSmartHome
PERL WARNING: Prototype mismatch: sub main::round ($$) vs none at /usr/share/perl/5.14/Exporter.pm line 67, <$fh> line 2255.
PERL WARNING: Scalar value @arround[$round-1] better written as $arround[$round-1] at ./FHEM/71_XiaomiSmartHome_Device.pm line 243, <$fh> line 2262.
PERL WARNING: Scalar value @arround[$round-1] better written as $arround[$round-1] at ./FHEM/71_XiaomiSmartHome_Device.pm line 250, <$fh> line 2262.
017.11.21 09:33:58 5: wzXGate: updateAllReadings> Starting UpdateALLReadings
2017.11.21 09:33:58 4: wzXGate: Write> Get all Sensors
2017.11.21 09:33:58 4: wzXGate: Write> {"cmd" : "get_id_list"} 192.168.178.74
2017.11.21 09:33:58 5: wzXGate: Write> End 192.168.178.74
2017.11.21 09:33:58 5: wzXGate: Read> Read start
2017.11.21 09:33:58 5: wzXGate: Read> {"cmd":"get_id_list_ack","sid":"286c07887e80","token":"DdxCqBF29uQM9Vso","data":"[\"158d00012654ce\",\"158d00013f8d72\",\"158d00013ed0a2\",\"158d0001256a00\"]"}
2017.11.21 09:33:58 5: wzXGate: Read> HASH correctly
2017.11.21 09:33:58 5: wzXGate: Reading> Reading start
2017.11.21 09:33:58 4: wzXGate: Reading> PushRead:158d00012654ce
2017.11.21 09:33:58 4: wzXGate: Write> {"cmd":"read","sid":"158d00012654ce"} 192.168.178.74
2017.11.21 09:33:58 5: wzXGate: Write> End 192.168.178.74
2017.11.21 09:33:58 4: wzXGate: Reading> PushRead:158d00013f8d72
2017.11.21 09:33:58 4: wzXGate: Write> {"cmd":"read","sid":"158d00013f8d72"} 192.168.178.74
2017.11.21 09:33:58 5: wzXGate: Write> End 192.168.178.74
2017.11.21 09:33:58 4: wzXGate: Reading> PushRead:158d00013ed0a2
2017.11.21 09:33:58 4: wzXGate: Write> {"cmd":"read","sid":"158d00013ed0a2"} 192.168.178.74
2017.11.21 09:33:58 5: wzXGate: Write> End 192.168.178.74
2017.11.21 09:33:58 4: wzXGate: Reading> PushRead:158d0001256a00
2017.11.21 09:33:58 4: wzXGate: Write> {"cmd":"read","sid":"158d0001256a00"} 192.168.178.74
2017.11.21 09:33:58 5: wzXGate: Write> End 192.168.178.74
2017.11.21 09:33:58 5: wzXGate: Read> Read start
2017.11.21 09:33:58 5: wzXGate: Read> {"cmd":"read_ack","model":"switch","sid":"158d00012654ce","short_id":28244,"data":"{\"voltage\":3022}"}
2017.11.21 09:33:58 5: wzXGate: Read> Dispatch {"cmd":"read_ack","model":"switch","sid":"158d00012654ce","short_id":28244,"data":"{\"voltage\":3022}"}
2017.11.21 09:33:58 5: wzXGate: dispatch {"cmd":"read_ack","model":"switch","sid":"158d00012654ce","short_id":28244,"data":"{\\"voltage\\":3022}"}
2017.11.21 09:33:58 4: wzXGate: DEV_Parse> IS DEFINED switch : 158d00012654ce
2017.11.21 09:33:58 5: wzXGate: DEV_Read> SID: 158d00012654ce XiaomiSmartHome_Device
2017.11.21 09:33:58 4: wzXGate: DEV_Read> Name: swWohnzimmer.1 SID: 158d00012654ce Type: switch Voltage: 3022
2017.11.21 09:33:58 5: Starting notify loop for swWohnzimmer.1, 2 event(s), first is battery: 3.022
2017.11.21 09:33:58 5: createNotifyHash
2017.11.21 09:33:58 5: End notify loop for swWohnzimmer.1
2017.11.21 09:33:58 5: wzXGate: Read> Read start
2017.11.21 09:33:58 5: wzXGate: Read> {"cmd":"read_ack","model":"motion","sid":"158d00013f8d72","short_id":17015,"data":"{\"voltage\":3025,\"status\":\"no_motion\"}"}
2017.11.21 09:33:58 5: wzXGate: Read> Dispatch {"cmd":"read_ack","model":"motion","sid":"158d00013f8d72","short_id":17015,"data":"{\"voltage\":3025,\"status\":\"no_motion\"}"}
2017.11.21 09:33:58 5: wzXGate: dispatch {"cmd":"read_ack","model":"motion","sid":"158d00013f8d72","short_id":17015,"data":"{\\"voltage\\":3025,\\"status\\":\\"no_motion\\"}"}
2017.11.21 09:33:58 4: wzXGate: DEV_Parse> IS DEFINED motion : 158d00013f8d72
2017.11.21 09:33:58 5: wzXGate: DEV_Read> SID: 158d00013f8d72 XiaomiSmartHome_Device
2017.11.21 09:33:58 3: wzXGate: DEV_Read> Name: mtSchlafzimmer SID: 158d00013f8d72 Type: motion Status: no_motion
2017.11.21 09:33:58 4: wzXGate: DEV_Read> Name: mtSchlafzimmer SID: 158d00013f8d72 Type: motion Voltage: 3025
2017.11.21 09:33:58 5: Starting notify loop for mtSchlafzimmer, 3 event(s), first is no_motion
2017.11.21 09:33:58 5: End notify loop for mtSchlafzimmer
2017.11.21 09:33:58 5: wzXGate: Read> Read start
2017.11.21 09:33:58 5: wzXGate: Read> {"cmd":"read_ack","model":"switch","sid":"158d00013ed0a2","short_id":52695,"data":"{\"voltage\":3022}"}
2017.11.21 09:33:58 5: wzXGate: Read> Dispatch {"cmd":"read_ack","model":"switch","sid":"158d00013ed0a2","short_id":52695,"data":"{\"voltage\":3022}"}
2017.11.21 09:33:58 5: wzXGate: dispatch {"cmd":"read_ack","model":"switch","sid":"158d00013ed0a2","short_id":52695,"data":"{\\"voltage\\":3022}"}
2017.11.21 09:33:58 4: wzXGate: DEV_Parse> IS DEFINED switch : 158d00013ed0a2
2017.11.21 09:33:58 5: wzXGate: DEV_Read> SID: 158d00013ed0a2 XiaomiSmartHome_Device
2017.11.21 09:33:58 4: wzXGate: DEV_Read> Name: swSchlafzimmer SID: 158d00013ed0a2 Type: switch Voltage: 3022
2017.11.21 09:33:58 5: Starting notify loop for swSchlafzimmer, 2 event(s), first is battery: 3.022
2017.11.21 09:33:58 5: End notify loop for swSchlafzimmer
2017.11.21 09:33:58 5: wzXGate: Read> Read start
2017.11.21 09:33:58 5: wzXGate: Read> {"cmd":"read_ack","model":"switch","sid":"158d0001256a00","short_id":60881,"data":"{\"voltage\":3072}"}
2017.11.21 09:33:58 5: wzXGate: Read> Dispatch {"cmd":"read_ack","model":"switch","sid":"158d0001256a00","short_id":60881,"data":"{\"voltage\":3072}"}
2017.11.21 09:33:58 5: wzXGate: dispatch {"cmd":"read_ack","model":"switch","sid":"158d0001256a00","short_id":60881,"data":"{\\"voltage\\":3072}"}
2017.11.21 09:33:58 4: wzXGate: DEV_Parse> IS DEFINED switch : 158d0001256a00
2017.11.21 09:33:58 5: wzXGate: DEV_Read> SID: 158d0001256a00 XiaomiSmartHome_Device
2017.11.21 09:33:58 4: wzXGate: DEV_Read> Name: swWohnzimmer.2 SID: 158d0001256a00 Type: switch Voltage: 3072
2017.11.21 09:33:58 5: Starting notify loop for swWohnzimmer.2, 2 event(s), first is battery: 3.072
2017.11.21 09:33:58 5: End notify loop for swWohnzimmer.2
2017.11.21 09:41:23 4: wzXGate: Write> {"cmd":"write","model":"gateway","sid":"286c07887e80","short_id":0,"key":"8","data":"{\"rgb\":1694433280,\"key\":\"308b19bde9798e4c1fd58e81f8cf3f8b\"}" } 192.168.178.74
2017.11.21 09:41:23 5: wzXGate: Write> End 192.168.178.74
2017.11.21 09:41:23 4: name: /fhem?cmd=set%20wzXGate%20rgb%20ff0000&XHR=1&fw_id=160 / RL:20 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2017.11.21 09:41:23 5: wzXGate: Read> Read start
2017.11.21 09:41:23 5: wzXGate: Read> {"cmd":"write_ack","sid":"286c07887e80","data":"{\"error\":\"Invalid key\"}"}
2017.11.21 09:41:23 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/71_XiaomiSmartHome.pm line 143.
2017.11.21 09:41:23 5: wzXGate: Read> Dispatch {"cmd":"write_ack","sid":"286c07887e80","data":"{\"error\":\"Invalid key\"}"}
2017.11.21 09:41:23 5: wzXGate: dispatch {"cmd":"write_ack","sid":"286c07887e80","data":"{\\"error\\":\\"Invalid key\\"}"}
2017.11.21 09:41:23 5: Starting notify loop for wzXGate, 1 event(s), first is UNKNOWNCODE {"cmd":"write_ack","sid":"286c07887e80","data":"{\\"error\\":\\"Invalid key\\"}"}
2017.11.21 09:41:23 5: End notify loop for wzXGate
2017.11.21 09:41:23 3: wzXGate: Unknown code {"cmd":"write_ack","sid":"286c07887e80","data":"{\"error\":\"Invalid key\"}"}, help me!
$temp = nearest($arround[$round-1] ,$temp );
wzXGate: Read> {"cmd":"write_ack","sid":"286c07887e80","data":"{\"error\":\"Invalid key\"}"}
2017.11.21 11:26:53 5: Xiaomi.GW1: Read> Read start
2017.11.21 11:26:53 5: Xiaomi.GW1: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07f0a2a3","short_id":"0","token":"SoZDlMocm3gGIGgN","data":"{\"ip\":\"192.168.1.100\"}"}
2017.11.21 11:26:53 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/71_XiaomiSmartHome.pm line 147.
2017.11.21 11:26:53 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 149.
2017.11.21 11:26:53 5: Xiaomi.GW1: Read> Change HASH Ref to
2017.11.21 11:26:53 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 163.
2017.11.21 11:26:53 5: : Reading> Reading start
Can't call method "incr_parse" on an undefined value at ./FHEM/71_XiaomiSmartHome.pm line 164.
2017.11.21 11:26:58 5: PRESENCE (Anton.Handy) - ping command returned with output:
PING 192.168.1.46 (192.168.1.46) 56(84) bytes of data.
define Xiaomi.GW1 XiaomiSmartHome 192.168.1.81
attr Xiaomi.GW1 devStateIcon {Color_devStateIcon(ReadingsVal($name,"rgb","000000"))}
attr Xiaomi.GW1 room MiSmartHome
attr Xiaomi.GW1 webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off
attr Xiaomi.GW1 verbose 5
Zitat
Zeile 243 muss so aussehen, ist aber nur ein Warning, kommt im nächsten Release.
$temp = nearest($arround[$round-1] ,$temp );
Zitat von: blueberry63 am 21 November 2017, 12:56:13
...in Zeile 250 kommt das auch nochmal vor ;-)
Gruß
Blueberry63
2017.11.21 14:27:43 5: Xiaomi.GW1: Read> Read start
2017.11.21 14:27:43 5: Xiaomi.GW1: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07f0a2a3","short_id":"0","token":"w8C4okmvkt8wK4Ho","data":"{\"ip\":\"192.168.1.100\"}"}
2017.11.21 14:27:43 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/71_XiaomiSmartHome.pm line 147.
2017.11.21 14:27:43 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 149.
2017.11.21 14:27:43 5: Xiaomi.GW1: Read> Change HASH Ref to
2017.11.21 14:27:43 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 163.
2017.11.21 14:27:43 5: : Reading> Reading start
Can't call method "incr_parse" on an undefined value at ./FHEM/71_XiaomiSmartHome.pm line 164.
define Xiaomi.GW2 XiaomiSmartHome 192.168.1.100
2017.11.21 14:33:30 5: Xiaomi.GW2: updateAllReadings> Starting UpdateALLReadings
2017.11.21 14:33:31 4: Xiaomi.GW2: Write> Get all Sensors
2017.11.21 14:33:31 4: Xiaomi.GW2: Write> {"cmd" : "get_id_list"} 192.168.1.100
2017.11.21 14:33:31 5: Xiaomi.GW2: Write> End 192.168.1.100
2017.11.21 14:33:31 5: Xiaomi.GW2: Read> Read start
2017.11.21 14:33:31 5: Xiaomi.GW2: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00889222","short_id":"0","token":"8qZPWXFOlR3qdG1l","data":"{\"ip\":\"192.168.1.81\"}"}
2017.11.21 14:33:31 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/71_XiaomiSmartHome.pm line 147.
2017.11.21 14:33:31 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 149.
2017.11.21 14:33:31 5: Xiaomi.GW2: Read> Change HASH Ref to
2017.11.21 14:33:31 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 163.
2017.11.21 14:33:31 5: : Reading> Reading start
Can't call method "incr_parse" on an undefined value at ./FHEM/71_XiaomiSmartHome.pm line 164.
2017.11.23 02:59:16 0: Server shutdown
2017.11.23 02:59:21 1: Including fhem.cfg
2017.11.23 02:59:21 3: telnetPort: port 7072 opened
2017.11.23 02:59:22 3: WEB: port 8083 opened
2017.11.23 02:59:22 3: WEBphone: port 8084 opened
2017.11.23 02:59:22 3: WEBtablet: port 8085 opened
2017.11.23 02:59:22 2: eventTypes: loaded 831 events from ./log/eventTypes.txt
2017.11.23 02:59:22 3: wz_computerlicht: I/O device is Hue
2017.11.23 02:59:22 3: fl_flurlicht: I/O device is Hue
2017.11.23 02:59:22 3: wz_sofalicht: I/O device is Hue
2017.11.23 02:59:23 3: wz_tischlicht: I/O device is Hue
2017.11.23 02:59:23 3: HUEGroup3: I/O device is Hue
2017.11.23 02:59:23 3: HUEGroup6: I/O device is Hue
2017.11.23 02:59:23 3: HUEGroup16: I/O device is Hue
2017.11.23 02:59:23 3: HUEGroup20: I/O device is Hue
2017.11.23 02:59:23 3: HUEGroup19: I/O device is Hue
2017.11.23 02:59:23 3: HUEGroup5: I/O device is Hue
2017.11.23 02:59:23 3: HUEGroup0: I/O device is Hue
2017.11.23 02:59:23 3: HUEGroup2: I/O device is Hue
2017.11.23 02:59:23 3: HUEGroup17: I/O device is Hue
2017.11.23 02:59:23 3: HUEGroup4: I/O device is Hue
2017.11.23 02:59:23 3: HUEGroup18: I/O device is Hue
2017.11.23 02:59:23 3: HUEGroup1: I/O device is Hue
2017.11.23 02:59:23 3: YeeLight bz_badlicht defined at 192.168.178.219:55443
2017.11.23 02:59:23 3: Opening bz_badlicht device 192.168.178.219:55443
2017.11.23 02:59:23 3: Can't connect to 192.168.178.219:55443: Network is unreac hable
2017.11.23 02:59:23 3: Opening bz_badlicht device 192.168.178.219:55443
2017.11.23 02:59:23 1: PERL WARNING: Use of uninitialized value $model in string eq at ./FHEM/32_YeeLight.pm line 172, <$fh> line 216.
2017.11.23 02:59:23 3: TelegramBot_Define telebot: called
2017.11.23 02:59:23 2: TelegramBot_DoUrlCommand telebot: FAILED http access retu rned error :https://api.telegram.org/botxxxxxxx382:AAGxxxxxxxxxxLaLF9ceHnJVl8CbGp LuRQA/getMe: Can't connect(1) to https://api.telegram.org:443: IO::Socket::INET: Bad hostname 'api.telegram.org:443':
2017.11.23 02:59:23 3: XiaomiFlowerSens (hawaipalme) - defined with BTMAC C4:7C: 8D:65:A9:B5
2017.11.23 02:59:23 3: XiaomiFlowerSens (hawaipalme) - set interval to 900
2017.11.23 02:59:23 3: XiaomiFlowerSens (chili) - defined with BTMAC C4:7C:8D:65 :CA:E2
2017.11.23 02:59:23 3: XiaomiFlowerSens (chili) - set interval to 900
2017.11.23 02:59:23 1: PERL WARNING: Prototype mismatch: sub main::round ($$) vs none at /usr/share/perl/5.24/Exporter.pm line 66, <$fh> line 313.
2017.11.23 02:59:23 1: PERL WARNING: Scalar value @arround[...] better written a s $arround[...] at ./FHEM/71_XiaomiSmartHome_Device.pm line 243, <$fh> line 317.
2017.11.23 02:59:23 1: PERL WARNING: Scalar value @arround[...] better written a s $arround[...] at ./FHEM/71_XiaomiSmartHome_Device.pm line 250, <$fh> line 317.
2017.11.23 02:59:23 1: Including ./log/fhem.save
2017.11.23 02:59:23 2: HUEBridge_OpenDev: error reading description: http://192. 168.178.100/description.xml: Can't connect(1) to http://192.168.178.100:80: IO:: Socket::INET: connect: Network is unreachable
2017.11.23 02:59:23 2: Hue: empty answer received for http://192.168.178.100/api /QSDnRzE1k7cTuA4NcgVMNxxx5RhuSykuAzqlfuj-/config
2017.11.23 02:59:23 2: HUEBridge_OpenDev: got empty config
2017.11.23 02:59:23 3: telnetForBlockingFn_1511402363: port 45701 opened
2017.11.23 02:59:23 1: usb create starting
2017.11.23 02:59:23 3: Probing CUL device /dev/ttyAMA0
2017.11.23 02:59:24 3: Probing TCM_ESP3 device /dev/ttyAMA0
2017.11.23 02:59:24 3: Probing ZWDongle device /dev/ttyAMA0
2017.11.23 02:59:24 3: Probing FRM device /dev/ttyAMA0
2017.11.23 02:59:29 1: usb create end
2017.11.23 02:59:29 0: Featurelevel: 5.8
2017.11.23 02:59:29 0: Server started with 58 defined entities (fhem.pl:15466/20 17-11-20 perl:5.024001 os:linux user:fhem pid:431)
2017.11.23 02:59:29 3: Opening bz_badlicht device 192.168.178.219:55443
2017.11.23 02:59:30 3: ABFALL Muelltonnen - CALENDAR:Muelltonnen_Kalender trigge red, updating ABFALL Muelltonnen ...
Creating socket: Invalid argument
Set scan parameters failed: Input/output error
Internals:
DEF 192.168.1.100
FD 45
FHEMIP 192.168.1.82
GATEWAY 192.168.1.100
GATEWAY_IP 192.168.1.100
NAME Xiaomi.GW2
NOTIFYDEV global
NR 29
NTFY_ORDER 50-Xiaomi.GW2
SID 286c07f0a2a3
STATE off
TYPE XiaomiSmartHome
VERSION 1.12
Helper:
DBLOG:
RGB:
myDbLog:
TIME 1511533101.97499
VALUE 0
heartbeat:
myDbLog:
TIME 1511533675.93901
VALUE 286c07f0a2a3
illumination:
myDbLog:
TIME 1511533101.97499
VALUE 554
password:
myDbLog:
TIME 1511528406.5401
VALUE giveaPassword!
proto_version:
myDbLog:
TIME 1511529891.74211
VALUE 1.0.9
rgb:
myDbLog:
TIME 1511529886.67262
VALUE 00ff00
state:
myDbLog:
TIME 1511529890.92244
VALUE off
token:
myDbLog:
TIME 1511533675.93901
VALUE ZE0dNRxsVsmA8JrP
READINGS:
2017-11-24 15:18:21 RGB 0
2017-11-24 15:27:55 heartbeat 286c07f0a2a3
2017-11-24 15:18:21 illumination 554
2017-11-24 14:24:37 password cedc5e4zev6jroxs
2017-11-24 14:00:05 pct 100
2017-11-24 14:24:51 proto_version 1.0.9
2017-11-24 14:24:50 rgb 000000
2017-11-24 14:00:05 ringtone 21
2017-11-24 14:24:50 state off
2017-11-24 15:27:55 token ZE0dNRxsVsmA8JrP
2017-11-24 14:00:05 volume 10
helper:
ConnectionState Connected
host 192.168.1.100
prevrgbvalue 00ff00
Attributes:
devStateIcon {Color_devStateIcon(ReadingsVal($name,"rgb","000000"))}
room MiSmartHome
verbose 5
webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off
2017.11.28 18:40:59 5: Xiaomi.GW2: Reading> Reading start
2017.11.28 18:40:59 4: Xiaomi.GW2: Reading> Heartbeat from 192.168.1.100 received with 286c07f0a2a3
2017.11.28 18:41:09 5: Xiaomi.GW2: Read> Read start
2017.11.28 18:41:09 5: Xiaomi.GW2: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07f0a2a3","short_id":"0","token":"70aNWtVzxHCM3Djw","data":"{\"ip\":\"1
92.168.1.100\"}"}
2017.11.28 18:41:09 5: Xiaomi.GW2: Read> HASH correctly
2017.11.28 18:41:09 5: Xiaomi.GW2: Reading> Reading start
2017.11.28 18:41:09 4: Xiaomi.GW2: Reading> Heartbeat from 192.168.1.100 received with 286c07f0a2a3
2017.11.28 18:44:58 5: Xiaomi.GW2: Reading> Reading start
2017.11.28 18:44:58 4: Xiaomi.GW2: Reading> Heartbeat from 192.168.1.100 received with 286c07f0a2a3
2017.11.28 18:44:59 5: Xiaomi.GW2: Read> Read start
2017.11.28 18:44:59 5: Xiaomi.GW2: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00889222","short_id":"0","token":"8PlUfFE7UYrfQyu2","data":"{\"ip\":\"192.168.1.81\"}"}
2017.11.28 18:44:59 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/71_XiaomiSmartHome.pm line 147.
2017.11.28 18:44:59 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 149.
2017.11.28 18:44:59 5: Xiaomi.GW2: Read> Change HASH Ref to
2017.11.28 18:44:59 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 163.
Can't call method "incr_parse" on an undefined value at ./FHEM/71_XiaomiSmartHome.pm line 164.
(END)
2017.11.28 19:39:36 5: Xiaomi.GW2: connect> ConnectStart
2017.11.28 19:39:36 4: Xiaomi.GW2: connecting
2017.11.28 19:39:36 5: Xiaomi.GW2: getGatewaySID> Answer {"cmd":"iam","port":"9898","sid":"286c07f0a2a3","model":"gateway","ip":"192.168.1.100"}
2017.11.28 19:39:36 4: Xiaomi.GW2: getGatewaySID> Find SID for Gateway: 286c07f0a2a3
2017.11.28 19:39:36 4: Xiaomi.GW2: connect> Connected
...
2017.11.28 19:39:42 5: Xiaomi.GW2: Read> Read start
2017.11.28 19:39:42 5: Xiaomi.GW2: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07f0a2a3","short_id":"0","token":"Ta8FssqvvNkuRdPP","data":"{\"ip\":\"1
92.168.1.100\"}"}
2017.11.28 19:39:42 5: Xiaomi.GW2: Read> HASH correctly
2017.11.28 19:39:42 5: Xiaomi.GW2: Reading> Reading start
2017.11.28 19:39:42 4: Xiaomi.GW2: Reading> Heartbeat from 192.168.1.100 received with 286c07f0a2a3
2017.11.28 19:39:43 5: Xiaomi.GW2: updateAllReadings> Starting UpdateALLReadings
2017.11.28 19:39:43 4: Xiaomi.GW2: Write> Get all Sensors
2017.11.28 19:39:43 4: Xiaomi.GW2: Write> {"cmd" : "get_id_list"} 192.168.1.100
2017.11.28 19:39:43 5: Xiaomi.GW2: Write> End 192.168.1.100
2017.11.28 19:39:43 5: Xiaomi.GW2: Read> Read start
2017.11.28 19:39:43 5: Xiaomi.GW2: Read> {"cmd":"get_id_list_ack","sid":"286c07f0a2a3","token":"57PMLQlLqwfmt6wa","data":"[\"158d00015ccad3\"]"}
2017.11.28 19:39:43 5: Xiaomi.GW2: Read> HASH correctly
2017.11.28 19:39:43 5: Xiaomi.GW2: Reading> Reading start
2017.11.28 19:39:43 4: Xiaomi.GW2: Reading> PushRead:158d00015ccad3
2017.11.28 19:39:43 4: Xiaomi.GW2: Write> {"cmd":"read","sid":"158d00015ccad3"}192.168.1.100
2017.11.28 19:39:43 5: Xiaomi.GW2: Write> End 192.168.1.100
2017.11.28 19:39:43 5: Xiaomi.GW2: Read> Read start
2017.11.28 19:39:43 5: Xiaomi.GW2: Read> {"cmd":"read_ack","model":"sensor_ht","sid":"158d00015ccad3","short_id":54019,"data":"{\"voltage\":2985,\"temperature\":\"2123\",\"humidity\":\"5596\"}"}
2017.11.28 19:39:43 5: Xiaomi.GW2: Read> Dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d00015ccad3","short_id":54019,"data":"{\"voltage\":2985,\"temperature\":\"2123\",\"humidity\":\"5596\"}"}
2017.11.28 19:39:43 5: Xiaomi.GW2: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d00015ccad3","short_id":54019,"data":"{\\"voltage\\":2985,\\"temperature\\":\\"2123\\",\\"humidity\\":\\"5596\\"}"}
2017.11.28 19:39:43 4: Xiaomi.GW2: DEV_Parse> IS DEFINED sensor_ht : 158d00015ccad3
2017.11.28 19:39:43 5: Xiaomi.GW2: DEV_Read> SID: 158d00015ccad3 XiaomiSmartHome_Device
2017.11.28 19:39:43 4: Xiaomi.GW2: DEV_Read> Name: XMI_158d00015ccad3 SID: 158d00015ccad3 Type: sensor_ht Voltage: 2985
2017.11.28 19:39:43 3: Xiaomi.GW2: DEV_Read> Name: XMI_158d00015ccad3 SID: 158d00015ccad3 Type: sensor_ht Temperature: 21.23 Round: 2
...
Zitat von: okiberlin am 28 November 2017, 19:44:29Moin,
Hallo Torte,
nachdem es jetzt ein paar Tage mit nur einem GW lief habe ich jetzt in der App wieder das zweite hinzugefügt (und auch Debug aktiviert). Prompt crasht FHEM :(
vorher (ein GW) kommt alle 10sCode Auswählen
2017.11.28 18:40:59 5: Xiaomi.GW2: Reading> Reading start
2017.11.28 18:40:59 4: Xiaomi.GW2: Reading> Heartbeat from 192.168.1.100 received with 286c07f0a2a3
2017.11.28 18:41:09 5: Xiaomi.GW2: Read> Read start
2017.11.28 18:41:09 5: Xiaomi.GW2: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07f0a2a3","short_id":"0","token":"70aNWtVzxHCM3Djw","data":"{\"ip\":\"1
92.168.1.100\"}"}
2017.11.28 18:41:09 5: Xiaomi.GW2: Read> HASH correctly
2017.11.28 18:41:09 5: Xiaomi.GW2: Reading> Reading start
2017.11.28 18:41:09 4: Xiaomi.GW2: Reading> Heartbeat from 192.168.1.100 received with 286c07f0a2a3
zweites GW dazuCode Auswählen
2017.11.28 18:44:58 5: Xiaomi.GW2: Reading> Reading start
2017.11.28 18:44:58 4: Xiaomi.GW2: Reading> Heartbeat from 192.168.1.100 received with 286c07f0a2a3
2017.11.28 18:44:59 5: Xiaomi.GW2: Read> Read start
2017.11.28 18:44:59 5: Xiaomi.GW2: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00889222","short_id":"0","token":"8PlUfFE7UYrfQyu2","data":"{\"ip\":\"192.168.1.81\"}"}
2017.11.28 18:44:59 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/71_XiaomiSmartHome.pm line 147.
2017.11.28 18:44:59 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 149.
2017.11.28 18:44:59 5: Xiaomi.GW2: Read> Change HASH Ref to
2017.11.28 18:44:59 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 163.
Can't call method "incr_parse" on an undefined value at ./FHEM/71_XiaomiSmartHome.pm line 164.
(END)
Zweites GW in der App wieder entfernt, FHEM restart, alles läuft.Code Auswählen
2017.11.28 19:39:36 5: Xiaomi.GW2: connect> ConnectStart
2017.11.28 19:39:36 4: Xiaomi.GW2: connecting
2017.11.28 19:39:36 5: Xiaomi.GW2: getGatewaySID> Answer {"cmd":"iam","port":"9898","sid":"286c07f0a2a3","model":"gateway","ip":"192.168.1.100"}
2017.11.28 19:39:36 4: Xiaomi.GW2: getGatewaySID> Find SID for Gateway: 286c07f0a2a3
2017.11.28 19:39:36 4: Xiaomi.GW2: connect> Connected
...
2017.11.28 19:39:42 5: Xiaomi.GW2: Read> Read start
2017.11.28 19:39:42 5: Xiaomi.GW2: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07f0a2a3","short_id":"0","token":"Ta8FssqvvNkuRdPP","data":"{\"ip\":\"1
92.168.1.100\"}"}
2017.11.28 19:39:42 5: Xiaomi.GW2: Read> HASH correctly
2017.11.28 19:39:42 5: Xiaomi.GW2: Reading> Reading start
2017.11.28 19:39:42 4: Xiaomi.GW2: Reading> Heartbeat from 192.168.1.100 received with 286c07f0a2a3
2017.11.28 19:39:43 5: Xiaomi.GW2: updateAllReadings> Starting UpdateALLReadings
2017.11.28 19:39:43 4: Xiaomi.GW2: Write> Get all Sensors
2017.11.28 19:39:43 4: Xiaomi.GW2: Write> {"cmd" : "get_id_list"} 192.168.1.100
2017.11.28 19:39:43 5: Xiaomi.GW2: Write> End 192.168.1.100
2017.11.28 19:39:43 5: Xiaomi.GW2: Read> Read start
2017.11.28 19:39:43 5: Xiaomi.GW2: Read> {"cmd":"get_id_list_ack","sid":"286c07f0a2a3","token":"57PMLQlLqwfmt6wa","data":"[\"158d00015ccad3\"]"}
2017.11.28 19:39:43 5: Xiaomi.GW2: Read> HASH correctly
2017.11.28 19:39:43 5: Xiaomi.GW2: Reading> Reading start
2017.11.28 19:39:43 4: Xiaomi.GW2: Reading> PushRead:158d00015ccad3
2017.11.28 19:39:43 4: Xiaomi.GW2: Write> {"cmd":"read","sid":"158d00015ccad3"}192.168.1.100
2017.11.28 19:39:43 5: Xiaomi.GW2: Write> End 192.168.1.100
2017.11.28 19:39:43 5: Xiaomi.GW2: Read> Read start
2017.11.28 19:39:43 5: Xiaomi.GW2: Read> {"cmd":"read_ack","model":"sensor_ht","sid":"158d00015ccad3","short_id":54019,"data":"{\"voltage\":2985,\"temperature\":\"2123\",\"humidity\":\"5596\"}"}
2017.11.28 19:39:43 5: Xiaomi.GW2: Read> Dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d00015ccad3","short_id":54019,"data":"{\"voltage\":2985,\"temperature\":\"2123\",\"humidity\":\"5596\"}"}
2017.11.28 19:39:43 5: Xiaomi.GW2: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d00015ccad3","short_id":54019,"data":"{\\"voltage\\":2985,\\"temperature\\":\\"2123\\",\\"humidity\\":\\"5596\\"}"}
2017.11.28 19:39:43 4: Xiaomi.GW2: DEV_Parse> IS DEFINED sensor_ht : 158d00015ccad3
2017.11.28 19:39:43 5: Xiaomi.GW2: DEV_Read> SID: 158d00015ccad3 XiaomiSmartHome_Device
2017.11.28 19:39:43 4: Xiaomi.GW2: DEV_Read> Name: XMI_158d00015ccad3 SID: 158d00015ccad3 Type: sensor_ht Voltage: 2985
2017.11.28 19:39:43 3: Xiaomi.GW2: DEV_Read> Name: XMI_158d00015ccad3 SID: 158d00015ccad3 Type: sensor_ht Temperature: 21.23 Round: 2
...
Wo liegt der Fehler? Ich bin ratlos...
Viele Grüße
oki
2017.11.29 00:09:31 5: Xiaomi.GW2: Notify> NotifyStart
2017.11.29 00:09:31 5: Xiaomi.GW2: Notify> Starting Connect after global
2017.11.29 00:09:34 5: Xiaomi.GW2: connect> ConnectStart
2017.11.29 00:09:34 4: Xiaomi.GW2: connecting
2017.11.29 00:09:34 5: Xiaomi.GW2: getGatewaySID> Answer {"cmd":"iam","port":"9898","sid":"286c07f0a2a3","model":"gateway","ip":"192.168.1.100"}
2017.11.29 00:09:34 4: Xiaomi.GW2: getGatewaySID> Find SID for Gateway: 286c07f0a2a3
2017.11.29 00:09:34 4: Xiaomi.GW2: connect> Connected
2017.11.29 00:09:34 3: DbRep myDBRep - connected
2017.11.29 00:09:35 5: Xiaomi.GW2: Read> Read start
2017.11.29 00:09:35 5: Xiaomi.GW2: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07f0a2a3","short_id":"0","token":"sE2e2XWB87FYB5jv","data":"{\"ip\":\"192.168.1.100\"}"}
2017.11.29 00:09:35 5: Xiaomi.GW2: Read> HASH correctly
2017.11.29 00:09:35 5: Xiaomi.GW2: Reading> Reading start
2017.11.29 00:09:35 4: Xiaomi.GW2: Reading> Heartbeat from 192.168.1.100 received with 286c07f0a2a3
2017.11.29 00:09:37 5: Xiaomi.GW2: Read> Read start
2017.11.29 00:09:37 5: Xiaomi.GW2: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce00889222","short_id":"0","token":"wrCwQs0gKiwlx2Fg","data":"{\"ip\":\"192.168.1.81\"}"}
2017.11.29 00:09:37 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/71_XiaomiSmartHome.pm line 147.
2017.11.29 00:09:37 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 149.
2017.11.29 00:09:37 5: Xiaomi.GW2: Read> Change HASH Ref to
2017.11.29 00:09:37 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 163.
Can't call method "incr_parse" on an undefined value at ./FHEM/71_XiaomiSmartHome.pm line 164.
define Xiaomi.GW2 XiaomiSmartHome 192.168.1.100
attr Xiaomi.GW2 devStateIcon {Color_devStateIcon(ReadingsVal($name,"rgb","00000$
attr Xiaomi.GW2 room MiSmartHome
attr Xiaomi.GW2 verbose 5
attr Xiaomi.GW2 webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off
2017.11.29 00:17:09 5: Xiaomi.GW1: connect> ConnectStart
2017.11.29 00:17:09 4: Xiaomi.GW1: connecting
2017.11.29 00:17:09 5: Xiaomi.GW1: getGatewaySID> Answer {"cmd":"iam","port":"9898","sid":"34ce00889222","model":"gateway","ip":"192.168.1.81"}
2017.11.29 00:17:09 4: Xiaomi.GW1: getGatewaySID> Find SID for Gateway: 34ce00889222
2017.11.29 00:17:09 4: Xiaomi.GW1: connect> Connected
2017.11.29 00:17:14 5: Xiaomi.GW1: Read> Read start
2017.11.29 00:17:14 5: Xiaomi.GW1: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c07f0a2a3","short_id":"0","token":"o4iFZ2zr4pE9aNAx","data":"{\"ip\":\"192.168.1.100\"}"}
2017.11.29 00:17:14 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/71_XiaomiSmartHome.pm line 147.
2017.11.29 00:17:14 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 149.
2017.11.29 00:17:14 5: Xiaomi.GW1: Read> Change HASH Ref to
2017.11.29 00:17:14 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 163.
Can't call method "incr_parse" on an undefined value at ./FHEM/71_XiaomiSmartHome.pm line 164.
Zitat von: torte am 29 November 2017, 07:35:19Klingt plausibel, immer nur 1 device aktiv haben bei der Einrichtung, erst wenn beide einzeln drin waren beide
also, was das Problem verursachen könnte, wenn in der APP zwei GWs drin sind und für lan freigeschaltet ABER nur ein GW
ist als define in FHEM drin. Beide GWs Reporten ja LEIDER über den selben Port. FHEM versucht nun die Meldungen des zweiten GWs zu verarbeiten
für welchen es noch kein define gibt, und hat damit dann ein Problem. Habe das so in dieser Reihenfolge noch nie getestet 8) muss ich mal probieren
und dann eine Fehlerbehandlung einbauen.
@OKI probiere erstmal wie oben in Post davor.
Zitat von: tomahawk2015 am 29 November 2017, 14:17:29Hi Thorsten,
Hallo,
es gibt ja in der Xiaomi-Sensorfamilie auch einen für Gas (CH4). Hat den schon jemand ausprobiert bzw. wäre der auch durch das Modul unterstützt?
Viele Grüße
Thorsten
Zitat von: neumann am 29 November 2017, 21:01:00
Hallo zusammen,
hat wer schon Erfahrungen mit den Teilen gemacht? https://www.gearbest.com/access-control/pp_626698.html (https://www.gearbest.com/access-control/pp_626698.html)
Werden die unterstützt?
Danke und Lg
Oskar
Zitat von: m_gatz am 29 November 2017, 21:11:07
Ja, der wird unterstützt. Er passt aber nicht in die deutschen Standard Unterputzdosen.
Ich hab einen hier ungenutzt liegen.
Zitat von: torte am 22 November 2017, 06:57:58
Guten morgen,
es war aber Port 9898 und 4321.
Das Modul sucht eine NIC und bindet sich dann auf diese IP/NIC (FHEMIP).
An dieser NIC werden dann die Gateway Antworten erwartet.
Grüße
Torte
2017.12.03 13:52:53 5: XiaomiGateway: Notify> NotifyStart
2017.12.03 13:52:57 5: XiaomiGateway: Read> Read start
2017.12.03 13:52:57 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce008d79d8","short_id":"0","token":"SEgASYOTczL8Acx9","data":"{\"ip\":\"192.168.178.127\"}"}
2017.12.03 13:52:57 5: XiaomiGateway: Read> HASH correctly
2017.12.03 13:52:57 5: XiaomiGateway: Reading> Reading start
2017.12.03 13:52:57 4: XiaomiGateway: Reading> Heartbeat from 192.168.178.127 received with 34ce008d79d8
2017.12.03 13:53:07 5: XiaomiGateway: Read> Read start
2017.12.03 13:53:07 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce008d79d8","short_id":"0","token":"vjnkeSKKvGfj1Ck6","data":"{\"ip\":\"192.168.178.127\"}"}
2017.12.03 13:53:07 5: XiaomiGateway: Read> HASH correctly
2017.12.03 13:53:07 5: XiaomiGateway: Reading> Reading start
2017.12.03 13:53:07 4: XiaomiGateway: Reading> Heartbeat from 192.168.178.127 received with 34ce008d79d8
2017.12.03 13:53:17 5: XiaomiGateway: Read> Read start
2017.12.03 13:53:17 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce008d79d8","short_id":"0","token":"ld2KGAIbbYkFEBs6","data":"{\"ip\":\"192.168.178.127\"}"}
2017.12.03 13:53:17 5: XiaomiGateway: Read> HASH correctly
2017.12.03 13:53:17 5: XiaomiGateway: Reading> Reading start
2017.12.03 13:53:17 4: XiaomiGateway: Reading> Heartbeat from 192.168.178.127 received with 34ce008d79d8
2017.12.03 13:53:27 5: XiaomiGateway: Read> Read start
2017.12.03 13:53:27 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce008d79d8","short_id":"0","token":"vDebVN3oNrn70n5W","data":"{\"ip\":\"192.168.178.127\"}"}
2017.12.03 13:53:27 5: XiaomiGateway: Read> HASH correctly
2017.12.03 13:53:27 5: XiaomiGateway: Reading> Reading start
2017.12.03 13:53:27 4: XiaomiGateway: Reading> Heartbeat from 192.168.178.127 received with 34ce008d79d8
2017.12.03 13:53:37 5: XiaomiGateway: Read> Read start
2017.12.03 13:53:37 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce008d79d8","short_id":"0","token":"ljemyk4sKmAnkhiZ","data":"{\"ip\":\"192.168.178.127\"}"}
2017.12.03 13:53:37 5: XiaomiGateway: Read> HASH correctly
2017.12.03 13:53:37 5: XiaomiGateway: Reading> Reading start
2017.12.03 13:53:37 4: XiaomiGateway: Reading> Heartbeat from 192.168.178.127 received with 34ce008d79d8
2017.12.03 13:53:38 5: XiaomiGateway: updateAllReadings> Starting UpdateALLReadings
2017.12.03 13:53:38 4: XiaomiGateway: Write> Get all Sensors
2017.12.03 13:53:38 4: XiaomiGateway: Write> {"cmd" : "get_id_list"} 192.168.178.127
2017.12.03 13:53:38 5: XiaomiGateway: Write> End 192.168.178.127
2017.12.03 13:53:38 5: XiaomiGateway: Get> UpdateALLReadings Started
2017.12.03 13:53:38 5: XiaomiGateway: Read> Read start
2017.12.03 13:53:38 5: XiaomiGateway: Read> {"cmd":"get_id_list_ack","sid":"34ce008d79d8","token":"8xRD3ITTqEN7m6Mn","data":"[\"158d0001b961ae\"]"}
2017.12.03 13:53:38 5: XiaomiGateway: Read> HASH correctly
2017.12.03 13:53:38 5: XiaomiGateway: Reading> Reading start
2017.12.03 13:53:38 4: XiaomiGateway: Reading> PushRead:158d0001b961ae
2017.12.03 13:53:38 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d0001b961ae"} 192.168.178.127
2017.12.03 13:53:38 5: XiaomiGateway: Write> End 192.168.178.127
2017.12.03 13:53:38 5: XiaomiGateway: Read> Read start
2017.12.03 13:53:38 5: XiaomiGateway: Read> {"cmd":"read_ack","model":"weather.v1","sid":"158d0001b961ae","short_id":60543,"data":"{\"voltage\":3095,\"temperature\":\"1805\",\"humidity\":\"4445\",\"pressure\":\"95110\"}"}
2017.12.03 13:53:38 5: XiaomiGateway: Read> Dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d0001b961ae","short_id":60543,"data":"{\"voltage\":3095,\"temperature\":\"1805\",\"humidity\":\"4445\",\"pressure\":\"95110\"}"}
2017.12.03 13:53:38 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d0001b961ae","short_id":60543,"data":"{\\"voltage\\":3095,\\"temperature\\":\\"1805\\",\\"humidity\\":\\"4445\\",\\"pressure\\":\\"95110\\"}"}
2017.12.03 13:53:38 4: XiaomiGateway: DEV_Parse> UNDEFINED weather.v1 : 158d0001b961ae
2017.12.03 13:53:38 5: XiaomiGateway: Notify> NotifyStart
2017.12.03 13:53:44 5: XiaomiGateway: updateAllReadings> Starting UpdateALLReadings
2017.12.03 13:53:44 4: XiaomiGateway: Write> Get all Sensors
2017.12.03 13:53:44 4: XiaomiGateway: Write> {"cmd" : "get_id_list"} 192.168.178.127
2017.12.03 13:53:44 5: XiaomiGateway: Write> End 192.168.178.127
2017.12.03 13:53:44 5: XiaomiGateway: Get> UpdateALLReadings Started
2017.12.03 13:53:44 5: XiaomiGateway: Read> Read start
2017.12.03 13:53:44 5: XiaomiGateway: Read> {"cmd":"get_id_list_ack","sid":"34ce008d79d8","token":"1pB6bANCC2pYIdei","data":"[\"158d0001b961ae\"]"}
2017.12.03 13:53:44 5: XiaomiGateway: Read> HASH correctly
2017.12.03 13:53:44 5: XiaomiGateway: Reading> Reading start
2017.12.03 13:53:44 4: XiaomiGateway: Reading> PushRead:158d0001b961ae
2017.12.03 13:53:44 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d0001b961ae"} 192.168.178.127
2017.12.03 13:53:44 5: XiaomiGateway: Write> End 192.168.178.127
2017.12.03 13:53:44 5: XiaomiGateway: Read> Read start
2017.12.03 13:53:44 5: XiaomiGateway: Read> {"cmd":"read_ack","model":"weather.v1","sid":"158d0001b961ae","short_id":60543,"data":"{\"voltage\":3095,\"temperature\":\"1805\",\"humidity\":\"4445\",\"pressure\":\"95110\"}"}
2017.12.03 13:53:44 5: XiaomiGateway: Read> Dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d0001b961ae","short_id":60543,"data":"{\"voltage\":3095,\"temperature\":\"1805\",\"humidity\":\"4445\",\"pressure\":\"95110\"}"}
2017.12.03 13:53:44 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d0001b961ae","short_id":60543,"data":"{\\"voltage\\":3095,\\"temperature\\":\\"1805\\",\\"humidity\\":\\"4445\\",\\"pressure\\":\\"95110\\"}"}
2017.12.03 13:53:44 4: XiaomiGateway: DEV_Parse> UNDEFINED weather.v1 : 158d0001b961ae
2017.12.03 13:53:44 5: XiaomiGateway: Notify> NotifyStart
2017.12.03 13:53:56 5: XiaomiGateway: Notify> NotifyStart
2017.12.03 13:53:57 5: XiaomiGateway: Read> Read start
2017.12.03 13:53:57 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce008d79d8","short_id":"0","token":"VqGj6wsOWTvc8xIa","data":"{\"ip\":\"192.168.178.127\"}"}
2017.12.03 13:53:57 5: XiaomiGateway: Read> HASH correctly
2017.12.03 13:53:57 5: XiaomiGateway: Reading> Reading start
2017.12.03 13:53:57 4: XiaomiGateway: Reading> Heartbeat from 192.168.178.127 received with 34ce008d79d8
2017.12.03 13:54:00 5: XiaomiGateway: Notify> NotifyStart
ZitatYou must often click on the APP versionsnumber to activate the hidden menu.
Zitat von: torte am 07 Dezember 2017, 07:01:19
In der kommenden Version werde ich die Readings auf vielfachen Wunsch dem "quasi Standard" anpassen.
Zitat von: hijo am 07 Dezember 2017, 22:01:44Gucke mal unter changelog
Ich habe mal wieder nach langer Zeit ein Update gemacht. Danach lief leider nichts mehr. Hat meine Geräte nicht mehr erkannt. Habe dann die pm Module gelöscht und wieder neu eingespielt, weil ich dachte dass beim Update was schief lief. Jetzt bekomme ich beim Installieren diese Meldung:
Can't locate Math/Round.pm in @INC (you may need to install the Math::Round module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl ./FHEM) at ./FHEM/71_XiaomiSmartHome_Device.pm line 27. BEGIN failed--compilation aborted at ./FHEM/71_XiaomiSmartHome_Device.pm line 27.
Hilfe
define MIGATE2 XiaomiSmartHome 192.168.xx.xx
Cannot load module XiaomiSmartHome
2017.12.09 09:52:34 1: PERL WARNING: Bareword found where operator expected at ./FHEM/71_XiaomiSmartHome.pm line 30, near "<title>fhem"
2017.12.09 09:52:34 1: PERL WARNING: (Missing operator before fhem?)
2017.12.09 09:52:34 1: PERL WARNING: Bareword found where operator expected at ./FHEM/71_XiaomiSmartHome.pm line 30, near "71_XiaomiSmartHome"
2017.12.09 09:52:34 1: PERL WARNING: (Missing operator before XiaomiSmartHome?)
2017.12.09 09:52:34 1: reload: Error:Modul 71_XiaomiSmartHome deactivated:
Unrecognized character \xC2; marked by <-- HERE after at master <-- HERE near column 63 at ./FHEM/71_XiaomiSmartHome.pm line 30.
2017.12.09 09:52:34 0: Unrecognized character \xC2; marked by <-- HERE after at master <-- HERE near column 63 at ./FHEM/71_XiaomiSmartHome.pm line 30.
2017.12.09 14:43:33 3: Xiaomi: Reading> SID: 34ce00fa6154 Type: Gateway RGB: 0
2017.12.09 14:43:33 3: Xiaomi: Reading> SID: 34ce00fa6154 Type: Gateway Illumination: 1263
2017.12.09 14:43:50 3: Xiaomi: Reading> SID: 34ce00fa6154 Type: Gateway RGB: 0
2017.12.09 14:43:50 3: Xiaomi: Reading> SID: 34ce00fa6154 Type: Gateway Illumination: 1199
2017.12.09 14:44:08 3: Xiaomi: Reading> SID: 34ce00fa6154 Type: Gateway RGB: 0
2017.12.09 14:44:08 3: Xiaomi: Reading> SID: 34ce00fa6154 Type: Gateway Illumination: 1138
2017.12.09 14:44:24 3: Xiaomi: Reading> SID: 34ce00fa6154 Type: Gateway RGB: 0
2017.12.09 14:44:24 3: Xiaomi: Reading> SID: 34ce00fa6154 Type: Gateway Illumination: 1079
2017.12.09 14:44:42 3: Xiaomi: Reading> SID: 34ce00fa6154 Type: Gateway RGB: 0
2017.12.09 14:44:42 3: Xiaomi: Reading> SID: 34ce00fa6154 Type: Gateway Illumination: 1013
2017.12.09 14:45:07 3: Xiaomi: Reading> SID: 34ce00fa6154 Type: Gateway RGB: 0
2017.12.09 14:45:07 3: Xiaomi: Reading> SID: 34ce00fa6154 Type: Gateway Illumination: 944
2017.12.09 14:45:31 3: Xiaomi: Reading> SID: 34ce00fa6154 Type: Gateway RGB: 0
2017.12.09 14:45:31 3: Xiaomi: Reading> SID: 34ce00fa6154 Type: Gateway Illumination: 893
2017.12.09 14:45:57 3: Xiaomi: Reading> SID: 34ce00fa6154 Type: Gateway RGB: 0
2017.12.09 14:45:57 3: Xiaomi: Reading> SID: 34ce00fa6154 Type: Gateway Illumination: 820
Zitat von: Neuhier am 09 Dezember 2017, 18:49:51
RGB: 0 = Gateway ist aus ( Leuchtring )
Illumination = Umgebungshelligkeit beim Gateway - sinkender Wert - es wird Nacht.
Beleuchtung im entsprechendem Raum, dürfte den Wert in die Höhe treiben.
intervals <Start>-<Ende> <Start>-<Ende> ...
intervals 07:00-08:00 16:30-18:00
Schaltet das Gerät innerhalb der übergebenen Zeiträumen via on ein. Sobald die aktuelle Zeit ausserhalb dieser Zeiträume liegt, wird das Gerät via off wieder ausgeschaltet. Es können dabei beliebig viele Zeiträume angegeben werden.
Zitat von: STING333 am 14 Dezember 2017, 20:49:56Hi Gehardt,
Hallo zusammen,
hat einer von euch zwei Gateways in FHEM integriert? bei mir passiert folgendes sobald das zwei im WLAN ist stürzt FHEM ab. Stecke ich das zweite Gateway aus und Starte FHEM wieder ist alles fein.
Im Log habe ich nur folgenden Eintrag gefunden der mir aber nicht unbedingt weiter hilft
PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 163.
Can't call method "incr_parse" on an undefined value at ./FHEM/71_XiaomiSmartHome.pm
Die beiden Gateways haben verschiedene SSIDs im Router oder kann das Modul nur ein Gateway "verarbeiten"??
Der Gedanke war das zweite Gateway als Nachtlicht / Sirene / vielleicht wenn es irgendwann geht als "Lautsprecher" nutzen.
Sollte ich noch was an Details berichten müssen oder hier falsch sein bitte kurze Rückmeldung - Danke.
Gruß
Gerhard
Zitat von: STING333 am 14 Dezember 2017, 21:35:54Du kannst einfach ein define machen von dem zweiten ohne das es im Strom steckt.
Hallo Torte,
danke für die schnelle Antwort, so habe ich es Versucht jeweils eins alleine kein Problem, kommt das zweite dazu, crasht FHEM wieder. Wann ist der Release geplant? Dann würde ich einfach solange warten.
Danke & Gruß
Gerhard
Zitat von: torte am 03 Dezember 2017, 20:08:55
Nabend,
@basty2 nein gibt es nicht, warum sollte sich die IP des FHEM Servers ändern wenn du dich über VPN verbindest, verstehe ich nicht.
Hat dein FHEM Server mehrere NICs? Die erste die das Modul findet wird genutzt.
Grüße
Torte
Zitat von: torte am 18 Dezember 2017, 07:14:32
Hi Basty,
dann lass doch den VPN verzögert nach dem FHEM Dienst starten.
Mal sehen vielleicht bau ich mal was dafür ein, kann aber nicht sagen wann ich dazu kommen werde.
Grüße
Torte
send: Invalid argument at ./FHEM/71_XiaomiSmartHome.pm line 286.
286: $sidsock->mcast_send($msg,$ip . ':4321') or die "send: $!";
define XiaomiBase XiaomiSmartHome 192.168.1.170
attr XiaomiBase devStateIcon Connected:10px-kreis-gruen
attr XiaomiBase group Controller/Bridge
attr XiaomiBase icon audio_volume_high
attr XiaomiBase stateFormat state
attr XiaomiBase webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off
define XMI_158d000105cebd XiaomiSmartHome_Device 158d000105cebd magnet XiaomiBase
attr XMI_158d000105cebd IODev XiaomiBase
attr XMI_158d000105cebd alias Kontakt.Kühlschrank
attr XMI_158d000105cebd devStateIcon open:fts_door_open@red close:fts_door@green
attr XMI_158d000105cebd group Fenster und Türen
define XMI_158d0001116b69 XiaomiSmartHome_Device 158d0001116b69 sensor_ht XiaomiBase
attr XMI_158d0001116b69 IODev XiaomiBase
attr XMI_158d0001116b69 alias Temperatur Gäste WC
attr XMI_158d0001116b69 group Heizung und Thermostate
attr XMI_158d0001116b69 stateFormat temperature °C
define XMI_158d0001231947 XiaomiSmartHome_Device 158d0001231947 motion XiaomiBase
attr XMI_158d0001231947 IODev XiaomiBase
attr XMI_158d0001231947 alias Bewegungserkennung kl. Flur EG
attr XMI_158d0001231947 devStateIcon motion:motion_detector@red off:motion_detector@green no_motion:motion_detector@green
attr XMI_158d0001231947 group Bewegungsscanner
define XMI_158d000149b71f XiaomiSmartHome_Device 158d000149b71f switch XiaomiBase
attr XMI_158d000149b71f IODev XiaomiBase
attr XMI_158d000149b71f alias kleiner runder Taster
attr XMI_158d000149b71f group Taster
define XMI_158d00016d9a85 XiaomiSmartHome_Device 158d00016d9a85 weather.v1 XiaomiBase
attr XMI_158d00016d9a85 IODev XiaomiBase
attr XMI_158d00016d9a85 alias Temperatur Kühlschrank
attr XMI_158d00016d9a85 group Heizung und Thermostate
attr XMI_158d00016d9a85 stateFormat temperature °C
» libjson-perl« ist bereits die neuste Version (2.90-1).
» libcrypt-cbc-perl« ist bereits die neuste Version (2.33-1).
» libio-socket-multicast-perl« ist bereits die neuste Version (1.12-2build2).
» libmath-round-perl« ist bereits die neuste Version (0.07-1).
» Crypt::Cipher::AES is up to date (0.055).
Zitat von: torte am 21 Dezember 2017, 09:08:27
mit welchem define versuchst du das nun genau?
Zitat von: Sequenzial am 21 Dezember 2017, 09:41:14
Hi torte,
hmm, dem Standard define von FHEM ... 5.8 ?!? :-[
https://fhem.de/commandref_DE.html#define (https://fhem.de/commandref_DE.html#define)
So legt man doch devices an, dachte ich.
Bin von der Frage etwas irritiert. Gibt es verschiedene define Versionen?
Gruß
Hajo
define XiaomiBase XiaomiSmartHome 192.168.1.170
define XMI_158d000105cebd XiaomiSmartHome_Device 158d000105cebd magnet XiaomiBase
define XMI_158d0001116b69 XiaomiSmartHome_Device 158d0001116b69 sensor_ht XiaomiBase
define XMI_158d0001231947 XiaomiSmartHome_Device 158d0001231947 motion XiaomiBase
define XMI_158d000149b71f XiaomiSmartHome_Device 158d000149b71f switch XiaomiBase
define XMI_158d00016d9a85 XiaomiSmartHome_Device 158d00016d9a85 weather.v1 XiaomiBase
2017-12-21 14:23:30 XiaomiSmartHome XiaomiBase RGB: 0
2017-12-21 14:23:30 XiaomiSmartHome XiaomiBase illumination: 495
2017-12-21 14:23:50 XiaomiSmartHome XiaomiBase heartbeat: 286c0785e8f4
2017-12-21 14:23:50 XiaomiSmartHome XiaomiBase token: qmZzM8O2FfnZ9OUc
2017-12-21 14:24:00 XiaomiSmartHome XiaomiBase heartbeat: 286c0785e8f4
2017-12-21 14:24:00 XiaomiSmartHome XiaomiBase token: 0YhwthLOlqA9AtPW
2017-12-21 14:24:04 XiaomiSmartHome_Device XMI_158d000105cebd close
2017-12-21 14:24:04 XiaomiSmartHome_Device XMI_158d000105cebd no_close: 0
2017-12-21 14:24:04 XiaomiSmartHome_Device XMI_158d000105cebd battery: ok
2017-12-21 14:24:04 XiaomiSmartHome_Device XMI_158d000105cebd battery_level: 2.9
2017-12-21 14:24:10 XiaomiSmartHome XiaomiBase heartbeat: 286c0785e8f4
2017-12-21 14:24:10 XiaomiSmartHome XiaomiBase token: csckp7OEdjt9WnfS
2017-12-21 14:24:20 XiaomiSmartHome XiaomiBase heartbeat: 286c0785e8f4
2017-12-21 14:24:20 XiaomiSmartHome XiaomiBase token: frbaNjQRip0VXWAH
2017.12.21 14:24:22 4: XMI_158d0001116b69: DEV_updateSReading> for 158d0001116b69
2017.12.21 14:24:22 4: XiaomiBase: Write> {"cmd":"read","sid":"158d0001116b69"} 192.168.1.170
send: Invalid argument at ./FHEM/71_XiaomiSmartHome.pm line 498.
define XMI_158d0001116b69 XiaomiSmartHome_Device 158d0001116b69 sensor_ht XiaomiBase
define XMI_158d00016d9a85 XiaomiSmartHome_Device 158d00016d9a85 weather.v1 XiaomiBase
define XMI_158d0001116b69 XiaomiSmartHome_Device 158d0001116b69 weather.v1 XiaomiBase
2017.12.21 22:05:38 1: Including fhem.cfg
2017.12.21 22:05:51 1: SignalDuino.433.RXB6/define: /dev/serial/by-path/pci-0000:0b:00.0-usb-0:1.2.4.1.3:1.0-port0@57600
2017.12.21 22:05:51 1: SignalDuino.433.RXB6/init: /dev/serial/by-path/pci-0000:0b:00.0-usb-0:1.2.4.1.3:1.0-port0@57600
2017.12.21 22:05:55 1: SignalDuino.868.cc1011/define: /dev/serial/by-path/pci-0000:0b:00.0-usb-0:1.2.4.2.3:1.0-port0@57600
2017.12.21 22:05:55 1: SignalDuino.868.cc1011/init: /dev/serial/by-path/pci-0000:0b:00.0-usb-0:1.2.4.2.3:1.0-port0@57600
2017.12.21 22:06:03 1: Including ./log/fhem.save
2017.12.21 22:06:03 5: XiaomiBase: Notify> NotifyStart
2017.12.21 22:06:03 5: XiaomiBase: Notify> Starting Connect after global
2017.12.21 22:06:03 0: Featurelevel: 5.8
2017.12.21 22:06:03 0: Server started with 368 defined entities (fhem.pl:15657/2017-12-20 perl:5.022001 os:linux user:fhem pid:11260)
2017.12.21 22:06:04 5: XiaomiBase: Notify> NotifyStart
2017.12.21 22:06:05 4: CUL_Parse: cul.868.SlowRF T11052C820C -68
2017.12.21 22:06:09 5: XiaomiBase: connect> ConnectStart
2017.12.21 22:06:09 4: XiaomiBase: connecting
2017.12.21 22:06:09 5: XiaomiBase: getGatewaySID> Answer {"cmd":"iam","port":"9898","sid":"286c0785e8f4","model":"gateway","ip":"192.168.1.170"}
2017.12.21 22:06:09 4: XiaomiBase: getGatewaySID> Find SID for Gateway: 286c0785e8f4
2017.12.21 22:06:09 4: XiaomiBase: connect> Connected
2017.12.21 22:06:12 5: XiaomiBase: Read> Read start
2017.12.21 22:06:12 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"q9A14Rih19y2gG6C","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:06:12 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:06:12 5: XiaomiBase: Reading> Reading start
2017.12.21 22:06:12 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:06:16 5: XiaomiBase: updateAllReadings> Starting UpdateALLReadings
2017.12.21 22:06:16 4: XiaomiBase: Write> Get all Sensors
2017.12.21 22:06:16 4: XiaomiBase: Write> {"cmd" : "get_id_list"} 192.168.1.170
2017.12.21 22:06:16 5: XiaomiBase: Write> End 192.168.1.170
2017.12.21 22:06:16 5: XiaomiBase: Read> Read start
2017.12.21 22:06:16 5: XiaomiBase: Read> {"cmd":"get_id_list_ack","sid":"286c0785e8f4","token":"WxSoXVdp376FwaxJ","data":"[\"158d000105cebd\",\"158d0001116b69\",\"158d0001231947\",\"158d000 149b71f\",\"158d00016d9a85\"]"}
2017.12.21 22:06:16 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:06:16 5: XiaomiBase: Reading> Reading start
2017.12.21 22:06:16 4: XiaomiBase: Reading> PushRead:158d000105cebd
2017.12.21 22:06:16 4: XiaomiBase: Write> {"cmd":"read","sid":"158d000105cebd"} 192.168.1.170
2017.12.21 22:06:16 5: XiaomiBase: Write> End 192.168.1.170
2017.12.21 22:06:16 4: XiaomiBase: Reading> PushRead:158d0001116b69
2017.12.21 22:06:16 4: XiaomiBase: Write> {"cmd":"read","sid":"158d0001116b69"} 192.168.1.170
2017.12.21 22:06:16 5: XiaomiBase: Write> End 192.168.1.170
2017.12.21 22:06:16 4: XiaomiBase: Reading> PushRead:158d0001231947
2017.12.21 22:06:16 4: XiaomiBase: Write> {"cmd":"read","sid":"158d0001231947"} 192.168.1.170
2017.12.21 22:06:16 5: XiaomiBase: Write> End 192.168.1.170
2017.12.21 22:06:16 4: XiaomiBase: Reading> PushRead:158d000149b71f
2017.12.21 22:06:16 4: XiaomiBase: Write> {"cmd":"read","sid":"158d000149b71f"} 192.168.1.170
2017.12.21 22:06:16 5: XiaomiBase: Write> End 192.168.1.170
2017.12.21 22:06:16 4: XiaomiBase: Reading> PushRead:158d00016d9a85
2017.12.21 22:06:16 4: XiaomiBase: Write> {"cmd":"read","sid":"158d00016d9a85"} 192.168.1.170
2017.12.21 22:06:16 5: XiaomiBase: Write> End 192.168.1.170
2017.12.21 22:06:16 5: XiaomiBase: Read> Read start
2017.12.21 22:06:16 5: XiaomiBase: Read> {"cmd":"read_ack","model":"magnet","sid":"158d000105cebd","short_id":30723,"data":"{\"voltage\":2905,\"status\":\"close\"}"}
2017.12.21 22:06:16 5: XiaomiBase: Read> Dispatch {"cmd":"read_ack","model":"magnet","sid":"158d000105cebd","short_id":30723,"data":"{\"voltage\":2905,\"status\":\"close\"}"}
2017.12.21 22:06:16 5: XiaomiBase: dispatch {"cmd":"read_ack","model":"magnet","sid":"158d000105cebd","short_id":30723,"data":"{\\"voltage\\":2905,\\"status\\":\\"close\\"}"}
2017.12.21 22:06:16 4: XiaomiBase: DEV_Parse> IS DEFINED magnet : 158d000105cebd
2017.12.21 22:06:16 5: XiaomiBase: DEV_Read> SID: 158d000105cebd XiaomiSmartHome_Device
2017.12.21 22:06:16 3: XiaomiBase: DEV_Read> Name: XMI_158d000105cebd SID: 158d000105cebd Type: magnet Status: close
2017.12.21 22:06:16 4: XiaomiBase: DEV_Read> Name: XMI_158d000105cebd SID: 158d000105cebd Type: magnet Voltage: 2905
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Value: 2.905 points: 1
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Result_value: 2.9
2017.12.21 22:06:16 5: XiaomiBase: Read> Read start
2017.12.21 22:06:16 5: XiaomiBase: Read> {"cmd":"read_ack","model":"sensor_ht","sid":"158d0001116b69","short_id":795,"data":"{\"voltage\":3005,\"temperature\":\"1940\",\"humidity\":\"5904\" }"}
2017.12.21 22:06:16 5: XiaomiBase: Read> Dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d0001116b69","short_id":795,"data":"{\"voltage\":3005,\"temperature\":\"1940\",\"humidity\" :\"5904\"}"}
2017.12.21 22:06:16 5: XiaomiBase: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d0001116b69","short_id":795,"data":"{\\"voltage\\":3005,\\"temperature\\":\\"1940\\",\\"humidity\ \":\\"5904\\"}"}
2017.12.21 22:06:16 4: XiaomiBase: DEV_Parse> IS DEFINED sensor_ht : 158d0001116b69
2017.12.21 22:06:16 5: XiaomiBase: DEV_Read> SID: 158d0001116b69 XiaomiSmartHome_Device
2017.12.21 22:06:16 4: XiaomiBase: DEV_Read> Name: XMI_158d0001116b69 SID: 158d0001116b69 Type: sensor_ht Voltage: 3005
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Value: 3.005 points: 1
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Result_value: 3
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Value: 19.40 points: 2
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Result_value: 19.4
2017.12.21 22:06:16 3: XiaomiBase: DEV_Read> Name: XMI_158d0001116b69 SID: 158d0001116b69 Type: sensor_ht Temperature: 19.4 Round: 2
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Value: 59.04 points: 2
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Result_value: 59.04
2017.12.21 22:06:16 3: XiaomiBase: DEV_Read> Name: XMI_158d0001116b69 SID: 158d0001116b69 Type: sensor_ht Humidity: 59.04 Round: 2
2017.12.21 22:06:16 5: XiaomiBase: Read> Read start
2017.12.21 22:06:16 5: XiaomiBase: Read> {"cmd":"read_ack","model":"motion","sid":"158d0001231947","short_id":38586,"data":"{\"voltage\":3015}"}
2017.12.21 22:06:16 5: XiaomiBase: Read> Dispatch {"cmd":"read_ack","model":"motion","sid":"158d0001231947","short_id":38586,"data":"{\"voltage\":3015}"}
2017.12.21 22:06:16 5: XiaomiBase: dispatch {"cmd":"read_ack","model":"motion","sid":"158d0001231947","short_id":38586,"data":"{\\"voltage\\":3015}"}
2017.12.21 22:06:16 4: XiaomiBase: DEV_Parse> IS DEFINED motion : 158d0001231947
2017.12.21 22:06:16 5: XiaomiBase: DEV_Read> SID: 158d0001231947 XiaomiSmartHome_Device
2017.12.21 22:06:16 4: XiaomiBase: DEV_Read> Name: XMI_158d0001231947 SID: 158d0001231947 Type: motion Voltage: 3015
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Value: 3.015 points: 1
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Result_value: 3
2017.12.21 22:06:16 5: XiaomiBase: Read> Read start
2017.12.21 22:06:16 5: XiaomiBase: Read> {"cmd":"read_ack","model":"switch","sid":"158d000149b71f","short_id":40345,"data":"{\"voltage\":3032}"}
2017.12.21 22:06:16 5: XiaomiBase: Read> Dispatch {"cmd":"read_ack","model":"switch","sid":"158d000149b71f","short_id":40345,"data":"{\"voltage\":3032}"}
2017.12.21 22:06:16 5: XiaomiBase: dispatch {"cmd":"read_ack","model":"switch","sid":"158d000149b71f","short_id":40345,"data":"{\\"voltage\\":3032}"}
2017.12.21 22:06:16 4: XiaomiBase: DEV_Parse> IS DEFINED switch : 158d000149b71f
2017.12.21 22:06:16 5: XiaomiBase: DEV_Read> SID: 158d000149b71f XiaomiSmartHome_Device
2017.12.21 22:06:16 4: XiaomiBase: DEV_Read> Name: XMI_158d000149b71f SID: 158d000149b71f Type: switch Voltage: 3032
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Value: 3.032 points: 1
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Result_value: 3
2017.12.21 22:06:16 5: XiaomiBase: Read> Read start
2017.12.21 22:06:16 5: XiaomiBase: Read> {"cmd":"read_ack","model":"weather.v1","sid":"158d00016d9a85","short_id":27729,"data":"{\"voltage\":2945,\"temperature\":\"644\",\"humidity\":\"4437 \",\"pressure\":\"101952\"}"}
2017.12.21 22:06:16 5: XiaomiBase: Read> Dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d00016d9a85","short_id":27729,"data":"{\"voltage\":2945,\"temperature\":\"644\",\"humidity \":\"4437\",\"pressure\":\"101952\"}"}
2017.12.21 22:06:16 5: XiaomiBase: dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d00016d9a85","short_id":27729,"data":"{\\"voltage\\":2945,\\"temperature\\":\\"644\\",\\"humidit y\\":\\"4437\\",\\"pressure\\":\\"101952\\"}"}
2017.12.21 22:06:16 4: XiaomiBase: DEV_Parse> IS DEFINED weather.v1 : 158d00016d9a85
2017.12.21 22:06:16 5: XiaomiBase: DEV_Read> SID: 158d00016d9a85 XiaomiSmartHome_Device
2017.12.21 22:06:16 4: XiaomiBase: DEV_Read> Name: XMI_158d00016d9a85 SID: 158d00016d9a85 Type: weather.v1 Voltage: 2945
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Value: 2.945 points: 1
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Result_value: 2.9
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Value: 06.44 points: 2
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Result_value: 6.44
2017.12.21 22:06:16 3: XiaomiBase: DEV_Read> Name: XMI_158d00016d9a85 SID: 158d00016d9a85 Type: weather.v1 Temperature: 6.44 Round: 2
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Value: 44.37 points: 2
2017.12.21 22:06:16 5: XiaomiBase: DEV_Round> Result_value: 44.37
2017.12.21 22:06:16 3: XiaomiBase: DEV_Read> Name: XMI_158d00016d9a85 SID: 158d00016d9a85 Type: weather.v1 Humidity: 44.37 Round: 2
2017.12.21 22:06:16 3: XiaomiBase: DEV_Read> Name: XMI_158d00016d9a85 SID: 158d00016d9a85 Type: weather.v1 Pressure: 101.952
2017.12.21 22:06:22 5: XiaomiBase: Read> Read start
2017.12.21 22:06:22 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"HuhSiqnefyjYQtVa","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:06:22 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:06:22 5: XiaomiBase: Reading> Reading start
2017.12.21 22:06:22 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:06:32 5: XiaomiBase: Read> Read start
2017.12.21 22:06:32 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"jrDk0AvmOSot19nk","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:06:32 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:06:32 5: XiaomiBase: Reading> Reading start
2017.12.21 22:06:32 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:06:42 5: XiaomiBase: Read> Read start
2017.12.21 22:06:42 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"oyMDsQkJqz8qIa8p","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:06:42 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:06:42 5: XiaomiBase: Reading> Reading start
2017.12.21 22:06:42 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:06:52 5: XiaomiBase: Read> Read start
2017.12.21 22:06:52 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"i30B4MTbiigtIPKo","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:06:52 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:06:52 5: XiaomiBase: Reading> Reading start
2017.12.21 22:06:52 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:07:02 5: XiaomiBase: Read> Read start
2017.12.21 22:07:02 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"82SASqh5WXMbsQE4","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:07:02 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:07:02 5: XiaomiBase: Reading> Reading start
2017.12.21 22:07:02 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:07:12 5: XiaomiBase: Read> Read start
2017.12.21 22:07:12 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"ES6ojKCn5W9GgC73","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:07:12 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:07:12 5: XiaomiBase: Reading> Reading start
2017.12.21 22:07:12 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:07:22 5: XiaomiBase: Read> Read start
2017.12.21 22:07:22 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"vHffbdqvxhwNLGxo","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:07:22 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:07:22 5: XiaomiBase: Reading> Reading start
2017.12.21 22:07:22 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:07:32 5: XiaomiBase: Read> Read start
2017.12.21 22:07:32 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"SRjDouzgB41rYA0z","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:07:32 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:07:32 5: XiaomiBase: Reading> Reading start
2017.12.21 22:07:32 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:07:42 5: XiaomiBase: Read> Read start
2017.12.21 22:07:42 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"rTVYPOCNnbodHPnN","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:07:42 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:07:42 5: XiaomiBase: Reading> Reading start
2017.12.21 22:07:42 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:07:51 5: XiaomiBase: Read> Read start
2017.12.21 22:07:51 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"OYN1N7WKmfZWj0NA","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:07:51 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:07:51 5: XiaomiBase: Reading> Reading start
2017.12.21 22:07:51 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:08:01 5: XiaomiBase: Read> Read start
2017.12.21 22:08:01 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"I5VJQhrGq1hmEJIC","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:08:01 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:08:01 5: XiaomiBase: Reading> Reading start
2017.12.21 22:08:01 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:08:11 5: XiaomiBase: Read> Read start
2017.12.21 22:08:11 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"qaWmGuBEHic05TgL","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:08:11 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:08:11 5: XiaomiBase: Reading> Reading start
2017.12.21 22:08:11 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:08:21 5: XiaomiBase: Read> Read start
2017.12.21 22:08:21 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"eM7W2E4gS3ri47QF","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:08:21 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:08:21 5: XiaomiBase: Reading> Reading start
2017.12.21 22:08:21 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:08:31 5: XiaomiBase: Read> Read start
2017.12.21 22:08:31 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"lJUQ2JUCY5hgYmVg","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:08:31 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:08:31 5: XiaomiBase: Reading> Reading start
2017.12.21 22:08:31 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:08:41 5: XiaomiBase: Read> Read start
2017.12.21 22:08:41 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"bIol0usW5DyFldWL","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:08:41 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:08:41 5: XiaomiBase: Reading> Reading start
2017.12.21 22:08:41 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:08:51 5: XiaomiBase: Read> Read start
2017.12.21 22:08:51 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"kzxotYWH3elF89JD","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:08:51 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:08:51 5: XiaomiBase: Reading> Reading start
2017.12.21 22:08:51 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:09:01 5: XiaomiBase: Read> Read start
2017.12.21 22:09:01 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"hlwD2mWDFwHxmWhc","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:09:01 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:09:01 5: XiaomiBase: Reading> Reading start
2017.12.21 22:09:01 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:09:11 5: XiaomiBase: Read> Read start
2017.12.21 22:09:11 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"KLnim2jwqzIwC2vk","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:09:11 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:09:11 5: XiaomiBase: Reading> Reading start
2017.12.21 22:09:11 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:09:21 5: XiaomiBase: Read> Read start
2017.12.21 22:09:21 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"8EA98le6elW0t03Z","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:09:21 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:09:21 5: XiaomiBase: Reading> Reading start
2017.12.21 22:09:21 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:09:31 5: XiaomiBase: Read> Read start
2017.12.21 22:09:31 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"cKsN4PCthomCRmgI","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:09:31 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:09:31 5: XiaomiBase: Reading> Reading start
2017.12.21 22:09:31 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:09:41 5: XiaomiBase: Read> Read start
2017.12.21 22:09:41 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"UD0NRgkYJlen4PGu","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:09:41 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:09:41 5: XiaomiBase: Reading> Reading start
2017.12.21 22:09:41 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:09:51 5: XiaomiBase: Read> Read start
2017.12.21 22:09:51 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"xNIgAyq6yJAAdfbr","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:09:51 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:09:51 5: XiaomiBase: Reading> Reading start
2017.12.21 22:09:51 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:10:01 5: XiaomiBase: Read> Read start
2017.12.21 22:10:01 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"Doiph6klOUdSjqHS","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:10:01 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:10:01 5: XiaomiBase: Reading> Reading start
2017.12.21 22:10:01 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:10:11 5: XiaomiBase: Read> Read start
2017.12.21 22:10:11 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"sJY7hEXB5G946wwQ","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:10:11 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:10:11 5: XiaomiBase: Reading> Reading start
2017.12.21 22:10:11 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:10:21 5: XiaomiBase: Read> Read start
2017.12.21 22:10:21 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"mzwGXBlMhBiYii0k","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:10:21 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:10:21 5: XiaomiBase: Reading> Reading start
2017.12.21 22:10:21 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:10:31 5: XiaomiBase: Read> Read start
2017.12.21 22:10:31 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"uy9C6VABncAUjhf0","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:10:31 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:10:31 5: XiaomiBase: Reading> Reading start
2017.12.21 22:10:31 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.21 22:10:41 5: XiaomiBase: Read> Read start
2017.12.21 22:10:41 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","s id":"286c0785e8f4","short_id":"0","token":"wTGv43s2FwIYCrJ9","data":"{\"ip\":\"1 92.168.1.170\"}"}
2017.12.21 22:10:41 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:10:41 5: XiaomiBase: Reading> Reading start
2017.12.21 22:10:41 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 receive d with 286c0785e8f4
2017.12.21 22:10:51 5: XiaomiBase: Read> Read start
2017.12.21 22:10:51 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"FLgAxUX1ieEUuXwV","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.21 22:10:51 5: XiaomiBase: Read> HASH correctly
2017.12.21 22:10:51 5: XiaomiBase: Reading> Reading start
2017.12.21 22:10:51 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
Zitat von: torte am 20 Dezember 2017, 23:07:26
Hi Maiks,
1. Nein die Sensoren müssen an dem jeweiligen Gateway angemeldet werden.
2. Soweit ich mich erinnere ist das möglich, nagel mich nicht drauf fest, meine sowas stand in der Doku. Hab das aber nicht implementiert da ich jetzt keinen Sinn darin
gesehen hatte und auch keinen Gas/Smoke Sensor habe.
Ich bin aber gerade noch an zwei anderen Sachen dran, die ich gerade noch implementiere möchte. Danach schau ich mal. Bis auf weiteres kannst ja auch das GW Heulen lassen auf Volume 100 und in Rot blinken zb. 8)
HIER NOCH MAL EIN GROßES DANKESCHÖN AN MEINE SPONSOREN
Hendrik und Karsten habe mich sehr gefreut!!.
Vielen Dank, wünsche euch allen schon mal frohe Feiertage!
Torte
2017.12.23 11:38:19 5: XiaomiBase: connect> ConnectStart
2017.12.23 11:38:19 4: XiaomiBase: connecting
send: Invalid argument at ./FHEM/71_XiaomiSmartHome.pm line 286.
2017.12.23 11:50:04 1: SignalDuino.433.RXB6/define: /dev/serial/by-path/pci-0000:0b:00.0-usb-0:1.2.4.1.3:1.0-port0@57600
2017.12.23 11:50:04 1: SignalDuino.433.RXB6/init: /dev/serial/by-path/pci-0000:0b:00.0-usb-0:1.2.4.1.3:1.0-port0@57600
2017.12.23 11:50:07 1: SignalDuino.868.cc1011/define: /dev/serial/by-path/pci-0000:0b:00.0-usb-0:1.2.4.2.3:1.0-port0@57600
2017.12.23 11:50:07 1: SignalDuino.868.cc1011/init: /dev/serial/by-path/pci-0000:0b:00.0-usb-0:1.2.4.2.3:1.0-port0@57600
2017.12.23 11:50:14 1: Including ./log/fhem.save
2017.12.23 11:50:14 5: XiaomiBase: Notify> NotifyStart
2017.12.23 11:50:14 5: XiaomiBase: Notify> Starting Connect after global
2017.12.23 11:50:14 0: Featurelevel: 5.8
2017.12.23 11:50:14 0: Server started with 366 defined entities (fhem.pl:15667/2017-12-22 perl:5.022001 os:linux user:fhem pid:24680)
2017.12.23 11:50:15 5: XiaomiBase: Notify> NotifyStart
2017.12.23 11:50:19 5: XiaomiBase: connect> ConnectStart
2017.12.23 11:50:19 4: XiaomiBase: connecting
2017.12.23 11:50:19 5: XiaomiBase: getGatewaySID> Answer {"cmd":"iam","port":"9898","sid":"286c0785e8f4","model":"gateway","ip":"192.168.1.170"}
2017.12.23 11:50:19 4: XiaomiBase: getGatewaySID> Find SID for Gateway: 286c0785e8f4
2017.12.23 11:50:19 4: XiaomiBase: connect> Connected
2017.12.23 11:50:27 5: XiaomiBase: updateAllReadings> Starting UpdateALLReadings
2017.12.23 11:50:27 4: XiaomiBase: Write> Get all Sensors
2017.12.23 11:50:27 4: XiaomiBase: Write> {"cmd" : "get_id_list"} 192.168.1.170
2017.12.23 11:50:27 5: XiaomiBase: Write> End 192.168.1.170
2017.12.23 11:50:32 5: XiaomiBase: Read> Read start
2017.12.23 11:50:32 5: XiaomiBase: Read> {"cmd":"get_id_list_ack","sid":"286c0785e8f4","token":"1cmRx159Yxb7nujI","data":"[\"158d000105cebd\",\"158d0001116b69\",\"158d0001231947\",\"158d000149b71f\",\"158d00016d9a85\"]"}
2017.12.23 11:50:32 5: XiaomiBase: Read> HASH correctly
2017.12.23 11:50:32 5: XiaomiBase: Reading> Reading start
2017.12.23 11:50:32 4: XiaomiBase: Reading> PushRead:158d000105cebd
2017.12.23 11:50:32 4: XiaomiBase: Write> {"cmd":"read","sid":"158d000105cebd"} 192.168.1.170
2017.12.23 11:50:32 5: XiaomiBase: Write> End 192.168.1.170
2017.12.23 11:50:32 4: XiaomiBase: Reading> PushRead:158d0001116b69
2017.12.23 11:50:32 4: XiaomiBase: Write> {"cmd":"read","sid":"158d0001116b69"} 192.168.1.170
2017.12.23 11:50:32 5: XiaomiBase: Write> End 192.168.1.170
2017.12.23 11:50:32 4: XiaomiBase: Reading> PushRead:158d0001231947
2017.12.23 11:50:32 4: XiaomiBase: Write> {"cmd":"read","sid":"158d0001231947"} 192.168.1.170
2017.12.23 11:50:32 5: XiaomiBase: Write> End 192.168.1.170
2017.12.23 11:50:32 4: XiaomiBase: Reading> PushRead:158d000149b71f
2017.12.23 11:50:32 4: XiaomiBase: Write> {"cmd":"read","sid":"158d000149b71f"} 192.168.1.170
2017.12.23 11:50:32 5: XiaomiBase: Write> End 192.168.1.170
2017.12.23 11:50:32 4: XiaomiBase: Reading> PushRead:158d00016d9a85
2017.12.23 11:50:32 4: XiaomiBase: Write> {"cmd":"read","sid":"158d00016d9a85"} 192.168.1.170
2017.12.23 11:50:32 5: XiaomiBase: Write> End 192.168.1.170
2017.12.23 11:50:32 5: XiaomiBase: Read> Read start
2017.12.23 11:50:32 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"BuMavAEfjB4Rihh5","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.23 11:50:32 5: XiaomiBase: Read> HASH correctly
2017.12.23 11:50:32 5: XiaomiBase: Reading> Reading start
2017.12.23 11:50:32 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.23 11:50:32 5: XiaomiBase: Read> Read start
2017.12.23 11:50:32 5: XiaomiBase: Read> {"cmd":"read_ack","model":"magnet","sid":"158d000105cebd","short_id":30723,"data":"{\"voltage\":2905,\"status\":\"close\"}"}
2017.12.23 11:50:32 5: XiaomiBase: Read> Dispatch {"cmd":"read_ack","model":"magnet","sid":"158d000105cebd","short_id":30723,"data":"{\"voltage\":2905,\"status\":\"close\"}"}
2017.12.23 11:50:32 5: XiaomiBase: dispatch {"cmd":"read_ack","model":"magnet","sid":"158d000105cebd","short_id":30723,"data":"{\\"voltage\\":2905,\\"status\\":\\"close\\"}"}
2017.12.23 11:50:32 4: XiaomiBase: DEV_Parse> IS DEFINED magnet : 158d000105cebd
2017.12.23 11:50:32 5: XiaomiBase: DEV_Read> SID: 158d000105cebd XiaomiSmartHome_Device
2017.12.23 11:50:32 3: XiaomiBase: DEV_Read> Name: XMI_158d000105cebd SID: 158d000105cebd Type: magnet Status: close
2017.12.23 11:50:32 4: XiaomiBase: DEV_Read> Name: XMI_158d000105cebd SID: 158d000105cebd Type: magnet Voltage: 2905
2017.12.23 11:50:32 5: XiaomiBase: DEV_Round> Value: 2.905 points: 1
2017.12.23 11:50:32 5: XiaomiBase: DEV_Round> Result_value: 2.9
2017.12.23 11:50:32 5: XiaomiBase: Read> Read start
2017.12.23 11:50:32 5: XiaomiBase: Read> {"cmd":"read_ack","model":"sensor_ht","sid":"158d0001116b69","short_id":795,"data":"{\"voltage\":3005,\"temperature\":\"1802\",\"humidity\":\"5792\"}"}
2017.12.23 11:50:32 5: XiaomiBase: Read> Dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d0001116b69","short_id":795,"data":"{\"voltage\":3005,\"temperature\":\"1802\",\"humidity\":\"5792\"}"}
2017.12.23 11:50:32 5: XiaomiBase: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d0001116b69","short_id":795,"data":"{\\"voltage\\":3005,\\"temperature\\":\\"1802\\",\\"humidity\\":\\"5792\\"}"}
2017.12.23 11:50:32 4: XiaomiBase: DEV_Parse> IS DEFINED sensor_ht : 158d0001116b69
2017.12.23 11:50:32 5: XiaomiBase: DEV_Read> SID: 158d0001116b69 XiaomiSmartHome_Device
2017.12.23 11:50:32 4: XiaomiBase: DEV_Read> Name: XMI_158d0001116b69 SID: 158d0001116b69 Type: weather.v1 Voltage: 3005
2017.12.23 11:50:32 5: XiaomiBase: DEV_Round> Value: 3.005 points: 1
2017.12.23 11:50:32 5: XiaomiBase: DEV_Round> Result_value: 3
2017.12.23 11:50:32 5: XiaomiBase: DEV_Round> Value: 18.02 points: 2
2017.12.23 11:50:32 5: XiaomiBase: DEV_Round> Result_value: 18.02
2017.12.23 11:50:32 3: XiaomiBase: DEV_Read> Name: XMI_158d0001116b69 SID: 158d0001116b69 Type: weather.v1 Temperature: 18.02 Round: 2
2017.12.23 11:50:32 5: XiaomiBase: DEV_Round> Value: 57.92 points: 2
2017.12.23 11:50:32 5: XiaomiBase: DEV_Round> Result_value: 57.92
2017.12.23 11:50:32 3: XiaomiBase: DEV_Read> Name: XMI_158d0001116b69 SID: 158d0001116b69 Type: weather.v1 Humidity: 57.92 Round: 2
2017.12.23 11:50:33 5: XiaomiBase: Read> Read start
2017.12.23 11:50:33 5: XiaomiBase: Read> {"cmd":"read_ack","model":"motion","sid":"158d0001231947","short_id":38586,"data":"{\"voltage\":3015}"}
2017.12.23 11:50:33 5: XiaomiBase: Read> Dispatch {"cmd":"read_ack","model":"motion","sid":"158d0001231947","short_id":38586,"data":"{\"voltage\":3015}"}
2017.12.23 11:50:33 5: XiaomiBase: dispatch {"cmd":"read_ack","model":"motion","sid":"158d0001231947","short_id":38586,"data":"{\\"voltage\\":3015}"}
2017.12.23 11:50:33 4: XiaomiBase: DEV_Parse> IS DEFINED motion : 158d0001231947
2017.12.23 11:50:33 5: XiaomiBase: DEV_Read> SID: 158d0001231947 XiaomiSmartHome_Device
2017.12.23 11:50:33 4: XiaomiBase: DEV_Read> Name: XMI_158d0001231947 SID: 158d0001231947 Type: motion Voltage: 3015
2017.12.23 11:50:33 5: XiaomiBase: DEV_Round> Value: 3.015 points: 1
2017.12.23 11:50:33 5: XiaomiBase: DEV_Round> Result_value: 3
2017.12.23 11:50:33 5: XiaomiBase: Read> Read start
2017.12.23 11:50:33 5: XiaomiBase: Read> {"cmd":"read_ack","model":"switch","sid":"158d000149b71f","short_id":40345,"data":"{\"voltage\":3032}"}
2017.12.23 11:50:33 5: XiaomiBase: Read> Dispatch {"cmd":"read_ack","model":"switch","sid":"158d000149b71f","short_id":40345,"data":"{\"voltage\":3032}"}
2017.12.23 11:50:33 5: XiaomiBase: dispatch {"cmd":"read_ack","model":"switch","sid":"158d000149b71f","short_id":40345,"data":"{\\"voltage\\":3032}"}
2017.12.23 11:50:33 4: XiaomiBase: DEV_Parse> IS DEFINED switch : 158d000149b71f
2017.12.23 11:50:33 5: XiaomiBase: DEV_Read> SID: 158d000149b71f XiaomiSmartHome_Device
2017.12.23 11:50:33 4: XiaomiBase: DEV_Read> Name: XMI_158d000149b71f SID: 158d000149b71f Type: switch Voltage: 3032
2017.12.23 11:50:33 5: XiaomiBase: DEV_Round> Value: 3.032 points: 1
2017.12.23 11:50:33 5: XiaomiBase: DEV_Round> Result_value: 3
2017.12.23 11:50:33 5: XiaomiBase: Read> Read start
2017.12.23 11:50:33 5: XiaomiBase: Read> {"cmd":"read_ack","model":"weather.v1","sid":"158d00016d9a85","short_id":27729,"data":"{\"voltage\":2945,\"temperature\":\"656\",\"humidity\":\"5334\",\"pressure\":\"101723\"}"}
2017.12.23 11:50:33 5: XiaomiBase: Read> Dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d00016d9a85","short_id":27729,"data":"{\"voltage\":2945,\"temperature\":\"656\",\"humidity\":\"5334\",\"pressure\":\"101723\"}"}
2017.12.23 11:50:33 5: XiaomiBase: dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d00016d9a85","short_id":27729,"data":"{\\"voltage\\":2945,\\"temperature\\":\\"656\\",\\"humidity\\":\\"5334\\",\\"pressure\\":\\"101723\\"}"}
2017.12.23 11:50:33 4: XiaomiBase: DEV_Parse> IS DEFINED weather.v1 : 158d00016d9a85
2017.12.23 11:50:33 5: XiaomiBase: DEV_Read> SID: 158d00016d9a85 XiaomiSmartHome_Device
2017.12.23 11:50:33 4: XiaomiBase: DEV_Read> Name: XMI_158d00016d9a85 SID: 158d00016d9a85 Type: weather.v1 Voltage: 2945
2017.12.23 11:50:33 5: XiaomiBase: DEV_Round> Value: 2.945 points: 1
2017.12.23 11:50:33 5: XiaomiBase: DEV_Round> Result_value: 2.9
2017.12.23 11:50:33 5: XiaomiBase: DEV_Round> Value: 06.56 points: 2
2017.12.23 11:50:33 5: XiaomiBase: DEV_Round> Result_value: 6.56
2017.12.23 11:50:33 3: XiaomiBase: DEV_Read> Name: XMI_158d00016d9a85 SID: 158d00016d9a85 Type: weather.v1 Temperature: 6.56 Round: 2
2017.12.23 11:50:33 5: XiaomiBase: DEV_Round> Value: 53.34 points: 2
2017.12.23 11:50:33 5: XiaomiBase: DEV_Round> Result_value: 53.34
2017.12.23 11:50:33 3: XiaomiBase: DEV_Read> Name: XMI_158d00016d9a85 SID: 158d00016d9a85 Type: weather.v1 Humidity: 53.34 Round: 2
2017.12.23 11:50:33 3: XiaomiBase: DEV_Read> Name: XMI_158d00016d9a85 SID: 158d00016d9a85 Type: weather.v1 Pressure: 101.723
2017.12.23 11:50:39 5: XiaomiBase: Read> Read start
2017.12.23 11:50:39 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"ySXd7Cp7PIVgZnAB","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.23 11:50:39 5: XiaomiBase: Read> HASH correctly
2017.12.23 11:50:39 5: XiaomiBase: Reading> Reading start
2017.12.23 11:50:39 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
2017.12.23 11:50:49 5: XiaomiBase: Read> Read start
2017.12.23 11:50:49 5: XiaomiBase: Read> {"cmd":"heartbeat","model":"gateway","sid":"286c0785e8f4","short_id":"0","token":"Se1HwtkApZdLYfY3","data":"{\"ip\":\"192.168.1.170\"}"}
2017.12.23 11:50:49 5: XiaomiBase: Read> HASH correctly
2017.12.23 11:50:49 5: XiaomiBase: Reading> Reading start
2017.12.23 11:50:49 4: XiaomiBase: Reading> Heartbeat from 192.168.1.170 received with 286c0785e8f4
Update FHEM Modules
update all https://raw.githubusercontent.com/T0RST3N/fhem-XiaomiSmartHome/master/controls_mish.txt
define <DEINNAMEWIEDUWILLST> XiaomiSmartHome <IP_DES_MI_GATEWAYS>
Unknown module XiaomiSmartHome
Zitat von: The Spirit am 09 Januar 2018, 19:09:47Was steht den im log nach dem update all ...
bekomme es bei mir nicht hin.
wenn ich laut wikiCode AuswählenUpdate FHEM Modules
update all https://raw.githubusercontent.com/T0RST3N/fhem-XiaomiSmartHome/master/controls_mish.txt
mache, dann passiert nichts.
und wenn ich anschließendCode Auswählendefine <DEINNAMEWIEDUWILLST> XiaomiSmartHome <IP_DES_MI_GATEWAYS>
bekomme ich folgendesCode AuswählenUnknown module XiaomiSmartHome
was mache ich falsch?
cpan Crypt::Cipher::AES
2018.02.13 16:18:14 4: XiaomiSmartHomeGateway: Write> {"cmd":"write","model":"gateway","sid":"7811dcb3583d","short_id":0,"key":"8","data":"{\"rgb\":0,\"key\":\"da938bd17fda1674a4f555795f669295\"}" } 192.168.88.40
2018.02.13 16:18:14 5: XiaomiSmartHomeGateway: Write> End 192.168.88.40
2018.02.13 16:18:14 5: XiaomiSmartHomeGateway: Read> Read start
2018.02.13 16:18:14 5: XiaomiSmartHomeGateway: Read> {"cmd":"write_ack","sid":"7811dcb3583d","data":"{\"error\":\"Invalid key\"}"}
2018.02.13 16:18:14 5: XiaomiSmartHomeGateway: Read> Dispatch {"cmd":"write_ack","sid":"7811dcb3583d","data":"{\"error\":\"Invalid key\"}"}
2018.02.13 16:18:14 5: XiaomiSmartHomeGateway: dispatch {"cmd":"write_ack","sid":"7811dcb3583d","data":"{\\"error\\":\\"Invalid key\\"}"}
2018.02.13 16:18:14 3: XiaomiSmartHomeGateway: Unknown code {"cmd":"write_ack","sid":"7811dcb3583d","data":"{\"error\":\"Invalid key\"}"}, help me!
Zitat von: julianG am 13 Februar 2018, 16:21:29Hi Julian,
Hallo,
ich habe seit kurzem auch ein paar Xiaomi Komponenten, aber leider noch Probleme beim Zusammenspiel mit Fhem.
Der Temperatursensor wird korrekt ausgelesen, aber wenn ich z.B. die LED am Gateway über Fhem ein- oder ausschalten will bekomme ich in den Logs folgenden Fehler:Code Auswählen2018.02.13 16:18:14 4: XiaomiSmartHomeGateway: Write> {"cmd":"write","model":"gateway","sid":"7811dcb3583d","short_id":0,"key":"8","data":"{\"rgb\":0,\"key\":\"da938bd17fda1674a4f555795f669295\"}" } 192.168.88.40
2018.02.13 16:18:14 5: XiaomiSmartHomeGateway: Write> End 192.168.88.40
2018.02.13 16:18:14 5: XiaomiSmartHomeGateway: Read> Read start
2018.02.13 16:18:14 5: XiaomiSmartHomeGateway: Read> {"cmd":"write_ack","sid":"7811dcb3583d","data":"{\"error\":\"Invalid key\"}"}
2018.02.13 16:18:14 5: XiaomiSmartHomeGateway: Read> Dispatch {"cmd":"write_ack","sid":"7811dcb3583d","data":"{\"error\":\"Invalid key\"}"}
2018.02.13 16:18:14 5: XiaomiSmartHomeGateway: dispatch {"cmd":"write_ack","sid":"7811dcb3583d","data":"{\\"error\\":\\"Invalid key\\"}"}
2018.02.13 16:18:14 3: XiaomiSmartHomeGateway: Unknown code {"cmd":"write_ack","sid":"7811dcb3583d","data":"{\"error\":\"Invalid key\"}"}, help me!
Vielleicht kann ja jemand was damit anfangen und mir weiter helfen!
Viele Grüße
Julian
Zitat von: julianG am 13 Februar 2018, 22:22:37Ich bin mir sicher das es nicht stimmt, die Meldung aus dem Log ist die originale Antwort des Gateways.
Ja aber das Passwort stimmt. Habe es natürlich wie beschrieben eingetragen und auch mehrfach überprüft
2018.02.19 08:07:48 5: Xiaomi: Notify> NotifyStart
2018.02.19 08:07:48 5: Xiaomi: Notify> Starting Connect after global
2018.02.19 08:08:05 5: Xiaomi: connect> ConnectStart
2018.02.19 08:08:05 4: Xiaomi: connecting
send: Das Argument ist ungültig at ./FHEM/71_XiaomiSmartHome.pm line 286.
Internals:
CFGFN /opt/fhem/FHEM/99_xiaomi.cfg
DEF 192.168.2.100
FD 160
FHEMIP 192.168.2.22
GATEWAY 192.168.2.100
GATEWAY_IP 192.168.2.100
NAME Xiaomi
NOTIFYDEV global
NR 165
NTFY_ORDER 50-Xiaomi
SID 7811dcb236c9
STATE Connected
TYPE XiaomiSmartHome
VERSION 1.20
READINGS:
2018-02-19 07:42:52 RGB 0
2018-02-19 08:20:35 heartbeat 7811dcb236c9
2018-02-19 07:42:52 illumination 530
2018-02-12 11:24:12 password 75B2066FE16E4B38
2018-02-12 22:20:10 pct 100
2018-02-17 17:28:19 proto_version 1.0.9
2018-02-17 17:28:19 rgb 000000
2018-02-17 17:28:04 ringtone 8
2018-02-18 18:16:44 state Connected
2018-02-19 08:20:35 token EuwSV2fGM8Yl7QQm
2018-02-12 19:00:00 volume 95
helper:
ConnectionState Connected
host 192.168.2.100
Attributes:
devStateIcon {Color_devStateIcon(ReadingsVal($name,"rgb","000000"))}
group Gateway
room Xiaomi
verbose 5
webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off
Zitat von: lumi am 23 Februar 2018, 14:30:56Hi Mike,
Hallo,
ich nutze seit 11/2017 Xiaomi Komponenten mit Fhem.
Vielen Dank an Torte für die tolle Arbeit !
Seit die Temperatursensoren auch Minusgrade "sehen" gibt es falsche Werte im Bereich um 0°C (<1.00°C).
Mit diesem Fix https://forum.fhem.de/index.php?topic=79578.0 ist es etwas besser solange die Temperaturen nicht im Bereich von 0.0x°C bis -0.xx°C liegen.
Mein eigener Versuch (bei Länge 3 und "-" im String "-0." vor den String zu schreiben) zur Lösung liefert natürlich das falsche Ergebnis: 2018-02-23_13:46:53 XMI_klimasensor_6 temperature: -0.-48
Kann mir jemand bei dem Problem helfen, da ich eigentlich in C programmiere und mit Perl leider noch große Probleme habe.
Gruß Mike
update all https://raw.githubusercontent.com/T0RST3N/fhem-XiaomiSmartHome/master/controls_mish.txt
-1.49 °C, 30.78 %
Zitat von: Murdock am 07 März 2018, 20:05:36Hi Sven,
Hallo,
ich habe Probleme beim Benutzen und anlegen des Xiaomi Moduls für das Gateway.
fhem läuft jetzt auf einem Intel Nuc mit Ubuntu 16.04 LTS in einem Docker Container. Ich bin Umgezogen von einem PI3 mit Jessie, wo alles reibungslos und über Monate lief.
Wenn ich jetzt das define für das Gatway anlege, wird das Getway zwar angelegt, das fhem Startet danach aber immer wieder neu bis ich den define Eintrag aus der fhem.cfg wieder raus nehme. Ich habe die neusten Module, habe alles hier im Forum und aus dem Wiki probiert und es hat leider nichts funktioniert. Aufgefallen ist mir noch das ich auf dem PI3 zur Auswahl ein Dropdownmenu für Set und Get Befehle hatte.
Hier auf dem Intel Nuc habe ich nur ein Dropdownmenu für get Befehle.
Kann mir jemand weiter helfen, oder hat einen Tip für mich ? Ich habe nach meinem Umzug auf den Nuc alles wieder erfolgreich einbinden können, von alexa-fhem, lepresenced, pushover etc... leider komme ich hier jetzt nicht mehr weiter und bitte um euren Rat.
Danke
Gruß
Sven
Zitat von: torte am 07 März 2018, 20:14:22
Hi Sven,
was sagt den des Fhem Log?
Ist das Gateway und dein Fhem im selben LAN?
Gruß
Torte
Gesendet mit Tapatalk
Can't locate object method "new" via package "IO::Socket::Multicast" (perhaps you forgot to load "IO::Socket::Multicast"?) at ./FHEM/71_XiaomiSmartHome.pm line 282
root@NUC7i3BNK:/# cpan install I0::Socket:Multicast
Loading internal null logger. Install Log::Log4perl for logging messages
Reading '/root/.cpan/Metadata'
Database was generated on Wed, 07 Mar 2018 16:17:03 GMT
Warning: Cannot install I0::Socket:Multicast, don't know what it is.
Try the command
i /I0::Socket:Multicast/
to find objects with matching identifiers.
root@NUC7i3BNK:/# i /I0::Socket:Multicast/
47 0x2F 057 0b101111 '/'
73 0x49 0111 0b1001001 'I'
48 0x30 060 0b110000 '0'
58 0x3A 072 0b111010 ':'
58 0x3A 072 0b111010 ':'
83 0x53 0123 0b1010011 'S'
111 0x6F 0157 0b1101111 'o'
99 0x63 0143 0b1100011 'c'
107 0x6B 0153 0b1101011 'k'
101 0x65 0145 0b1100101 'e'
116 0x74 0164 0b1110100 't'
58 0x3A 072 0b111010 ':'
77 0x4D 0115 0b1001101 'M'
117 0x75 0165 0b1110101 'u'
108 0x6C 0154 0b1101100 'l'
116 0x74 0164 0b1110100 't'
105 0x69 0151 0b1101001 'i'
99 0x63 0143 0b1100011 'c'
97 0x61 0141 0b1100001 'a'
115 0x73 0163 0b1110011 's'
116 0x74 0164 0b1110100 't'
47 0x2F 057 0b101111 '/'
root@NUC7i3BNK:/#
sudo apt-get install libio-socket-multicast-perl
sudo cpan install IO::Socket::Multicast
sudo cpan install IO::Socket::Multicast
root@NUC7i3BNK:~# sudo cpan install IO::Socket:Multicast
Loading internal null logger. Install Log::Log4perl for logging messages
Reading '/root/.cpan/Metadata'
Database was generated on Wed, 07 Mar 2018 16:17:03 GMT
IO::Socket::Multicast is up to date (1.12).
Can't locate object method "new" via package "IO::Socket::Multicast" (perhaps you forgot to load "IO::Socket::Multicast"?) at ./FHEM/71_XiaomiSmartHome.pm line 282
my $sidsock = IO::Socket::Multicast->new( Proto => 'udp',LocalAddr => $hash->{FHEMIP}, LocalPort =>'4321', ReuseAddr => 1, Timeout => $timeout) or die "Creating socket: $!\n";
Zitat von: erdnar am 11 März 2018, 13:43:45Hi. Würde hier das Vorgehen verbose auf 5 (beim gateway) setzten und log posten.
Hallo,
ich versuche seit einiger Zeit XiaomiSmartHome zum Laufen zu bringen. Leider erfolglos. Zuerst auf einem Raspi3, nun auf einem NUC (Ubuntu Server 17.10) auf dem außer einem neuem Fhem nix weiter installiert ist. https://github.com/T0RST3N/fhem-XiaomiSmartHome/wiki habe ich (mehrfach) ordungsgemäß abgearbeitet. Die IP stimmt, das Device bleibt hartnäckig auf "Disconnected".
Da es weder auf dem Raspi noch auf dem NUC läuft, vermute ich einen Fehler außerhalb... nur was kann ich noch falsch gemacht haben?
Fhem (LAN) und Gateway (WLAN) sind im selben Netz (Fritzbox). Das Gateway funktioniert via Handy, Password habe ich ausgelesen.
Bei den Portfreigaben bin ich mir nicht sicher ... .
Was kann ich tun? :-\
Vorab vielen Dank
ErdnaR
Zitat von: erdnar am 11 März 2018, 20:04:09Hi, was steht zu dem Zeitpunkt im log?
:o
Jetzt habe ich doch noch ein kleines Problem ...
Auf dem Raspi läuft das Modul prima. Auf dem NUK auch ... fast.
Das Modul erkennt z.B. meine Tür-Fenster Melder.
Aber sobald ich z.B. die Farbe ändere, startet Fhem neu ...
Egal ob direkt mit dem Schalter am Modul oder per Befehl.
Danke
ErdnaR
2018.03.12 16:30:22 5: XiaomiGateway: connect> ConnectStart
2018.03.12 16:30:22 4: XiaomiGateway: connecting
2018.03.12 16:30:22 5: XiaomiGateway: getGatewaySID> Answer {"cmd":"iam","port":"9898","sid":"7811dcb21966","model":"gateway","ip":"192.168.2.79"}
2018.03.12 16:30:22 4: XiaomiGateway: getGatewaySID> Find SID for Gateway: 7811dcb21966
2018.03.12 16:30:22 4: XiaomiGateway: connect> Connected
2018.03.12 16:30:26 3: FHEMWEB WEB CSRF error: ne csrf_113805910056249 for client WEB_192.168.2.11_50163 / command set XiaomiGateway rgb ff0000. For details see the csrfToken FHEMWEB attribute.
2018.03.12 16:30:26 5: XiaomiGateway: Read> Read start
2018.03.12 16:30:26 5: XiaomiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"7811dcb21966","short_id":"0","token":"BxvcxREU76aGpwZ2","data":"{\"ip\":\"192.168.2.79\"}"}
2018.03.12 16:30:26 5: XiaomiGateway: Read> HASH correctly
2018.03.12 16:30:26 5: XiaomiGateway: Reading> Reading start
2018.03.12 16:30:26 4: XiaomiGateway: Reading> Heartbeat from 192.168.2.79 received with 7811dcb21966
2018.03.12 16:30:26 3: FHEMWEB WEB CSRF error: ne csrf_113805910056249 for client WEB_192.168.2.11_50163 / command set XiaomiGateway rgb ff0000. For details see the csrfToken FHEMWEB attribute.
2018.03.12 16:30:27 3: FHEMWEB WEB CSRF error: ne csrf_113805910056249 for client WEB_192.168.2.11_50163 / command set XiaomiGateway rgb 00ff00. For details see the csrfToken FHEMWEB attribute.
2018.03.12 16:30:28 3: FHEMWEB WEB CSRF error: ne csrf_113805910056249 for client WEB_192.168.2.11_50163 / command set XiaomiGateway rgb 0000ff. For details see the csrfToken FHEMWEB attribute.
2018.03.12 16:30:29 5: XiaomiGateway: updateAllReadings> Starting UpdateALLReadings
2018.03.12 16:30:29 4: XiaomiGateway: Write> Get all Sensors
2018.03.12 16:30:29 4: XiaomiGateway: Write> {"cmd" : "get_id_list"} 192.168.2.79
2018.03.12 16:30:29 5: XiaomiGateway: Write> End 192.168.2.79
2018.03.12 16:30:29 5: XiaomiGateway: Read> Read start
2018.03.12 16:30:29 5: XiaomiGateway: Read> {"cmd":"get_id_list_ack","sid":"7811dcb21966","token":"CAbQsxdE8AT8IY7L","data":"[\"158d00019f516b\",\"158d0001ab704e\",\"158d0001ab5591\"]"}
2018.03.12 16:30:29 5: XiaomiGateway: Read> HASH correctly
2018.03.12 16:30:29 5: XiaomiGateway: Reading> Reading start
2018.03.12 16:30:29 4: XiaomiGateway: Reading> PushRead:158d00019f516b
2018.03.12 16:30:29 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d00019f516b"} 192.168.2.79
2018.03.12 16:30:29 5: XiaomiGateway: Write> End 192.168.2.79
2018.03.12 16:30:29 4: XiaomiGateway: Reading> PushRead:158d0001ab704e
2018.03.12 16:30:29 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d0001ab704e"} 192.168.2.79
2018.03.12 16:30:29 5: XiaomiGateway: Write> End 192.168.2.79
2018.03.12 16:30:29 4: XiaomiGateway: Reading> PushRead:158d0001ab5591
2018.03.12 16:30:29 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d0001ab5591"} 192.168.2.79
2018.03.12 16:30:29 5: XiaomiGateway: Write> End 192.168.2.79
2018.03.12 16:30:29 5: XiaomiGateway: Read> Read start
2018.03.12 16:30:29 5: XiaomiGateway: Read> {"cmd":"read_ack","model":"magnet","sid":"158d00019f516b","short_id":8168,"data":"{\"voltage\":2975,\"status\":\"close\"}"}
2018.03.12 16:30:29 5: XiaomiGateway: Read> Dispatch {"cmd":"read_ack","model":"magnet","sid":"158d00019f516b","short_id":8168,"data":"{\"voltage\":2975,\"status\":\"close\"}"}
2018.03.12 16:30:29 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"magnet","sid":"158d00019f516b","short_id":8168,"data":"{\\"voltage\\":2975,\\"status\\":\\"close\\"}"}
2018.03.12 16:30:29 4: XiaomiGateway: DEV_Parse> IS DEFINED magnet : 158d00019f516b
2018.03.12 16:30:29 5: XiaomiGateway: DEV_Read> SID: 158d00019f516b XiaomiSmartHome_Device
2018.03.12 16:30:29 3: XiaomiGateway: DEV_Read> Name: XMI_158d00019f516b SID: 158d00019f516b Type: magnet Status: close
2018.03.12 16:30:29 4: XiaomiGateway: DEV_Read> Name: XMI_158d00019f516b SID: 158d00019f516b Type: magnet Voltage: 2975
2018.03.12 16:30:29 5: XiaomiGateway: DEV_Round> Value: 2.975 points: 1
2018.03.12 16:30:29 5: XiaomiGateway: DEV_Round> Result_value: 3
2018.03.12 16:30:29 5: XiaomiGateway: Read> Read start
2018.03.12 16:30:29 5: XiaomiGateway: Read> {"cmd":"read_ack","model":"magnet","sid":"158d0001ab704e","short_id":7611,"data":"{\"voltage\":3005,\"status\":\"close\"}"}
2018.03.12 16:30:29 5: XiaomiGateway: Read> Dispatch {"cmd":"read_ack","model":"magnet","sid":"158d0001ab704e","short_id":7611,"data":"{\"voltage\":3005,\"status\":\"close\"}"}
2018.03.12 16:30:29 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"magnet","sid":"158d0001ab704e","short_id":7611,"data":"{\\"voltage\\":3005,\\"status\\":\\"close\\"}"}
2018.03.12 16:30:29 4: XiaomiGateway: DEV_Parse> IS DEFINED magnet : 158d0001ab704e
2018.03.12 16:30:29 5: XiaomiGateway: DEV_Read> SID: 158d0001ab704e XiaomiSmartHome_Device
2018.03.12 16:30:29 3: XiaomiGateway: DEV_Read> Name: XMI_158d0001ab704e SID: 158d0001ab704e Type: magnet Status: close
2018.03.12 16:30:29 4: XiaomiGateway: DEV_Read> Name: XMI_158d0001ab704e SID: 158d0001ab704e Type: magnet Voltage: 3005
2018.03.12 16:30:29 5: XiaomiGateway: DEV_Round> Value: 3.005 points: 1
2018.03.12 16:30:29 5: XiaomiGateway: DEV_Round> Result_value: 3
2018.03.12 16:30:29 5: XiaomiGateway: Read> Read start
2018.03.12 16:30:29 5: XiaomiGateway: Read> {"cmd":"read_ack","model":"magnet","sid":"158d0001ab5591","short_id":64245,"data":"{\"voltage\":3015,\"status\":\"close\"}"}
2018.03.12 16:30:29 5: XiaomiGateway: Read> Dispatch {"cmd":"read_ack","model":"magnet","sid":"158d0001ab5591","short_id":64245,"data":"{\"voltage\":3015,\"status\":\"close\"}"}
2018.03.12 16:30:29 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"magnet","sid":"158d0001ab5591","short_id":64245,"data":"{\\"voltage\\":3015,\\"status\\":\\"close\\"}"}
2018.03.12 16:30:29 4: XiaomiGateway: DEV_Parse> IS DEFINED magnet : 158d0001ab5591
2018.03.12 16:30:29 5: XiaomiGateway: DEV_Read> SID: 158d0001ab5591 XiaomiSmartHome_Device
2018.03.12 16:30:29 3: XiaomiGateway: DEV_Read> Name: XMI_158d0001ab5591 SID: 158d0001ab5591 Type: magnet Status: close
2018.03.12 16:30:29 4: XiaomiGateway: DEV_Read> Name: XMI_158d0001ab5591 SID: 158d0001ab5591 Type: magnet Voltage: 3015
2018.03.12 16:30:29 5: XiaomiGateway: DEV_Round> Value: 3.015 points: 1
2018.03.12 16:30:29 5: XiaomiGateway: DEV_Round> Result_value: 3
2018.03.12 16:30:33 4: XiaomiGateway: Set> rgb, ff0000
2018.03.12 16:30:33 4: XiaomiGateway: Set> rgb, 1694433280
Couldn't load Crypt::Cipher::AES: Can't locate Crypt/Cipher/AES.pm in @INC (you may need to install the Crypt::Cipher::AES module) (@INC contains: . /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.0 /usr/local/share/perl/5.26.0 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base ./FHEM) at (eval 37) line 1.
at ./FHEM/71_XiaomiSmartHome.pm line 510.
2018.03.12 16:30:34 1: Including fhem.cfg
2018.03.12 16:30:34 3: telnetPort: port 7072 opened
2018.03.12 16:30:34 3: WEB: port 8083 opened
2018.03.12 16:30:34 3: WEBphone: port 8084 opened
2018.03.12 16:30:34 3: WEBtablet: port 8085 opened
2018.03.12 16:30:34 2: eventTypes: loaded 170 events from ./log/eventTypes.txt
2018.03.12 16:30:34 1: Including ./log/fhem.save
2018.03.12 16:30:34 5: XiaomiGateway: Notify> NotifyStart
2018.03.12 16:30:34 5: XiaomiGateway: Notify> Starting Connect after global
2018.03.12 16:30:34 1: usb create starting
2018.03.12 16:30:34 3: Probing CUL device /dev/ttyS0
2018.03.12 16:30:34 1: PERL WARNING: can't getattr: Input/output error at ./FHEM/DevIo.pm line 394.
2018.03.12 16:30:34 1: CUL: Can't open /dev/ttyS0: Input/output error
2018.03.12 16:30:34 3: Probing CUL device /dev/ttyS1
2018.03.12 16:30:34 1: CUL: Can't open /dev/ttyS1: Input/output error
2018.03.12 16:30:34 3: Probing CUL device /dev/ttyS10
2018.03.12 16:30:34 1: CUL: Can't open /dev/ttyS10: Input/output error
2018.03.12 16:30:34 3: Probing CUL device /dev/ttyS11
2018.03.12 16:30:34 1: CUL: Can't open /dev/ttyS11: Input/output error
2018.03.12 16:30:34 3: Probing CUL device /dev/ttyS12
2018.03.12 16:30:34 1: CUL: Can't open /dev/ttyS12: Input/output error
2018.03.12 16:30:34 3: Probing CUL device /dev/ttyS13
2018.03.12 16:30:34 1: CUL: Can't open /dev/ttyS13: Input/output error
2018.03.12 16:30:34 3: Probing CUL device /dev/ttyS14
2018.03.12 16:30:34 1: CUL: Can't open /dev/ttyS14: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS15
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS15: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS16
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS16: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS17
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS17: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS18
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS18: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS19
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS19: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS2
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS2: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS20
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS20: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS21
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS21: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS22
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS22: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS23
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS23: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS24
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS24: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS25
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS25: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS26
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS26: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS27
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS27: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS28
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS28: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS29
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS29: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS3
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS3: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS30
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS30: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS31
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS31: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS4
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS5
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS6
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS6: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS7
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS7: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS8
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS8: Input/output error
2018.03.12 16:30:35 3: Probing CUL device /dev/ttyS9
2018.03.12 16:30:35 1: CUL: Can't open /dev/ttyS9: Input/output error
2018.03.12 16:30:35 1: usb create end
2018.03.12 16:30:35 0: Featurelevel: 5.8
2018.03.12 16:30:35 0: Server started with 20 defined entities (fhem.pl:16354/2018-03-09 perl:5.026000 os:linux user:fhem pid:3151)
2018.03.12 16:30:39 5: XiaomiGateway: connect> ConnectStart
2018.03.12 16:30:39 4: XiaomiGateway: connecting
2018.03.12 16:30:39 5: XiaomiGateway: getGatewaySID> Answer {"cmd":"iam","port":"9898","sid":"7811dcb21966","model":"gateway","ip":"192.168.2.79"}
2018.03.12 16:30:39 4: XiaomiGateway: getGatewaySID> Find SID for Gateway: 7811dcb21966
2018.03.12 16:30:39 4: XiaomiGateway: connect> Connected
2018.03.12 16:30:33 4: XiaomiGateway: Set> rgb, 1694433280
Couldn't load Crypt::Cipher::AES: Can't locate Crypt/Cipher/AES.pm in @INC (you may need to install the Crypt::Cipher::AES module) (@INC contains: . /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.0 /usr/local/share/perl/5.26.0 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base ./FHEM) at (eval 37) line 1.
at ./FHEM/71_XiaomiSmartHome.pm line 510.
ak@nuki:~$ sudo cpan Crypt::Cipher::AES
[sudo] Passwort für ak:
Loading internal null logger. Install Log::Log4perl for logging messages
Reading '/home/ak/.cpan/Metadata'
Database was generated on Sun, 11 Mar 2018 18:29:03 GMT
Running install for module 'Crypt::Cipher::AES'
Checksum for /home/ak/.cpan/sources/authors/id/M/MI/MIK/CryptX-0.058.tar.gz ok
'YAML' not installed, will not store persistent state
Configuring M/MI/MIK/CryptX-0.058.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for CryptX
Writing MYMETA.yml and MYMETA.json
MIK/CryptX-0.058.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for M/MI/MIK/CryptX-0.058.tar.gz
MIK/CryptX-0.058.tar.gz
make -- NOT OK
No such file or directory
2018.03.12 20:06:00 5: xiaomi: connect> ConnectStart
2018.03.12 20:06:00 4: xiaomi: connecting
Can't locate object method "new" via package "IO::Socket::Multicast" (perhaps you forgot to load "IO::Socket::Multicast"?) at ./FHEM/71_XiaomiSmartHome.pm line 282.
2018.03.12 20:06:01 5: Initializing Type Library:
2018.03.12 20:06:01 1: Including fhem.cfg
Zitat von: Murdock am 12 März 2018, 20:23:26Hi
Hi,
ich habe jetzt alles mögliche versucht nach zu installieren auf dem Intel Nuc. Nichts hilft. Sobald ich das Gateway definiere, startet fhem neu.
Verbose 5 im Logfile zeig nur das an.Code Auswählen2018.03.12 20:06:00 5: xiaomi: connect> ConnectStart
2018.03.12 20:06:00 4: xiaomi: connecting
Can't locate object method "new" via package "IO::Socket::Multicast" (perhaps you forgot to load "IO::Socket::Multicast"?) at ./FHEM/71_XiaomiSmartHome.pm line 282.
2018.03.12 20:06:01 5: Initializing Type Library:
2018.03.12 20:06:01 1: Including fhem.cfg
Ich habe 5 Bewegungsmelder vorher damit laufen gehabt und habe das gateway als Haustürklingelerweiterung benutzt... Ich würde es gerne wieder zum Laufen bekommen. Leider fürte nichts zum erfolg ? Wer kann mir bitte helfen.
Danke
Gruß
Sven
Zitat von: ofno am 12 März 2018, 20:27:19
Hi
Ist IO::Socket::Multicast richtig installiert?
Bzw. Alle anderen Abhängigkeiten, es kamen welche dazu:
https://github.com/T0RST3N/fhem-XiaomiSmartHome/wiki
Gruß ofno
DEF Schalter_Cube:.* {hsCube("Schalter_Cube")}
# Xiaomi Cube-Steuerung
sub hsCube($) {
my ($device) = @_;
my ($state) = dkGetReading($device, "state");
if ($state eq "flip90") {
# Drehung um 90 Grad
}
if ($state eq "flip180") {
# Drehung um 180 Grad
}
if ($state eq "move") {
# schieben
}
if ($state eq "shake_air") {
# Schütteln
}
if ($state eq "tap_twice") {
# 2mal antippen
}
dkSetReading($device,"state","off") ;
}
PERL WARNING: Use of uninitialized value $iodev in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome_Device.pm line 491.
Zitat von: slawekking am 17 März 2018, 09:54:26
Hast du eine Idee woran es liegen kann?
Zitat von: Typ1er am 17 März 2018, 13:44:21
nach einem Neustart vom Pi mit FHEM habe diesen Fehler im logCode AuswählenPERL WARNING: Use of uninitialized value $iodev in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome_Device.pm line 491.
Dann Gateway auskommentieren in der fhem.cfg, FHEM Neustarten, Gateway wieder eintragen, und jetzt das Passwort wiederholen, ab hier geht wieder alles bis zum
2018.03.18 00:06:57 0: Server shutdown
2018.03.18 00:08:14 1: Including fhem.cfg
2018.03.18 00:08:14 3: telnetPort: port 7072 opened
2018.03.18 00:08:14 3: WEB: port 8083 opened
2018.03.18 00:08:14 3: WEBphone: port 8084 opened
2018.03.18 00:08:14 3: WEBtablet: port 8085 opened
2018.03.18 00:08:15 2: eventTypes: loaded 458 events from ./log/eventTypes.txt
2018.03.18 00:08:15 3: Mi_Vacuum: initialized, using AES
2018.03.18 00:08:15 3: Mi_Vacuum: disconnecting
2018.03.18 00:08:15 2: Mi_Vacuum: connecting
2018.03.18 00:08:15 1: Mi_Vacuum: connect to device failed
2018.03.18 00:08:21 1: Including ./log/fhem.save
2018.03.18 00:08:21 5: MiGateway: Notify> NotifyStart
2018.03.18 00:08:21 5: MiGateway: Notify> Starting Connect after global
2018.03.18 00:08:21 1: usb create starting
2018.03.18 00:08:21 3: Probing CUL device /dev/ttyAMA0
2018.03.18 00:08:22 3: Probing TCM_ESP3 device /dev/ttyAMA0
2018.03.18 00:08:23 3: Probing ZWDongle device /dev/ttyAMA0
2018.03.18 00:08:23 3: Probing FRM device /dev/ttyAMA0
2018.03.18 00:08:28 1: usb create end
2018.03.18 00:08:28 0: Featurelevel: 5.8
2018.03.18 00:08:28 0: Server started with 58 defined entities (fhem.pl:16403/2018-03-13 perl:5.024001 os:linux user:fhem pid:603)
2018.03.18 00:08:28 5: MiGateway: connect> ConnectStart
2018.03.18 00:08:28 4: MiGateway: connecting
Creating socket: Invalid argument
2018.03.18 00:11:02 1: Including fhem.cfg
2018.03.18 00:11:02 3: telnetPort: port 7072 opened
2018.03.18 00:11:02 3: WEB: port 8083 opened
2018.03.18 00:11:02 3: WEBphone: port 8084 opened
2018.03.18 00:11:02 3: WEBtablet: port 8085 opened
2018.03.18 00:11:02 2: eventTypes: loaded 458 events from ./log/eventTypes.txt
2018.03.18 00:11:03 3: Mi_Vacuum: initialized, using AES
2018.03.18 00:11:03 3: Mi_Vacuum: disconnecting
2018.03.18 00:11:03 2: Mi_Vacuum: connecting
2018.03.18 00:11:03 3: Mi_Vacuum: initialized
2018.03.18 00:11:03 1: Including ./log/fhem.save
2018.03.18 00:11:04 5: MiGateway: Notify> NotifyStart
2018.03.18 00:11:04 5: MiGateway: Notify> Starting Connect after global
2018.03.18 00:11:04 1: usb create starting
2018.03.18 00:11:04 3: Probing CUL device /dev/ttyAMA0
2018.03.18 00:11:04 3: Probing TCM_ESP3 device /dev/ttyAMA0
2018.03.18 00:11:04 3: Probing ZWDongle device /dev/ttyAMA0
2018.03.18 00:11:05 3: Probing FRM device /dev/ttyAMA0
2018.03.18 00:11:10 1: usb create end
2018.03.18 00:11:10 0: Featurelevel: 5.8
2018.03.18 00:11:10 0: Server started with 58 defined entities (fhem.pl:16403/2018-03-13 perl:5.024001 os:linux user:fhem pid:1025)
2018.03.18 00:11:10 5: MiGateway: connect> ConnectStart
2018.03.18 00:11:10 4: MiGateway: connecting
2018.03.18 00:11:10 5: MiGateway: getGatewaySID> Answer {"cmd":"iam","port":"9898","sid":"7811dcb1ef2f","model":"gateway","ip":"192.168.178.52"}
2018.03.18 00:11:10 4: MiGateway: getGatewaySID> Find SID for Gateway: 7811dcb1ef2f
2018.03.18 00:11:10 4: MiGateway: connect> Connected
2018.03.18 00:32:43 1: Including fhem.cfg
2018.03.18 00:32:43 5: Cmd: >attr global userattr cmdIcon devStateIcon devStateStyle genericDeviceType:security,ignore,switch,outlet,light,blind,thermometer,thermostat,HumiditySensor,contact,garage,window,lock homebridgeMapping:textField-long icon siriName sortby webCmd webCmdLabel:textField-long widgetOverride<
2018.03.18 00:32:43 5: Cmd: >attr global autoload_undefined_devices 1<
2018.03.18 00:32:43 5: Cmd: >attr global autosave 0<
2018.03.18 00:32:43 5: Cmd: >attr global latitude 1<
2018.03.18 00:32:43 5: Cmd: >attr global logfile ./log/fhem-%Y-%m.log<
2018.03.18 00:32:43 5: Cmd: >attr global longitude 1<
2018.03.18 00:32:43 5: Cmd: >attr global modpath .<
2018.03.18 00:32:43 5: Cmd: >attr global motd none<
2018.03.18 00:32:43 5: Cmd: >attr global statefile ./log/fhem.save<
2018.03.18 00:32:43 5: Cmd: >attr global updateInBackground 1<
2018.03.18 00:32:43 5: Cmd: >attr global verbose 5<
2018.03.18 00:32:43 5: Cmd: >define telnetPort telnet 7072 global<
2018.03.18 00:32:43 5: Loading ./FHEM/98_telnet.pm
2018.03.18 00:32:43 3: telnetPort: port 7072 opened
2018.03.18 00:32:43 5: Cmd: >define WEB FHEMWEB 8083 global<
2018.03.18 00:32:43 5: Loading ./FHEM/01_FHEMWEB.pm
2018.03.18 00:32:43 3: WEB: port 8083 opened
2018.03.18 00:32:43 5: Cmd: >attr WEB JavaScripts codemirror/fhem_codemirror.js<
2018.03.18 00:32:43 5: Cmd: >attr WEB codemirrorParam { "lineWrapping":true }<
2018.03.18 00:32:43 5: Cmd: >attr WEB editConfig 1<
2018.03.18 00:32:43 5: Cmd: >attr WEB endPlotNow 1<
2018.03.18 00:32:43 5: Cmd: >define WEBphone FHEMWEB 8084 global<
2018.03.18 00:32:43 3: WEBphone: port 8084 opened
2018.03.18 00:32:43 5: Cmd: >attr WEBphone stylesheetPrefix smallscreen<
2018.03.18 00:32:43 5: Cmd: >define WEBtablet FHEMWEB 8085 global<
2018.03.18 00:32:43 3: WEBtablet: port 8085 opened
2018.03.18 00:32:43 5: Cmd: >attr WEBtablet stylesheetPrefix touchpad<
2018.03.18 00:32:43 5: Cmd: >define Logfile FileLog ./log/fhem-%Y-%m.log fakelog<
2018.03.18 00:32:43 5: Loading ./FHEM/92_FileLog.pm
2018.03.18 00:32:43 5: Cmd: >define autocreate autocreate<
2018.03.18 00:32:43 5: Loading ./FHEM/98_autocreate.pm
2018.03.18 00:32:43 5: Cmd: >attr autocreate filelog ./log/%NAME-%Y.log<
2018.03.18 00:32:43 5: Cmd: >define eventTypes eventTypes ./log/eventTypes.txt<
2018.03.18 00:32:43 5: Loading ./FHEM/91_eventTypes.pm
2018.03.18 00:32:43 2: eventTypes: loaded 458 events from ./log/eventTypes.txt
2018.03.18 00:32:43 5: Cmd: >define initialUsbCheck notify global:INITIALIZED usb create<
2018.03.18 00:32:43 5: Loading ./FHEM/91_notify.pm
2018.03.18 00:32:43 5: Cmd: >define allowed_WEB allowed<
2018.03.18 00:32:43 5: Loading ./FHEM/96_allowed.pm
2018.03.18 00:32:43 5: Cmd: >attr allowed_WEB basicAuth VHlwMWVyOjAxMjc1MTA4Mg==<
2018.03.18 00:32:43 5: Cmd: >attr allowed_WEB group Password,<
2018.03.18 00:32:43 5: Cmd: >attr allowed_WEB validFor WEB,WEBphone,WEBtablet<
2018.03.18 00:32:43 5: Cmd: >define allowed_telnetPort allowed<
2018.03.18 00:32:43 5: Cmd: >attr allowed_telnetPort group Password<
2018.03.18 00:32:43 5: Cmd: >attr allowed_telnetPort password SHA256:2BA1BAAB:AmTyQ7k1FpD+e/RDZGCMIabvmWuUuyoV+dI5BpVHvcA<
2018.03.18 00:32:43 5: Cmd: >attr allowed_telnetPort validFor telnetPort<
2018.03.18 00:32:43 5: Cmd: >define siri siri<
2018.03.18 00:32:43 5: Loading ./FHEM/39_siri.pm
2018.03.18 00:32:43 5: Cmd: >define Mi_Vacuum XiaomiDevice 192.168.178.45 624536316f553668704d436e584a6761<
2018.03.18 00:32:43 5: Loading ./FHEM/72_XiaomiDevice.pm
2018.03.18 00:32:44 3: Mi_Vacuum: initialized, using AES
2018.03.18 00:32:44 5: Cmd: >attr Mi_Vacuum alias Einstein<
2018.03.18 00:32:44 5: Cmd: >attr Mi_Vacuum disable 0<
2018.03.18 00:32:44 3: Mi_Vacuum: disconnecting
2018.03.18 00:32:44 2: Mi_Vacuum: connecting
2018.03.18 00:32:44 1: Mi_Vacuum: connect to device failed
2018.03.18 00:32:44 5: Cmd: >attr Mi_Vacuum genericDeviceType switch<
2018.03.18 00:32:44 5: Cmd: >attr Mi_Vacuum homebridgeMapping On=state,valueOn=/Cleaning|Paused|Sleeping/,valueOff=/Docked|Charging/,cmdOn=start,cmdOff=charge
RotationSpeed=fan_power,minValue=0,maxValue=100,cmd=fan_power,delay=1
BatteryLevel=batteryLevel,maxValue=100,minValue=0,minStep=1
StatusLowBattery=battery,values=ok:BATTERY_LEVEL_NORMAL;;low:BATTERY_LEVEL_LOW
ChargingState=state,values=Docked:NOT_CHARGING;;Charging:CHARGING;;/Cleaning|Returning.to.base/:NOT_CHARGEABLE
OccupancyDetected=state,values=/Docked|Charging/:OCCUPANCY_DETECTED
FilterLifeLevel=consumables_filter,minValue=0,maxValue=100
FilterChangeIndication=consumables_filter,values=0:CHANGE_FILTER<
2018.03.18 00:32:44 5: Cmd: >attr Mi_Vacuum icon vacuum_top<
2018.03.18 00:32:44 5: Cmd: >attr Mi_Vacuum room 52 Wohnzimmer,Homekit,MiSmartHome<
2018.03.18 00:32:44 5: Cmd: >attr Mi_Vacuum stateFormat state<
2018.03.18 00:32:44 5: Cmd: >attr Mi_Vacuum subType VacuumCleaner<
2018.03.18 00:32:44 5: Cmd: >define MiGateway XiaomiSmartHome 192.168.178.52<
2018.03.18 00:32:44 5: Loading ./FHEM/71_XiaomiSmartHome.pm
2018.03.18 00:32:44 5: MiGateway: Define> Ping ERROR Gateway disconnecting
2018.03.18 00:32:44 5: MiGateway: Define> 192.168.178.52
2018.03.18 00:32:44 5: Cmd: >attr MiGateway devStateIcon {Color_devStateIcon(ReadingsVal($name,"rgb","000000"))}<
2018.03.18 00:32:44 5: Cmd: >attr MiGateway room MiSmartHome<
2018.03.18 00:32:44 5: Cmd: >attr MiGateway verbose 5<
2018.03.18 00:32:44 5: Cmd: >attr MiGateway webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off<
2018.03.18 00:32:44 5: Cmd: >define TC_TWILIGHT Twilight 52.134264 11.575243 3 20066148<
2018.03.18 00:32:44 5: Loading ./FHEM/59_Twilight.pm
2018.03.18 00:32:44 5: [TC_TWILIGHT] Original weather readings
2018.03.18 00:32:44 5: [TC_TWILIGHT] setting Timer: TC_TWILIGHT_sunpos 2018-03-18 00:37:44
2018.03.18 00:32:44 4: [TC_TWILIGHT] url=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid=20066148%20and%20u=%27c%27&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys
2018.03.18 00:32:44 5: HttpUtils url=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid=20066148%20and%20u=%27c%27&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys
2018.03.18 00:32:45 3: [TC_TWILIGHT] got no weather info from yahoo. Error code: http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid=20066148%20and%20u=%27c%27&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys: Can't connect(1) to http://query.yahooapis.com:80: IO::Socket::INET: connect: Network is unreachable
2018.03.18 00:32:45 5: [TC_TWILIGHT] setting Timer: TC_TWILIGHT_Midnight 2018-03-18 00:33:45
2018.03.18 00:32:45 5: Cmd: >attr TC_TWILIGHT group Sonnenuntergang / Sonnenaufgang<
2018.03.18 00:32:45 5: Cmd: >attr TC_TWILIGHT room Rolladen<
2018.03.18 00:32:45 5: Cmd: >define Test readingsGroup TC_TWILIGHT:sr TC_TWILIGHT:sr_indoor TC_TWILIGHT:ss TC_TWILIGHT:ss_indoor<
2018.03.18 00:32:45 5: Loading ./FHEM/33_readingsGroup.pm
2018.03.18 00:32:45 5: Cmd: >attr Test mapping {'sr'=>'Sonnenaufgang','sr_indoor'=> 'Sonnenaufgang Indoor','ss'=> 'Sonnenuntergang','ss_indoor'=> 'Sonnenuntergang Indoor'}<
2018.03.18 00:32:45 5: Cmd: >attr Test nostate 1<
2018.03.18 00:32:45 5: Cmd: >attr Test notime 1<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d0001dbd568 XiaomiSmartHome_Device 158d0001dbd568 weather.v1 MiGateway<
2018.03.18 00:32:45 5: Loading ./FHEM/71_XiaomiSmartHome_Device.pm
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001dbd568: weather.v1 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001dbd568: defined as weather.v1
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001dbd568 IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001dbd568 alias Sensor Garage<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001dbd568 room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001dbd568 stateFormat temperature °C, humidity %, airpressure hPa<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001dbd568 userReadings airpressure {sprintf("% 0.1f",(ReadingsVal("$NAME","pressure",0))*10.1)}
<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d0001dbd568 FileLog ./log/XMI_158d0001dbd568-%Y.log XMI_158d0001dbd568<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001dbd568 logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001dbd568 room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d0001e46303 XiaomiSmartHome_Device 158d0001e46303 sensor_magnet.aq2 MiGateway<
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001e46303: sensor_magnet.aq2 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001e46303: defined as sensor_magnet.aq2
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001e46303 IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001e46303 alias Kontakt 4<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001e46303 devStateIcon open:fts_door_open@red close:fts_door@green<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001e46303 room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d0001e46303 FileLog ./log/XMI_158d0001e46303-%Y.log XMI_158d0001e46303<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001e46303 logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001e46303 room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d0001de8e2d XiaomiSmartHome_Device 158d0001de8e2d sensor_magnet.aq2 MiGateway<
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001de8e2d: sensor_magnet.aq2 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001de8e2d: defined as sensor_magnet.aq2
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001de8e2d IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001de8e2d alias 50 Kinderzimmer Rechts auf<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001de8e2d devStateIcon open:fts_window_2w_open_r@red close:fts_window_2w@green<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001de8e2d icon fts_window_2w_open_r<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001de8e2d room 51 Kinderzimmer,MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d0001de8e2d FileLog ./log/XMI_158d0001de8e2d-%Y.log XMI_158d0001de8e2d<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001de8e2d logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001de8e2d room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d0001ab75e1 XiaomiSmartHome_Device 158d0001ab75e1 weather.v1 MiGateway<
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001ab75e1: weather.v1 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001ab75e1: defined as weather.v1
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001ab75e1 IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001ab75e1 alias Sensor Eingang<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001ab75e1 room 00 Garten,MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001ab75e1 stateFormat temperature °C, humidity %, airpressure hPa<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001ab75e1 userReadings airpressure {sprintf("% 0.1f",(ReadingsVal("$NAME","pressure",0))*10.1)}<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d0001ab75e1 FileLog ./log/XMI_158d0001ab75e1-%Y.log XMI_158d0001ab75e1<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001ab75e1 logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001ab75e1 room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d0001d51f55 XiaomiSmartHome_Device 158d0001d51f55 sensor_wleak.aq1 MiGateway<
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001d51f55: sensor_wleak.aq1 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001d51f55: defined as sensor_wleak.aq1
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001d51f55 IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001d51f55 alias Wassersensor<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001d51f55 room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d0001d51f55 FileLog ./log/XMI_158d0001d51f55-%Y.log XMI_158d0001d51f55<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001d51f55 logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001d51f55 room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d0001b7bd7e XiaomiSmartHome_Device 158d0001b7bd7e sensor_magnet.aq2 MiGateway<
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001b7bd7e: sensor_magnet.aq2 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001b7bd7e: defined as sensor_magnet.aq2
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001b7bd7e IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001b7bd7e alias Zimmertür<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001b7bd7e devStateIcon open:fts_door_open@red close:fts_door@green<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001b7bd7e icon hue_room_frontdoor<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001b7bd7e room 50 Büro,MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d0001b7bd7e FileLog ./log/XMI_158d0001b7bd7e-%Y.log XMI_158d0001b7bd7e<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001b7bd7e logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001b7bd7e room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d0001e48bbc XiaomiSmartHome_Device 158d0001e48bbc sensor_magnet.aq2 MiGateway<
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001e48bbc: sensor_magnet.aq2 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001e48bbc: defined as sensor_magnet.aq2
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001e48bbc IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001e48bbc alias Kontakt 5<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001e48bbc devStateIcon open:fts_door_open@red close:fts_door@green<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001e48bbc room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d0001e48bbc FileLog ./log/XMI_158d0001e48bbc-%Y.log XMI_158d0001e48bbc<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001e48bbc logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001e48bbc room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d0001b7bd23 XiaomiSmartHome_Device 158d0001b7bd23 sensor_magnet.aq2 MiGateway<
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001b7bd23: sensor_magnet.aq2 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001b7bd23: defined as sensor_magnet.aq2
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001b7bd23 IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001b7bd23 alias Eingangstür<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001b7bd23 devStateIcon open:fts_door_open@red close:fts_door@green<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001b7bd23 icon hue_room_frontdoor<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001b7bd23 room Flur,MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d0001b7bd23 FileLog ./log/XMI_158d0001b7bd23-%Y.log XMI_158d0001b7bd23<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001b7bd23 logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001b7bd23 room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define SVG_FileLog_XMI_158d0001dbd568_1 SVG FileLog_XMI_158d0001dbd568:SVG_FileLog_XMI_158d0001dbd568_1:CURRENT<
2018.03.18 00:32:45 5: Loading ./FHEM/98_SVG.pm
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001dbd568_1 label {sprintf("Garage 1 Tag -- Min: %0.1f °C -- Max: %0.1f °C -- Aktuell: %0.1f °C -- Feuchte: %0.1f %", $data{min1}, $data{max1}, $data{currval1}, $data{currval2})}<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001dbd568_1 plotsize 1200,250<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001dbd568_1 room 01 Garage,MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define SVG_FileLog_XMI_158d0001dbd568_2 SVG FileLog_XMI_158d0001dbd568:SVG_FileLog_XMI_158d0001dbd568_2:CURRENT<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001dbd568_2 fixedrange 7days<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001dbd568_2 label {sprintf("Garage 7 Tage -- Min: %0.1f °C -- Max: %0.1f °C -- Aktuell: %0.1f °C", $data{min1}, $data{max1}, $data{currval1})}<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001dbd568_2 plotsize 1200,250<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001dbd568_2 room 01 Garage,MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define SVG_FileLog_XMI_158d0001ab75e1_1 SVG FileLog_XMI_158d0001ab75e1:SVG_FileLog_XMI_158d0001ab75e1_1:CURRENT<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001ab75e1_1 label {sprintf("Eingang 1 Tag -- Min: %0.1f °C -- Max: %0.1f °C -- Aktuell: %0.1f °C -- Feuchte: %0.1f %% -- Luftdruck: %0.1f hPa" , $data{min1}, $data{max1}, $data{currval1}, $data{currval2}, ReadingsVal("XMI_158d0001ab75e1","airpressure",0))}<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001ab75e1_1 plotsize 1200,250<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001ab75e1_1 room 00 Garten,MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define SVG_FileLog_XMI_158d0001ab75e1_2 SVG FileLog_XMI_158d0001ab75e1:SVG_FileLog_XMI_158d0001ab75e1_2:CURRENT<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001ab75e1_2 fixedrange 7days<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001ab75e1_2 label {sprintf("Eingang 7 Tage -- Min: %0.1f °C -- Max: %0.1f °C -- Aktuell: %0.1f °C", $data{min1}, $data{max1}, $data{currval1})}<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001ab75e1_2 plotsize 1200,250<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001ab75e1_2 room 00 Garten,MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d00022bd719 XiaomiSmartHome_Device 158d00022bd719 sensor_magnet.aq2 MiGateway<
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d00022bd719: sensor_magnet.aq2 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d00022bd719: defined as sensor_magnet.aq2
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d00022bd719 IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d00022bd719 alias 50 Büro Fenster links gekippt<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d00022bd719 devStateIcon open:fts_window_2w_tilt_l@red close:fts_window_2w@green<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d00022bd719 icon fts_window_2w_tilt_l<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d00022bd719 room 50 Büro,MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d00022bd719 FileLog ./log/XMI_158d00022bd719-%Y.log XMI_158d00022bd719<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d00022bd719 logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d00022bd719 room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d0001fd5296 XiaomiSmartHome_Device 158d0001fd5296 sensor_magnet.aq2 MiGateway<
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001fd5296: sensor_magnet.aq2 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001fd5296: defined as sensor_magnet.aq2
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001fd5296 IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001fd5296 alias 51 Fenster Rechts gekippt<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001fd5296 devStateIcon open:fts_window_2w_tilt_r@red close:fts_window_2w@green<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001fd5296 icon fts_window_2w_tilt_r<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001fd5296 room 51 Kinderzimmer,MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d0001fd5296 FileLog ./log/XMI_158d0001fd5296-%Y.log XMI_158d0001fd5296<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001fd5296 logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001fd5296 room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d00022bd6e4 XiaomiSmartHome_Device 158d00022bd6e4 sensor_magnet.aq2 MiGateway<
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d00022bd6e4: sensor_magnet.aq2 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d00022bd6e4: defined as sensor_magnet.aq2
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d00022bd6e4 IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d00022bd6e4 alias Zimmertür<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d00022bd6e4 devStateIcon open:fts_door_open@red close:fts_door@green<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d00022bd6e4 icon hue_room_frontdoor<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d00022bd6e4 room Schlafzimmer,MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d00022bd6e4 FileLog ./log/XMI_158d00022bd6e4-%Y.log XMI_158d00022bd6e4<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d00022bd6e4 logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d00022bd6e4 room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d00022bd6e2 XiaomiSmartHome_Device 158d00022bd6e2 sensor_magnet.aq2 MiGateway<
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d00022bd6e2: sensor_magnet.aq2 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d00022bd6e2: defined as sensor_magnet.aq2
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d00022bd6e2 IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d00022bd6e2 alias 50 Büro Fenster Links auf<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d00022bd6e2 devStateIcon open:fts_window_2w_open_l@red close:fts_window_2w@green<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d00022bd6e2 icon fts_window_2w_open_l<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d00022bd6e2 room 50 Büro,MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d00022bd6e2 FileLog ./log/XMI_158d00022bd6e2-%Y.log XMI_158d00022bd6e2<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d00022bd6e2 logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d00022bd6e2 room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d0001bc1b00 XiaomiSmartHome_Device 158d0001bc1b00 sensor_wleak.aq1 MiGateway<
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001bc1b00: sensor_wleak.aq1 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001bc1b00: defined as sensor_wleak.aq1
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001bc1b00 IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001bc1b00 room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d0001bc1b00 FileLog ./log/XMI_158d0001bc1b00-%Y.log XMI_158d0001bc1b00<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001bc1b00 logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001bc1b00 room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d0001bb8f7b XiaomiSmartHome_Device 158d0001bb8f7b sensor_wleak.aq1 MiGateway<
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001bb8f7b: sensor_wleak.aq1 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001bb8f7b: defined as sensor_wleak.aq1
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001bb8f7b IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001bb8f7b room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d0001bb8f7b FileLog ./log/XMI_158d0001bb8f7b-%Y.log XMI_158d0001bb8f7b<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001bb8f7b logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001bb8f7b room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d0002132718 XiaomiSmartHome_Device 158d0002132718 sensor_switch.aq2 MiGateway<
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0002132718: sensor_switch.aq2 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0002132718: defined as sensor_switch.aq2
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0002132718 IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0002132718 alias Klingel<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0002132718 room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d0002132718 FileLog ./log/XMI_158d0002132718-%Y.log XMI_158d0002132718<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0002132718 logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0002132718 room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d0001fa70bb XiaomiSmartHome_Device 158d0001fa70bb weather.v1 MiGateway<
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001fa70bb: weather.v1 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001fa70bb: defined as weather.v1
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001fa70bb IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001fa70bb alias 54 Küche Kühlschrank<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001fa70bb icon hue_room_kitchen<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001fa70bb room 54 Küche,MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001fa70bb stateFormat temperature °C, humidity %, airpressure hPa<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001fa70bb userReadings airpressure {sprintf("% 0.1f",(ReadingsVal("$NAME","pressure",0))*10.1)}<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d0001fa70bb FileLog ./log/XMI_158d0001fa70bb-%Y.log XMI_158d0001fa70bb<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001fa70bb logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001fa70bb room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define XMI_158d0001f52d2e XiaomiSmartHome_Device 158d0001f52d2e weather.v1 MiGateway<
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001f52d2e: weather.v1 I/O device is MiGateway
2018.03.18 00:32:45 4: MiGateway: DEV_Define> XMI_158d0001f52d2e: defined as weather.v1
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001f52d2e IODev MiGateway<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001f52d2e alias Kühlschrank<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001f52d2e room 06 Vorratskeller,MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001f52d2e stateFormat temperature °C, humidity %, airpressure hPa<
2018.03.18 00:32:45 5: Cmd: >attr XMI_158d0001f52d2e userReadings airpressure {sprintf("% 0.1f",(ReadingsVal("$NAME","pressure",0))*10.1)}<
2018.03.18 00:32:45 5: Cmd: >define FileLog_XMI_158d0001f52d2e FileLog ./log/XMI_158d0001f52d2e-%Y.log XMI_158d0001f52d2e<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001f52d2e logtype text<
2018.03.18 00:32:45 5: Cmd: >attr FileLog_XMI_158d0001f52d2e room MiSmartHome<
2018.03.18 00:32:45 5: Cmd: >define SVG_FileLog_XMI_158d0001fa70bb_1 SVG FileLog_XMI_158d0001fa70bb:SVG_FileLog_XMI_158d0001fa70bb_1:CURRENT<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001fa70bb_1 label {sprintf("Kühlschrank 7 Tage -- Min: %0.1f °C -- Max: %0.1f °C -- Aktuell: %0.1f °C", $data{min1}, $data{max1}, $data{currval1})}<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001fa70bb_1 plotsize 1200,200<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001fa70bb_1 room 54 Küche<
2018.03.18 00:32:45 5: Cmd: >define SVG_FileLog_XMI_158d00022bd719_1 SVG FileLog_XMI_158d00022bd719:SVG_FileLog_XMI_158d00022bd719_1:CURRENT<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d00022bd719_1 plotsize 1500,250<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d00022bd719_1 room 50 Büro<
2018.03.18 00:32:45 5: Cmd: >define SVG_FileLog_XMI_158d0001fd5296_1 SVG FileLog_XMI_158d0001fd5296:SVG_FileLog_XMI_158d0001fd5296_1:CURRENT<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001fd5296_1 plotsize 1400,300<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001fd5296_1 room 51 Kinderzimmer<
2018.03.18 00:32:45 5: Cmd: >define SVG_FileLog_XMI_158d0001f52d2e_1 SVG FileLog_XMI_158d0001f52d2e:SVG_FileLog_XMI_158d0001f52d2e_1:CURRENT<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001f52d2e_1 label {sprintf("Kühlschrank 7 Tage -- Min: %0.1f °C -- Max: %0.1f °C -- Aktuell: %0.1f °C", $data{min1}, $data{max1}, $data{currval1})}<
2018.03.18 00:32:45 5: Cmd: >attr SVG_FileLog_XMI_158d0001f52d2e_1 room 06 Vorratskeller<
2018.03.18 00:32:45 1: Including ./log/fhem.save
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001ab75e1 active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001ab75e1 2018-03-18 00:31:42 linesInTheFile 2707<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001b7bd23 active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001b7bd23 2018-03-18 00:31:42 linesInTheFile 977<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001b7bd7e active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001b7bd7e 2018-03-18 00:31:42 linesInTheFile 851<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001bb8f7b active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001bb8f7b 2018-03-18 00:31:42 linesInTheFile 106<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001bc1b00 active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001bc1b00 2018-03-18 00:31:42 linesInTheFile 97<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001d51f55 active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001d51f55 2018-03-18 00:31:42 linesInTheFile 506<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001dbd568 active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001dbd568 2018-03-18 00:31:42 linesInTheFile 2178<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001de8e2d active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001de8e2d 2018-03-18 00:31:42 linesInTheFile 912<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001e46303 active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001e46303 2018-03-18 00:31:42 linesInTheFile 1012<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001e48bbc active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001e48bbc 2018-03-18 00:31:42 linesInTheFile 876<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001f52d2e active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001f52d2e 2018-03-18 00:31:42 linesInTheFile 635<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001fa70bb active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001fa70bb 2018-03-18 00:31:42 linesInTheFile 1305<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001fd5296 active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0001fd5296 2018-03-18 00:31:42 linesInTheFile 291<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0002132718 active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d0002132718 2018-03-18 00:31:42 linesInTheFile 139<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d00022bd6e2 active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d00022bd6e2 2018-03-18 00:31:42 linesInTheFile 266<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d00022bd6e4 active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d00022bd6e4 2018-03-18 00:31:42 linesInTheFile 127<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d00022bd719 active<
2018.03.18 00:32:45 5: Cmd: >setstate FileLog_XMI_158d00022bd719 2018-03-18 00:31:42 linesInTheFile 354<
2018.03.18 00:32:45 5: Cmd: >setstate Logfile active<
2018.03.18 00:32:45 5: Cmd: >setstate MiGateway Connected<
2018.03.18 00:32:45 5: Cmd: >setstate MiGateway 2018-03-17 23:49:28 RGB 0<
2018.03.18 00:32:45 5: Cmd: >setstate MiGateway 2018-03-18 00:31:47 heartbeat 7811dcb1ef2f<
2018.03.18 00:32:45 5: Cmd: >setstate MiGateway 2018-03-17 23:49:28 illumination 315<
2018.03.18 00:32:45 5: Cmd: >setstate MiGateway 2018-03-15 21:55:14 password 3593ED4D3BE74373<
2018.03.18 00:32:45 5: Cmd: >setstate MiGateway 2018-03-12 02:34:08 pct 100<
2018.03.18 00:32:45 5: Cmd: >setstate MiGateway 2018-03-16 14:34:28 proto_version 1.0.9<
2018.03.18 00:32:45 5: Cmd: >setstate MiGateway 2018-03-12 02:34:08 ringtone 21<
2018.03.18 00:32:45 5: Cmd: >setstate MiGateway 2018-03-12 02:34:13 state Connected<
2018.03.18 00:32:45 5: Cmd: >setstate MiGateway 2018-03-18 00:31:47 token GwZQ7XZk27slK3Y1<
2018.03.18 00:32:45 5: Cmd: >setstate MiGateway 2018-03-16 14:34:27 volume 1<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum Docked<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:39 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:39 batteryLevel 100<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-17 12:12:51 carpet_mode off<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:39 cleaning_mode balanced<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 consumables_filter 86<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 consumables_main_brush 93<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 consumables_sensors 30<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 consumables_side_brush 89<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:33 device_firmware 3.3.9_003096<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:33 device_uptime 20.74<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:39 dnd on<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 dnd_enabled on<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 dnd_end 08:00<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 dnd_start 22:00<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:39 error none<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:39 error_code None<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:39 fan_power 60<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 history_0 2018-03-15 18:25:17: 71.92m² in 1.42h, finished cleaning<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 history_1 2018-03-15 12:57:11: 63.39m² in 1.15h, finished cleaning<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 history_2 2018-03-12 14:29:47: 0.00m² in 0.00h, not finished<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 history_3 2018-03-11 19:44:20: 62.85m² in 1.15h, finished cleaning<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 history_4 2018-03-08 15:58:22: 71.08m² in 1.32h, finished cleaning<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 history_5 2018-03-04 23:28:49: 0.00m² in 0.00h, not finished<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 history_6 2018-03-04 15:49:30: 0.00m² in 0.00h, not finished<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 history_7 2018-03-04 15:31:19: 0.00m² in 0.00h, not finished<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 history_8 2018-03-02 09:07:53: 75.34m² in 1.54h, not finished<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:39 in_cleaning no<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:39 last_clean_area 71.92<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:39 last_clean_time 1.42<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 last_timestamp 1521134717<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:39 map_present no<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:33 serial_number 1387100409620<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:39 state Docked<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:33 timezone Europe/Berlin<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 total_clean_area 8341.31<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 total_clean_time 165.51<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 total_cleans 185<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:36 volume 90<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:33 wifi_auth_fail_count 0<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:33 wifi_conn_fail_count 0<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:33 wifi_conn_success_count 1<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:33 wifi_dhcp_fail_count 0<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:33 wifi_rssi -68<
2018.03.18 00:32:45 5: Cmd: >setstate Mi_Vacuum 2018-03-18 00:31:33 wifi_state online<
2018.03.18 00:32:45 5: Cmd: >setstate SVG_FileLog_XMI_158d0001ab75e1_1 initialized<
2018.03.18 00:32:45 5: Cmd: >setstate SVG_FileLog_XMI_158d0001ab75e1_2 initialized<
2018.03.18 00:32:45 5: Cmd: >setstate SVG_FileLog_XMI_158d0001dbd568_1 initialized<
2018.03.18 00:32:45 5: Cmd: >setstate SVG_FileLog_XMI_158d0001dbd568_2 initialized<
2018.03.18 00:32:45 5: Cmd: >setstate SVG_FileLog_XMI_158d0001f52d2e_1 initialized<
2018.03.18 00:32:45 5: Cmd: >setstate SVG_FileLog_XMI_158d0001fa70bb_1 initialized<
2018.03.18 00:32:45 5: Cmd: >setstate SVG_FileLog_XMI_158d0001fd5296_1 initialized<
2018.03.18 00:32:45 5: Cmd: >setstate SVG_FileLog_XMI_158d00022bd719_1 initialized<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 0<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-11 17:47:42 Sonnenaufgang 06:44<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-11 17:47:42 Sonnenuntergang 18:04<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-17 23:34:41 aktEvent ss_astro<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:29 azimuth 3.43<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:29 compasspoint north<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:30 condition 23<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:30 condition_txt Breezy<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:29 elevation -37.21<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-17 23:34:41 horizon -18<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-17 23:34:41 light 0<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-17 23:34:41 nextEvent sr_astro<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-17 23:34:41 nextEventTime 04:30:52<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:30 sr 06:28:08<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:30 sr_astro 04:28:18<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:30 sr_civil 05:49:03<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:30 sr_indoor 06:47:42<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:30 sr_naut 05:09:24<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:30 sr_weather 07:14:01<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:30 ss 18:16:53<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:30 ss_astro 20:17:15<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:30 ss_civil 18:56:06<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:30 ss_indoor 17:57:17<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:30 ss_naut 19:35:54<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:30 ss_weather 17:30:54<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-17 23:34:41 state 12<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:29 twilight 0<
2018.03.18 00:32:45 5: Cmd: >setstate TC_TWILIGHT 2018-03-18 00:31:29 twilight_weather 0<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001ab75e1 -2.68 °C, 53.73 %, 1013.9 hPa<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001ab75e1 2018-03-18 00:31:42 airpressure 1013.9<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001ab75e1 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001ab75e1 2018-03-18 00:31:42 battery_level 2.9<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001ab75e1 2018-03-17 12:04:51 heartbeat 158d0001ab75e1<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001ab75e1 2018-03-18 00:31:42 humidity 53.73<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001ab75e1 2018-03-18 00:31:42 pressure 100.383<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001ab75e1 2018-03-18 00:31:42 temperature -2.68<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001b7bd23 close<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001b7bd23 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001b7bd23 2018-03-18 00:31:42 battery_level 3<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001b7bd23 2018-03-18 00:21:21 heartbeat 158d0001b7bd23<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001b7bd23 2018-03-18 00:31:42 no_close 0<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001b7bd23 2018-03-18 00:31:42 state close<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001b7bd7e open<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001b7bd7e 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001b7bd7e 2018-03-18 00:31:42 battery_level 3<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001b7bd7e 2018-03-18 00:14:28 heartbeat 158d0001b7bd7e<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001b7bd7e 2018-03-17 09:38:06 no_close 300<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001b7bd7e 2018-03-18 00:31:42 state open<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001bb8f7b initialized<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001bb8f7b 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001bb8f7b 2018-03-18 00:31:42 battery_level 3<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001bb8f7b 2018-03-17 23:52:32 heartbeat 158d0001bb8f7b<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001bc1b00 initialized<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001bc1b00 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001bc1b00 2018-03-18 00:31:42 battery_level 3<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001bc1b00 2018-03-17 23:51:33 heartbeat 158d0001bc1b00<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001d51f55 initialized<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001d51f55 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001d51f55 2018-03-18 00:31:42 battery_level 3.2<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001d51f55 2018-03-17 11:44:27 heartbeat 158d0001d51f55<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001dbd568 11.62 °C, 50.06 %, 1014.4 hPa<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001dbd568 2018-03-18 00:31:42 airpressure 1014.4<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001dbd568 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001dbd568 2018-03-18 00:31:42 battery_level 3<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001dbd568 2018-03-17 11:25:39 heartbeat 158d0001dbd568<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001dbd568 2018-03-18 00:31:42 humidity 50.06<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001dbd568 2018-03-18 00:31:42 pressure 100.435<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001dbd568 2018-03-18 00:31:42 temperature 11.62<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001de8e2d close<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001de8e2d 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001de8e2d 2018-03-18 00:31:42 battery_level 3<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001de8e2d 2018-03-17 23:59:34 heartbeat 158d0001de8e2d<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001de8e2d 2018-03-18 00:31:42 no_close 0<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001de8e2d 2018-03-18 00:31:42 state close<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001e46303 close<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001e46303 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001e46303 2018-03-18 00:31:42 battery_level 3<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001e46303 2018-03-18 00:00:11 heartbeat 158d0001e46303<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001e46303 2018-03-18 00:31:42 no_close 0<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001e46303 2018-03-18 00:31:42 state close<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001e48bbc close<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001e48bbc 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001e48bbc 2018-03-18 00:31:42 battery_level 3.1<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001e48bbc 2018-03-18 00:19:18 heartbeat 158d0001e48bbc<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001e48bbc 2018-03-18 00:31:42 no_close 0<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001e48bbc 2018-03-18 00:31:42 state close<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001f52d2e 4.95 °C, 87.77 %, 1014.6 hPa<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001f52d2e 2018-03-18 00:31:42 airpressure 1014.6<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001f52d2e 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001f52d2e 2018-03-18 00:31:42 battery_level 3<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001f52d2e 2018-03-18 00:25:58 heartbeat 158d0001f52d2e<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001f52d2e 2018-03-18 00:31:42 humidity 87.77<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001f52d2e 2018-03-18 00:31:42 pressure 100.455<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001f52d2e 2018-03-18 00:31:42 temperature 4.95<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001fa70bb 7.61 °C, 82.47 %, 1013.7 hPa<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001fa70bb 2018-03-18 00:31:42 airpressure 1013.7<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001fa70bb 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001fa70bb 2018-03-18 00:31:42 battery_level 3<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001fa70bb 2018-03-17 12:15:13 heartbeat 158d0001fa70bb<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001fa70bb 2018-03-18 00:31:42 humidity 82.47<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001fa70bb 2018-03-18 00:31:42 pressure 100.370<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001fa70bb 2018-03-18 00:31:42 temperature 7.61<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001fd5296 close<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001fd5296 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001fd5296 2018-03-18 00:31:42 battery_level 3.1<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001fd5296 2018-03-17 23:57:51 heartbeat 158d0001fd5296<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001fd5296 2018-03-18 00:31:42 no_close 0<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0001fd5296 2018-03-18 00:31:42 state close<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0002132718 click<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0002132718 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0002132718 2018-03-18 00:31:42 battery_level 3.1<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0002132718 2018-03-18 00:29:49 heartbeat 158d0002132718<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d0002132718 2018-03-16 18:05:53 state click<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd6e2 close<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd6e2 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd6e2 2018-03-18 00:31:42 battery_level 3.1<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd6e2 2018-03-17 11:38:58 heartbeat 158d00022bd6e2<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd6e2 2018-03-18 00:31:42 no_close 0<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd6e2 2018-03-18 00:31:42 state close<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd6e4 close<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd6e4 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd6e4 2018-03-18 00:31:42 battery_level 3.1<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd6e4 2018-03-17 23:52:09 heartbeat 158d00022bd6e4<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd6e4 2018-03-18 00:31:42 no_close 0<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd6e4 2018-03-18 00:31:42 state close<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd719 close<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd719 2018-03-18 00:31:42 battery ok<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd719 2018-03-18 00:31:42 battery_level 3<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd719 2018-03-17 11:39:02 heartbeat 158d00022bd719<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd719 2018-03-18 00:31:42 no_close 0<
2018.03.18 00:32:45 5: Cmd: >setstate XMI_158d00022bd719 2018-03-18 00:31:42 state close<
2018.03.18 00:32:45 5: Cmd: >setstate allowed_WEB validFor:WEB,WEBphone,WEBtablet<
2018.03.18 00:32:45 5: Cmd: >setstate allowed_WEB 2018-03-18 00:31:29 state validFor:WEB,WEBphone,WEBtablet<
2018.03.18 00:32:45 5: Cmd: >setstate allowed_telnetPort validFor:telnetPort<
2018.03.18 00:32:45 5: Cmd: >setstate allowed_telnetPort 2018-03-18 00:31:29 state validFor:telnetPort<
2018.03.18 00:32:45 5: Cmd: >setstate autocreate active<
2018.03.18 00:32:45 5: Cmd: >setstate eventTypes active<
2018.03.18 00:32:45 5: Cmd: >setstate global no definition<
2018.03.18 00:32:45 5: Cmd: >setstate initialUsbCheck active<
2018.03.18 00:32:45 5: Cmd: >setstate initialUsbCheck 2018-03-18 00:31:29 state active<
2018.03.18 00:32:45 5: Cmd: >setstate siri active<
2018.03.18 00:32:45 5: Starting notify loop for global, 1 event(s), first is INITIALIZED
2018.03.18 00:32:45 5: createNotifyHash
2018.03.18 00:32:45 5: MiGateway: Notify> NotifyStart
2018.03.18 00:32:45 5: MiGateway: Notify> Starting Connect after global
2018.03.18 00:32:45 5: Triggering initialUsbCheck
2018.03.18 00:32:45 4: initialUsbCheck exec usb create
2018.03.18 00:32:45 5: Cmd: >usb create<
2018.03.18 00:32:45 1: usb create starting
2018.03.18 00:32:46 4: ### ttyAMA0: checking if it is a CUL
2018.03.18 00:32:46 3: Probing CUL device /dev/ttyAMA0
2018.03.18 00:32:46 5: SW: 0a
2018.03.18 00:32:46 5: SW: 560a
2018.03.18 00:32:46 4: got wrong answer for a CUL
2018.03.18 00:32:46 4: ### ttyAMA0: checking if it is a TCM_ESP3
2018.03.18 00:32:46 3: Probing TCM_ESP3 device /dev/ttyAMA0
2018.03.18 00:32:46 5: SW: 5500010005700838
2018.03.18 00:32:46 4: got wrong answer for a TCM_ESP3
2018.03.18 00:32:46 4: ### ttyAMA0: checking if it is a ZWDongle
2018.03.18 00:32:46 3: Probing ZWDongle device /dev/ttyAMA0
2018.03.18 00:32:46 5: SW: 01030020dc06
2018.03.18 00:32:46 4: got wrong answer for a ZWDongle
2018.03.18 00:32:46 4: ### ttyAMA0: checking if it is a FRM
2018.03.18 00:32:46 3: Probing FRM device /dev/ttyAMA0
2018.03.18 00:32:46 5: SW: f9
2018.03.18 00:32:51 5: SW: f079f7
2018.03.18 00:32:51 4: got wrong answer for a FRM
2018.03.18 00:32:51 1: usb create end
2018.03.18 00:32:51 5: End notify loop for global
2018.03.18 00:32:51 0: Featurelevel: 5.8
2018.03.18 00:32:51 0: Server started with 58 defined entities (fhem.pl:16403/2018-03-13 perl:5.024001 os:linux user:fhem pid:666)
2018.03.18 00:32:51 5: MiGateway: connect> ConnectStart
2018.03.18 00:32:51 4: MiGateway: connecting
Creating socket: Invalid argument
2018.03.18 00:34:31 5: Initializing Type Library:
2018.03.18 00:34:31 1: Including fhem.cfg
2018.03.18 00:34:31 5: Cmd: >attr global userattr cmdIcon devStateIcon devStateStyle genericDeviceType:security,ignore,switch,outlet,light,blind,thermometer,thermostat,HumiditySensor,contact,garage,window,lock homebridgeMapping:textField-long icon siriName sortby webCmd webCmdLabel:textField-long widgetOverride<
2018.03.18 00:34:31 5: Cmd: >attr global autoload_undefined_devices 1<
2018.03.18 00:34:31 5: Cmd: >attr global autosave 0<
2018.03.18 00:34:31 5: Cmd: >attr global latitude 1<
2018.03.18 00:34:31 5: Cmd: >attr global logfile ./log/fhem-%Y-%m.log<
2018.03.18 00:34:31 5: Cmd: >attr global longitude 1<
2018.03.18 00:34:31 5: Cmd: >attr global modpath .<
2018.03.18 00:34:31 5: Cmd: >attr global motd none<
2018.03.18 00:34:31 5: Cmd: >attr global statefile ./log/fhem.save<
2018.03.18 00:34:31 5: Cmd: >attr global updateInBackground 1<
2018.03.18 00:34:31 5: Cmd: >attr global verbose 5<
2018.03.18 00:34:31 5: Cmd: >define telnetPort telnet 7072 global<
2018.03.18 00:34:31 5: Loading ./FHEM/98_telnet.pm
2018.03.18 00:34:31 3: telnetPort: port 7072 opened
2018.03.18 00:34:31 5: Cmd: >define WEB FHEMWEB 8083 global<
2018.03.18 00:34:31 5: Loading ./FHEM/01_FHEMWEB.pm
2018.03.18 00:34:31 3: WEB: port 8083 opened
2018.03.18 00:34:31 5: Cmd: >attr WEB JavaScripts codemirror/fhem_codemirror.js<
2018.03.18 00:34:31 5: Cmd: >attr WEB codemirrorParam { "lineWrapping":true }<
2018.03.18 00:34:31 5: Cmd: >attr WEB editConfig 1<
2018.03.18 00:34:31 5: Cmd: >attr WEB endPlotNow 1<
2018.03.18 00:34:31 5: Cmd: >define WEBphone FHEMWEB 8084 global<
2018.03.18 00:34:31 3: WEBphone: port 8084 opened
2018.03.18 00:34:31 5: Cmd: >attr WEBphone stylesheetPrefix smallscreen<
2018.03.18 00:34:31 5: Cmd: >define WEBtablet FHEMWEB 8085 global<
2018.03.18 00:34:31 3: WEBtablet: port 8085 opened
2018.03.18 00:34:31 5: Cmd: >attr WEBtablet stylesheetPrefix touchpad<
2018.03.18 00:34:31 5: Cmd: >define Logfile FileLog ./log/fhem-%Y-%m.log fakelog<
2018.03.18 00:34:31 5: Loading ./FHEM/92_FileLog.pm
2018.03.18 00:34:31 5: Cmd: >define autocreate autocreate<
2018.03.18 00:34:31 5: Loading ./FHEM/98_autocreate.pm
2018.03.18 00:34:31 5: Cmd: >attr autocreate filelog ./log/%NAME-%Y.log<
2018.03.18 00:34:31 5: Cmd: >define eventTypes eventTypes ./log/eventTypes.txt<
2018.03.18 00:34:31 5: Loading ./FHEM/91_eventTypes.pm
2018.03.18 00:34:31 2: eventTypes: loaded 458 events from ./log/eventTypes.txt
2018.03.18 00:34:31 5: Cmd: >define initialUsbCheck notify global:INITIALIZED usb create<
2018.03.18 00:34:31 5: Loading ./FHEM/91_notify.pm
2018.03.18 00:34:31 5: Cmd: >define allowed_WEB allowed<
2018.03.18 00:34:31 5: Loading ./FHEM/96_allowed.pm
2018.03.18 00:34:31 5: Cmd: >attr allowed_WEB basicAuth VHlwMWVyOjAxMjc1MTA4Mg==<
2018.03.18 00:34:31 5: Cmd: >attr allowed_WEB group Password,<
2018.03.18 00:34:31 5: Cmd: >attr allowed_WEB validFor WEB,WEBphone,WEBtablet<
2018.03.18 00:34:31 5: Cmd: >define allowed_telnetPort allowed<
2018.03.18 00:34:31 5: Cmd: >attr allowed_telnetPort group Password<
2018.03.18 00:34:31 5: Cmd: >attr allowed_telnetPort password SHA256:2BA1BAAB:AmTyQ7k1FpD+e/RDZGCMIabvmWuUuyoV+dI5BpVHvcA<
2018.03.18 00:34:31 5: Cmd: >attr allowed_telnetPort validFor telnetPort<
2018.03.18 00:34:31 5: Cmd: >define siri siri<
2018.03.18 00:34:31 5: Loading ./FHEM/39_siri.pm
2018.03.18 00:34:31 5: Cmd: >define Mi_Vacuum XiaomiDevice 192.168.178.45 624536316f553668704d436e584a6761<
2018.03.18 00:34:31 5: Loading ./FHEM/72_XiaomiDevice.pm
2018.03.18 00:34:32 3: Mi_Vacuum: initialized, using AES
2018.03.18 00:34:32 5: Cmd: >attr Mi_Vacuum alias Einstein<
2018.03.18 00:34:32 5: Cmd: >attr Mi_Vacuum disable 0<
2018.03.18 00:34:32 3: Mi_Vacuum: disconnecting
2018.03.18 00:34:32 2: Mi_Vacuum: connecting
2018.03.18 00:34:32 3: Mi_Vacuum: initialized
2018.03.18 00:34:32 5: Mi_Vacuum: initSend
2018.03.18 00:34:32 5: Mi_Vacuum Send SUCCESS
2018.03.18 00:34:32 5: Mi_Vacuum > 21310020ffffffffffffffffffffffffffffffffffffffffffffffffffffffff
2018.03.18 00:34:32 5: Cmd: >attr Mi_Vacuum genericDeviceType switch<
2018.03.18 00:34:32 5: Cmd: >attr Mi_Vacuum homebridgeMapping On=state,valueOn=/Cleaning|Paused|Sleeping/,valueOff=/Docked|Charging/,cmdOn=start,cmdOff=charge
RotationSpeed=fan_power,minValue=0,maxValue=100,cmd=fan_power,delay=1
BatteryLevel=batteryLevel,maxValue=100,minValue=0,minStep=1
StatusLowBattery=battery,values=ok:BATTERY_LEVEL_NORMAL;;low:BATTERY_LEVEL_LOW
ChargingState=state,values=Docked:NOT_CHARGING;;Charging:CHARGING;;/Cleaning|Returning.to.base/:NOT_CHARGEABLE
OccupancyDetected=state,values=/Docked|Charging/:OCCUPANCY_DETECTED
FilterLifeLevel=consumables_filter,minValue=0,maxValue=100
FilterChangeIndication=consumables_filter,values=0:CHANGE_FILTER<
2018.03.18 00:34:32 5: Cmd: >attr Mi_Vacuum icon vacuum_top<
2018.03.18 00:34:32 5: Cmd: >attr Mi_Vacuum room 52 Wohnzimmer,Homekit,MiSmartHome<
2018.03.18 00:34:32 5: Cmd: >attr Mi_Vacuum stateFormat state<
2018.03.18 00:34:32 5: Cmd: >attr Mi_Vacuum subType VacuumCleaner<
2018.03.18 00:34:32 5: Cmd: >define MiGateway XiaomiSmartHome 192.168.178.52<
2018.03.18 00:34:32 5: Loading ./FHEM/71_XiaomiSmartHome.pm
2018.03.18 00:34:32 5: MiGateway: Define> 192.168.178.52
2018.03.18 00:34:32 5: Cmd: >attr MiGateway devStateIcon {Color_devStateIcon(ReadingsVal($name,"rgb","000000"))}<
2018.03.18 00:34:32 5: Cmd: >attr MiGateway room MiSmartHome<
2018.03.18 00:34:32 5: Cmd: >attr MiGateway verbose 5<
2018.03.18 00:34:32 5: Cmd: >attr MiGateway webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off<
2018.03.18 00:34:32 5: Cmd: >define TC_TWILIGHT Twilight 52.134264 11.575243 3 20066148<
2018.03.18 00:34:32 5: Loading ./FHEM/59_Twilight.pm
2018.03.18 00:34:32 5: [TC_TWILIGHT] Original weather readings
2018.03.18 00:34:32 5: [TC_TWILIGHT] setting Timer: TC_TWILIGHT_sunpos 2018-03-18 00:39:32
2018.03.18 00:34:32 4: [TC_TWILIGHT] url=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid=20066148%20and%20u=%27c%27&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys
2018.03.18 00:34:32 5: HttpUtils url=http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid=20066148%20and%20u=%27c%27&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys
2018.03.18 00:34:33 5: HttpUtils request header:
GET /v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid=20066148%20and%20u=%27c%27&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys HTTP/1.0
Host: query.yahooapis.com
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0
Accept: application/xml
2018.03.18 00:34:33 4: http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid=20066148%20and%20u=%27c%27&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys: HTTP response code 200
2018.03.18 00:34:33 5: HttpUtils http://query.yahooapis.c
2018.03.18 00:32:44 5: Loading ./FHEM/71_XiaomiSmartHome.pm
2018.03.18 00:32:44 5: MiGateway: Define> Ping ERROR Gateway disconnecting
2018.03.18 00:32:44 5: MiGateway: Define> 192.168.178.52
Zitat von: Typ1er am 19 März 2018, 12:08:48Hi
Nach jedem reboot geht es nicht.
Wenn dann über ssh FHEM noch einmal Stop und Start ausführe, geht es sofort.
Zitat von: Typ1er am 19 März 2018, 12:29:51Ich würde mal im /etc/init.d/fhem ein
Kannst du mir sagen wie und wo? Dann Teste das mal
sudo find /etc | grep fhem
Zitat von: Murdock am 12 März 2018, 22:06:08Bitte bedenke, dass Xiaomi-GW auf JEDEN FALL per Multicast kommunizieren will und muss (mit FHEM)! Er kann einfach nicht anders.
Der Docker Container hat sich wohl intern dieses Netzwerk gegeben. Ich konnte bis jetzt alles einbinden auch meinen HMLan Adapter und meinen Harmony Hub per IP vom Nuc. Dein Modul scheint da noch etwas tiefer abzutauchen und holt sich die IP vom Cotainer raus....
Zitat von: gerdshi am 19 März 2018, 17:53:53Btw und offtopic zu dem docker Problem
Hallo Murdock!
Bitte bedenke, dass Xiaomi-GW auf JEDEN FALL per Multicast kommunizieren will und muss (mit FHEM)! Er kann einfach nicht anders.
Kenne mich mit Docker auch nicht aus, aber anscheint hat Docker bereits NAT aktiviert und da wage ich zu bezweifeln, dass da auch nur ein Multicast Packet durchgeht. Da ist das Modul von Torsten unschuldig, sondern liegt in der Natur der Sache bzw. an der Entscheidung von Xiaomi auf Multicast zu setzen. ;-)
Guck mal ob Docker Joins und IGMP beherscht. Frag mich aber bitte nicht welches IGMP Version hier benutzt wird.
Bzw. ob man NAT beim Docker abschalten kann.
Zitat von: gerdshi am 19 März 2018, 20:58:45Nö, war doch richtig. Meins war nur offtopic [emoji16]
Sorry, habe nur die letzten zwei Meldungen gelesen wo die Frage ging ob das Perl Multicast installiert ist und das es Probleme mit IP-Adressen gab. War etwas zu schnell.
Zitat von: RaspiLED am 19 März 2018, 14:06:47
Hi,
Wie startest Du den FHEM? init.d oder systemctl?
Zitat von: torte am 15 Dezember 2017, 07:17:38
Moin,
Ja, zwei oder mehrere gehen.
Da halt alles über einen einzigen Port läuft, muss das Modul nun prüfen zu welcher Instanz es gehört. Das geht über die SID (Internals).
Wenn nun ein Heartbeat kommt, von einem GW mit einer SID die die FHEM noch nicht kennt, knallt es. Hatte das beim entwickeln, nicht aufm Schirm, dass man mehre
GWs haben kann aber nur einen in FHEM definiert. Workarround ist halt beide(alle) GWs in FHEM zu definieren ohne das die noch nicht definierten im Netzwerk sind.
Oder GW1 im Strom -> define. GW1 ausstecken in FHEM geht das device auf disconnect. Dann GW2 einstecken und das define machen. Dann GW1 wieder in den Strom.
Wie gesagt, sollte mit dem nächsten Release, dieses Problem aussterben.
Grüße
Torte
2018.04.01 19:55:02 5: MiGateway: Read> Read start
2018.04.01 19:55:02 5: MiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"34ce0088XXXX","short_id":"0","token":"KqihoiDBEU4mXXXX","data":"{\"ip\":\"192.168.178.50\"}"}
2018.04.01 19:55:02 5: MiGateway: Read> HASH correctly
2018.04.01 19:55:02 5: MiGateway: Reading> Reading start
2018.04.01 19:55:02 4: MiGateway: Reading> Heartbeat from 192.168.178.50 received with 34ce0088XXXX
2018.04.01 19:55:02 5: Starting notify loop for MiGateway, 1 event(s), first is heartbeat: 34ce0088XXXX
2018.04.01 19:55:02 5: End notify loop for MiGateway
2018.04.01 19:55:04 5: MiGateway: Read> Read start
2018.04.01 19:55:04 5: MiGateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"7811dcb0XXXX","short_id":"0","token":"xSWs82cuTBaBXXXX","data":"{\"ip\":\"192.168.178.51\"}"}
2018.04.01 19:55:04 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/71_XiaomiSmartHome.pm line 152.
2018.04.01 19:55:04 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 154.
2018.04.01 19:55:04 5: MiGateway: Read> Change HASH Ref to
2018.04.01 19:55:04 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 168.
2018.04.01 19:55:04 5: : Reading> Reading start
Can't call method "incr_parse" on an undefined value at ./FHEM/71_XiaomiSmartHome.pm line 169.
2018-04-07 14:04:39 XiaomiSmartHome MiHub UNKNOWNCODE {"cmd":"write_ack","sid":"7811dcb076ca","data":"{\"error\":\"No device\"}"}
2018-04-07 14:04:43 XiaomiSmartHome MiHub pct: 23
2018-04-07 14:04:43 XiaomiSmartHome MiHub on
2018-04-07 14:04:43 XiaomiSmartHome MiHub UNKNOWNCODE {"cmd":"write_ack","sid":"7811dcb076ca","data":"{\"error\":\"No device\"}"}
Zitat von: tatu123 am 17 April 2018, 16:15:02
Leider habe ich gestern ein Update der Basis über in APP (Version 1.4.1_154.0143) gemacht. Seit dem Funktioniert das Modul nicht mehr.
define xiaomi_gateway XiaomiSmartHome 192.168.2.117
attr xiaomi_gateway devStateIcon {Color_devStateIcon(ReadingsVal($name,"rgb","000000"))}
attr xiaomi_gateway room MiSmartHome
attr xiaomi_gateway webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off
2018.06.18 18:44:49 5: PRESENCE (hm_cfg_lan) - starting ping scan: hm_cfg_lan|192.168.2.3|0|4
2018.06.18 18:44:49 5: xiaomi_gateway: Read> Read start
2018.06.18 18:44:49 5: xiaomi_gateway: Read> {"cmd":"heartbeat","model":"gateway","sid":"7811dcb7cd62","short_id":"0","token":"ZmuyZjnHTYKzoKnj","data":"{\"ip\":\"192.168.2.118\"}"}
2018.06.18 18:44:49 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/71_XiaomiSmartHome.pm line 152.
2018.06.18 18:44:49 1: stacktrace:
2018.06.18 18:44:49 1: main::__ANON__ called by ./FHEM/71_XiaomiSmartHome.pm (148)
2018.06.18 18:44:49 1: main::XiaomiSmartHome_Read called by fhem.pl (3497)
2018.06.18 18:44:49 1: main::CallFn called by fhem.pl (700)
2018.06.18 18:44:49 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 154.
2018.06.18 18:44:49 1: stacktrace:
2018.06.18 18:44:49 1: main::__ANON__ called by ./FHEM/71_XiaomiSmartHome.pm (154)
2018.06.18 18:44:49 1: main::XiaomiSmartHome_Read called by fhem.pl (3497)
2018.06.18 18:44:49 1: main::CallFn called by fhem.pl (700)
2018.06.18 18:44:49 5: xiaomi_gateway: Read> Change HASH Ref to
2018.06.18 18:44:49 1: PERL WARNING: Use of uninitialized value $name in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 168.
2018.06.18 18:44:49 1: stacktrace:
2018.06.18 18:44:49 1: main::__ANON__ called by ./FHEM/71_XiaomiSmartHome.pm (168)
2018.06.18 18:44:49 1: main::XiaomiSmartHome_Reading called by ./FHEM/71_XiaomiSmartHome.pm (155)
2018.06.18 18:44:49 1: main::XiaomiSmartHome_Read called by fhem.pl (3497)
2018.06.18 18:44:49 1: main::CallFn called by fhem.pl (700)
2018.06.18 18:44:49 5: : Reading> Reading start
Can't call method "incr_parse" on an undefined value at ./FHEM/71_XiaomiSmartHome.pm line 169.
Zitat von: macmattes am 18 Juni 2018, 19:33:51Wasn ne Portreise ? [emoji849]
Mit der Änderung Portreise hab ich dass Problem nicht mehr
Zitat von: macmattes am 18 Juni 2018, 19:33:51Danke Dir.
Mit der Änderung Portreuse hab ich dass Problem nicht mehr
Zitat von: torte am 19 Juni 2018, 07:13:27Die Internals kann ich nur in der Web-UI sehen, wenn das Device aktiv (also nicht in der fhem.cfg auskommentiert) ist, oder?
haben beide Devices eine SID in den Internals?
Sieht eigentlich genauso aus wie der typische Fehler das ein GW im Netzwerk spricht welches noch kein Define im FHEM hat, dann kommt es zu diesem bekanntem Fehler.
Zitat von: ofno am 19 März 2018, 12:32:13
Ich würde mal im /etc/init.d/fhem ein
sleep 180
Versuchen.
Zitat von: Typ1er am 20 Juni 2018, 22:31:26Danke, werde ich heute Abend mal probieren.
bei mir ist es ja am Anfang auch nicht gestartet, das hier hat geholfen: Wobei ich es bei mir auf sleep 1 reduzieren konnte.
DOIF (XMI_158d0002091ead state open){
set HM_Heizung_Computer control 6
}
DOELSE set HM_Heizung_Computer control 15
Zitat von: Tardar am 22 Juni 2018, 18:59:25
Hey,
hat jemand von Euch eine Ahnung, wie die states der Tür-Fensterkontakte (Aqara, magnetisch) im Fhem in DOIF verwendet / angesprochen werden ?
Ich möchte je nach State gern meine Homematic IP Thermostate in der Temperatur regeln bzw. aus / einschalten.
Probiert habe ich es aktuell so (bin relativ neu im FHEM):Code AuswählenDOIF (XMI_158d0002091ead state open){
set HM_Heizung_Computer control 6
}
DOELSE set HM_Heizung_Computer control 15
Lieben Dank an Euch ;)
Zitat von: ofno am 22 Juni 2018, 19:15:37
Ich mach das so
[XMI_14858d00208f04:state] eq "open"
Zitat von: okiberlin am 23 Juni 2018, 14:09:26
Hallo,
ich habe einen Aqara Cube gekauft und erst beim Einbinden in FHEM gemerkt, dass er nicht unterstützt wird. Er wird in FHEM zwar angelegt mit Model "sensor_cube.aqgl01" und Batterie und Heartbeat Readings. Leider sonst nix, keine Events :(
Kann ich etwas zuarbeiten um den Cube zu integrieren?
Viele Grüße
Olaf
Zitat von: ofno am 23 Juni 2018, 17:02:35
Hab ihm auch, der Gateway scheint für das model noch nichts ins LAN zu senden, in der APP kommt was an aber nichts über das LAN. Gab es mit anderen aqara Geräten früher schon.
Zitat von: Tardar am 23 Juni 2018, 20:54:26
Wie war das mit den Geräten ?
Ist das im Nachhinein gefixed worden oder wie lief das ? ^
Zitat von: torte am 21 Juni 2018, 12:38:28Hier war ich noch eine Rückmeldung schuldig, sorry hat vorher nicht geklappt.
Gleichzeitig mach mal ein Verbose 5 Log mit dem Gateway welches keine SID bekommt.
Ist das GW im selben WLAN? evtl. ne Firewall dazwischen oder sowas.
Zitat von: torte am 24 Juni 2018, 00:19:13
An diejenigen die schon 1.30 des Moduls einsetzen und mehr als ein Gateway haben.
Stimmt bei euch die Zuordnung Sensor : Gateway?
Meistens erst nach einem Reboot nach dem das Update eingespielt wurde.
Gesendet mit Tapatalk
Zitat von: torte am 24 Juni 2018, 00:19:13Kurze Rückmeldung: Zuordnung stimmt (V 1.31)
An diejenigen die schon 1.30 des Moduls einsetzen und mehr als ein Gateway haben.
Stimmt bei euch die Zuordnung Sensor : Gateway?
[...]
2018.07.20 15:05:58 1: Mi_Gw: Write> Ping to 192.168.xx.xx failed
2018.07.20 15:05:58 1: Mi_Gw: disconnect> disconnecting
2018.07.20 15:06:00 1: Mi_Gw: Write> Cannot write iam disconnected
Zitat von: jkriegl am 20 Juli 2018, 17:25:16
Habe plötzlich:Code Auswählen2018.07.20 15:05:58 1: Mi_Gw: Write> Ping to 192.168.xx.xx failed
2018.07.20 15:05:58 1: Mi_Gw: disconnect> disconnecting
2018.07.20 15:06:00 1: Mi_Gw: Write> Cannot write iam disconnected
Wie kann man die Verbindung wieder aktivieren.
Habe auf die Schnelle shutdown restart gemacht, alles ok.
2018.08.14 23:10:30 3: : Unknown code {"cmd":"read_ack","model":"sensor_ht","sid":"158d00023790ea","short_id":45444,"data":"{\"voltage\":3095,\"temperature\":\"2383\",\"humidity\":\"6280\"}"}, help me!
2018.08.14 23:10:30 1: migate: DEV_Parse> UNDEFINED sensor_ht : 158d0002367203
2018.08.14 23:10:30 1: in UNDEFINED
2018.08.17 21:18:25 5: XIGATE: connect> ConnectStart
2018.08.17 21:18:25 5: XIGATE: getGatewaySID> Answer {"cmd":"iam","port":"9898","sid":"7c49eb1a64d8","model":"gateway","proto_version":"1.1 .2","ip":"192.168.100.76"}
2018.08.17 21:18:25 3: XIGATE: getGatewaySID> Find SID for Gateway: 7c49eb1a64d8
Creating socket: Protocol not available
Zitat von: torte am 20 August 2018, 08:17:05
Hi Andreas,
hast Du alle benötigten Pakete installiert? Siehe Wiki im Git.
Grüße
Torte
root@fhemdev:~# apt-get install libio-socket-multicast-perl
root@fhemdev:~# apt-get install libjson-perl
root@fhemdev:~# apt-get install libcrypt-cbc-perl
root@fhemdev:~# cpan Crypt::Cipher::AES
my $sock = IO::Socket::Multicast->new( Proto => 'udp', LocalPort =>'9898', ReusePort => 1, ReuseAddr => 1, Timeout => $timeout) or die "Creating socket: $!\n";
my $sock = IO::Socket::Multicast->new( Proto => 'udp', LocalPort =>'9898', ReuseAddr => 1, Timeout => $timeout) or die "Creating socket: $!\n";
Zitat von: torte am 21 August 2018, 08:36:47
Hi Andreas,
scheinbar ist bei Dir das Protocol UDP nicht vorhanden. Wobei ich das nicht wirklich glaube.
In der letzten Version habe ich aufgrund eines Hinweises beim Verbindungaufbau zum Gateway "ReusePort => 1" hinzugefügt.
Hab mal ein bissel gegoogelt sieht so aus als könnte das Dein Problem sein.
Probiere mal:
Datei /fhem/FHEM/71_XiaomiSmartHome.pm
Zeile:754
VONCode Auswählen
my $sock = IO::Socket::Multicast->new( Proto => 'udp', LocalPort =>'9898', ReusePort => 1, ReuseAddr => 1, Timeout => $timeout) or die "Creating socket: $!\n";
INCode Auswählen
my $sock = IO::Socket::Multicast->new( Proto => 'udp', LocalPort =>'9898', ReuseAddr => 1, Timeout => $timeout) or die "Creating socket: $!\n";
ändern.
Danach in der Fhem-Commandline oben ein reload 71_XiaomiSmartHome.pm
Dann probiere es einfach nochmal.
Grüße
Torte
2018.08.30 19:04:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 673.
2018.08.30 19:04:36 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/71_XiaomiSmartHome.pm line 679.
Zitat von: torte am 31 August 2018, 08:53:30
Moin,
Mach mal ein Verbose 5 Log, irgendwas am Netzwerk geändert, Firewall?
Grüße
Torte
2018.08.31 16:51:01 5: XiaomiGateway: Reading> Reading start
2018.08.31 16:51:01 3: XiaomiGateway: Reading> SID: 7811dcb07050 Type: Gateway RGB: 49
2018.08.31 16:51:01 3: XiaomiGateway: Reading> SID: 7811dcb07050 Type: Gateway Illumination: 1292
2018.08.31 16:51:04 5: XiaomiGateway: Read> Read start
2018.08.31 16:51:04 5: XiaomiGateway: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"7811dcb07050","short_id":"0","token":"XBXybz4XGoCRRDRj","data":"{\"ip\":\"192.168.178.55\"}"}
2018.08.31 16:51:04 5: XiaomiGateway: Read> HASH correctly
2018.08.31 16:51:04 5: XiaomiGateway: Reading> Reading start
2018.08.31 16:51:04 4: XiaomiGateway: Reading> Heartbeat from 192.168.178.55 received with 7811dcb07050
2018.08.31 16:51:14 5: XiaomiGateway: Read> Read start
2018.08.31 16:51:14 5: XiaomiGateway: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"7811dcb07050","short_id":"0","token":"JWoGvPr8BrmkJ3xE","data":"{\"ip\":\"192.168.178.55\"}"}
2018.08.31 16:51:14 5: XiaomiGateway: Read> HASH correctly
2018.08.31 16:51:14 5: XiaomiGateway: Reading> Reading start
2018.08.31 16:51:14 4: XiaomiGateway: Reading> Heartbeat from 192.168.178.55 received with 7811dcb07050
2018.08.31 16:51:24 5: XiaomiGateway: Read> Read start
2018.08.31 16:51:24 5: XiaomiGateway: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"7811dcb07050","short_id":"0","token":"TplcnX6w8kzhiihu","data":"{\"ip\":\"192.168.178.55\"}"}
2018.08.31 16:51:24 5: XiaomiGateway: Read> HASH correctly
2018.08.31 16:51:24 5: XiaomiGateway: Reading> Reading start
2018.08.31 16:51:24 4: XiaomiGateway: Reading> Heartbeat from 192.168.178.55 received with 7811dcb07050
2018.08.31 16:51:34 5: XiaomiGateway: Read> Read start
2018.08.31 16:51:34 5: XiaomiGateway: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"7811dcb07050","short_id":"0","token":"ToFKIYZwerCdC3rJ","data":"{\"ip\":\"192.168.178.55\"}"}
2018.08.31 16:51:34 5: XiaomiGateway: Read> HASH correctly
2018.08.31 16:51:34 5: XiaomiGateway: Reading> Reading start
2018.08.31 16:51:34 4: XiaomiGateway: Reading> Heartbeat from 192.168.178.55 received with 7811dcb07050
2018.08.31 16:51:44 5: XiaomiGateway: Read> Read start
2018.08.31 16:51:44 5: XiaomiGateway: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"7811dcb07050","short_id":"0","token":"SpqVZvPDAdoVCrD6","data":"{\"ip\":\"192.168.178.55\"}"}
2018.08.31 16:51:44 5: XiaomiGateway: Read> HASH correctly
2018.08.31 16:51:44 5: XiaomiGateway: Reading> Reading start
2018.08.31 16:51:44 4: XiaomiGateway: Reading> Heartbeat from 192.168.178.55 received with 7811dcb07050
2018.08.31 16:51:45 4: XiaomiGateway: Set> pct, 77,
2018.08.31 16:51:45 4: XiaomiGateway: Set> pct, 49
2018.08.31 16:51:45 4: XiaomiGateway: Write> {"cmd":"write","model":"gateway","sid":"7811dcb07050","short_id":0,"key":"8","data":"{\"rgb\":73,\"key\":\"8a9d97d48486aa753a3da91c4e57b381\"}" } 192.168.178.55
2018.08.31 16:51:45 4: XiaomiGateway: Write> End 192.168.178.55
2018.08.31 16:51:45 5: XiaomiGateway: Read> Read start
2018.08.31 16:51:45 5: XiaomiGateway: Read> [PLAIN] {"cmd":"write_ack","model":"gateway","sid":"7811dcb07050","short_id":0,"data":"{\"rgb\":73,\"illumination\":1292,\"proto_version\":\"1.1.2\"}"}
2018.08.31 16:51:45 5: XiaomiGateway: Read> HASH correctly
2018.08.31 16:51:45 5: XiaomiGateway: Reading> Reading start
2018.08.31 16:51:45 4: XiaomiGateway: Reading> Write answer 192.168.178.55
2018.08.31 16:51:46 5: XiaomiGateway: Read> Read start
2018.08.31 16:51:46 5: XiaomiGateway: Read> [PLAIN] {"cmd":"report","model":"gateway","sid":"7811dcb07050","short_id":0,"data":"{\"rgb\":73,\"illumination\":1292}"}
2018.08.31 16:51:46 5: XiaomiGateway: Read> HASH correctly
2018.08.31 16:51:46 5: XiaomiGateway: Reading> Reading start
2018.08.31 16:51:46 3: XiaomiGateway: Reading> SID: 7811dcb07050 Type: Gateway RGB: 73
2018.08.31 16:51:46 3: XiaomiGateway: Reading> SID: 7811dcb07050 Type: Gateway Illumination: 1292
2018.08.31 20:54:36 5: XiaomiGateway: Read> Read start
2018.08.31 20:54:36 5: XiaomiGateway: Read> [PLAIN] {"cmd":"get_id_list_ack","sid":"7811dcf7864c","token":"JenLnHgXxdIaBauH","data":"[\"158d00020f5a6d\"]"}
2018.08.31 20:54:36 5: XiaomiGateway: Read> HASH correctly
2018.08.31 20:54:36 5: XiaomiGateway: Reading> Reading start
2018.08.31 20:54:36 4: XiaomiGateway: Reading> PushRead:158d00020f5a6d
2018.08.31 20:54:37 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d00020f5a6d"} 192.168.178.200
2018.08.31 20:54:37 4: XiaomiGateway: Write> End 192.168.178.200
2018.08.31 20:54:37 5: XiaomiGateway: Read> Read start
2018.08.31 20:54:37 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\"voltage\":3025,\"temperature\":\"2029\",\"humidity\":\"7008\"}"}
2018.08.31 20:54:37 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d00020f5a6d XiaomiGateway XiaomiGateway
2018.08.31 20:54:37 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\"voltage\":3025,\"temperature\":\"2029\",\"humidity\":\"7008\"}"} XiaomiGateway
2018.08.31 20:54:37 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\\"voltage\\":3025,\\"temperature\\":\\"2029\\",\\"humidity\\":\\"7008\\"}"}
2018.08.31 20:54:37 5: XiaomiGateway: DEV_Parse> IS DEFINED sensor_ht : 158d00020f5a6d HASH(0x3f675e0)
2018.08.31 20:54:37 5: XiaomiGateway: DEV_Read> SID: 158d00020f5a6d XiaomiSmartHome_Device
2018.08.31 20:54:37 4: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Voltage: 3025
2018.08.31 20:54:37 5: XiaomiGateway: DEV_Round> Value: 3.025 points: 1
2018.08.31 20:54:37 5: XiaomiGateway: DEV_Round> Result_value: 3.0
2018.08.31 20:54:37 5: XiaomiGateway: DEV_Round> Value: 20.29 points: 2
2018.08.31 20:54:37 5: XiaomiGateway: DEV_Round> Result_value: 20.29
2018.08.31 20:54:37 3: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Temperature: 20.29 Round: 2
2018.08.31 20:54:37 5: XiaomiGateway: DEV_Round> Value: 70.08 points: 2
2018.08.31 20:54:37 5: XiaomiGateway: DEV_Round> Result_value: 70.08
2018.08.31 20:54:37 3: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Humidity: 70.08 Round: 2
2018.08.31 20:54:37 5: Starting notify loop for XMI_158d00020f5a6d, 4 event(s), first is batteryState: ok
2018.08.31 20:54:37 5: End notify loop for XMI_158d00020f5a6d
2018.08.31 20:54:46 4: Connection accepted from WEB_192.168.150.1_63969
2018.08.31 20:54:46 4: WEB_192.168.150.1_63969 GET /fhem?room=MiSmartHome; BUFLEN:0
2018.08.31 20:54:46 5: plotcommand: get FileLog_XMI_158d00020f5a6d CURRENT INT 2018-08-31_00:00:00 2018-08-31_23:59:59 4:XMI_158d00020f5a6d.humidity\x3a:: 4:XMI_158d00020f5a6d.temperature\x3a::
2018.08.31 20:54:46 5: Cmd: >get FileLog_XMI_158d00020f5a6d CURRENT INT 2018-08-31_00:00:00 2018-08-31_23:59:59 4:XMI_158d00020f5a6d.humidity\x3a:: 4:XMI_158d00020f5a6d.temperature\x3a::<
2018.08.31 20:54:46 4: FileLog_XMI_158d00020f5a6d get: Input file ./log/XMI_158d00020f5a6d-2018.log, from:2018-08-31_00:00:00 to:2018-08-31_23:59:59
2018.08.31 20:54:46 4: FileLog_XMI_158d00020f5a6d get: line 1, regexp:XMI_158d00020f5a6d.humidity\x3a, col:3, output lines:112
2018.08.31 20:54:46 4: FileLog_XMI_158d00020f5a6d get: line 2, regexp:XMI_158d00020f5a6d.temperature\x3a, col:3, output lines:112
2018.08.31 20:54:46 5: Cmd: >{ "XMI_158d00020f5a6d-2018.log" }<
2018.08.31 20:54:46 4: WEB: /fhem?room=MiSmartHome / RL:4614 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2018.08.31 20:54:46 4: Connection closed for WEB_192.168.150.1_63843: EOF
2018.08.31 20:54:46 4: Connection accepted from WEB_192.168.150.1_63970
2018.08.31 20:54:47 4: WEB_192.168.150.1_63969 GET /fhem?detail=XiaomiGateway; BUFLEN:0
2018.08.31 20:54:47 4: WEB: /fhem?detail=XiaomiGateway / RL:3910 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2018.08.31 20:54:47 4: Connection closed for WEB_192.168.150.1_63970: EOF
2018.08.31 20:54:48 4: WEB_192.168.150.1_63969 GET /fhem?cmd=%7BReadingsVal(%22XiaomiGateway%22%2C%22volume%22%2C%22%22)%7D&XHR=1&fwcsrf=csrf_153130410450746; BUFLEN:0
2018.08.31 20:54:48 5: Cmd: >{ReadingsVal("XiaomiGateway","volume","")}<
2018.08.31 20:54:48 4: WEB: /fhem?cmd=%7BReadingsVal(%22XiaomiGateway%22%2C%22volume%22%2C%22%22)%7D&XHR=1&fwcsrf=csrf_153130410450746 / RL:23 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2018.08.31 20:54:48 4: Connection accepted from WEB_192.168.150.1_63971
2018.08.31 20:54:48 4: WEB_192.168.150.1_63971 GET /fhem?cmd=%7BAttrVal(%22XiaomiGateway%22%2C%22room%22%2C%22%22)%7D&XHR=1&fwcsrf=csrf_153130410450746; BUFLEN:0
2018.08.31 20:54:48 5: Cmd: >{AttrVal("XiaomiGateway","room","")}<
2018.08.31 20:54:48 4: WEB: /fhem?cmd=%7BAttrVal(%22XiaomiGateway%22%2C%22room%22%2C%22%22)%7D&XHR=1&fwcsrf=csrf_153130410450746 / RL:32 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2018.08.31 20:54:48 4: Connection accepted from WEB_192.168.150.1_63972
2018.08.31 20:54:51 4: WEB_192.168.150.1_63971 POST /fhem?cmd=set%20XiaomiGateway%20pct%2031&XHR=1&fwcsrf=csrf_153130410450746&fw_id=147; BUFLEN:0
2018.08.31 20:54:51 5: Cmd: >set XiaomiGateway pct 31<
2018.08.31 20:54:51 4: XiaomiGateway: Set> pct, 31, ff0000
2018.08.31 20:54:51 5: Starting notify loop for XiaomiGateway, 1 event(s), first is pct: 31
2018.08.31 20:54:51 5: createNotifyHash
2018.08.31 20:54:51 5: End notify loop for XiaomiGateway
2018.08.31 20:54:51 5: Starting notify loop for XiaomiGateway, 1 event(s), first is rgb: ff0000
2018.08.31 20:54:51 5: End notify loop for XiaomiGateway
2018.08.31 20:54:51 5: Starting notify loop for XiaomiGateway, 1 event(s), first is on
2018.08.31 20:54:51 5: End notify loop for XiaomiGateway
2018.08.31 20:54:51 4: XiaomiGateway: Set> pct, 20
2018.08.31 20:54:52 4: XiaomiGateway: Write> {"cmd":"write","model":"gateway","sid":"7811dcf7864c","short_id":0,"key":"8","data":"{\"rgb\":553582592,\"key\":\"1c3960091a877205ad7cf574eb5d5bf5\"}" } 192.168.178.200
2018.08.31 20:54:52 4: XiaomiGateway: Write> End 192.168.178.200
2018.08.31 20:54:52 4: WEB: /fhem?cmd=set%20XiaomiGateway%20pct%2031&XHR=1&fwcsrf=csrf_153130410450746&fw_id=147 / RL:20 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2018.08.31 20:54:52 5: XiaomiGateway: Read> Read start
2018.08.31 20:54:52 5: XiaomiGateway: Read> [PLAIN] {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\"error\":\"Invalid key\"}"}
2018.08.31 20:54:52 5: XiaomiGateway: Read> XiaomiSmartHome_Device unknown trying autocreate
2018.08.31 20:54:53 4: XiaomiGateway: Write> Get all Sensors
2018.08.31 20:54:53 4: XiaomiGateway: Write> {"cmd" : "get_id_list"} 192.168.178.200
2018.08.31 20:54:53 4: XiaomiGateway: Write> End 192.168.178.200
2018.08.31 20:54:53 5: XiaomiGateway: Push to get all Sensors for Gateway XiaomiGateway 7811dcf7864c
2018.08.31 20:54:53 5: XiaomiGateway: Read> Wrong Modul HASH Trying to find the right one <> XiaomiGateway
2018.08.31 20:54:53 5: XiaomiGateway: Read> Using this GW
2018.08.31 20:54:53 5: XiaomiGateway: Read> Dispatching {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\"error\":\"Invalid key\"}"}
2018.08.31 20:54:53 5: : dispatch {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\\"error\\":\\"Invalid key\\"}"}
2018.08.31 20:54:53 3: : Unknown code {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\"error\":\"Invalid key\"}"}, help me!
2018.08.31 20:54:53 5: XiaomiGateway: Read> Read start
2018.08.31 20:54:53 5: XiaomiGateway: Read> [PLAIN] {"cmd":"get_id_list_ack","sid":"7811dcf7864c","token":"AbSDhwMbYjjxF1nJ","data":"[\"158d00020f5a6d\"]"}
2018.08.31 20:54:53 5: XiaomiGateway: Read> HASH correctly
2018.08.31 20:54:53 5: XiaomiGateway: Reading> Reading start
2018.08.31 20:54:53 4: XiaomiGateway: Reading> PushRead:158d00020f5a6d
2018.08.31 20:54:54 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d00020f5a6d"} 192.168.178.200
2018.08.31 20:54:54 4: XiaomiGateway: Write> End 192.168.178.200
2018.08.31 20:54:54 5: XiaomiGateway: Read> Read start
2018.08.31 20:54:54 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\"voltage\":3025,\"temperature\":\"2029\",\"humidity\":\"7008\"}"}
2018.08.31 20:54:54 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d00020f5a6d XiaomiGateway XiaomiGateway
2018.08.31 20:54:54 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\"voltage\":3025,\"temperature\":\"2029\",\"humidity\":\"7008\"}"} XiaomiGateway
2018.08.31 20:54:54 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\\"voltage\\":3025,\\"temperature\\":\\"2029\\",\\"humidity\\":\\"7008\\"}"}
2018.08.31 20:54:54 5: XiaomiGateway: DEV_Parse> IS DEFINED sensor_ht : 158d00020f5a6d HASH(0x3f675e0)
2018.08.31 20:54:54 5: XiaomiGateway: DEV_Read> SID: 158d00020f5a6d XiaomiSmartHome_Device
2018.08.31 20:54:54 4: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Voltage: 3025
2018.08.31 20:54:54 5: XiaomiGateway: DEV_Round> Value: 3.025 points: 1
2018.08.31 20:54:54 5: XiaomiGateway: DEV_Round> Result_value: 3.0
2018.08.31 20:54:54 5: XiaomiGateway: DEV_Round> Value: 20.29 points: 2
2018.08.31 20:54:54 5: XiaomiGateway: DEV_Round> Result_value: 20.29
2018.08.31 20:54:54 3: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Temperature: 20.29 Round: 2
2018.08.31 20:54:54 5: XiaomiGateway: DEV_Round> Value: 70.08 points: 2
2018.08.31 20:54:54 5: XiaomiGateway: DEV_Round> Result_value: 70.08
2018.08.31 20:54:54 3: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Humidity: 70.08 Round: 2
2018.08.31 20:54:54 5: Starting notify loop for XMI_158d00020f5a6d, 4 event(s), first is batteryState: ok
2018.08.31 20:54:54 5: End notify loop for XMI_158d00020f5a6d
2018.08.31 20:54:57 4: WEB_192.168.150.1_63971 POST /fhem?cmd=set%20XiaomiGateway%20rgb%2000ff00&XHR=1&fwcsrf=csrf_153130410450746&fw_id=147; BUFLEN:0
2018.08.31 20:54:57 5: Cmd: >set XiaomiGateway rgb 00ff00<
2018.08.31 20:54:57 4: XiaomiGateway: Set> rgb, 00ff00
2018.08.31 20:54:57 4: XiaomiGateway: Set> rgb, 1677786880
2018.08.31 20:54:57 5: Starting notify loop for XiaomiGateway, 1 event(s), first is rgb: 00ff00
2018.08.31 20:54:57 5: End notify loop for XiaomiGateway
2018.08.31 20:54:57 5: Starting notify loop for XiaomiGateway, 1 event(s), first is on
2018.08.31 20:54:57 5: End notify loop for XiaomiGateway
2018.08.31 20:54:58 4: XiaomiGateway: Write> {"cmd":"write","model":"gateway","sid":"7811dcf7864c","short_id":0,"key":"8","data":"{\"rgb\":1677786880,\"key\":\"1c3960091a877205ad7cf574eb5d5bf5\"}" } 192.168.178.200
2018.08.31 20:54:58 4: XiaomiGateway: Write> End 192.168.178.200
2018.08.31 20:54:58 4: WEB: /fhem?cmd=set%20XiaomiGateway%20rgb%2000ff00&XHR=1&fwcsrf=csrf_153130410450746&fw_id=147 / RL:20 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2018.08.31 20:54:58 5: XiaomiGateway: Read> Read start
2018.08.31 20:54:58 5: XiaomiGateway: Read> [PLAIN] {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\"error\":\"Invalid key\"}"}
2018.08.31 20:54:58 5: XiaomiGateway: Read> XiaomiSmartHome_Device unknown trying autocreate
2018.08.31 20:54:59 4: XiaomiGateway: Write> Get all Sensors
2018.08.31 20:54:59 4: XiaomiGateway: Write> {"cmd" : "get_id_list"} 192.168.178.200
2018.08.31 20:54:59 4: XiaomiGateway: Write> End 192.168.178.200
2018.08.31 20:54:59 5: XiaomiGateway: Push to get all Sensors for Gateway XiaomiGateway 7811dcf7864c
2018.08.31 20:54:59 5: XiaomiGateway: Read> Wrong Modul HASH Trying to find the right one <> XiaomiGateway
2018.08.31 20:54:59 5: XiaomiGateway: Read> Using this GW
2018.08.31 20:54:59 5: XiaomiGateway: Read> Dispatching {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\"error\":\"Invalid key\"}"}
2018.08.31 20:54:59 5: : dispatch {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\\"error\\":\\"Invalid key\\"}"}
2018.08.31 20:54:59 3: : Unknown code {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\"error\":\"Invalid key\"}"}, help me!
2018.08.31 20:54:59 5: XiaomiGateway: Read> Read start
2018.08.31 20:54:59 5: XiaomiGateway: Read> [PLAIN] {"cmd":"get_id_list_ack","sid":"7811dcf7864c","token":"NBcaS8CYNkxrHHpr","data":"[\"158d00020f5a6d\"]"}
2018.08.31 20:54:59 5: XiaomiGateway: Read> HASH correctly
2018.08.31 20:54:59 5: XiaomiGateway: Reading> Reading start
2018.08.31 20:54:59 4: XiaomiGateway: Reading> PushRead:158d00020f5a6d
2018.08.31 20:55:00 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d00020f5a6d"} 192.168.178.200
2018.08.31 20:55:00 4: XiaomiGateway: Write> End 192.168.178.200
2018.08.31 20:55:00 5: XiaomiGateway: Read> Read start
2018.08.31 20:55:00 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\"voltage\":3025,\"temperature\":\"2029\",\"humidity\":\"7008\"}"}
2018.08.31 20:55:00 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d00020f5a6d XiaomiGateway XiaomiGateway
2018.08.31 20:55:00 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\"voltage\":3025,\"temperature\":\"2029\",\"humidity\":\"7008\"}"} XiaomiGateway
2018.08.31 20:55:00 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\\"voltage\\":3025,\\"temperature\\":\\"2029\\",\\"humidity\\":\\"7008\\"}"}
2018.08.31 20:55:00 5: XiaomiGateway: DEV_Parse> IS DEFINED sensor_ht : 158d00020f5a6d HASH(0x3f675e0)
2018.08.31 20:55:00 5: XiaomiGateway: DEV_Read> SID: 158d00020f5a6d XiaomiSmartHome_Device
2018.08.31 20:55:00 4: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Voltage: 3025
2018.08.31 20:55:00 5: XiaomiGateway: DEV_Round> Value: 3.025 points: 1
2018.08.31 20:55:00 5: XiaomiGateway: DEV_Round> Result_value: 3.0
2018.08.31 20:55:00 5: XiaomiGateway: DEV_Round> Value: 20.29 points: 2
2018.08.31 20:55:00 5: XiaomiGateway: DEV_Round> Result_value: 20.29
2018.08.31 20:55:00 3: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Temperature: 20.29 Round: 2
2018.08.31 20:55:00 5: XiaomiGateway: DEV_Round> Value: 70.08 points: 2
2018.08.31 20:55:00 5: XiaomiGateway: DEV_Round> Result_value: 70.08
2018.08.31 20:55:00 3: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Humidity: 70.08 Round: 2
2018.08.31 20:55:00 5: Starting notify loop for XMI_158d00020f5a6d, 4 event(s), first is batteryState: ok
2018.08.31 20:55:00 5: End notify loop for XMI_158d00020f5a6d
2018.08.31 20:55:02 4: WEB_192.168.150.1_63971 POST /fhem?cmd=set%20XiaomiGateway%20pct%2059&XHR=1&fwcsrf=csrf_153130410450746&fw_id=147; BUFLEN:0
2018.08.31 20:55:02 5: Cmd: >set XiaomiGateway pct 59<
2018.08.31 20:55:02 4: XiaomiGateway: Set> pct, 59, 00ff00
2018.08.31 20:55:02 5: Starting notify loop for XiaomiGateway, 1 event(s), first is pct: 59
2018.08.31 20:55:02 5: End notify loop for XiaomiGateway
2018.08.31 20:55:02 5: Starting notify loop for XiaomiGateway, 1 event(s), first is rgb: 00ff00
2018.08.31 20:55:02 5: End notify loop for XiaomiGateway
2018.08.31 20:55:02 5: Starting notify loop for XiaomiGateway, 1 event(s), first is on
2018.08.31 20:55:02 5: End notify loop for XiaomiGateway
2018.08.31 20:55:02 4: XiaomiGateway: Set> pct, 38
2018.08.31 20:55:03 4: XiaomiGateway: Write> {"cmd":"write","model":"gateway","sid":"7811dcf7864c","short_id":0,"key":"8","data":"{\"rgb\":939589376,\"key\":\"1c3960091a877205ad7cf574eb5d5bf5\"}" } 192.168.178.200
2018.08.31 20:55:03 4: XiaomiGateway: Write> End 192.168.178.200
2018.08.31 20:55:03 4: WEB: /fhem?cmd=set%20XiaomiGateway%20pct%2059&XHR=1&fwcsrf=csrf_153130410450746&fw_id=147 / RL:20 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2018.08.31 20:55:03 5: XiaomiGateway: Read> Read start
2018.08.31 20:55:03 5: XiaomiGateway: Read> [PLAIN] {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\"error\":\"Invalid key\"}"}
2018.08.31 20:55:03 5: XiaomiGateway: Read> XiaomiSmartHome_Device unknown trying autocreate
2018.08.31 20:55:04 4: XiaomiGateway: Write> Get all Sensors
2018.08.31 20:55:04 4: XiaomiGateway: Write> {"cmd" : "get_id_list"} 192.168.178.200
2018.08.31 20:55:04 4: XiaomiGateway: Write> End 192.168.178.200
2018.08.31 20:55:04 5: XiaomiGateway: Push to get all Sensors for Gateway XiaomiGateway 7811dcf7864c
2018.08.31 20:55:04 5: XiaomiGateway: Read> Wrong Modul HASH Trying to find the right one <> XiaomiGateway
2018.08.31 20:55:04 5: XiaomiGateway: Read> Using this GW
2018.08.31 20:55:04 5: XiaomiGateway: Read> Dispatching {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\"error\":\"Invalid key\"}"}
2018.08.31 20:55:04 5: : dispatch {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\\"error\\":\\"Invalid key\\"}"}
2018.08.31 20:55:04 3: : Unknown code {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\"error\":\"Invalid key\"}"}, help me!
2018.08.31 20:55:04 5: XiaomiGateway: Read> Read start
2018.08.31 20:55:04 5: XiaomiGateway: Read> [PLAIN] {"cmd":"get_id_list_ack","sid":"7811dcf7864c","token":"qqiXjLI9kMagvVYN","data":"[\"158d00020f5a6d\"]"}
2018.08.31 20:55:04 5: XiaomiGateway: Read> HASH correctly
2018.08.31 20:55:04 5: XiaomiGateway: Reading> Reading start
2018.08.31 20:55:04 4: XiaomiGateway: Reading> PushRead:158d00020f5a6d
2018.08.31 20:55:05 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d00020f5a6d"} 192.168.178.200
2018.08.31 20:55:05 4: XiaomiGateway: Write> End 192.168.178.200
2018.08.31 20:55:05 5: XiaomiGateway: Read> Read start
2018.08.31 20:55:05 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\"voltage\":3025,\"temperature\":\"2029\",\"humidity\":\"7008\"}"}
2018.08.31 20:55:05 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d00020f5a6d XiaomiGateway XiaomiGateway
2018.08.31 20:55:05 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\"voltage\":3025,\"temperature\":\"2029\",\"humidity\":\"7008\"}"} XiaomiGateway
2018.08.31 20:55:05 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\\"voltage\\":3025,\\"temperature\\":\\"2029\\",\\"humidity\\":\\"7008\\"}"}
2018.08.31 20:55:05 5: XiaomiGateway: DEV_Parse> IS DEFINED sensor_ht : 158d00020f5a6d HASH(0x3f675e0)
2018.08.31 20:55:05 5: XiaomiGateway: DEV_Read> SID: 158d00020f5a6d XiaomiSmartHome_Device
2018.08.31 20:55:05 4: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Voltage: 3025
2018.08.31 20:55:05 5: XiaomiGateway: DEV_Round> Value: 3.025 points: 1
2018.08.31 20:55:05 5: XiaomiGateway: DEV_Round> Result_value: 3.0
2018.08.31 20:55:05 5: XiaomiGateway: DEV_Round> Value: 20.29 points: 2
2018.08.31 20:55:05 5: XiaomiGateway: DEV_Round> Result_value: 20.29
2018.08.31 20:55:05 3: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Temperature: 20.29 Round: 2
2018.08.31 20:55:05 5: XiaomiGateway: DEV_Round> Value: 70.08 points: 2
2018.08.31 20:55:05 5: XiaomiGateway: DEV_Round> Result_value: 70.08
2018.08.31 20:55:05 3: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Humidity: 70.08 Round: 2
2018.08.31 20:55:05 5: Starting notify loop for XMI_158d00020f5a6d, 4 event(s), first is batteryState: ok
2018.08.31 20:55:05 5: End notify loop for XMI_158d00020f5a6d
2018.08.31 20:55:11 4: WEB_192.168.150.1_63971 POST /fhem?cmd=set%20XiaomiGateway%20pct%2036&XHR=1&fwcsrf=csrf_153130410450746&fw_id=147; BUFLEN:0
2018.08.31 20:55:11 5: Cmd: >set XiaomiGateway pct 36<
2018.08.31 20:55:11 4: XiaomiGateway: Set> pct, 36, 00ff00
2018.08.31 20:55:11 5: Starting notify loop for XiaomiGateway, 1 event(s), first is pct: 36
2018.08.31 20:55:11 5: End notify loop for XiaomiGateway
2018.08.31 20:55:11 5: Starting notify loop for XiaomiGateway, 1 event(s), first is rgb: 00ff00
2018.08.31 20:55:11 5: End notify loop for XiaomiGateway
2018.08.31 20:55:11 5: Starting notify loop for XiaomiGateway, 1 event(s), first is on
2018.08.31 20:55:11 5: End notify loop for XiaomiGateway
2018.08.31 20:55:11 4: XiaomiGateway: Set> pct, 23
2018.08.31 20:55:13 4: XiaomiGateway: Write> {"cmd":"write","model":"gateway","sid":"7811dcf7864c","short_id":0,"key":"8","data":"{\"rgb\":587267840,\"key\":\"1c3960091a877205ad7cf574eb5d5bf5\"}" } 192.168.178.200
2018.08.31 20:55:13 4: XiaomiGateway: Write> End 192.168.178.200
2018.08.31 20:55:13 4: WEB: /fhem?cmd=set%20XiaomiGateway%20pct%2036&XHR=1&fwcsrf=csrf_153130410450746&fw_id=147 / RL:20 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2018.08.31 20:55:13 5: XiaomiGateway: Read> Read start
2018.08.31 20:55:13 5: XiaomiGateway: Read> [PLAIN] {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\"error\":\"Invalid key\"}"}
2018.08.31 20:55:13 5: XiaomiGateway: Read> XiaomiSmartHome_Device unknown trying autocreate
2018.08.31 20:55:14 4: XiaomiGateway: Write> Get all Sensors
2018.08.31 20:55:14 4: XiaomiGateway: Write> {"cmd" : "get_id_list"} 192.168.178.200
2018.08.31 20:55:14 4: XiaomiGateway: Write> End 192.168.178.200
2018.08.31 20:55:14 5: XiaomiGateway: Push to get all Sensors for Gateway XiaomiGateway 7811dcf7864c
2018.08.31 20:55:14 5: XiaomiGateway: Read> Wrong Modul HASH Trying to find the right one <> XiaomiGateway
2018.08.31 20:55:14 5: XiaomiGateway: Read> Using this GW
2018.08.31 20:55:14 5: XiaomiGateway: Read> Dispatching {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\"error\":\"Invalid key\"}"}
2018.08.31 20:55:14 5: : dispatch {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\\"error\\":\\"Invalid key\\"}"}
2018.08.31 20:55:14 3: : Unknown code {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\"error\":\"Invalid key\"}"}, help me!
2018.08.31 20:55:14 5: XiaomiGateway: Read> Read start
2018.08.31 20:55:14 5: XiaomiGateway: Read> [PLAIN] {"cmd":"get_id_list_ack","sid":"7811dcf7864c","token":"SB8UPaQjQv1VYf56","data":"[\"158d00020f5a6d\"]"}
2018.08.31 20:55:14 5: XiaomiGateway: Read> HASH correctly
2018.08.31 20:55:14 5: XiaomiGateway: Reading> Reading start
2018.08.31 20:55:14 4: XiaomiGateway: Reading> PushRead:158d00020f5a6d
2018.08.31 20:55:15 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d00020f5a6d"} 192.168.178.200
2018.08.31 20:55:15 4: XiaomiGateway: Write> End 192.168.178.200
2018.08.31 20:55:15 5: XiaomiGateway: Read> Read start
2018.08.31 20:55:15 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\"voltage\":3025,\"temperature\":\"2029\",\"humidity\":\"7008\"}"}
2018.08.31 20:55:15 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d00020f5a6d XiaomiGateway XiaomiGateway
2018.08.31 20:55:15 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\"voltage\":3025,\"temperature\":\"2029\",\"humidity\":\"7008\"}"} XiaomiGateway
2018.08.31 20:55:15 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\\"voltage\\":3025,\\"temperature\\":\\"2029\\",\\"humidity\\":\\"7008\\"}"}
2018.08.31 20:55:15 5: XiaomiGateway: DEV_Parse> IS DEFINED sensor_ht : 158d00020f5a6d HASH(0x3f675e0)
2018.08.31 20:55:15 5: XiaomiGateway: DEV_Read> SID: 158d00020f5a6d XiaomiSmartHome_Device
2018.08.31 20:55:15 4: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Voltage: 3025
2018.08.31 20:55:15 5: XiaomiGateway: DEV_Round> Value: 3.025 points: 1
2018.08.31 20:55:15 5: XiaomiGateway: DEV_Round> Result_value: 3.0
2018.08.31 20:55:15 5: XiaomiGateway: DEV_Round> Value: 20.29 points: 2
2018.08.31 20:55:15 5: XiaomiGateway: DEV_Round> Result_value: 20.29
2018.08.31 20:55:15 3: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Temperature: 20.29 Round: 2
2018.08.31 20:55:15 5: XiaomiGateway: DEV_Round> Value: 70.08 points: 2
2018.08.31 20:55:15 5: XiaomiGateway: DEV_Round> Result_value: 70.08
2018.08.31 20:55:15 3: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Humidity: 70.08 Round: 2
2018.08.31 20:55:15 5: Starting notify loop for XMI_158d00020f5a6d, 4 event(s), first is batteryState: ok
2018.08.31 20:55:15 5: End notify loop for XMI_158d00020f5a6d
2018.08.31 20:55:20 4: WEB_192.168.150.1_63971 GET /fhem/FileLog_logWrapper?dev=Logfile&type=text&file=fhem-2018-08.log; BUFLEN:0
{"cmd":"write_ack","sid":"7811dcf7864c","data":"{\"error\":\"Invalid key\"}"}
2018.09.01 08:44:23 4: WEB_172.17.0.1_46032 POST /fhem?cmd=set%20XiaomiGateway%20rgb%200000ff&XHR=1&fwcsrf=csrf_790404106761799&fw_id=138; BUFLEN:0
2018.09.01 08:44:23 5: Cmd: >set XiaomiGateway rgb 0000ff<
2018.09.01 08:44:23 4: XiaomiGateway: Set> rgb, 0000ff
2018.09.01 08:44:23 4: XiaomiGateway: Set> rgb, 1677721855
2018.09.01 08:44:23 5: Starting notify loop for XiaomiGateway, 1 event(s), first is rgb: 0000ff
2018.09.01 08:44:23 5: createNotifyHash
2018.09.01 08:44:23 5: End notify loop for XiaomiGateway
2018.09.01 08:44:23 5: Starting notify loop for XiaomiGateway, 1 event(s), first is on
2018.09.01 08:44:23 5: End notify loop for XiaomiGateway
2018.09.01 08:44:24 4: XiaomiGateway: Write> {"cmd":"write","model":"gateway","sid":"7811dcf7864c","short_id":0,"key":"8","data":"{\"rgb\":1677721855,\"key\":\"501ba6f149f20a30b9fa8210cc3e925b\"}" } 192.168.178.200
2018.09.01 08:44:24 4: XiaomiGateway: Write> End 192.168.178.200
2018.09.01 08:44:24 4: WEB: /fhem?cmd=set%20XiaomiGateway%20rgb%200000ff&XHR=1&fwcsrf=csrf_790404106761799&fw_id=138 / RL:20 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2018.09.01 08:44:24 5: XiaomiGateway: Read> Read start
2018.09.01 08:44:24 5: XiaomiGateway: Read> [PLAIN] {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\"error\":\"Invalid key\"}"}
2018.09.01 08:44:24 5: XiaomiGateway: Read> XiaomiSmartHome_Device unknown trying autocreate
2018.09.01 08:44:25 4: XiaomiGateway: Write> Get all Sensors
2018.09.01 08:44:25 4: XiaomiGateway: Write> {"cmd" : "get_id_list"} 192.168.178.200
2018.09.01 08:44:25 4: XiaomiGateway: Write> End 192.168.178.200
2018.09.01 08:44:25 5: XiaomiGateway: Push to get all Sensors for Gateway XiaomiGateway 7811dcf7864c
2018.09.01 08:44:25 5: XiaomiGateway: Read> Wrong Modul HASH Trying to find the right one <> XiaomiGateway
2018.09.01 08:44:25 5: XiaomiGateway: Read> Using this GW
2018.09.01 08:44:25 5: XiaomiGateway: Read> Dispatching {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\"error\":\"Invalid key\"}"}
2018.09.01 08:44:25 5: : dispatch {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\\"error\\":\\"Invalid key\\"}"}
2018.09.01 08:44:25 3: : Unknown code {"cmd":"write_ack","sid":"7811dcf7864c","data":"{\"error\":\"Invalid key\"}"}, help me!
2018.09.01 08:44:25 5: XiaomiGateway: Read> Read start
2018.09.01 08:44:25 5: XiaomiGateway: Read> [PLAIN] {"cmd":"get_id_list_ack","sid":"7811dcf7864c","token":"PSXroRo8egMUtvss","data":"[\"158d00020f5a6d\"]"}
2018.09.01 08:44:25 5: XiaomiGateway: Read> HASH correctly
2018.09.01 08:44:25 5: XiaomiGateway: Reading> Reading start
2018.09.01 08:44:25 4: XiaomiGateway: Reading> PushRead:158d00020f5a6d
2018.09.01 08:44:27 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d00020f5a6d"} 192.168.178.200
2018.09.01 08:44:27 4: XiaomiGateway: Write> End 192.168.178.200
2018.09.01 08:44:27 5: XiaomiGateway: Read> Read start
2018.09.01 08:44:27 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\"voltage\":3015,\"temperature\":\"1999\",\"humidity\":\"6916\"}"}
2018.09.01 08:44:27 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d00020f5a6d XiaomiGateway XiaomiGateway
2018.09.01 08:44:27 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\"voltage\":3015,\"temperature\":\"1999\",\"humidity\":\"6916\"}"} XiaomiGateway
2018.09.01 08:44:27 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5a6d","short_id":45537,"data":"{\\"voltage\\":3015,\\"temperature\\":\\"1999\\",\\"humidity\\":\\"6916\\"}"}
2018.09.01 08:44:27 5: XiaomiGateway: DEV_Parse> IS DEFINED sensor_ht : 158d00020f5a6d HASH(0x4137048)
2018.09.01 08:44:27 5: XiaomiGateway: DEV_Read> SID: 158d00020f5a6d XiaomiSmartHome_Device
2018.09.01 08:44:27 4: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Voltage: 3015
2018.09.01 08:44:27 5: XiaomiGateway: DEV_Round> Value: 3.015 points: 1
2018.09.01 08:44:27 5: XiaomiGateway: DEV_Round> Result_value: 3.0
2018.09.01 08:44:27 5: XiaomiGateway: DEV_Round> Value: 19.99 points: 2
2018.09.01 08:44:27 5: XiaomiGateway: DEV_Round> Result_value: 19.99
2018.09.01 08:44:27 3: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Temperature: 19.99 Round: 2
2018.09.01 08:44:27 5: XiaomiGateway: DEV_Round> Value: 69.16 points: 2
2018.09.01 08:44:27 5: XiaomiGateway: DEV_Round> Result_value: 69.16
2018.09.01 08:44:27 3: XiaomiGateway: DEV_Read> Name: XMI_158d00020f5a6d SID: 158d00020f5a6d Type: sensor_ht Humidity: 69.16 Round: 2
2018.09.01 08:44:27 5: Starting notify loop for XMI_158d00020f5a6d, 4 event(s), first is batteryState: ok
2018.09.01 08:44:27 5: End notify loop for XMI_158d00020f5a6d
2018.09.01 08:44:40 4: Connection closed for WEB_172.17.0.1_46050: EOF
2018.09.01 08:44:40 4: WEB_172.17.0.1_46032 GET /fhem/FileLog_logWrapper?dev=Logfile&type=text&file=fhem-2018-09.log; BUFLEN:0
Zitat von: The Spirit am 01 September 2018, 12:07:27
Hat jemand ne Idee was bei mir das Problem ist?
Danke
Zitat von: The Spirit am 06 September 2018, 13:46:59Wie immer erst mal eine dumme Gegenfrage: Warum?
Ich hab folgenden switch gekauft
https://gearbest.com/access-control/pp_626695.html?wid=1433363
Dieser läuft auch und es gibt den "click" und den "double_click".
Weis jemand, ob man dem Switch den "double_klick" irgendwie "abgewöhnen" kann?
Danke
Zitat von: okiberlin am 17 September 2018, 16:16:41
Ich möchte nur kurz nachtragen, dass der Aqara Cube inzwischen auch funktioniert :)
Viele Dank dem Entwickler
Zitat von: torte am 17 September 2018, 17:36:01Geht, aktuell weiß ich eh noch nicht wie ich es nutzen soll
[emoji106]
Was ist mit diesem Vibrator Schüttelsensor?
Geht der auch und die Frage nach den Koordinaten ob das getrennte Readings braucht.
Grüße
Torte
Gesendet mit Tapatalk
Zitat von: Maiks am 29 September 2018, 20:09:05
Was ist denn der Vibrator Schüttelsensor?
Hat jemand schon die 1.4.1_157.0143 auf den Gateway installiert und läuft damit alles ?
Zitat von: okiberlin am 17 September 2018, 16:16:41
Ich möchte nur kurz nachtragen, dass der Aqara Cube inzwischen auch funktioniert :)
Zitat..... Your vendor has not defined Socket macro SO_REUSEPORT, used at /usr/lib/perl/5.14/IO/Socket/INET.pm line 193.
XiaomiGateway: Define> Error Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at ./FHEM/71_XiaomiSmartHome.pm line 381.
Internals:
CFGFN
DEF http://192.168.178.28/
FHEMIP 192.168.178.44
GATEWAY http://192.168.178.28/
NAME XiaomiGateway
NOTIFYDEV global
NR 508
NTFY_ORDER 50-XiaomiGateway
STATE Disconnected
TYPE XiaomiSmartHome
VERSION 1.30
READINGS:
2018-11-09 14:57:24 password rdueodfcdmrd99yg
2018-11-09 15:16:35 pct 93
2018-11-09 15:35:40 rgb 00ff00
2018-11-09 14:27:26 ringtone 21
2018-11-09 15:41:54 state Disconnected
2018-11-09 15:34:35 volume 11
helper:
ConnectionState Disconnected
host http://192.168.178.28/
Attributes:
room XiaomiBTLESens
webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off
Zitat von: Invers am 09 November 2018, 15:45:33
Hi, habe heute mein Gateway bekommen und es läuft auch ausserhalb von fhem.
Die Einbindung in fhem scheint aber nicht zu klappen.
Ichbekomme die Meldung:Code AuswählenXiaomiGateway: Define> Error Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at ./FHEM/71_XiaomiSmartHome.pm line 381.
Was habe ich da falsch gemacht?Code AuswählenInternals:
CFGFN
DEF http://192.168.178.28/
FHEMIP 192.168.178.44
GATEWAY http://192.168.178.28/
NAME XiaomiGateway
NOTIFYDEV global
NR 508
NTFY_ORDER 50-XiaomiGateway
STATE Disconnected
TYPE XiaomiSmartHome
VERSION 1.30
READINGS:
2018-11-09 14:57:24 password rdueodfcdmrd99yg
2018-11-09 15:16:35 pct 93
2018-11-09 15:35:40 rgb 00ff00
2018-11-09 14:27:26 ringtone 21
2018-11-09 15:41:54 state Disconnected
2018-11-09 15:34:35 volume 11
helper:
ConnectionState Disconnected
host http://192.168.178.28/
Attributes:
room XiaomiBTLESens
webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off
Schon mal danke im Voraus.
2018.11.09 19:33:50 3: XiaomiGateway: Reading> SID: 7c49eb1ced8f Type: Gateway RGB: 1677721855
2018.11.09 19:33:50 3: XiaomiGateway: Reading> SID: 7c49eb1ced8f Type: Gateway Illumination: 658
2018.11.09 19:33:50 3: XiaomiGateway: Reading> SID: 7c49eb1ced8f Type: Gateway RGB: 1677721855
2018.11.09 19:33:50 3: XiaomiGateway: Reading> SID: 7c49eb1ced8f Type: Gateway Illumination: 651
2018.11.09 19:33:54 3: XiaomiGateway: Reading> SID: 7c49eb1ced8f Type: Gateway RGB: 1694433280
2018.11.09 19:33:54 3: XiaomiGateway: Reading> SID: 7c49eb1ced8f Type: Gateway Illumination: 637
2018.11.09 19:33:55 3: XiaomiGateway: Reading> SID: 7c49eb1ced8f Type: Gateway RGB: 1677786880
2018.11.09 19:33:55 3: XiaomiGateway: Reading> SID: 7c49eb1ced8f Type: Gateway Illumination: 637
2018.11.09 19:33:57 3: XiaomiGateway: Reading> SID: 7c49eb1ced8f Type: Gateway RGB: 1677721855
2018.11.09 19:33:57 3: XiaomiGateway: Reading> SID: 7c49eb1ced8f Type: Gateway Illumination: 627
2018.11.09 19:35:47 3: XiaomiGateway: Reading> SID: 7c49eb1ced8f Type: Gateway RGB: 1677786880
2018.11.09 19:35:47 3: XiaomiGateway: Reading> SID: 7c49eb1ced8f Type: Gateway Illumination: 592
ZitatYour vendor has not defined Socket macro SO_REUSEPORT, used at /usr/lib/perl/5.14/IO/Socket/INET.pm line 193S. auch hier weiter oben #907 und https://forum.fhem.de/index.php/topic,78418.msg818548.html#msg818548l (https://forum.fhem.de/index.php/topic,78418.msg818548.html#msg818548l) #34 blueberry63
Zitat von: juergen012 am 17 November 2018, 20:05:20
Hallo. ist es möglich den Aqara Wall Switch (Single Rocker)
https://www.aqara.com/en/manuals-wireless-remote-switch-single-rocker.html (https://www.aqara.com/en/manuals-wireless-remote-switch-single-rocker.html)
einzubinden?
Im Xiaomi Gateway ist er vorhanden. Leider wird er in fhem nicht angezeigt.
Gruß
Jürgen K.
2018.11.18 16:59:10 5: XiaomiGateway: Read> Read start
2018.11.18 16:59:10 5: XiaomiGateway: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"7811dcdaea26","short_id":"0","token":"Fl5Fk6jeE9RwWtZJ","data":"{\"ip\":\"172.16.1.111\"}"}
2018.11.18 16:59:10 5: XiaomiGateway: Read> HASH correctly
2018.11.18 16:59:10 5: XiaomiGateway: Reading> Reading start
2018.11.18 16:59:10 4: XiaomiGateway: Reading> Heartbeat from 172.16.1.111 received with 7811dcdaea26
2018.11.18 16:59:12 5: XiaomiGateway: Read> Read start
2018.11.18 16:59:12 5: XiaomiGateway: Read> [PLAIN] {"cmd":"report","model":"remote.b186acn01","sid":"158d00028f7fe6","short_id":58546,"data":"{\"channel_0\":\"click\"}"}
2018.11.18 16:59:12 5: XiaomiGateway: Read> XiaomiSmartHome_Device unknown trying autocreate
2018.11.18 16:59:13 4: XiaomiGateway: Write> Get all Sensors
2018.11.18 16:59:13 4: XiaomiGateway: Write> {"cmd" : "get_id_list"} 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Write> End 172.16.1.111
2018.11.18 16:59:13 5: XiaomiGateway: Push to get all Sensors for Gateway XiaomiGateway 7811dcdaea26
2018.11.18 16:59:13 5: XiaomiGateway: 158d00028f7fe6 is sensor from XiaomiGateway
2018.11.18 16:59:13 5: XiaomiGateway: dispatch {"cmd":"report","model":"remote.b186acn01","sid":"158d00028f7fe6","short_id":58546,"data":"{\\"channel_0\\":\\"click\\"}"}
2018.11.18 16:59:13 3: XiaomiGateway: Unknown code {"cmd":"report","model":"remote.b186acn01","sid":"158d00028f7fe6","short_id":58546,"data":"{\"channel_0\":\"click\"}"}, help me!
2018.11.18 16:59:13 5: XiaomiGateway: Read> Read start
2018.11.18 16:59:13 5: XiaomiGateway: Read> [PLAIN] {"cmd":"get_id_list_ack","sid":"7811dcdaea26","token":"XbBC83g8ZsGt6FpI","data":"[\"158d000202d65e\",\"158d00020dba06\",\"158d0002109405\",\"158d0002284ed6\",\"158d00020ea5f9\",\"158d00020f5913\",\"158d00020d7f0c\",\"158d00020f5956\",\"158d000233dac4\",\"158d00027b013b\",\"158d00026a2ffa\",\"158d0002753bfe\",\"158d00028f7fe6\"]"}
2018.11.18 16:59:13 5: XiaomiGateway: Read> HASH correctly
2018.11.18 16:59:13 5: XiaomiGateway: Reading> Reading start
2018.11.18 16:59:13 4: XiaomiGateway: Reading> PushRead:158d000202d65e
2018.11.18 16:59:13 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d000202d65e"} 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Write> End 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Reading> PushRead:158d00020dba06
2018.11.18 16:59:13 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d00020dba06"} 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Write> End 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Reading> PushRead:158d0002109405
2018.11.18 16:59:13 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d0002109405"} 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Write> End 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Reading> PushRead:158d0002284ed6
2018.11.18 16:59:13 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d0002284ed6"} 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Write> End 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Reading> PushRead:158d00020ea5f9
2018.11.18 16:59:13 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d00020ea5f9"} 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Write> End 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Reading> PushRead:158d00020f5913
2018.11.18 16:59:13 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d00020f5913"} 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Write> End 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Reading> PushRead:158d00020d7f0c
2018.11.18 16:59:13 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d00020d7f0c"} 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Write> End 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Reading> PushRead:158d00020f5956
2018.11.18 16:59:13 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d00020f5956"} 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Write> End 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Reading> PushRead:158d000233dac4
2018.11.18 16:59:13 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d000233dac4"} 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Write> End 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Reading> PushRead:158d00027b013b
2018.11.18 16:59:13 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d00027b013b"} 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Write> End 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Reading> PushRead:158d00026a2ffa
2018.11.18 16:59:13 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d00026a2ffa"} 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Write> End 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Reading> PushRead:158d0002753bfe
2018.11.18 16:59:13 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d0002753bfe"} 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Write> End 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Reading> PushRead:158d00028f7fe6
2018.11.18 16:59:13 4: XiaomiGateway: Write> {"cmd":"read","sid":"158d00028f7fe6"} 172.16.1.111
2018.11.18 16:59:13 4: XiaomiGateway: Write> End 172.16.1.111
2018.11.18 16:59:13 5: XiaomiGateway: Read> Read start
2018.11.18 16:59:13 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"smoke","sid":"158d000202d65e","short_id":39735,"data":"{\"voltage\":3085,\"alarm\":\"0\"}"}
2018.11.18 16:59:13 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d000202d65e XiaomiGateway XiaomiGateway
2018.11.18 16:59:13 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"smoke","sid":"158d000202d65e","short_id":39735,"data":"{\"voltage\":3085,\"alarm\":\"0\"}"} XiaomiGateway
2018.11.18 16:59:13 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"smoke","sid":"158d000202d65e","short_id":39735,"data":"{\\"voltage\\":3085,\\"alarm\\":\\"0\\"}"}
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Parse> IS DEFINED smoke : 158d000202d65e HASH(0x6b87ad8)
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Read> SID: 158d000202d65e XiaomiSmartHome_Device
2018.11.18 16:59:13 4: XiaomiGateway: DEV_Read> Name: Rauchmelder_Abstellkammer SID: 158d000202d65e Type: smoke Voltage: 3085
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 3.085 points: 1
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 3.1
2018.11.18 16:59:13 3: XiaomiGateway: DEV_Read> Name: Rauchmelder_Abstellkammer SID: 158d000202d65e Type: smoke Alarm: 0
2018.11.18 16:59:13 5: XiaomiGateway: Read> Read start
2018.11.18 16:59:13 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020dba06","short_id":63515,"data":"{\"voltage\":3005,\"temperature\":\"2228\",\"humidity\":\"5365\"}"}
2018.11.18 16:59:13 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d00020dba06 XiaomiGateway XiaomiGateway
2018.11.18 16:59:13 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020dba06","short_id":63515,"data":"{\"voltage\":3005,\"temperature\":\"2228\",\"humidity\":\"5365\"}"} XiaomiGateway
2018.11.18 16:59:13 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020dba06","short_id":63515,"data":"{\\"voltage\\":3005,\\"temperature\\":\\"2228\\",\\"humidity\\":\\"5365\\"}"}
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Parse> IS DEFINED sensor_ht : 158d00020dba06 HASH(0x6b87ad8)
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Read> SID: 158d00020dba06 XiaomiSmartHome_Device
2018.11.18 16:59:13 4: XiaomiGateway: DEV_Read> Name: Testsensor SID: 158d00020dba06 Type: sensor_ht Voltage: 3005
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 3.005 points: 1
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 3.0
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 22.28 points: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 22.28
2018.11.18 16:59:13 3: XiaomiGateway: DEV_Read> Name: Testsensor SID: 158d00020dba06 Type: sensor_ht Temperature: 22.28 Round: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 53.65 points: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 53.65
2018.11.18 16:59:13 3: XiaomiGateway: DEV_Read> Name: Testsensor SID: 158d00020dba06 Type: sensor_ht Humidity: 53.65 Round: 2
2018.11.18 16:59:13 5: XiaomiGateway: Read> Read start
2018.11.18 16:59:13 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"sensor_ht","sid":"158d0002109405","short_id":35385,"data":"{\"voltage\":2955,\"temperature\":\"2182\",\"humidity\":\"4230\"}"}
2018.11.18 16:59:13 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d0002109405 XiaomiGateway XiaomiGateway
2018.11.18 16:59:13 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"sensor_ht","sid":"158d0002109405","short_id":35385,"data":"{\"voltage\":2955,\"temperature\":\"2182\",\"humidity\":\"4230\"}"} XiaomiGateway
2018.11.18 16:59:13 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d0002109405","short_id":35385,"data":"{\\"voltage\\":2955,\\"temperature\\":\\"2182\\",\\"humidity\\":\\"4230\\"}"}
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Parse> IS DEFINED sensor_ht : 158d0002109405 HASH(0x6b87ad8)
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Read> SID: 158d0002109405 XiaomiSmartHome_Device
2018.11.18 16:59:13 4: XiaomiGateway: DEV_Read> Name: Sensor_Buero SID: 158d0002109405 Type: sensor_ht Voltage: 2955
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 2.955 points: 1
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 3.0
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 21.82 points: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 21.82
2018.11.18 16:59:13 3: XiaomiGateway: DEV_Read> Name: Sensor_Buero SID: 158d0002109405 Type: sensor_ht Temperature: 21.82 Round: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 42.30 points: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 42.30
2018.11.18 16:59:13 3: XiaomiGateway: DEV_Read> Name: Sensor_Buero SID: 158d0002109405 Type: sensor_ht Humidity: 42.30 Round: 2
2018.11.18 16:59:13 5: XiaomiGateway: Read> Read start
2018.11.18 16:59:13 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"sensor_ht","sid":"158d0002284ed6","short_id":11778,"data":"{\"voltage\":2985,\"temperature\":\"2132\",\"humidity\":\"4371\"}"}
2018.11.18 16:59:13 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d0002284ed6 XiaomiGateway XiaomiGateway
2018.11.18 16:59:13 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"sensor_ht","sid":"158d0002284ed6","short_id":11778,"data":"{\"voltage\":2985,\"temperature\":\"2132\",\"humidity\":\"4371\"}"} XiaomiGateway
2018.11.18 16:59:13 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d0002284ed6","short_id":11778,"data":"{\\"voltage\\":2985,\\"temperature\\":\\"2132\\",\\"humidity\\":\\"4371\\"}"}
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Parse> IS DEFINED sensor_ht : 158d0002284ed6 HASH(0x6b87ad8)
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Read> SID: 158d0002284ed6 XiaomiSmartHome_Device
2018.11.18 16:59:13 4: XiaomiGateway: DEV_Read> Name: Sensor_WC SID: 158d0002284ed6 Type: sensor_ht Voltage: 2985
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 2.985 points: 1
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 3.0
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 21.32 points: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 21.32
2018.11.18 16:59:13 3: XiaomiGateway: DEV_Read> Name: Sensor_WC SID: 158d0002284ed6 Type: sensor_ht Temperature: 21.32 Round: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 43.71 points: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 43.71
2018.11.18 16:59:13 3: XiaomiGateway: DEV_Read> Name: Sensor_WC SID: 158d0002284ed6 Type: sensor_ht Humidity: 43.71 Round: 2
2018.11.18 16:59:13 5: XiaomiGateway: Read> Read start
2018.11.18 16:59:13 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020ea5f9","short_id":42299,"data":"{\"voltage\":2985,\"temperature\":\"2425\",\"humidity\":\"3566\"}"}
2018.11.18 16:59:13 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d00020ea5f9 XiaomiGateway XiaomiGateway
2018.11.18 16:59:13 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020ea5f9","short_id":42299,"data":"{\"voltage\":2985,\"temperature\":\"2425\",\"humidity\":\"3566\"}"} XiaomiGateway
2018.11.18 16:59:13 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020ea5f9","short_id":42299,"data":"{\\"voltage\\":2985,\\"temperature\\":\\"2425\\",\\"humidity\\":\\"3566\\"}"}
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Parse> IS DEFINED sensor_ht : 158d00020ea5f9 HASH(0x6b87ad8)
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Read> SID: 158d00020ea5f9 XiaomiSmartHome_Device
2018.11.18 16:59:13 4: XiaomiGateway: DEV_Read> Name: Sensor_Abstellkammer SID: 158d00020ea5f9 Type: sensor_ht Voltage: 2985
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 2.985 points: 1
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 3.0
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 24.25 points: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 24.25
2018.11.18 16:59:13 3: XiaomiGateway: DEV_Read> Name: Sensor_Abstellkammer SID: 158d00020ea5f9 Type: sensor_ht Temperature: 24.25 Round: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 35.66 points: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 35.66
2018.11.18 16:59:13 3: XiaomiGateway: DEV_Read> Name: Sensor_Abstellkammer SID: 158d00020ea5f9 Type: sensor_ht Humidity: 35.66 Round: 2
2018.11.18 16:59:13 5: XiaomiGateway: Read> Read start
2018.11.18 16:59:13 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5913","short_id":61229,"data":"{\"voltage\":2935,\"temperature\":\"1894\",\"humidity\":\"4725\"}"}
2018.11.18 16:59:13 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d00020f5913 XiaomiGateway XiaomiGateway
2018.11.18 16:59:13 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5913","short_id":61229,"data":"{\"voltage\":2935,\"temperature\":\"1894\",\"humidity\":\"4725\"}"} XiaomiGateway
2018.11.18 16:59:13 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5913","short_id":61229,"data":"{\\"voltage\\":2935,\\"temperature\\":\\"1894\\",\\"humidity\\":\\"4725\\"}"}
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Parse> IS DEFINED sensor_ht : 158d00020f5913 HASH(0x6b87ad8)
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Read> SID: 158d00020f5913 XiaomiSmartHome_Device
2018.11.18 16:59:13 4: XiaomiGateway: DEV_Read> Name: Sensor_Kueche SID: 158d00020f5913 Type: sensor_ht Voltage: 2935
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 2.935 points: 1
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 2.9
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 18.94 points: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 18.94
2018.11.18 16:59:13 3: XiaomiGateway: DEV_Read> Name: Sensor_Kueche SID: 158d00020f5913 Type: sensor_ht Temperature: 18.94 Round: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 47.25 points: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 47.25
2018.11.18 16:59:13 3: XiaomiGateway: DEV_Read> Name: Sensor_Kueche SID: 158d00020f5913 Type: sensor_ht Humidity: 47.25 Round: 2
2018.11.18 16:59:13 5: XiaomiGateway: Read> Read start
2018.11.18 16:59:13 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020d7f0c","short_id":11445,"data":"{\"voltage\":2975,\"temperature\":\"1297\",\"humidity\":\"5324\"}"}
2018.11.18 16:59:13 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d00020d7f0c XiaomiGateway XiaomiGateway
2018.11.18 16:59:13 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020d7f0c","short_id":11445,"data":"{\"voltage\":2975,\"temperature\":\"1297\",\"humidity\":\"5324\"}"} XiaomiGateway
2018.11.18 16:59:13 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020d7f0c","short_id":11445,"data":"{\\"voltage\\":2975,\\"temperature\\":\\"1297\\",\\"humidity\\":\\"5324\\"}"}
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Parse> IS DEFINED sensor_ht : 158d00020d7f0c HASH(0x6b87ad8)
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Read> SID: 158d00020d7f0c XiaomiSmartHome_Device
2018.11.18 16:59:13 4: XiaomiGateway: DEV_Read> Name: Sensor_Kuehlschrank SID: 158d00020d7f0c Type: sensor_ht Voltage: 2975
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 2.975 points: 1
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 3.0
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 12.97 points: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 12.97
2018.11.18 16:59:13 3: XiaomiGateway: DEV_Read> Name: Sensor_Kuehlschrank SID: 158d00020d7f0c Type: sensor_ht Temperature: 12.97 Round: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Value: 53.24 points: 2
2018.11.18 16:59:13 5: XiaomiGateway: DEV_Round> Result_value: 53.24
2018.11.18 16:59:13 3: XiaomiGateway: DEV_Read> Name: Sensor_Kuehlschrank SID: 158d00020d7f0c Type: sensor_ht Humidity: 53.24 Round: 2
2018.11.18 16:59:14 5: XiaomiGateway: Read> Read start
2018.11.18 16:59:14 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5956","short_id":35842,"data":"{\"voltage\":2985,\"temperature\":\"2316\",\"humidity\":\"5568\"}"}
2018.11.18 16:59:14 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d00020f5956 XiaomiGateway XiaomiGateway
2018.11.18 16:59:14 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5956","short_id":35842,"data":"{\"voltage\":2985,\"temperature\":\"2316\",\"humidity\":\"5568\"}"} XiaomiGateway
2018.11.18 16:59:14 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_ht","sid":"158d00020f5956","short_id":35842,"data":"{\\"voltage\\":2985,\\"temperature\\":\\"2316\\",\\"humidity\\":\\"5568\\"}"}
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Parse> IS DEFINED sensor_ht : 158d00020f5956 HASH(0x6b87ad8)
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Read> SID: 158d00020f5956 XiaomiSmartHome_Device
2018.11.18 16:59:14 4: XiaomiGateway: DEV_Read> Name: Sensor_Badezimmer SID: 158d00020f5956 Type: sensor_ht Voltage: 2985
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Round> Value: 2.985 points: 1
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Round> Result_value: 3.0
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Round> Value: 23.16 points: 2
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Round> Result_value: 23.16
2018.11.18 16:59:14 3: XiaomiGateway: DEV_Read> Name: Sensor_Badezimmer SID: 158d00020f5956 Type: sensor_ht Temperature: 23.16 Round: 2
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Round> Value: 55.68 points: 2
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Round> Result_value: 55.68
2018.11.18 16:59:14 3: XiaomiGateway: DEV_Read> Name: Sensor_Badezimmer SID: 158d00020f5956 Type: sensor_ht Humidity: 55.68 Round: 2
2018.11.18 16:59:14 5: XiaomiGateway: Read> Read start
2018.11.18 16:59:14 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"sensor_wleak.aq1","sid":"158d000233dac4","short_id":20851,"data":"{\"voltage\":3055}"}
2018.11.18 16:59:14 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d000233dac4 XiaomiGateway XiaomiGateway
2018.11.18 16:59:14 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"sensor_wleak.aq1","sid":"158d000233dac4","short_id":20851,"data":"{\"voltage\":3055}"} XiaomiGateway
2018.11.18 16:59:14 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_wleak.aq1","sid":"158d000233dac4","short_id":20851,"data":"{\\"voltage\\":3055}"}
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Parse> IS DEFINED sensor_wleak.aq1 : 158d000233dac4 HASH(0x6b87ad8)
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Read> SID: 158d000233dac4 XiaomiSmartHome_Device
2018.11.18 16:59:14 4: XiaomiGateway: DEV_Read> Name: Wassersensor_WC SID: 158d000233dac4 Type: sensor_wleak.aq1 Voltage: 3055
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Round> Value: 3.055 points: 1
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Round> Result_value: 3.1
2018.11.18 16:59:14 5: XiaomiGateway: Read> Read start
2018.11.18 16:59:14 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"magnet","sid":"158d00027b013b","short_id":51029,"data":"{\"voltage\":2995,\"status\":\"close\"}"}
2018.11.18 16:59:14 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d00027b013b XiaomiGateway XiaomiGateway
2018.11.18 16:59:14 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"magnet","sid":"158d00027b013b","short_id":51029,"data":"{\"voltage\":2995,\"status\":\"close\"}"} XiaomiGateway
2018.11.18 16:59:14 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"magnet","sid":"158d00027b013b","short_id":51029,"data":"{\\"voltage\\":2995,\\"status\\":\\"close\\"}"}
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Parse> IS DEFINED magnet : 158d00027b013b HASH(0x6b87ad8)
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Read> SID: 158d00027b013b XiaomiSmartHome_Device
2018.11.18 16:59:14 3: XiaomiGateway: DEV_Read> Name: Fenstersensor_Buero SID: 158d00027b013b Type: magnet Status: close
2018.11.18 16:59:14 4: XiaomiGateway: DEV_Read> Name: Fenstersensor_Buero SID: 158d00027b013b Type: magnet Voltage: 2995
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Round> Value: 2.995 points: 1
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Round> Result_value: 3.0
2018.11.18 16:59:14 5: XiaomiGateway: Read> Read start
2018.11.18 16:59:14 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"magnet","sid":"158d00026a2ffa","short_id":19717,"data":"{\"voltage\":3035,\"status\":\"close\"}"}
2018.11.18 16:59:14 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d00026a2ffa XiaomiGateway XiaomiGateway
2018.11.18 16:59:14 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"magnet","sid":"158d00026a2ffa","short_id":19717,"data":"{\"voltage\":3035,\"status\":\"close\"}"} XiaomiGateway
2018.11.18 16:59:14 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"magnet","sid":"158d00026a2ffa","short_id":19717,"data":"{\\"voltage\\":3035,\\"status\\":\\"close\\"}"}
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Parse> IS DEFINED magnet : 158d00026a2ffa HASH(0x6b87ad8)
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Read> SID: 158d00026a2ffa XiaomiSmartHome_Device
2018.11.18 16:59:14 3: XiaomiGateway: DEV_Read> Name: Fenstersensor_Selina SID: 158d00026a2ffa Type: magnet Status: close
2018.11.18 16:59:14 4: XiaomiGateway: DEV_Read> Name: Fenstersensor_Selina SID: 158d00026a2ffa Type: magnet Voltage: 3035
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Round> Value: 3.035 points: 1
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Round> Result_value: 3.0
2018.11.18 16:59:14 5: XiaomiGateway: Read> Read start
2018.11.18 16:59:14 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"sensor_magnet.aq2","sid":"158d0002753bfe","short_id":21160,"data":"{\"voltage\":3065,\"status\":\"open\"}"}
2018.11.18 16:59:14 5: XiaomiGateway: Read> XiaomiSmartHome_Device known! SID: 158d0002753bfe XiaomiGateway XiaomiGateway
2018.11.18 16:59:14 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"sensor_magnet.aq2","sid":"158d0002753bfe","short_id":21160,"data":"{\"voltage\":3065,\"status\":\"open\"}"} XiaomiGateway
2018.11.18 16:59:14 5: XiaomiGateway: dispatch {"cmd":"read_ack","model":"sensor_magnet.aq2","sid":"158d0002753bfe","short_id":21160,"data":"{\\"voltage\\":3065,\\"status\\":\\"open\\"}"}
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Parse> IS DEFINED sensor_magnet.aq2 : 158d0002753bfe HASH(0x6b87ad8)
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Read> SID: 158d0002753bfe XiaomiSmartHome_Device
2018.11.18 16:59:14 3: XiaomiGateway: DEV_Read> Name: mi_Tuerklingel SID: 158d0002753bfe Type: sensor_magnet.aq2 Status: open
2018.11.18 16:59:14 4: XiaomiGateway: DEV_Read> Name: mi_Tuerklingel SID: 158d0002753bfe Type: sensor_magnet.aq2 Voltage: 3065
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Round> Value: 3.065 points: 1
2018.11.18 16:59:14 5: XiaomiGateway: DEV_Round> Result_value: 3.1
2018.11.18 16:59:14 5: XiaomiGateway: Read> Read start
2018.11.18 16:59:14 5: XiaomiGateway: Read> [PLAIN] {"cmd":"read_ack","model":"remote.b186acn01","sid":"158d00028f7fe6","short_id":58546,"data":"{\"voltage\":3095}"}
2018.11.18 16:59:14 5: XiaomiGateway: Read> XiaomiSmartHome_Device unknown trying autocreate
2018.11.18 16:59:14 5: XiaomiGateway: Read> Wrong Modul HASH Trying to find the right one <> XiaomiGateway
2018.11.18 16:59:14 5: XiaomiGateway: Read> Using this GW
2018.11.18 16:59:14 5: XiaomiGateway: Read> Dispatching {"cmd":"read_ack","model":"remote.b186acn01","sid":"158d00028f7fe6","short_id":58546,"data":"{\"voltage\":3095}"}
{"cmd":"report","model":"remote.b1acn01","sid":"158d0001ef6124","short_id":51311,"data":"{\"status\":\"click\"}"}
$hash->{MatchList} = { "1:XiaomiSmartHome_Device" => ".*magnet.*",
"2:XiaomiSmartHome_Device" => ".*motion.*",
"3:XiaomiSmartHome_Device" => "^.+sensor_ht",
"4:XiaomiSmartHome_Device" => ".*switch.*",
"5:XiaomiSmartHome_Device" => ".*cube.*",
"6:XiaomiSmartHome_Device" => "^.+plug",
"7:XiaomiSmartHome_Device" => "^.+86sw1",
"8:XiaomiSmartHome_Device" => "^.+86sw2",
"9:XiaomiSmartHome_Device" => "^.+ctrl_neutral1",
"10:XiaomiSmartHome_Device" => "^.+ctrl_neutral2",
"11:XiaomiSmartHome_Device" => "^.+rgbw_light",
"12:XiaomiSmartHome_Device" => "^.+curtain",
"13:XiaomiSmartHome_Device" => "^.+ctrl_ln1",
"14:XiaomiSmartHome_Device" => "^.+ctrl_ln2",
"15:XiaomiSmartHome_Device" => "^.+86plug",
"16:XiaomiSmartHome_Device" => "^.+natgas",
"17:XiaomiSmartHome_Device" => "^.+smoke",
"18:XiaomiSmartHome_Device" => "^.+weather.v1",
"19:XiaomiSmartHome_Device" => "^.+sensor_motion.aq2",
"20:XiaomiSmartHome_Device" => "^.+sensor_wleak.aq1",
"21:XiaomiSmartHome_Device" => ".*b1acn01"};
$hash->{Match} = ".*magnet.*|.*motion.*|sensor_ht|.*switch.*|remote.b1acn01|plug|.*cube.*|86sw1|86sw2|ctrl_neutral1|ctrl_neutral2|rgbw_light|curtain|ctrl_ln1|ctrl_ln2|86plug|natgas|smoke|weather.v1|sensor_wleak.aq1";
Zitat von: juergen012 am 19 November 2018, 20:09:25
Hallo,
habe die aktuelle Version geladen.. Wäre schön, wenn du es einbauen würdest.
Beste Grüße
Jürgen K.
2018.11.24 23:51:09 4: WEB_192.168.214.80_52241 POST /fhem&fw_id=158&room=HUEDevice&fwcsrf=csrf_745227136613951&cmd=define+xiaomi+XiaomiSmartHome+192.168.214.105; BUFLEN:0
2018.11.24 23:51:09 5: Cmd: >define xiaomi XiaomiSmartHome 192.168.214.105<
2018.11.24 23:51:09 5: Loading ./FHEM/71_XiaomiSmartHome.pm
2018.11.24 23:51:09 5: xiaomi: Define> 192.168.214.105
2018.11.24 23:51:09 5: Starting notify loop for global, 1 event(s), first is DEFINED xiaomi
2018.11.24 23:51:09 5: createNotifyHash
....
2018.11.24 23:51:09 5: xiaomi: Notify> NotifyStart
2018.11.24 23:51:09 5: Starting notify loop for xiaomi, 1 event(s), first is pct: 100
...
ganz viele DB Log messages, dass er jetzt die jeweiligen Attribute vorbereitet => man sieht auch, dass er Volumne und Ringtone und pct auslesen konnte.
...
2018.11.24 23:51:09 4: WEB_192.168.214.80_52241 GET /fhem?detail=xiaomi&fw_id=158; BUFLEN:0
2018.11.24 23:51:09 4: WEB: /fhem?detail=xiaomi&fw_id=158 / RL:4867 / text/html; charset=UTF-8 / Content-Encoding: gzip
2018.11.24 23:51:10 4: WEB_192.168.214.80_52240 GET /fhem?cmd=%7BReadingsVal(%22xiaomi%22%2C%22volume%22%2C%22%22)%7D&XHR=1&fwcsrf=csrf_745227136613951; BUFLEN:0
2018.11.24 23:51:10 5: Cmd: >{ReadingsVal("xiaomi","volume","")}<
2018.11.24 23:51:10 4: WEB: /fhem?cmd=%7BReadingsVal(%22xiaomi%22%2C%22volume%22%2C%22%22)%7D&XHR=1&fwcsrf=csrf_745227136613951 / RL:23 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2018.11.24 23:51:10 4: WEB_192.168.214.80_52241 GET /fhem?cmd=%7BAttrVal(%22xiaomi%22%2C%22room%22%2C%22%22)%7D&XHR=1&fwcsrf=csrf_745227136613951; BUFLEN:0
2018.11.24 23:51:10 5: Cmd: >{AttrVal("xiaomi","room","")}<
2018.11.24 23:51:10 4: WEB: /fhem?cmd=%7BAttrVal(%22xiaomi%22%2C%22room%22%2C%22%22)%7D&XHR=1&fwcsrf=csrf_745227136613951 / RL:32 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2018.11.24 23:51:14 5: xiaomi: connect> ConnectStart
send: Invalid argument at ./FHEM/71_XiaomiSmartHome.pm line 313.
$sidsock->mcast_send($msg,$ip . ':4321') or die "send: $!";
attr autocreate ignoreTypes X*.*
=> 224.0.0.50 4321
{"cmd":"whois"}
192.168.214.105 =>
{"cmd":"iam","port":"9898","sid":"7809dc12ec9c","model":"gateway","proto_version":"1.1.2","ip":"192.168.214.105"}
an: 192.168.214.105 port 9898
{"cmd":"get_id_list"}
{"cmd":"get_id_list_ack","sid":"7809dc12ec9c","token":"FBAAAEVej2BVcd8o","data":"[\\"158d0001f57eff\\",\\"158d0001f57f1a\\",\\"158d0001b7d5b5\\",\\"158d0002024e65\\",\\"158d0002010d14\\",\\"158d0001f9f1fb\\"]"}
Gate ID: 7809dc12ec9c
Token: FBAAAEVej2BVcd8o
{"cmd":"read","sid":"158d0001f57eff"}
{"cmd":"read_ack","model":"sensor_ht","sid":"158d0001f57eff","short_id":5977,"data":"{\\"voltage\\":2985,\\"temperature\\":\\"2334\\",\\"humidity\\":\\"5501\\"}"}
{"cmd":"read","sid":"158d0001f57f1a"}
{"cmd":"read_ack","model":"sensor_ht","sid":"158d0001f57f1a","short_id":7830,"data":"{\\"voltage\\":2975,\\"temperature\\":\\"1821\\",\\"humidity\\":\\"6541\\"}"}
{"cmd":"read","sid":"158d0001b7d5b5"}
{"cmd":"read_ack","model":"smoke","sid":"158d0001b7d5b5","short_id":2837,"data":"{\\"voltage\\":3045,\\"alarm\\":\\"0\\"}"}
{"cmd":"read","sid":"158d0002024e65"}
{"cmd":"read_ack","model":"smoke","sid":"158d0002024e65","short_id":55025,"data":"{\\"voltage\\":3095,\\"alarm\\":\\"0\\"}"}
{"cmd":"read","sid":"158d0002010d14"}
{"cmd":"read_ack","model":"switch","sid":"158d0002010d14","short_id":51298,"data":"{\\"voltage\\":3022}"}
{"cmd":"read","sid":"158d0001f9f1fb"}
{"cmd":"read_ack","model":"switch","sid":"158d0001f9f1fb","short_id":65207,"data":"{\\"voltage\\":3022}"}
im Code ergänzt:
Log3 $name, 5, "$name: getGatewaySID> Question $msg to $ip with $sidsock";
Im Logfile Output:
2018.11.26 00:34:46 5: xiaomi: getGatewaySID> Question {"cmd":"whois"} to 192.168.214.105 with IO::Socket::Multicast=GLOB(0x294dbc8)
define logdb DbLog ./db.conf .*:.*
attr logdb DbLogType Current/History
define weather HTTPMOD http://api.wunderground.com/weatherstation/WXCurrentObXML.asp?ID=IZRICHZR4 600
Zitat von: juergen012 am 30 November 2018, 11:59:34Hi Jürgen,
Hallo,
nachdem die Anbindung vom Single Rocker so gut geklappt hat, noch eine Frage.
Ich benutze den XIAOMI Gateway. Ist es möglich den AQARA Gateway in Fhem einzubinden??
Beste Grüße
Jürgen K.
https://forum.fhem.de/index.php?topic=63212.0
Zitat von: eisenhauer1987 am 06 Dezember 2018, 21:33:07
Hi,
ich habe seit heute ein Aqara v3 Homekit Gateway. Aqara, MiHome und Home app funktionieren, aber ich finde keine Möglichkeit den Dev Modus zu aktiveren. Wie kann man das Problem lösen? Funktioniert das Modul überhaupt mit dem V3?
Grüße
List:
Internals:
CFGFN
DEF 192.168.1.xxx
FD 49
FHEMIP 192.168.1.xxx
GATEWAY 192.168.1.xxx
GATEWAY_IP 192.168.1.xxx
NAME FL.AqaraHub
NOTIFYDEV global
NR 261
NTFY_ORDER 50-FL.AqaraHub
STATE Connected
TYPE XiaomiSmartHome
VERSION 1.30
Helper:
DBLOG:
password:
logdb:
TIME 1544127405.95606
VALUE giveaPassword!
pct:
logdb:
TIME 1544127285.33939
VALUE 100
ringtone:
logdb:
TIME 1544127285.37667
VALUE 21
state:
logdb:
TIME 1544127301.58468
VALUE Connected
volume:
logdb:
TIME 1544127285.41193
VALUE 10
READINGS:
2018-12-06 21:16:45 password giveaPassword!
2018-12-06 21:14:45 pct 100
2018-12-06 21:14:45 ringtone 21
2018-12-06 21:15:01 state Connected
2018-12-06 21:14:45 volume 10
helper:
ConnectionState Connected
host 192.168.1.238
Attributes:
devStateIcon {Color_devStateIcon(ReadingsVal($name,"rgb","000000"))}
room MiSmartHome
webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off
2018-12-25 18:23:58 XiaomiSmartHome XiaomiGW UNKNOWNCODE {"cmd":"report","model":"vibration","sid":"158d0002adc808","short_id":16261,"data":"{\"status\":\"tilt\"}"}
2018-12-25 18:23:58 XiaomiSmartHome XiaomiGW UNKNOWNCODE {"cmd":"report","model":"vibration","sid":"158d0002adc808","short_id":16261,"data":"{\"coordination\":\"-119,287,1110\"}"}
defmod GW_Xiaomi XiaomiSmartHome 192.168.178.132
attr GW_Xiaomi devStateIcon {Color_devStateIcon(ReadingsVal($name,"rgb","000000"))}
attr GW_Xiaomi room MiSmartHome
attr GW_Xiaomi webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off
setstate GW_Xiaomi off
setstate GW_Xiaomi 2019-01-04 01:31:41 RGB 0
setstate GW_Xiaomi 2019-01-04 01:59:22 heartbeat 34ce00854560
setstate GW_Xiaomi 2019-01-04 01:31:41 illumination 347
setstate GW_Xiaomi 2019-01-03 19:26:48 password xxxxxxxxxxxxx
setstate GW_Xiaomi 2019-01-03 19:20:13 pct 100
setstate GW_Xiaomi 2019-01-04 01:31:41 proto_version 1.1.2
setstate GW_Xiaomi 2019-01-04 01:31:41 rgb 000000
setstate GW_Xiaomi 2019-01-03 19:20:13 ringtone 21
setstate GW_Xiaomi 2019-01-04 01:31:41 state off
setstate GW_Xiaomi 2019-01-04 01:59:22 token xxxxxxxxxxxxxx
setstate GW_Xiaomi 2019-01-03 19:20:13 volume 10
Zitat von: pbel am 27 November 2018, 00:45:00
Hallo zusammen
Also ich habe ein Update bezüglich meines Fehlers: nachdem ich das Perl Modul, welches den Fehler wirft auseinander genommen habe und es auch mit älteren Versionen nicht ging, habe ich mal meine FHEM.conf rausgeputzt und alles ging => also stück für Stück wieder reingetan und das "verursacht" den Fehler: Logdb und / oder HTTPMOD (also beide Module sind schon einzeln ein Problem)Code Auswählen
define logdb DbLog ./db.conf .*:.*
attr logdb DbLogType Current/History
define weather HTTPMOD http://api.wunderground.com/weatherstation/WXCurrentObXML.asp?ID=IZRICHZR4 600
Da ich darauf einmal verzichten kann lasse ich die Analyse für heute aber ich nehme an, dass es evtl. irgend eine Kollision zwischen den Modulen gibt. Lustig ist: Logdb und HTTPMOD nutze ich bereits seit über einem Jahr und das Xiaomi Modul seit rund 3 Monaten => sollte nicht grundsätzlich ein Problem sein => werde aber prüfen, ob evtl. die DB irgend ein Problem hat, oder ob das nach dem Update von FHEM zum Problem gekommen ist.
# $sidsock->mcast_send($msg,$ip . ':4321') or die "send: $! $msg $ip";
if (!$sidsock->mcast_send($msg,$ip . ':4321')){
$hash->{SID} = "xxxxxxxxxxxx";
$modules{XiaomiSmartHome}{defptr}{"xxxxxxxxxxxx"} = $hash;
return "xxxxxxxxxxxx";
}
2019.01.12 16:55:33 3: Opening myBroker device 127.0.0.1:1883
2019.01.12 16:55:33 3: myBroker device opened
2019.01.12 16:55:33 3: GardenaSmartBridge (myGardenaBridge) - send credentials to fetch Token and locationId
2019.01.12 16:55:33 3: NTFY return: WhatsApp:HASH(0x366caa0)
2019.01.12 16:55:33 0: Featurelevel: 5.9
2019.01.12 16:55:33 0: Server started with 665 defined entities (fhem.pl:18111/2019-01-01 perl:5.024001 os:linux user:fhem pid:31544)
send: Invalid argument at ./FHEM/71_XiaomiSmartHome.pm line 313.
2019.01.12 16:55:34 3: UWZ Unwetterzentrale: Run.1219 Done fetching data
$sidsock->mcast_send($msg,$ip . ':4321') or die "send: $! $msg $ip";
send: Invalid argument {"cmd":"whois"} 192.168.69.127 at ./FHEM/71_XiaomiSmartHome.pm line 313.
Internals:
DEF 192.168.69.127
FD 139
FHEMIP 192.168.69.16
GATEWAY 192.168.69.127
GATEWAY_IP 192.168.69.127
NAME lumi_gateway_v3_sm
NOTIFYDEV global
NR 720
NTFY_ORDER 50-lumi_gateway_v3_sm
SID 7c49eb88ea9a
STATE off
TYPE XiaomiSmartHome
VERSION 1.30
READINGS:
2019-01-14 10:02:49 RGB 0
2019-01-14 10:36:43 heartbeat 7c49eb88ea9a
2019-01-14 10:02:49 illumination 1292
2019-01-12 17:58:46 password xxxxxxxxxxxxxxxxxx
2019-01-12 17:56:47 pct 100
2019-01-13 14:46:13 proto_version 1.1.2
2019-01-13 14:46:13 rgb 000000
2019-01-12 17:56:47 ringtone 21
2019-01-13 14:46:13 state off
2019-01-14 10:36:43 token JiYCgbRZpmXXXXXX
2019-01-12 17:56:47 volume 10
helper:
ConnectionState Connected
host 192.168.69.127
prevrgbvalue 00ff00
sensors 158d00024016af,158d0002e2dff9,
Attributes:
alias MI Gateway
devStateIcon {Color_devStateIcon(ReadingsVal($name,"rgb","000000"))}
room CUL,MiSmartHome
webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off
apt-get install libio-socket-multicast-perl
root@fhem:~# apt-get install libio-socket-multicast-perl
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
libio-socket-multicast-perl ist schon die neueste Version (1.12-2+b3).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
root@fhem:~#
my $sidsock = IO::Socket::Multicast->new( Proto => 'udp',LocalAddr => $hash->{FHEMIP}, LocalPort =>'4321', ReuseAddr => 1, Timeout => $timeout) or die "Creating socket: $!\n";
my $sidsock = IO::Socket::Multicast->new( Proto => 'udp',LocalAddr => $hash->{FHEMIP}, LocalPort =>'4321', Timeout => $timeout) or die "Creating socket: $!\n";
2019.01.14 12:12:04 0: Featurelevel: 5.9
2019.01.14 12:12:04 0: Server started with 666 defined entities (fhem.pl:18111/2019-01-01 perl:5.024001 os:linux user:fhem pid:10898)
send: Invalid argument {"cmd":"whois"} 192.168.69.127 at ./FHEM/71_XiaomiSmartHome.pm line 315.
2019.01.14 12:31:39 0: lumi_gateway_v3_sm: getGatewaySID> OK!
2019.01.14 12:31:39 3: lumi_gateway_v3_sm: getGatewaySID> Find SID for Gateway: 7c49eb8xxxxx
2019.01.14 12:31:39 3: lumi_gateway_v3_sm: connect> Connected
2019.01.14 12:37:39 1: lumi_gateway_v3_sm: getGatewaySID> ERROR Invalid argument
2019.01.14 12:37:39 3: lumi_gateway_v3_sm: connect> Connected
define wetter_nottuln HTTPMOD http://api.wunderground.com/weatherstation/WXCurrentObXML.asp?ID=INOTTULN29 600
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
root@fhem:~# apt-get install libio-socket-multicast-perl
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
libio-socket-multicast-perl ist schon die neueste Version (1.12-2+b3).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Die folgenden Pakete sind zurückgehalten worden:
raspberrypi-sys-mods
Zitat von: jkriegl am 01 Februar 2019, 12:16:11Die Version aus dem Devel branch sollte das schon besser können [emoji3]
@erdnar hast Du einen Logeintrag?
Könnte das Gleiche sein https://forum.fhem.de/index.php/topic,78418.msg877406.html#msg877406 (https://forum.fhem.de/index.php/topic,78418.msg877406.html#msg877406)
Hast Du den cloud-Zugriff unterbunden? Dann versucht das GW sehr oft eine Ab/Anmeldung und das Risiko mit dem ping zusammenzutreffen wird grösser. Beim device steht dann Disconnected.
Zitat von: torte am 31 Januar 2019, 20:33:29Danke, ich hatte noch 1.20. Hab jetzt 1.30 und werde beobachten.
welche Version vom Modul hast du?
Grüße
Torte
ZitatEin "get Update all" hilft auch.Das meinst du als Alternative zum "DEF IP-Adresse" für den Restart?
Zitat von: erdnar am 01 Februar 2019, 17:35:58
Das meinst du als Alternative zum "DEF IP-Adresse" für den Restart?
Zitat1.36 (liegt im Devel Branch)Devel Branch ist genau wo? :-[
Zitat von: torte am 04 Februar 2019, 08:49:49
Moin,
@Erdnar: In meinem Git kannst Du zwischen Master und Devel tauschen. Einfach auf Devel umstellen und dann ZIP Download.
Die beiden Dateien dann auf deinem Server tauschen. Fhem Reboot und dann sollte im GW Device 1.36 in der Version stehen.
@ofno.
Hast Du das event-on-change-reading Attribut gesetzt? Dann ändern sich der Timestamp nur wenn auch das Reading sich unterscheidet.
Grüße
Torte
Zitat von: ofno am 04 Februar 2019, 09:04:48
Ich sag mal so ich habe nichts verändert, kann das durch einen rasp. Absturz verloren gehen?
Setzt man das auf dem Gateway?
Zitat von: torte am 04 Februar 2019, 08:49:49Danke, wieder was gelernt.
@Erdnar: In meinem Git kannst Du zwischen Master und Devel tauschen....
Grüße
Torte
Internals:
DEF 158d0001b92364 weather.v1 XiaomiGateway2
FUUID 5c56daeb-f33f-ebc1-0aa4-f3b6a07e8ceb8a41
IODev XiaomiGateway2
LASTInputDev XiaomiGateway2
MODEL weather.v1
MSGCNT 5
NAME ThermostatKino
NR 189
SID 158d0001b92364
STATE <b><div style='color:red'>Temp: 13.13°C</div><div style='color:blue'>Hum: 67.11%</div>Luftdruck: 99.52 kpa <div style='color:green'>Batteriespannung : 3.0 V</div></b>
TYPE XiaomiSmartHome_Device
VERSION 1.30
XiaomiGateway2_MSGCNT 5
XiaomiGateway2_TIME 2019-02-06 21:50:31
READINGS:
2019-02-06 21:50:31 batteryState ok
2019-02-06 21:50:31 batteryVoltage 3.0
2019-02-06 21:50:31 humidity 67.11
2019-02-06 21:50:31 pressure 99.52
2019-02-06 21:50:31 temperature 13.13
Attributes:
event-on-change-reading .*
event-on-update-reading .*
group Heizung
icon temp_temperature@blue
room Kino
stateFormat <b><div style='color:red'>Temp: temperature°C</div><div style='color:blue'>Hum: humidity%</div>Luftdruck: pressure kpa <div style='color:green'>Batteriespannung : batteryVoltage V</div></b>
Internals:
DEF 10.10.10.106
FD 20
FHEMIP 192.168.1.212
FUUID 5c4d8e63-f33f-ebc1-2a40-f0ed4c44bef5e68b
GATEWAY 10.10.10.106
GATEWAY_IP 10.10.10.106
NAME XiaomiGateway2
NOTIFYDEV global
NR 180
NTFY_ORDER 50-XiaomiGateway2
SID 7811dcb26bfd
STATE initialized
TYPE XiaomiSmartHome
VERSION 1.30
READINGS:
2019-01-27 12:34:28 RGB 0
2019-01-27 12:37:43 heartbeat 7811dcb26bfd
2019-01-27 12:34:28 illumination 1272
2019-02-03 13:16:52 password CAB2D858D5FF430D
2019-01-27 11:56:35 pct 100
2019-01-27 11:56:35 ringtone 21
2019-02-03 13:13:24 state Connected
2019-01-27 12:37:43 token 51cjz7NWFQpXJp4u
2019-01-27 11:56:35 volume 10
helper:
ConnectionState Connected
host 10.10.10.106
sensors 158d0001e462c3,158d0001b92364,
Attributes:
devStateIcon {Color_devStateIcon(ReadingsVal($name,"rgb","000000"))}
event-on-change-reading .*
event-on-update-reading .*
room Haus
timestamp-on-change-reading state
webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off
Zitat von: gerdshi am 07 Februar 2019, 17:19:49Am GW Device Attribut Verbose 5.
Hm, seltsam.
Auch wenn ich das XiaomiGW auf Verbose 5 stelle, sehe ich keine weitere Nachrichten ausser den Heartbeat und der Token danach, egal ob ich die Ikea Lampe an oder aus mache.
Entschuldige die dumme Frage, aber wie bekomme ich ein detaillierten Log?
Kann es sein, dass die Ikea und Philips Lampen gar nicht im API von Xiaomi vorgesehen sind und daher keine Meldung kommt?
2019-02-07 21:00:02 XiaomiSmartHome XiaomiGateway1 token: 9SjGIRrkXxRMqOU6
2019-02-07 21:00:12 XiaomiSmartHome XiaomiGateway1 token: P8BA4s6TMpVuUFwk
2019-02-07 21:00:22 XiaomiSmartHome XiaomiGateway1 token: UuoGix4skUrcSfFO
2019-02-07 21:00:32 XiaomiSmartHome XiaomiGateway1 token: b1QC2MlOQLnO5brk
2019-02-07 21:00:42 XiaomiSmartHome XiaomiGateway1 token: 3GkpChNDHXXuNatl
2019-02-07 21:00:46 XiaomiSmartHome_Device XMI_158d0001e462c3 unknown
2019-02-07 21:00:46 XiaomiSmartHome_Device XMI_158d0001e462c3 batteryState: ok
2019-02-07 21:00:46 XiaomiSmartHome_Device XMI_158d0001e462c3 batteryVoltage: 3.6
2019-02-07 21:00:46 XiaomiSmartHome_Device ThermostatKino batteryState: ok
2019-02-07 21:00:46 XiaomiSmartHome_Device ThermostatKino batteryVoltage: 3.0
2019-02-07 21:00:46 XiaomiSmartHome_Device ThermostatKino temperature: 10.50
2019-02-07 21:00:46 XiaomiSmartHome_Device ThermostatKino humidity: 73.21
2019-02-07 21:00:46 XiaomiSmartHome_Device ThermostatKino pressure: 98.94
2019-02-07 21:00:52 XiaomiSmartHome XiaomiGateway1 token: fEz8wPuJvaPHUnyy
2019-02-07 21:01:02 XiaomiSmartHome XiaomiGateway1 token: zbjrhqB4etvLkS3u
2019-02-07 21:01:12 XiaomiSmartHome XiaomiGateway1 token: Uwivrb1ITgyiEXvC
Zitat2019.02.07 20:58:44 5: XiaomiGateway2: Notify> NotifyStart
2019.02.07 20:58:52 5: XiaomiGateway2: Read> Read start
2019.02.07 20:58:52 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"46D9Iz0a9aJ5WtR4","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 20:58:52 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 20:59:02 5: XiaomiGateway2: Read> Read start
2019.02.07 20:59:02 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"FmEM1YKgMWp3Zmfd","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 20:59:02 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 20:59:12 5: XiaomiGateway2: Read> Read start
2019.02.07 20:59:12 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"EsxFxVtnVbMAmC4L","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 20:59:12 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 20:59:22 5: XiaomiGateway2: Read> Read start
2019.02.07 20:59:22 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"N02WR9lg0FFIpNmg","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 20:59:22 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 20:59:32 5: XiaomiGateway2: Read> Read start
2019.02.07 20:59:32 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"GvjcXEXFr1ARjWyi","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 20:59:32 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 20:59:42 5: XiaomiGateway2: Read> Read start
2019.02.07 20:59:42 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"xRAkVffEFwSGJ0P1","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 20:59:42 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 20:59:52 5: XiaomiGateway2: Read> Read start
2019.02.07 20:59:52 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"8nAQkUIC5CChMSdC","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 20:59:52 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:00:02 5: XiaomiGateway2: Read> Read start
2019.02.07 21:00:02 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"9SjGIRrkXxRMqOU6","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:00:02 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:00:12 5: XiaomiGateway2: Read> Read start
2019.02.07 21:00:12 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"P8BA4s6TMpVuUFwk","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:00:12 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:00:22 5: XiaomiGateway2: Read> Read start
2019.02.07 21:00:22 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"UuoGix4skUrcSfFO","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:00:22 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:00:32 5: XiaomiGateway2: Read> Read start
2019.02.07 21:00:32 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"b1QC2MlOQLnO5brk","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:00:32 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:00:42 5: XiaomiGateway2: Read> Read start
2019.02.07 21:00:42 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"3GkpChNDHXXuNatl","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:00:42 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:00:46 5: XiaomiGateway2: updateAllReadings> Starting UpdateALLReadings
2019.02.07 21:00:46 4: XiaomiGateway2: Write> Get all Sensors
2019.02.07 21:00:46 4: XiaomiGateway2: Write> {"cmd" : "get_id_list"} 10.10.10.106
2019.02.07 21:00:46 4: XiaomiGateway2: Write> End 10.10.10.106
2019.02.07 21:00:46 3: XiaomiGateway2: Get> UpdateALLReadings Started
2019.02.07 21:00:46 5: XiaomiGateway2: Read> Read start
2019.02.07 21:00:46 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"get_id_list_ack","sid":"7811dcb26bfd","token":"ekWQugM4Ho37eaK2","data":"[\"158d0001e462c3\",\"158d0001b92364\"]"}
2019.02.07 21:00:46 5: XiaomiGateway2: Read> HASH correctly
2019.02.07 21:00:46 5: XiaomiGateway2: Reading> Reading start
2019.02.07 21:00:46 4: XiaomiGateway2: Reading> PushRead:158d0001e462c3
2019.02.07 21:00:46 4: XiaomiGateway2: Write> {"cmd":"read","sid":"158d0001e462c3"} 10.10.10.106
2019.02.07 21:00:46 4: XiaomiGateway2: Write> End 10.10.10.106
2019.02.07 21:00:46 4: XiaomiGateway2: Reading> PushRead:158d0001b92364
2019.02.07 21:00:46 4: XiaomiGateway2: Write> {"cmd":"read","sid":"158d0001b92364"} 10.10.10.106
2019.02.07 21:00:46 4: XiaomiGateway2: Write> End 10.10.10.106
2019.02.07 21:00:46 5: XiaomiGateway2: Read> Read start
2019.02.07 21:00:46 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"read_ack","model":"sensor_magnet.aq2","sid":"158d0001e462c3","short_id":32113,"data":"{\"voltage\":3600,\"status\":\"unknown\"}"}
2019.02.07 21:00:46 5: XiaomiGateway2: Read> XiaomiSmartHome_Device known! SID: 158d0001e462c3 XiaomiGateway2 XiaomiGateway2
2019.02.07 21:00:46 5: XiaomiGateway2: Read> Dispatching {"cmd":"read_ack","model":"sensor_magnet.aq2","sid":"158d0001e462c3","short_id":32113,"data":"{\"voltage\":3600,\"status\":\"unknown\"}"} XiaomiGateway2
2019.02.07 21:00:46 5: XiaomiGateway2: dispatch {"cmd":"read_ack","model":"sensor_magnet.aq2","sid":"158d0001e462c3","short_id":32113,"data":"{\\"voltage\\":3600,\\"status\\":\\"unknown\\"}"}
2019.02.07 21:00:46 5: XiaomiGateway2: DEV_Parse> IS DEFINED sensor_magnet.aq2 : 158d0001e462c3 HASH(0x5606317de138)
2019.02.07 21:00:46 5: XiaomiGateway2: DEV_Read> SID: 158d0001e462c3 XiaomiSmartHome_Device
2019.02.07 21:00:46 3: XiaomiGateway2: DEV_Read> Name: XMI_158d0001e462c3 SID: 158d0001e462c3 Type: sensor_magnet.aq2 Status: unknown
2019.02.07 21:00:46 4: XiaomiGateway2: DEV_Read> Name: XMI_158d0001e462c3 SID: 158d0001e462c3 Type: sensor_magnet.aq2 Voltage: 3600
2019.02.07 21:00:46 5: XiaomiGateway2: DEV_Round> Value: 3.6 points: 1
2019.02.07 21:00:46 5: XiaomiGateway2: DEV_Round> Result_value: 3.6
2019.02.07 21:00:46 5: XiaomiGateway2: Read> Read start
2019.02.07 21:00:46 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"read_ack","model":"weather.v1","sid":"158d0001b92364","short_id":3948,"data":"{\"voltage\":2985,\"temperature\":\"1050\",\"humidity\":\"7321\",\"pressure\":\"98942\"}"}
2019.02.07 21:00:46 5: XiaomiGateway2: Read> XiaomiSmartHome_Device known! SID: 158d0001b92364 XiaomiGateway2 XiaomiGateway2
2019.02.07 21:00:46 5: XiaomiGateway2: Read> Dispatching {"cmd":"read_ack","model":"weather.v1","sid":"158d0001b92364","short_id":3948,"data":"{\"voltage\":2985,\"temperature\":\"1050\",\"humidity\":\"7321\",\"pressure\":\"98942\"}"} XiaomiGateway2
2019.02.07 21:00:46 5: XiaomiGateway2: dispatch {"cmd":"read_ack","model":"weather.v1","sid":"158d0001b92364","short_id":3948,"data":"{\\"voltage\\":2985,\\"temperature\\":\\"1050\\",\\"humidity\\":\\"7321\\",\\"pressure\\":\\"98942\\"}"}
2019.02.07 21:00:46 5: XiaomiGateway2: DEV_Parse> IS DEFINED weather.v1 : 158d0001b92364 HASH(0x5606317de138)
2019.02.07 21:00:46 5: XiaomiGateway2: DEV_Read> SID: 158d0001b92364 XiaomiSmartHome_Device
2019.02.07 21:00:46 4: XiaomiGateway2: DEV_Read> Name: ThermostatKino SID: 158d0001b92364 Type: weather.v1 Voltage: 2985
2019.02.07 21:00:46 5: XiaomiGateway2: DEV_Round> Value: 2.985 points: 1
2019.02.07 21:00:46 5: XiaomiGateway2: DEV_Round> Result_value: 3.0
2019.02.07 21:00:46 5: XiaomiGateway2: DEV_Round> Value: 10.50 points: 2
2019.02.07 21:00:46 5: XiaomiGateway2: DEV_Round> Result_value: 10.50
2019.02.07 21:00:46 3: XiaomiGateway2: DEV_Read> Name: ThermostatKino SID: 158d0001b92364 Type: weather.v1 Temperature: 10.50 Round: 2
2019.02.07 21:00:46 5: XiaomiGateway2: DEV_Round> Value: 73.21 points: 2
2019.02.07 21:00:46 5: XiaomiGateway2: DEV_Round> Result_value: 73.21
2019.02.07 21:00:46 3: XiaomiGateway2: DEV_Read> Name: ThermostatKino SID: 158d0001b92364 Type: weather.v1 Humidity: 73.21 Round: 2
2019.02.07 21:00:46 5: XiaomiGateway2: DEV_Round> Value: 98.942 points: 2
2019.02.07 21:00:46 5: XiaomiGateway2: DEV_Round> Result_value: 98.94
2019.02.07 21:00:46 3: XiaomiGateway2: DEV_Read> Name: ThermostatKino SID: 158d0001b92364 Type: weather.v1 Pressure: 98.94 Round: 2
2019.02.07 21:00:52 5: XiaomiGateway2: Read> Read start
2019.02.07 21:00:52 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"fEz8wPuJvaPHUnyy","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:00:52 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:01:02 5: XiaomiGateway2: Read> Read start
2019.02.07 21:01:02 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"zbjrhqB4etvLkS3u","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:01:02 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:01:12 5: XiaomiGateway2: Read> Read start
2019.02.07 21:01:12 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"Uwivrb1ITgyiEXvC","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:01:12 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:01:22 5: XiaomiGateway2: Read> Read start
2019.02.07 21:01:22 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"WMj5A5zgoSNiPuTc","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:01:22 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:01:32 5: XiaomiGateway2: Read> Read start
2019.02.07 21:01:32 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"hsV1cJBfN6PJ2a8d","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:01:32 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:01:42 5: XiaomiGateway2: Read> Read start
2019.02.07 21:01:42 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"1idkrs2Pxln11prI","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:01:42 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:01:47 2: TPLinkHS110: AussenbeleuchtungScheune Realtime data updated
2019.02.07 21:01:47 2: TPLinkHS110: AussenbeleuchtungScheune Daystat updated
2019.02.07 21:01:48 2: TPLinkHS110: Waschmaschine Realtime data updated
2019.02.07 21:01:48 2: TPLinkHS110: Waschmaschine Daystat updated
2019.02.07 21:01:52 5: XiaomiGateway2: Read> Read start
2019.02.07 21:01:52 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"49vvVGvEYmFjbCG7","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:01:52 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:02:02 5: XiaomiGateway2: Read> Read start
2019.02.07 21:02:02 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"q6PiTO32LUauwhii","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:02:02 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:02:12 5: XiaomiGateway2: Read> Read start
2019.02.07 21:02:12 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"nxqElDCZYs8Rv9cI","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:02:12 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:02:22 5: XiaomiGateway2: Read> Read start
2019.02.07 21:02:22 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"XXqkaSFsg1iaJQ1R","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:02:22 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:02:32 5: XiaomiGateway2: Read> Read start
2019.02.07 21:02:32 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"lM5OlfIkfTBSlgML","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:02:32 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:02:42 5: XiaomiGateway2: Read> Read start
2019.02.07 21:02:42 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"6jKvR1E34k1Z5b8P","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:02:42 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:02:52 5: XiaomiGateway2: Read> Read start
2019.02.07 21:02:52 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"hpMb8rDpbYbbiUs3","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:02:52 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
2019.02.07 21:03:02 5: XiaomiGateway2: Read> Read start
2019.02.07 21:03:02 5: XiaomiGateway2: Read> [PLAIN] {"cmd":"heartbeat","model":"gateway","sid":"34ce0088d1d0","short_id":"0","token":"tgtszqmpzuaAyP6L","data":"{\"ip\":\"192.168.1.146\"}"}
2019.02.07 21:03:02 5: XiaomiGateway2: Read> Change HASH Ref to XiaomiGateway1
Log3 $name, 4, "$name: Write> $msg " . $GATEWAY;
my $sock = $hash->{CD};
my $MAXLEN = 1024;
# $sock->mcast_send($msg,$GATEWAY .':9898') or die "send: $!";
if (!$sock->mcast_send($msg,$GATEWAY .':9898')){
Log3 $name, 1, "Error: " . $! . " " . $msg . " " . $GATEWAY . ":9898";
}
Zitat von: ahlermi am 14 Januar 2019, 12:30:30
HTTPMOD rauswerfen hat keine Lösung gebracht. Problem besteht noch
Jetzt habe ich gerade die HTTPMOD Sachen ganz ans Ende der Datei aufgenommen und sehe zufällig im Log:Code Auswählen
2019.01.14 12:31:39 0: lumi_gateway_v3_sm: getGatewaySID> OK!
2019.01.14 12:31:39 3: lumi_gateway_v3_sm: getGatewaySID> Find SID for Gateway: 7c49eb8xxxxx
2019.01.14 12:31:39 3: lumi_gateway_v3_sm: connect> Connected
:o
und ein Shutdown Reboot macht dann wieder:Code Auswählen
2019.01.14 12:37:39 1: lumi_gateway_v3_sm: getGatewaySID> ERROR Invalid argument
2019.01.14 12:37:39 3: lumi_gateway_v3_sm: connect> Connected
irgendwie scheint das genau einmal zu klappen
Zitat von: Typ1er am 17 Februar 2019, 21:36:00Hi,
Meine Motion Sensoren machen nach der Erkennung immer eine Minute Pause bis zur nächsten Auslösung, lässt sich dieses verhalten noch einstellen?
Zitat von: BerndMiles am 08 März 2019, 20:10:43Ich glaube das ist der init status
Hallo,
ich habe zwei Wassermelder von Xiaomi. Es klappt auch alles bestens, aber was bedeutet der Status iam. Zuvor stand da mal no_leak. Kann mir da vielleicht jemand helfen?
Zitat von: BerndMiles am 10 März 2019, 19:49:59Ich habe bei mir einen schwimmschalter dran gebastelt der überwacht mir einen pumpensumpf und meldet mit leak und no_leak den Wasserstand
Danke für die Antworten. Nun muss man, um den Status auf no_leak zu bekommen, ihn unter Wasser setzen und dann wieder abtrocknen oder dies eben manuell mit Befehl an der Konsole übermitteln. Weil eine Statusänderung erfolgt nach dem Drücken des Knopfes wahrscheinlich erst dann, wenn sich wirklich was ändert und das ist bei diesem Sensor eben, dass er unter Wasser steht.
Zitat von: BerndMiles am 10 März 2019, 19:49:59
Danke für die Antworten. Nun muss man, um den Status auf no_leak zu bekommen, ihn unter Wasser setzen und dann wieder abtrocknen oder dies eben manuell mit Befehl an der Konsole übermitteln. Weil eine Statusänderung erfolgt nach dem Drücken des Knopfes wahrscheinlich erst dann, wenn sich wirklich was ändert und das ist bei diesem Sensor eben, dass er unter Wasser steht.
setreading XMI_xxxxxxxxxxxxxxxxxx state leak
Zitat von: burgi400 am 04 April 2019, 16:38:28
Hallo zusammen,
wenn ich ein Gateway anlege, zeigt fhem das Gateway schön an, stürtzt aber gleichzeitig ab. Also kann ich z. B. nicht das Paswort setzen oder ein andres Gerät anwählen. Das gehtr so schnell, dass es kaum möglich ist irgendetwas anzuklicken bevor der Absturz erfolgt.
Selbst für einen Log-Eintrag habe ich fast 10 Versuche benötigt, da fhem auch dafür anscheinend keine Zeit hatte.
Hier der Log-Eintrag:
MiGateway: connect> ConnectStart
2019.03.31 16:47:07 5: MiGateway: getGatewaySID> Answer {"cmd":"iam","port":"9898","sid":"xxxxxxxx","model":"gateway","proto_version":"1.1.2","ip":"192.168.xxx.29"}
2019.03.31 16:47:07 3: MiGateway: getGatewaySID> Find SID for Gateway: xxxxxxxx
Creating socket: Protocol not available
Jemand eine Idee, was für ein Protokoll-Problem vorliegen kann?
System: BananaPi mit Lubuntu, libs nach Wiki fehlerfrei installiert, Gateway mit und ohne eingerichtete Sensoren versucht, Developer-Modus etc. aktiviert
Steuerung per Xiaomi-App ohne Probleme möglich.
Viele Grüße
Ralf
Zitat von: ahlermi am 11 Februar 2019, 16:08:16
So, ich bin jetzt mit dem Einkreisen des Problems weiter.
Das Modul scheint die Verbindung abzulehnen solange noch eine Kommunikation aktiv ist.
Getestet habe ich das indem ich das GW einfach mal 60 sekunden lang jede Sekunde blinken lassen habe und einen zweiten Befehl abgeschickt habe. Fazit Fhem stürzt ab.
Nach der Anpassung in Zeile 548 oder um den drehCode Auswählen
Log3 $name, 4, "$name: Write> $msg " . $GATEWAY;
my $sock = $hash->{CD};
my $MAXLEN = 1024;
# $sock->mcast_send($msg,$GATEWAY .':9898') or die "send: $!";
if (!$sock->mcast_send($msg,$GATEWAY .':9898')){
Log3 $name, 1, "Error: " . $! . " " . $msg . " " . $GATEWAY . ":9898";
}
treten die Probleme jetzt nicht mehr auf.
Gruß Michael
malformed JSON string
Zitat von: chrisnitt am 25 Juni 2019, 06:35:41Also ich hab auch einen DGNWG02LM auch die gleiche CMIT ID nur nicht rund angeordnet
Moin Torte,
es ist offiziell: Ich habe keine Ahnung, welches Gateway ich habe... :o ::)
Ich vermute, es ist das aktuellste Aqara Gateway. Ich hänge Dir hier mal zwei Fotos an. In der Xiaomi Home App habe ich auch keine Bezeichnung gefunden.
Zitat von: torte am 03 Juli 2019, 13:53:11Ich habe das Device so angelegt:
Hi Jogi,
ich weiß nicht was Du gemacht hast, in den Inernals steht unter TYPE HUEDevice.
Ich bin raus. ;D
Grüße
Torte
define Wassermelder_Kueche HUEDevice sensor 3
define Wassermelder_Kueche ZHAWater sensor 3
Unknown module ZHAWater
Zitat von: torte am 05 Juli 2019, 14:08:22OK, dann versuche ich es mal im Anfängerforum
Ich weiß nicht ob du im falschen Forum bist, die Sensor Devices machen Autocreate.
Dazu muss natürlich Autocreate an sein.
Bei dem Modul 71_XiaomiSmartHome.pm werden die Sensordevices nie selbst angelegt, nur das Gateway.
Dieser Thread hier hat nix mit HUEDevice oder ZHAWater zu tun.
Grüße
Torte
Zitat von: ahlermi am 11 Februar 2019, 16:08:16
So, ich bin jetzt mit dem Einkreisen des Problems weiter.
Das Modul scheint die Verbindung abzulehnen solange noch eine Kommunikation aktiv ist.
Getestet habe ich das indem ich das GW einfach mal 60 sekunden lang jede Sekunde blinken lassen habe und einen zweiten Befehl abgeschickt habe. Fazit Fhem stürzt ab.
Nach der Anpassung in Zeile 548 oder um den drehCode Auswählen
Log3 $name, 4, "$name: Write> $msg " . $GATEWAY;
my $sock = $hash->{CD};
my $MAXLEN = 1024;
# $sock->mcast_send($msg,$GATEWAY .':9898') or die "send: $!";
if (!$sock->mcast_send($msg,$GATEWAY .':9898')){
Log3 $name, 1, "Error: " . $! . " " . $msg . " " . $GATEWAY . ":9898";
}
treten die Probleme jetzt nicht mehr auf.
Gruß Michael
Zitat von: Hefenglimmer am 04 September 2019, 01:22:22
Ich habe auch das Problem gehabt, dass mein FHEM bei Statuswechseln eines Magnetkontakts neu startete. Dieser Fix hat geholfen und ich würde empfehlen das mit ins Modul einzuchecken.
Zitat von: jkriegl am 09 Januar 2020, 16:10:35Ich habe über die Zeit auch Probleme, wenn die Batterie schwächer wird kommt nichts mehr an. Drückt man den Knopf kommt trotzdem "Verbindung ok" laut sprach Übersetzung. Batterietausch teilweise schwierig da Plastik schon instabiel spröde für Dreh-Mechanismus. Neue Batterie hilft aber meistens.
Ist der Mi Temperatur- Luftfeuchtigskeits-Sensor (sensor_ht) defekt?
Hat weit über ein Jahr ordentlich funktioniert und hat sich plötzlich nicht mehr gemeldet.
Aus der App war er verschwunden.
Ich kann ihn am GW neu anmelden, dann sendet er Daten. Nach einiger Zeit sagt die freundliche Stimme etwas auf chinesisch, es kommen Temp. u. Humidity. Das wars dann.
Batterie ok, Sensor nahe beim GW, das Device schreibt nichts ins Log.
Batterie herausnehmen, warten, wieder einsetzen, bringt nichts.
Taste drücken: kurze Led-Anzeige.
Gibt es Erfahrungen dazu?
Zitat von: ahlermi am 07 Januar 2020, 15:49:10
Funksteckdose über Fhem 5 Min vor Start einschalten? :-)
ZitatNach kleinen Änderungen mit Hilfe von torte konnte ich den neuen 32Stelligen Key übernehmen.
Zitat von: Hirte82 am 04 August 2020, 15:38:49
Hallo,
in einem Beitrag von Eisenhauer1987 (seite 63) heißt es:
Ich habe ebenfalls nur den 32 stelligen Token extrahieren können. Bei Eingabe als PW kommt allerdings immer die Fehlermeldung, dass das PW 16stellig sein muss.
Wie genau hat denn die Übernahme des 32stelligen Codes funktioniert?
Vielen Dank.
Viele Grüße
Hirte
Moin,
könnte sein das das Passwort jetzt 32 stellen hat. In der letzten Doku vom 16.07.2018 sind dort auch 32 stellen drin.
Probiere mal Bitte folgendes aus.
Auf deinem Fhem Server Ordner opt\fhem\FHEM\ in der Datei 71_XiaomiSmartHome.pm
Änders Du die Zeilen 449, 535, 624
Code: [Auswählen]
if ( $hash->{READINGS}{password}{VAL} !~ /^[a-zA-Z0-9]{16}$/ )
in das hier
Code: [Auswählen]
if ( $hash->{READINGS}{password}{VAL} !~ /^[a-zA-Z0-9]{32}$/ )
Und dann noch Zeile 614
Code: [Auswählen]
if($args[0] =~ /^[a-zA-Z0-9]{16}$/)
in:
Code: [Auswählen]
if($args[0] =~ /^[a-zA-Z0-9]{32}$/)
Danach gibst du oben in der FHEM Commandline reload 71_XiaomiSmartHome.pm ein
Dann Fehm neustart. Dann sollte zumindest das 32 Zeichen lange Passwort angenommen werden.
Wenn Du dann zb. die LED an dem Gateway steuern kannst wäre es das gewesen.
Sollte das so funktionieren übernehme ich die Änderungen ins Git.
Grüße
Torte
2021.01.03 15:44:52 3: Xiaomi_Gateway: getGatewaySID> Find SID for Gateway: 7811dcdad415
2021.01.03 15:44:52 3: Xiaomi_Gateway: connect> Connected
2021.01.03 15:45:06 1: Xiaomi_Gateway: DEV_Parse> UNDEFINED smoke : 158d0002049327
2021.01.03 15:45:09 1: Xiaomi_Gateway: DEV_Parse> UNDEFINED sensor_magnet.aq2 : 158d0002059c00
2021.01.03 15:45:12 1: Xiaomi_Gateway: DEV_Parse> UNDEFINED weather.v1 : 158d0002478a02
send: Invalid argument at ./FHEM/71_XiaomiSmartHome.pm line 548.
define Xiaomi_Gateway XiaomiSmartHome 192.168.0.165
attr Xiaomi_Gateway devStateIcon {Color_devStateIcon(ReadingsVal($name,"rgb","000000"))}
attr Xiaomi_Gateway room 00_MiSmartHome
attr Xiaomi_Gateway webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off
Zitat von: dude am 27 September 2019, 22:55:07
Hi,
@slowfinger, @torte (Startup-Problem):
Ich hatte das gleiche Problem, und zwar nach dem Update von Raspbian Stretch auf Buster.
Das Problem scheint im Perl-Modul IO::Socket::Multicast in Verbindung mit Perl 5.28 zu liegen. Mit folgendem Patch startet FHEM bei mir wieder:Code Auswählen
--- a/lib/IO/Socket/Multicast.pm 2019-09-27 22:24:18.358025842 +0200
+++ b/lib/IO/Socket/Multicast.pm 2019-09-27 22:24:28.548756284 +0200
@@ -99,7 +99,7 @@
my $sock = shift;
my $prev = ${*$sock}{'io_socket_mcast_dest'};
if (my $dest = shift) {
- $dest = sockaddr_in($2,inet_aton($1)) if $dest =~ /^($IP):(\d+)$/;
+ $dest = sockaddr_in(int($2),inet_aton($1)) if $dest =~ /^($IP):(\d+)$/;
croak "invalid destination address" unless length($dest) == 16;
${*$sock}{'io_socket_mcast_dest'} = $dest;
}
In der Annahme, dass es sich um einen Bug in IO::Socket::Multicast handelt, habe ich auch ein Bug-Report bei CPAN erstellt: https://rt.cpan.org/Ticket/Display.html?id=130581
Viele Grüße
dude
fhem:~# find / -name Multicast.pm
find: '/sys/kernel/debug': Keine Berechtigung
/usr/lib/x86_64-linux-gnu/perl5/5.24/IO/Socket/Multicast.pm
/usr/lib/x86_64-linux-gnu/perl5/5.28/IO/Socket/Multicast.pm
2022-02-10 13:42:25.100 Global global UNDEFINED XMI_158d0001e03c52 XiaomiSmartHome_Device 158d0001e03c52 magnet XiaomiSmartGateway
2022-02-10 13:42:25.100 Global global DEFINED FileLog_XMI_158d0001e03c52
2022-02-10 13:42:25.100 Global global SAVE
defmod XiaomiSmartGateway XiaomiSmartHome 10.103.247.61
attr XiaomiSmartGateway DbLogExclude .*
attr XiaomiSmartGateway devStateIcon {Color_devStateIcon(ReadingsVal($name,"rgb","000000"))}
attr XiaomiSmartGateway disable 1
attr XiaomiSmartGateway room Schaltzentrale
attr XiaomiSmartGateway verbose 5
attr XiaomiSmartGateway webCmd pct:rgb:rgb ff0000:rgb 00ff00:rgb 0000ff:on:off
setstate XiaomiSmartGateway on
setstate XiaomiSmartGateway 2022-02-10 13:41:16 heartbeat 34ce00fa7078
setstate XiaomiSmartGateway 2022-02-09 16:40:02 password <<16-stelliges Passwort>>
setstate XiaomiSmartGateway 2022-02-09 16:30:44 pct 100
setstate XiaomiSmartGateway 2022-02-10 13:41:18 rgb 00ff00
setstate XiaomiSmartGateway 2022-02-09 16:30:44 ringtone 21
setstate XiaomiSmartGateway 2022-02-10 13:41:18 state on
setstate XiaomiSmartGateway 2022-02-10 13:41:16 token saMX89g2xSdYFPaW
setstate XiaomiSmartGateway 2022-02-09 16:30:44 volume 10
defmod XMI_158d00019d4ff3 XiaomiSmartHome_Device 158d00019d4ff3 magnet XiaomiSmartGateway
attr XMI_158d00019d4ff3 DbLogExclude .*
attr XMI_158d00019d4ff3 DbLogInclude state,last
attr XMI_158d00019d4ff3 alias Flur_Taster_Torsummer
attr XMI_158d00019d4ff3 devStateIcon open:fts_door_open@red close:fts_door@green
attr XMI_158d00019d4ff3 genericDeviceType switch
attr XMI_158d00019d4ff3 icon rc_dot
attr XMI_158d00019d4ff3 room Flur
attr XMI_158d00019d4ff3 userReadings last:no_close.* {if (Value("XMI_158d00019d4ff3") eq "open") {ReadingsTimestamp("XMI_158d00019d4ff3","no_close","")} else {ReadingsVal("XMI_158d00019d4ff3","last","")};;}
setstate XMI_158d00019d4ff3 initialized
setstate XMI_158d00019d4ff3 2022-02-09 16:41:32 batteryState ok
setstate XMI_158d00019d4ff3 2022-02-09 16:41:32 batteryVoltage 2.9
setstate XMI_158d00019d4ff3 2022-02-09 16:41:32 state open