NEWS
[Aufruf] deConz Adapter Testen 1.1.2
-
wow, vielen Dank, das Anlegen der Objekte hat zwar etwas gedauert, aber jetzt hab ich es hinbekommen.
Der Test läuft gerade noch mit meinem Single-Button Xiaomi Taster. Jetzt passe ich noch meinen Dual-Taster
an. Vielen, vielen Dank nochmal …
..edit:
jetzt nach einem Tag kann ich bestätigen, das das Skript perfekt funktioniert, beide Taster
schalten nur noch dann wann sie sollen. `
Freut mich zu hören dass es klappt. Jetzt würde mich allerdings interessieren welchen Dual-Taster du verwendest. Ist dieser auch von Xiaomi?
Kenne nur den Sonoff Touch.
-
Hallo
Da ich Probleme mit der Installation von Deconz hatte habe ich das img für den RPi3 installiert.
Habe dann ioBroker installiert und das Backup von der alten Installation aufgespielt.
Da ich aber z.Z. mich bei Phoscon nicht anmelden kann und auch das Passwort dort nicht zurücksetzen kann,
kann ich den API-Key nicht erzeugen.
Kann man mit der Deconz GUI auch den API-Key erzeugen, wenn ja wie.
Wie kann ich in Phoscon ein neuen Login anlegen ?
Gruß NetFritz
-
@NetFritz irgendwas passt da nicht. Standard Passwort und Benutzer ist "delight".
Du wirst keinen neuen Login anlegen können wenn du dich nicht anmelden kannst.
Ich wüsste nicht wie man in deConz einen API Key erzeugen kann, das geht meines wissens nach nur über die WebAPP oder Phoscon.
Jedenfalls scheint mir dein Problem eins zu sein wobei dir eher Dresden Elektronik helfen kann, da es deConz spezifisch ist.
-
Hallo
Danke für die Antwort.
Standard Passwort "delight" und Benutzer ist "pi".
Habe mir schon gedacht das Dresden Elektronik der richtige Ansprechpartner ist.
Konnte mich heute auf einmal ohne Passwort in Phoscon einloggen.
Werde mal bei Dresden Elektronik anrufen.
Gruß NetFritz
-
Ich hab gerade die Version 0.2.2 auf Github hochgeladen.
Folgendes wurde geändert:
- Benennung der IDs in ioBroker
- Berücksichtigung der Zeitstempel für die Aktualisierung von states
<size size="150">Achtung!!!</size>
Durch die geänderte Benennung der IDs muss der Adapter zu erst gelöscht werden. Und im Anschluss alle Skripte angepasst werden.
Getestet mit deConz Version 2.5.31.
-
Hey Jey Cee!
Danke das du dich weiter um den Adapter kümmerst.
Habe Ihn deinstalliert und die neue Version Installiert. Leider bleibt das Problem bestehen. Zwar sind meine Sensoren, die ich ja schon in Phoscon umbenannt hatte auch bei ihrer Benennung geblieben. Sprich "Sensor1, Sensor2, Sensor3" aber nachdem ich einen Sensor löschte um zu testen ob es nun mit dem Hinzufügen via Phoscon oder auch via Adapter besser funktioniert, kam es zu den selben/ähnlichen Fehlern wie vorher auch.
Was ich also testete:
Hinzufügen der Aqara Multisensoren via Phoscon App.
Das bleibt ergebnislos. Das Hinzufügen ist zwar möglich, der Adapter erstellt aber unzählige weitere Objekte ohne Inhalt nach dem ersten triggern. Auch die Objekte Himidity Temerature und Pressure existieren zwar haben aber keinen Inhalt.
Hinzufügen der Sensoren via deconz Adapter.
Funktioniert auch nicht, es werden unzählige Objekte hinzugefügt die alle leer sind.
Hinzufügen via Phoscon und umbenennen in Phoscon
Trägt keine Früchte.
Hinzufügen via deconz Adapter und danach umbenennen in Phoscon
Dieses verfahren lief in der vorherigen Version solange man nicht die automatisch generierten Objekte mit der ID aus der Objekte Liste entfernte. Siehe meine vorherigen Posts.
Inzwischen funktioniert das allerdings nicht mehr. Es werden automatisch weitere Objekte generiert aber alle ohne Inhalt. Siehe Bild oben.
Falls du etwas benötigst, melde dich!
Viele Grüße!
-
Falls du etwas benötigst, melde dich! `
Welche Version von deConz verwendest du?Die vielen Geisterobjekte sind keine, die Zugehörigen Objekte werden nur nicht on the fly angelegt. Ein Adapter Neustart sollte das beheben.
Was ich mir aber nicht erklären kann ist das keine Daten übertragen werden. Ich hab kein Multisensor von Xiaomi um das zu Testen, aber der Taster den ich hab Überträgt Daten.
@all kann das jemand noch Testen bitte.
-
Aqara Cube funktioniert jetzt wie erwartet, es werden in Deconz und im Adapter jeweils 2 logische Sensoren erstellt. Phoscon zeigt beide zusammen als ein Gerät an, davon nicht verwirren lassen.
Manchmal muss ich nach dem Anlernen von Sensoren nicht nur den Adapter sondern auch Deconz neustarten.
Ich denke es wäre Sinnvoll neben einem Screenshot der Adapterdatenpunkte noch die Ausgabe von http://<deconz ip="">/api/<api key="">/sensors/ zu posten. Wenn schon in Deconz etwas nicht stimmt, kann der Adapter das nicht retten. Dann wäre das eher ein Fall für hier:
https://github.com/dresden-elektronik/d … est-plugin</api></deconz>
-
@Jey Cee:Falls du etwas benötigst, melde dich! `
Welche Version von deConz verwendest du?Die vielen Geisterobjekte sind keine, die Zugehörigen Objekte werden nur nicht on the fly angelegt. Ein Adapter Neustart sollte das beheben.
Was ich mir aber nicht erklären kann ist das keine Daten übertragen werden. Ich hab kein Multisensor von Xiaomi um das zu Testen, aber der Taster den ich hab Überträgt Daten.
@all kann das jemand noch Testen bitte. `
Ich spiele gerade wieder das Backup ein und kann dir nicht die 100%ige Versionsnummer sagen. es ist die mit der 31 am Ende.
Einen Neustart des Adapters habe ich selbstverständlich probiert. Bei mir werden die neu angelernten Objekte sowieso immer erst nach einem Neustart zu den Objekten hinzugefügt.
Wie kann ich dir am besten helfen mit den Aqara Sensoren? Kann ich dir irgendwelche Logs oder so schicken die es dir einfacher machen? Oder vielleicht mal so nen Ding zuschicken?
Grüße!
-
Aqara Cube funktioniert jetzt wie erwartet, es werden in Deconz und im Adapter jeweils 2 logische Sensoren erstellt. Phoscon zeigt beide zusammen als ein Gerät an, davon nicht verwirren lassen.
Manchmal muss ich nach dem Anlernen von Sensoren nicht nur den Adapter sondern auch Deconz neustarten.
Ich denke es wäre Sinnvoll neben einem Screenshot der Adapterdatenpunkte noch die Ausgabe von http://<deconz ip="">/api/<api key="">/sensors/ zu posten. Wenn schon in Deconz etwas nicht stimmt, kann der Adapter das nicht retten. Dann wäre das eher ein Fall für hier:
https://github.com/dresden-elektronik/d … est-plugin</api></deconz> `
Wenn du mir genau sagst wie ich an diese Daten rankomme, kann ich da sicherlich behilflicher sein. Bin einfach nicht im Bilde wie überhaupt dieser ganze Unterbau von den Adaptern funktioniert. Bin einfach nur ein Anwender.
-
wie schon beschrieben, die Ausgabe von http://<deconz ip="">/api/<api key="">/sensors/</api></deconz> wäre interessant.
Einfach im Browser öffnen. und __<api key=""></api>__ersetzen, wie du es auch in der Adapterkonfiguration eingetragen hast.
-
Kurzer Zwischenbericht:
Habe mir eine 2. SD Karte gekauft und eine Kopie des Original Systems zu machen. Damit ich nicht jedesmal das Backup neu einspielen muss falls etwas nicht funktioniert.
Bin aktuell auf deconz V. 2.5.32, API 1.0.9
Tatsächlich funktioniert es nun. (Sensor Hinzugefügt via deconz Adapter)
Auch das umbenennen in Phoscon scheint geklappt zu haben.
Trick bei der Sache war den Host neu zu starten. Nicht den Adapter.
Allerdings werden immer noch Objekte erstellt die nicht exisiteren. Bzw. die keinen "Namen" haben und deren Inhalt nur ein "lastupdated" beinhaltet
-
@Kugelkopf stell mal das Loglevel des Adapters auf debug und schick es mir dann, aber nimm es dann aus der Log Datei damit ich alles sehen kann.
Gesendet von meinem m8 mit Tapatalk
-
@Jey Cee:@Kugelkopf stell mal das Loglevel des Adapters auf debug und schick es mir dann, aber nimm es dann aus der Log Datei damit ich alles sehen kann.
Gesendet von meinem m8 mit Tapatalk `
Ok!Hier also einmal den Sensor hinzugefügt via deconz Adapter. Danach Adapter neu gestartet. Nachdem der Sensor neue Daten übermittelt hat haben sich wieder 3 neue Objekte gebildet die nur "lastupdated" beinhalten. (Sensor ID 22,23,24) Der eigentlich Sensor, hier noch: Temerature,Humidity,Pressure ID 3,4,8.
2018-08-01 16:36:56.652 - info: deconz.0 terminating 2018-08-01 16:36:56.667 - info: host.raspi2 instance system.adapter.deconz.0 terminated with code 0 (OK) 2018-08-01 16:36:58.674 - info: host.raspi2 instance system.adapter.deconz.0 started with pid 16747 2018-08-01 16:37:00.261 - debug: deconz.0 objectDB connected 2018-08-01 16:37:00.325 - debug: deconz.0 statesDB connected 2018-08-01 16:37:00.437 - info: deconz.0 starting. Version 0.2.2 in /opt/iobroker/node_modules/iobroker.deconz, node: v8.11.3 2018-08-01 16:37:00.485 - debug: deconz.0 API version: 1.0.9 2018-08-01 16:37:00.522 - debug: deconz.0 getAllLights: {"1":{"ctmax":454,"ctmin":250,"etag":"f34525ab6743b572c04a036c8b1d027c","hascolor":true,"manufacturername":"IKEA of Sweden","modelid":"TRADFRI bulb E14 WS opal 400lm","name":"TradfriE14","state":{"alert":"none","bri":1,"colormode":"ct","ct":454,"on":false,"reachable":true},"swversion":"1.2.217","type":"Color temperature light","uniqueid":"90:fd:9f:ff:fe:8a:31:88-01"},"2":{"etag":"ca3902ccd5759a5ab0ff6c689a73eb51","hascolor":false,"manufacturername":"OSRAM","modelid":"Plug 01","name":"Plug2","state":{"alert":"none","on":false,"reachable":true},"swversion":"V1.04.12","type":"On/Off plug-in unit","uniqueid":"7c:b0:3e:aa:00:b1:a0:7d-03"},"4":{"etag":"26c0aa793ba4700c4acf490c0fadfbd6","hascolor":false,"manufacturername":"OSRAM","modelid":"Plug 01","name":"Plug3","state":{"alert":"none","on":false,"reachable":true},"swversion":"V1.04.12","type":"On/Off plug-in unit","uniqueid":"7c:b0:3e:aa:00:ad:3e:d6-03"},"5":{"etag":"005b16f73342226dbd8c5a4d6e0cf681","hascolor":false,"manufacturername":"OSRAM","modelid":"Plug 01","name":"Plug4","state":{"alert":"none","on":false,"reachable":true},"swversion":"V1.04.12","type":"On/Off plug-in unit","uniqueid":"7c:b0:3e:aa:00:ad:1a:3f-03"}} 2018-08-01 16:37:00.545 - debug: deconz.0 getAllSensors: {"1":{"config":{"configured":true,"on":true,"sunriseoffset":30,"sunsetoffset":-30},"etag":"9114d4ecec5cf33ad47aa8fdfc5d1074","manufacturername":"Philips","modelid":"PHDL00","name":"Daylight","state":{"dark":false,"daylight":true,"lastupdated":"2018-08-01T13:58:01","status":170},"swversion":"1.0","type":"Daylight","uniqueid":"00:21:2e:ff:ff:01:3e:51-01"},"10":{"config":{"on":true,"reachable":false},"ep":3,"etag":"22096ccd35318095bd63a2435959fa20","manufacturername":"OSRAM","modelid":"Plug 01","name":"Power 10","state":{"lastupdated":"2018-07-31T22:45:48","power":0},"swversion":"V1.04.12","type":"ZHAPower","uniqueid":"7c:b0:3e:aa:00:a7:7e:71-03-0b04"},"11":{"config":{"on":true,"reachable":true},"ep":3,"etag":"314e195c23c7b142062a7e341e16df83","manufacturername":"OSRAM","modelid":"Plug 01","name":"Power 11","state":{"lastupdated":"2018-08-01T14:36:39","power":0},"swversion":"V1.04.12","type":"ZHAPower","uniqueid":"7c:b0:3e:aa:00:ad:3e:d6-03-0b04"},"12":{"config":{"on":true,"reachable":true},"ep":3,"etag":"b6611b451f93ce8ea72de502fcd430ad","manufacturername":"OSRAM","modelid":"Plug 01","name":"Power 12","state":{"lastupdated":"2018-08-01T14:36:45","power":0},"swversion":"V1.04.12","type":"ZHAPower","uniqueid":"7c:b0:3e:aa:00:ad:1a:3f-03-0b04"},"13":{"config":{"battery":91,"offset":0,"on":true,"reachable":true},"ep":1,"etag":"d45f011f1392e6e946ecf6cd48a4fe2d","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor1","state":{"lastupdated":"2018-08-01T14:08:20","temperature":2731},"type":"ZHATemperature","uniqueid":"00:15:8d:00:01:f2:3d:52-01-0402"},"14":{"config":{"battery":91,"on":true,"reachable":true},"ep":1,"etag":"d45f011f1392e6e946ecf6cd48a4fe2d","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor1","state":{"humidity":4126,"lastupdated":"2018-08-01T14:08:20"},"type":"ZHAHumidity","uniqueid":"00:15:8d:00:01:f2:3d:52-01-0405"},"15":{"config":{"battery":91,"on":true,"reachable":true},"ep":1,"etag":"d45f011f1392e6e946ecf6cd48a4fe2d","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor1","state":{"lastupdated":"2018-08-01T14:08:20","pressure":1015},"type":"ZHAPressure","uniqueid":"00:15:8d:00:01:f2:3d:52-01-0403"},"16":{"config":{"battery":100,"on":true,"reachable":true,"temperature":3300},"ep":1,"etag":"515344668b0508bd9bb2bc4b88cb7d24","manufacturername":"LUMI","modelid":"lumi.sensor_magnet.aq2","name":"SensorDoor1","state":{"lastupdated":"2018-08-01T14:31:57","open":false},"type":"ZHAOpenClose","uniqueid":"00:15:8d:00:01:b9:7a:01-01-0006"},"2":{"config":{"on":true,"reachable":true},"ep":3,"etag":"b4b994fb5385a4d25cc085b2c6846d43","manufacturername":"OSRAM","modelid":"Plug 01","name":"Power 2","state":{"lastupdated":"2018-08-01T14:36:17","power":0},"swversion":"V1.04.12","type":"ZHAPower","uniqueid":"7c:b0:3e:aa:00:b1:a0:7d-03-0b04"},"3":{"config":{"battery":100,"offset":0,"on":true,"reachable":true},"ep":1,"etag":"e4b9ee55a968bcda76f0afedcbedfd17","manufacturername":"LUMI","modelid":"lumi.weather","name":"Temperature 3","state":{"lastupdated":"2018-08-01T14:35:48","temperature":2865},"type":"ZHATemperature","uniqueid":"00:15:8d:00:02:2c:c8:a3-01-0402"},"4":{"config":{"battery":100,"on":true,"reachable":true},"ep":1,"etag":"e4b9ee55a968bcda76f0afedcbedfd17","manufacturername":"LUMI","modelid":"lumi.weather","name":"Humidity 4","state":{"humidity":3967,"lastupdated":"2018-08-01T14:35:48"},"type":"ZHAHumidity","uniqueid":"00:15:8d:00:02:2c:c8:a3-01-0405"},"5":{"config":{"battery":98,"offset":0,"on":true,"reachable":true},"ep":1,"etag":"4b0bd540cd0ae8941469ceef0c492fb1","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor3","state":{"lastupdated":"2018-08-01T14:02:36","temperature":2600},"type":"ZHATemperature","uniqueid":"00:15:8d:00:01:f5:20:07-01-0402"},"6":{"config":{"battery":98,"on":true,"reachable":true},"ep":1,"etag":"9e3a7418a9e55c4d93a6a7ab54db1011","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor3","state":{"humidity":4915,"lastupdated":"2018-08-01T14:00:55"},"type":"ZHAHumidity","uniqueid":"00:15:8d:00:01:f5:20:07-01-0405"},"7":{"config":{"battery":98,"on":true,"reachable":true},"ep":1,"etag":"9e3a7418a9e55c4d93a6a7ab54db1011","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor3","state":{"lastupdated":"2018-08-01T14:00:55","pressure":1015},"type":"ZHAPressure","uniqueid":"00:15:8d:00:01:f5:20:07-01-0403"},"8":{"config":{"battery":100,"on":true,"reachable":true},"ep":1,"etag":"e4b9ee55a968bcda76f0afedcbedfd17","manufacturername":"LUMI","modelid":"lumi.weather","name":"Pressure 8","state":{"lastupdated":"2018-08-01T14:35:48","pressure":1014},"type":"ZHAPressure","uniqueid":"00:15:8d:00:02:2c:c8:a3-01-0403"},"9":{"config":{"battery":100,"group":"24194","on":true,"reachable":true},"ep":2,"etag":"132dbdf16d1d99f5ad2c6a4a5879a2a3","manufacturername":"Philips","mode":1,"modelid":"RWL021","name":"Dimmschalter","state":{"buttonevent":4002,"lastupdated":"2018-07-31T02:54:12"},"swversion":"5.45.1.17846","type":"ZHASwitch","uniqueid":"00:17:88:01:04:f6:d6:3e-02-fc00"}} 2018-08-01 16:37:00.574 - debug: deconz.0 getAllGroups: {"24194":{"action":{"bri":127,"colormode":"hs","ct":0,"effect":"none","hue":0,"on":false,"sat":127,"scene":null,"xy":[0,0]},"class":"Other","devicemembership":["9"],"etag":"9114d4ecec5cf33ad47aa8fdfc5d1074","hidden":false,"id":"24194","lights":[],"lightsequence":[],"multideviceids":[],"name":"RWL021 2","scenes":[],"state":{"all_on":false,"any_on":false},"type":"LightGroup"}} 2018-08-01 16:37:00.777 - debug: deconz.0 getGroupAttributes: {"action":{"bri":127,"colormode":"hs","ct":0,"effect":"none","hue":0,"on":false,"sat":127,"scene":null,"xy":[0,0]},"class":"Other","devicemembership":["9"],"etag":"9114d4ecec5cf33ad47aa8fdfc5d1074","hidden":false,"id":"24194","lights":[],"lightsequence":[],"multideviceids":[],"name":"RWL021 2","scenes":[],"state":{"all_on":false,"any_on":false},"type":"LightGroup"} 2018-08-01 16:37:14.612 - debug: deconz.0 system.adapter.admin.0: logging false 2018-08-01 16:37:17.169 - debug: deconz.0 Websocket message: {"config":{"battery":100,"offset":0,"on":true,"reachable":true},"e":"changed","id":"22","r":"sensors","t":"event"} 2018-08-01 16:37:17.178 - debug: deconz.0 Websocket message: {"e":"changed","id":"22","r":"sensors","state":{"lastupdated":"2018-08-01T14:37:17","temperature":2904},"t":"event"} 2018-08-01 16:37:17.186 - debug: deconz.0 Websocket message: {"config":{"battery":100,"on":true,"reachable":true},"e":"changed","id":"23","r":"sensors","t":"event"} 2018-08-01 16:37:17.189 - debug: deconz.0 Websocket message: {"e":"changed","id":"23","r":"sensors","state":{"humidity":4456,"lastupdated":"2018-08-01T14:37:17"},"t":"event"} 2018-08-01 16:37:17.192 - debug: deconz.0 Websocket message: {"config":{"battery":100,"on":true,"reachable":true},"e":"changed","id":"24","r":"sensors","t":"event"} 2018-08-01 16:37:17.194 - debug: deconz.0 Websocket message: {"e":"changed","id":"24","r":"sensors","state":{"lastupdated":"2018-08-01T14:37:17","pressure":1014},"t":"event"} 2018-08-01 16:37:17.195 - debug: deconz.0 Websocket message: {"config":{"battery":100,"offset":0,"on":true,"reachable":true},"e":"changed","id":"3","r":"sensors","t":"event"} 2018-08-01 16:37:17.197 - debug: deconz.0 Websocket message: {"e":"changed","id":"3","r":"sensors","state":{"lastupdated":"2018-08-01T14:37:17","temperature":2904},"t":"event"} 2018-08-01 16:37:17.217 - debug: deconz.0 Websocket message: {"config":{"battery":100,"on":true,"reachable":true},"e":"changed","id":"4","r":"sensors","t":"event"} 2018-08-01 16:37:17.219 - debug: deconz.0 Websocket message: {"e":"changed","id":"4","r":"sensors","state":{"humidity":4456,"lastupdated":"2018-08-01T14:37:17"},"t":"event"} 2018-08-01 16:37:17.221 - debug: deconz.0 Websocket message: {"config":{"battery":100,"on":true,"reachable":true},"e":"changed","id":"8","r":"sensors","t":"event"} 2018-08-01 16:37:17.223 - debug: deconz.0 Websocket message: {"e":"changed","id":"8","r":"sensors","state":{"lastupdated":"2018-08-01T14:37:17","pressure":1014},"t":"event"} 2018-08-01 16:37:17.511 - debug: deconz.0 Websocket message: {"e":"changed","id":"2","r":"sensors","state":{"lastupdated":"2018-08-01T14:37:17","power":0},"t":"event"} 2018-08-01 16:37:21.526 - debug: deconz.0 Websocket message: {"e":"changed","id":"2","r":"sensors","state":{"lastupdated":"2018-08-01T14:37:21","power":0},"t":"event"} 2018-08-01 16:37:25.542 - debug: deconz.0 Websocket message: {"e":"changed","id":"11","r":"sensors","state":{"lastupdated":"2018-08-01T14:37:25","power":0},"t":"event"} 2018-08-01 16:37:27.420 - debug: deconz.0 Websocket message: {"e":"changed","id":"3","r":"sensors","state":{"lastupdated":"2018-08-01T14:37:27","temperature":2947},"t":"event"} 2018-08-01 16:37:27.451 - debug: deconz.0 Websocket message: {"e":"changed","id":"4","r":"sensors","state":{"humidity":5028,"lastupdated":"2018-08-01T14:37:27"},"t":"event"} 2018-08-01 16:37:27.464 - debug: deconz.0 Websocket message: {"e":"changed","id":"8","r":"sensors","state":{"lastupdated":"2018-08-01T14:37:27","pressure":1014},"t":"event"} 2018-08-01 16:37:37.679 - debug: deconz.0 Websocket message: {"e":"changed","id":"3","r":"sensors","state":{"lastupdated":"2018-08-01T14:37:37","temperature":2943},"t":"event"} 2018-08-01 16:37:37.704 - debug: deconz.0 Websocket message: {"e":"changed","id":"4","r":"sensors","state":{"humidity":4101,"lastupdated":"2018-08-01T14:37:37"},"t":"event"} 2018-08-01 16:37:37.736 - debug: deconz.0 Websocket message: {"e":"changed","id":"8","r":"sensors","state":{"lastupdated":"2018-08-01T14:37:37","pressure":1014},"t":"event"} 2018-08-01 16:37:40.514 - debug: deconz.0 Websocket message: {"e":"changed","id":"2","r":"sensors","state":{"lastupdated":"2018-08-01T14:37:40","power":0},"t":"event"} 2018-08-01 16:37:52.575 - debug: deconz.0 Websocket message: {"e":"changed","id":"12","r":"sensors","state":{"lastupdated":"2018-08-01T14:37:52","power":0},"t":"event"} 2018-08-01 16:37:56.510 - debug: deconz.0 Websocket message: {"e":"changed","id":"2","r":"sensors","state":{"lastupdated":"2018-08-01T14:37:56","power":0},"t":"event"} 2018-08-01 16:38:00.538 - debug: deconz.0 Websocket message: {"e":"changed","id":"11","r":"sensors","state":{"lastupdated":"2018-08-01T14:38:00","power":0},"t":"event"} 2018-08-01 16:38:20.527 - debug: deconz.0 Websocket message: {"e":"changed","id":"2","r":"sensors","state":{"lastupdated":"2018-08-01T14:38:20","power":0},"t":"event"} 2018-08-01 16:38:35.605 - debug: deconz.0 Websocket message: {"e":"changed","id":"12","r":"sensors","state":{"lastupdated":"2018-08-01T14:38:35","power":0},"t":"event"} 2018-08-01 16:38:41.745 - debug: deconz.0 Websocket message: {"config":{"on":true,"reachable":false},"e":"changed","id":"10","r":"sensors","t":"event"} 2018-08-01 16:38:42.516 - debug: deconz.0 Websocket message: {"e":"changed","id":"2","r":"sensors","state":{"lastupdated":"2018-08-01T14:38:42","power":0},"t":"event"} 2018-08-01 16:38:47.565 - debug: deconz.0 Websocket message: {"e":"changed","id":"11","r":"sensors","state":{"lastupdated":"2018-08-01T14:38:47","power":0},"t":"event"} 2018-08-01 16:39:02.512 - debug: deconz.0 Websocket message: {"e":"changed","id":"2","r":"sensors","state":{"lastupdated":"2018-08-01T14:39:02","power":0},"t":"event"} 2018-08-01 16:39:20.584 - debug: deconz.0 Websocket message: {"e":"changed","id":"12","r":"sensors","state":{"lastupdated":"2018-08-01T14:39:20","power":0},"t":"event"} 2018-08-01 16:39:24.513 - debug: deconz.0 Websocket message: {"e":"changed","id":"2","r":"sensors","state":{"lastupdated":"2018-08-01T14:39:24","power":0},"t":"event"} 2018-08-01 16:39:27.438 - debug: deconz.0 Websocket message: {"e":"changed","id":"13","r":"sensors","state":{"lastupdated":"2018-08-01T14:39:27","temperature":2731},"t":"event"} 2018-08-01 16:39:27.480 - debug: deconz.0 Websocket message: {"e":"changed","id":"14","r":"sensors","state":{"humidity":4033,"lastupdated":"2018-08-01T14:39:27"},"t":"event"} 2018-08-01 16:39:27.501 - debug: deconz.0 Websocket message: {"e":"changed","id":"15","r":"sensors","state":{"lastupdated":"2018-08-01T14:39:27","pressure":1015},"t":"event"} 2018-08-01 16:39:30.563 - debug: deconz.0 Websocket message: {"e":"changed","id":"11","r":"sensors","state":{"lastupdated":"2018-08-01T14:39:30","power":0},"t":"event"} 2018-08-01 16:39:49.566 - debug: deconz.0 Websocket message: {"e":"changed","id":"11","r":"sensors","state":{"lastupdated":"2018-08-01T14:39:49","power":0},"t":"event"} 2018-08-01 16:39:54.564 - debug: deconz.0 Websocket message: {"e":"changed","id":"12","r":"sensors","state":{"lastupdated":"2018-08-01T14:39:54","power":0},"t":"event"} 2018-08-01 16:40:04.569 - debug: deconz.0 Websocket message: {"e":"changed","id":"12","r":"sensors","state":{"lastupdated":"2018-08-01T14:40:04","power":0},"t":"event"} 2018-08-01 16:40:08.516 - debug: deconz.0 Websocket message: {"e":"changed","id":"2","r":"sensors","state":{"lastupdated":"2018-08-01T14:40:08","power":0},"t":"event"} 2018-08-01 16:40:14.570 - debug: deconz.0 Websocket message: {"e":"changed","id":"11","r":"sensors","state":{"lastupdated":"2018-08-01T14:40:14","power":0},"t":"event"} 2018-08-01 16:40:20.586 - debug: deconz.0 Websocket message: {"e":"changed","id":"12","r":"sensors","state":{"lastupdated":"2018-08-01T14:40:20","power":0},"t":"event"} 2018-08-01 16:40:21.963 - debug: deconz.0 system.adapter.admin.0: logging true 2018-08-01 16:40:41.563 - debug: deconz.0 Websocket message: {"e":"changed","id":"11","r":"sensors","state":{"lastupdated":"2018-08-01T14:40:41","power":0},"t":"event"}
Umbenennung in Phoscon und löschen aller deconz Objekte in der Objekt-Ansicht des iobroker admin. Danach Neustart des Adapters.
Sensor funktioniert unter neuen Namen: "Sensor2" (ID 3-4-8) . Nach der ersten Werteänderung wieder 3 neue Sensoren (ID 22-23-24).
undefined2018-08-01 16:43:50.517 - debug: deconz.0 Websocket message: {"e":"changed","id":"2","r":"sensors","state":{"lastupdated":"2018-08-01T14:43:50","power":0},"t":"event"} 2018-08-01 16:43:55.559 - debug: deconz.0 Websocket message: {"e":"changed","id":"11","r":"sensors","state":{"lastupdated":"2018-08-01T14:43:55","power":0},"t":"event"} 2018-08-01 16:44:00.582 - debug: deconz.0 Websocket message: {"e":"changed","id":"12","r":"sensors","state":{"lastupdated":"2018-08-01T14:44:00","power":0},"t":"event"} 2018-08-01 16:44:01.285 - debug: deconz.0 Websocket message: {"e":"changed","id":"3","name":"Sensor2","r":"sensors","t":"event"} 2018-08-01 16:44:01.294 - debug: deconz.0 Websocket message: {"e":"changed","id":"4","name":"Sensor2","r":"sensors","t":"event"} 2018-08-01 16:44:01.299 - debug: deconz.0 Websocket message: {"e":"changed","id":"8","name":"Sensor2","r":"sensors","t":"event"} 2018-08-01 16:44:24.267 - debug: deconz.0 system.adapter.admin.0: logging false 2018-08-01 16:44:28.409 - info: host.raspi2 object change system.adapter.deconz.0 2018-08-01 16:44:28.410 - info: host.raspi2 stopInstance system.adapter.deconz.0 2018-08-01 16:44:28.411 - info: host.raspi2 stopInstance system.adapter.deconz.0 killing pid 16747 2018-08-01 16:44:28.436 - info: yahka.0 objectChange system.adapter.deconz.0 {"_id":"system.adapter.deconz.0","type":"instance","common":{"name":"deconz","version":"0.2.0","news":{"0.2.1":{"en":"Added new elements to config; Changed some small things","de":"Neue Elemente zur Konfiguration hinzugefügt; Einige kleine Dinge geändert","ru":"Добавлены новые элементы в config; Изменены некоторые мелочи","pt":"Adicionado novos elementos à configuração; Mudou algumas pequenas coisas","nl":"Nieuwe elementen toegevoegd aan config; Een paar kleine dingen veranderd","fr":"Ajout de nouveaux éléments à config; Changé quelques petites choses","it":"Aggiunti nuovi elementi alla configurazione; Cambiato alcune piccole cose","es":"Se agregaron nuevos elementos a config; Cambió algunas cosas pequeñas","pl":"Dodano nowe elementy do konfiguracji; Zmieniono kilka małych rzeczy"},"0.2.0":{"en":"next Try with Xiaomi Sensors; Added \"pressure\" sensor; Added create group to adapter config;","de":"nächster Versuch mit Xiaomi Sensoren; Hinzugefügt \"Druck\" -Sensor; Gruppe zu Adapterkonfiguration hinzugefügt hinzugefügt;","ru":"следующее Попробуйте с датчиками Xiaomi; Добавлен датчик давления; Добавлена возможность создания группы в конфигурацию адаптера;","pt":"next Experimente com o Xiaomi Sensors; Adicionado sensor de \"pressão\"; Adicionado criar grupo para configuração do adaptador;","nl":"volgende Probeer met Xiaomi-sensoren; Toegevoegd \"druk\" sensor; Groep toevoegen aan adapterconfiguratie toegevoegd;","fr":"suivant Essayez avec Xiaomi Sensors; Ajout d'un capteur \"pression\" Ajout du groupe de création à la configuration de l'adaptateur;","it":"avanti Prova con Xiaomi Sensors; Aggiunto sensore \"pressione\"; Aggiunto creare un gruppo per la configurazione dell'adattatore;","es":"Siguiente Prueba con Xiaomi Sensors; Sensor de \"presión\" agregado; Se agregó crear grupo a la configuración del adaptador;","pl":"dalej Wypróbuj Xiaomi Sensors; Dodano czujnik \"ciśnienia\"; Dodano tworzenie grupy do konfiguracji adaptera;"},"0.1.7":{"en":"add possibility to delete devices from deConz; fix issue on getAll... functions when there are is nothing;","de":"Möglichkeit hinzufügen, Geräte von deConz zu löschen; Problem beheben bei getAll ... Funktionen, wenn es nichts gibt;","ru":"добавить возможность удаления устройств из deConz; исправить проблему на getAll ... функции, когда есть ничего;","pt":"adicionar possibilidade de excluir dispositivos de deConz; corrigir problema em funções getAll ... quando não há nada;","nl":"mogelijkheid toevoegen om apparaten van deConz te verwijderen; probleem oplossen op getAll ... functies wanneer er niets is;","fr":"ajouter la possibilité de supprimer des périphériques de deConz; résoudre le problème sur getAll ... fonctions quand il n'y a rien;","it":"aggiungere la possibilità di eliminare i dispositivi da DeConz; risolvere il problema su getAll ... funzioni quando non ci sono nulla;","es":"agregar la posibilidad de eliminar dispositivos de deConz; soluciona el problema en las funciones getAll ... cuando no hay nada;","pl":"dodaj możliwość usunięcia urządzeń z deConz; Napraw problem na getAll ... funkcje, gdy nie ma nic;"},"0.1.6":{"en":"fix Xiaomi Sensor recognition","de":"Xiaomi Sensorerkennung beheben","ru":"исправить распознавание датчика Xiaomi","pt":"conserte o reconhecimento do sensor Xiaomi","nl":"fix Xiaomi sensorherkenning","fr":"Correction de la reconnaissance du capteur Xiaomi","it":"correggere il riconoscimento del sensore Xiaomi","es":"arreglar el reconocimiento del sensor Xiaomi","pl":"naprawić rozpoznawanie czujnika Xiaomi"},"0.1.5":{"en":"Try to fix Sensors","de":"Versuchen Sie, Sensoren zu reparieren","ru":"Попробуйте исправить датчики","pt":"Tente corrigir os sensores","nl":"Probeer sensoren te repareren","fr":"Essayez de réparer les capteurs","it":"Prova a sistemare i sensori","es":"Intenta reparar los sensores","pl":"Spróbuj naprawić czujniki"},"0.1.4":{"en":"Added support for Admin v3","de":"Unterstützung für Admin v3 hinzugefügt","ru":"Добавлена поддержка Admin v3","pt":"Adicionado suporte para Admin v3","nl":"Ondersteuning toegevoegd voor Admin v3","fr":"Ajout du support pour Admin v3","it":"Aggiunto supporto per Admin v3","es":"Se agregó soporte para Admin v3","pl":"Dodano obsługę administratora v3"},"0.1.3":{"en":"Stop Spam in log; Added filter for name to id conversation","de":"Stoppen Sie Spam im Protokoll; Filter für Name zu ID-Konversation hinzugefügt","ru":"Остановить спам в журнале; Добавлен фильтр для диалога id в id","pt":"Pare Spam no log; Filtro adicionado para o nome para id conversação","nl":"Stop Spam in het logboek; Filter toegevoegd voor naam- en id-conversatie","fr":"Arrêter le spam dans le journal; Filtre ajouté pour le nom à la conversation d'identification","it":"Interrompi spam nel registro; Aggiunto filtro per il nome alla conversazione id","es":"Detener el spam en el registro; Filtro agregado para el nombre de la conversación de id.","pl":"Zatrzymaj spam w dzienniku; Dodano filtr do konwersacji nazw do ID"},"0.1.2":{"en":"Added new datapoints for sensors (experimental)","de":"Neue Datenpunkte für Sensoren hinzugefügt (Experimentell)","ru":"Добавлены новые точки данных для датчиков (Experimental)"},"0.1.1":{"en":"Complete adapter rewritten","de":"Adapter Vollständig neu geschrieben","ru":"Полный адаптер переписан"},"0.1.0":{"en":"alpha version","de":"alpha version","ru":"альфа-версия"}},"title":"deConz ZigBee","titleLang":{"en":"deConz ZigBee","de":"deConz ZigBee","ru":"deConz ZigBee","pt":"deConz ZigBee","nl":"deConz ZigBee","fr":"deConz ZigBee","it":"deConz ZigBee","es":"deConz ZigBee","pl":"deConz ZigBee"},"desc":{"en":"Connects to the deConz Software that is an gateway solution for ZigBee. deConz works with ConBee USB stick and RaspBee modul for Raspberry Pi which is also from Dresden-Elektronik.","de":"Verbindet sich mit der deConz-Software, die eine Gateway-Lösung für ZigBee ist. deConz arbeitet mit dem ConBee USB Stick und dem RaspBee Modul für den Raspberry Pi, die ebenfalls von Dresden-Elektronik sind.","ru":"Подключается к программному обеспечению deConz, которое является шлюзовым решением для ZigBee. deConz работает с ConBee и RaspBee, который также из Дрездена-Электроника.","pt":"Conecta ao software deConz que é uma solução de gateway para o ZigBee. DeConz trabalha com o conwee USB stick e RaspBee modul para Raspberry Pi que também é de Dresden-Elektronik.","nl":"Maakt verbinding met de deConz-software die een gateway-oplossing is voor ZigBee. deConz werkt met ConBee USB-stick en RaspBee-module voor Raspberry Pi, die ook van Dresden-Elektronik is.","fr":"Se connecte au logiciel deConz qui est une solution de passerelle pour ZigBee. deConz fonctionne avec la clé USB ConBee et le module RaspBee pour Raspberry Pi, également de Dresden-Elektronik.","it":"Si collega al software deConz che è una soluzione gateway per ZigBee. deConz funziona con ConBee USB stick e RaspBee modul per Raspberry Pi, anch'esso di Dresden-Elektronik.","es":"Se conecta al software deConz que es una solución de puerta de enlace para ZigBee. deConz funciona con el dispositivo USB ConBee y el módulo RaspBee para Raspberry Pi, que también es de Dresden-Elektronik.","pl":"Łączy się z oprogramowaniem deConz, które jest rozwiązaniem bramkowym dla ZigBee. deConz współpracuje z pamięcią USB ConBee i modułem RaspBee dla Raspberry Pi, który jest również z firmy Dresden-Elektronik."},"authors":["Jey Cee "],"license":"Apache 2.0","platform":"Javascript/Node.js","mode":"daemon","messagebox":true,"enabled":true,"readme":"https://github.com/jey-cee/ioBroker.deconz/blob/master/README.md","loglevel":"debug","keywords":["deconz","philips","tradfri","lightify","dresden-elektronik","hue","led","rgb","smartlink","zigbee"],"icon":"deconz.png","materialize":true,"extIcon":"https://raw.githubusercontent.com/jey-cee/ioBroker.deconz/master/admin/deconz.png","type":"hardware","installedVersion":"0.2.0","host":"raspi2"},"native":{"bridge":"127.0.0.1","port":"8080","user":"660A8C71E2","polling":true,"pollingInterval":30,"openNetwork":false,"websocketport":443,"sw_version":"2.5.32","channel":"1","api_version":"1.0.9","permit":"60","gw_name":"dummy","group_name":""},"from":"system.adapter.admin.0","ts":1533134668393,"acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} 2018-08-01 16:44:28.924 - info: deconz.0 terminating 2018-08-01 16:44:28.950 - info: host.raspi2 instance system.adapter.deconz.0 terminated with code 0 (OK) 2018-08-01 16:44:30.930 - info: host.raspi2 instance system.adapter.deconz.0 started with pid 20089 2018-08-01 16:44:32.470 - debug: deconz.0 objectDB connected 2018-08-01 16:44:32.534 - debug: deconz.0 statesDB connected 2018-08-01 16:44:32.646 - info: deconz.0 starting. Version 0.2.2 in /opt/iobroker/node_modules/iobroker.deconz, node: v8.11.3 2018-08-01 16:44:32.691 - debug: deconz.0 API version: 1.0.9 2018-08-01 16:44:32.729 - debug: deconz.0 getAllLights: {"1":{"ctmax":454,"ctmin":250,"etag":"f34525ab6743b572c04a036c8b1d027c","hascolor":true,"manufacturername":"IKEA of Sweden","modelid":"TRADFRI bulb E14 WS opal 400lm","name":"TradfriE14","state":{"alert":"none","bri":1,"colormode":"ct","ct":454,"on":false,"reachable":true},"swversion":"1.2.217","type":"Color temperature light","uniqueid":"90:fd:9f:ff:fe:8a:31:88-01"},"2":{"etag":"ca3902ccd5759a5ab0ff6c689a73eb51","hascolor":false,"manufacturername":"OSRAM","modelid":"Plug 01","name":"Plug2","state":{"alert":"none","on":false,"reachable":true},"swversion":"V1.04.12","type":"On/Off plug-in unit","uniqueid":"7c:b0:3e:aa:00:b1:a0:7d-03"},"4":{"etag":"26c0aa793ba4700c4acf490c0fadfbd6","hascolor":false,"manufacturername":"OSRAM","modelid":"Plug 01","name":"Plug3","state":{"alert":"none","on":false,"reachable":true},"swversion":"V1.04.12","type":"On/Off plug-in unit","uniqueid":"7c:b0:3e:aa:00:ad:3e:d6-03"},"5":{"etag":"005b16f73342226dbd8c5a4d6e0cf681","hascolor":false,"manufacturername":"OSRAM","modelid":"Plug 01","name":"Plug4","state":{"alert":"none","on":false,"reachable":true},"swversion":"V1.04.12","type":"On/Off plug-in unit","uniqueid":"7c:b0:3e:aa:00:ad:1a:3f-03"}} 2018-08-01 16:44:32.768 - debug: deconz.0 getAllSensors: {"1":{"config":{"configured":true,"on":true,"sunriseoffset":30,"sunsetoffset":-30},"etag":"9114d4ecec5cf33ad47aa8fdfc5d1074","manufacturername":"Philips","modelid":"PHDL00","name":"Daylight","state":{"dark":false,"daylight":true,"lastupdated":"2018-08-01T13:58:01","status":170},"swversion":"1.0","type":"Daylight","uniqueid":"00:21:2e:ff:ff:01:3e:51-01"},"10":{"config":{"on":true,"reachable":false},"ep":3,"etag":"aa4d99e15dd98bbd85672239a92f0712","manufacturername":"OSRAM","modelid":"Plug 01","name":"Power 10","state":{"lastupdated":"2018-07-31T22:45:48","power":0},"swversion":"V1.04.12","type":"ZHAPower","uniqueid":"7c:b0:3e:aa:00:a7:7e:71-03-0b04"},"11":{"config":{"on":true,"reachable":true},"ep":3,"etag":"4f48fd5be65591b0659e11da5f5cf27f","manufacturername":"OSRAM","modelid":"Plug 01","name":"Power 11","state":{"lastupdated":"2018-08-01T14:43:55","power":0},"swversion":"V1.04.12","type":"ZHAPower","uniqueid":"7c:b0:3e:aa:00:ad:3e:d6-03-0b04"},"12":{"config":{"on":true,"reachable":true},"ep":3,"etag":"8ffcf2c4ed66c97a693f195a353dc0a0","manufacturername":"OSRAM","modelid":"Plug 01","name":"Power 12","state":{"lastupdated":"2018-08-01T14:44:00","power":0},"swversion":"V1.04.12","type":"ZHAPower","uniqueid":"7c:b0:3e:aa:00:ad:1a:3f-03-0b04"},"13":{"config":{"battery":91,"offset":0,"on":true,"reachable":true},"ep":1,"etag":"809bcd1dc67f07b1a0877aaddb6d6962","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor1","state":{"lastupdated":"2018-08-01T14:39:27","temperature":2731},"type":"ZHATemperature","uniqueid":"00:15:8d:00:01:f2:3d:52-01-0402"},"14":{"config":{"battery":91,"on":true,"reachable":true},"ep":1,"etag":"809bcd1dc67f07b1a0877aaddb6d6962","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor1","state":{"humidity":4033,"lastupdated":"2018-08-01T14:39:27"},"type":"ZHAHumidity","uniqueid":"00:15:8d:00:01:f2:3d:52-01-0405"},"15":{"config":{"battery":91,"on":true,"reachable":true},"ep":1,"etag":"809bcd1dc67f07b1a0877aaddb6d6962","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor1","state":{"lastupdated":"2018-08-01T14:39:27","pressure":1015},"type":"ZHAPressure","uniqueid":"00:15:8d:00:01:f2:3d:52-01-0403"},"16":{"config":{"battery":100,"on":true,"reachable":true,"temperature":3300},"ep":1,"etag":"515344668b0508bd9bb2bc4b88cb7d24","manufacturername":"LUMI","modelid":"lumi.sensor_magnet.aq2","name":"SensorDoor1","state":{"lastupdated":"2018-08-01T14:31:57","open":false},"type":"ZHAOpenClose","uniqueid":"00:15:8d:00:01:b9:7a:01-01-0006"},"2":{"config":{"on":true,"reachable":true},"ep":3,"etag":"ef5d6227fd84eca7adbfb245a9a770dc","manufacturername":"OSRAM","modelid":"Plug 01","name":"Power 2","state":{"lastupdated":"2018-08-01T14:43:50","power":0},"swversion":"V1.04.12","type":"ZHAPower","uniqueid":"7c:b0:3e:aa:00:b1:a0:7d-03-0b04"},"3":{"config":{"battery":100,"offset":0,"on":true,"reachable":true},"ep":1,"etag":"682901eeceeb7d871e26ec1bcf25d1c7","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor2","state":{"lastupdated":"2018-08-01T14:41:18","temperature":2892},"type":"ZHATemperature","uniqueid":"00:15:8d:00:02:2c:c8:a3-01-0402"},"4":{"config":{"battery":100,"on":true,"reachable":true},"ep":1,"etag":"682901eeceeb7d871e26ec1bcf25d1c7","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor2","state":{"humidity":4007,"lastupdated":"2018-08-01T14:41:18"},"type":"ZHAHumidity","uniqueid":"00:15:8d:00:02:2c:c8:a3-01-0405"},"5":{"config":{"battery":98,"offset":0,"on":true,"reachable":true},"ep":1,"etag":"4b0bd540cd0ae8941469ceef0c492fb1","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor3","state":{"lastupdated":"2018-08-01T14:02:36","temperature":2600},"type":"ZHATemperature","uniqueid":"00:15:8d:00:01:f5:20:07-01-0402"},"6":{"config":{"battery":98,"on":true,"reachable":true},"ep":1,"etag":"9e3a7418a9e55c4d93a6a7ab54db1011","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor3","state":{"humidity":4915,"lastupdated":"2018-08-01T14:00:55"},"type":"ZHAHumidity","uniqueid":"00:15:8d:00:01:f5:20:07-01-0405"},"7":{"config":{"battery":98,"on":true,"reachable":true},"ep":1,"etag":"9e3a7418a9e55c4d93a6a7ab54db1011","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor3","state":{"lastupdated":"2018-08-01T14:00:55","pressure":1015},"type":"ZHAPressure","uniqueid":"00:15:8d:00:01:f5:20:07-01-0403"},"8":{"config":{"battery":100,"on":true,"reachable":true},"ep":1,"etag":"682901eeceeb7d871e26ec1bcf25d1c7","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor2","state":{"lastupdated":"2018-08-01T14:41:18","pressure":1014},"type":"ZHAPressure","uniqueid":"00:15:8d:00:02:2c:c8:a3-01-0403"},"9":{"config":{"battery":100,"group":"24194","on":true,"reachable":true},"ep":2,"etag":"65d4dd8152ddcb0fd317fe52f9d1ad02","manufacturername":"Philips","mode":1,"modelid":"RWL021","name":"Dimmschalter","state":{"buttonevent":4002,"lastupdated":"2018-07-31T02:54:12"},"swversion":"5.45.1.17846","type":"ZHASwitch","uniqueid":"00:17:88:01:04:f6:d6:3e-02-fc00"}} 2018-08-01 16:44:32.802 - debug: deconz.0 getAllGroups: {"24194":{"action":{"bri":127,"colormode":"hs","ct":0,"effect":"none","hue":0,"on":false,"sat":127,"scene":null,"xy":[0,0]},"class":"Other","devicemembership":["9"],"etag":"9114d4ecec5cf33ad47aa8fdfc5d1074","hidden":false,"id":"24194","lights":[],"lightsequence":[],"multideviceids":[],"name":"RWL021 2","scenes":[],"state":{"all_on":false,"any_on":false},"type":"LightGroup"}} 2018-08-01 16:44:32.972 - debug: deconz.0 getGroupAttributes: {"action":{"bri":127,"colormode":"hs","ct":0,"effect":"none","hue":0,"on":false,"sat":127,"scene":null,"xy":[0,0]},"class":"Other","devicemembership":["9"],"etag":"9114d4ecec5cf33ad47aa8fdfc5d1074","hidden":false,"id":"24194","lights":[],"lightsequence":[],"multideviceids":[],"name":"RWL021 2","scenes":[],"state":{"all_on":false,"any_on":false},"type":"LightGroup"} 2018-08-01 16:44:54.589 - debug: deconz.0 Websocket message: {"e":"changed","id":"12","r":"sensors","state":{"lastupdated":"2018-08-01T14:44:54","power":0},"t":"event"} 2018-08-01 16:45:00.527 - debug: deconz.0 Websocket message: {"e":"changed","id":"2","r":"sensors","state":{"lastupdated":"2018-08-01T14:45:00","power":0},"t":"event"} 2018-08-01 16:45:05.561 - debug: deconz.0 Websocket message: {"e":"changed","id":"11","r":"sensors","state":{"lastupdated":"2018-08-01T14:45:05","power":0},"t":"event"} 2018-08-01 16:45:10.573 - debug: deconz.0 Websocket message: {"e":"changed","id":"12","r":"sensors","state":{"lastupdated":"2018-08-01T14:45:10","power":0},"t":"event"} 2018-08-01 16:45:31.547 - debug: deconz.0 Websocket message: {"e":"changed","id":"11","r":"sensors","state":{"lastupdated":"2018-08-01T14:45:31","power":0},"t":"event"} 2018-08-01 16:45:35.607 - debug: deconz.0 Websocket message: {"e":"changed","id":"12","r":"sensors","state":{"lastupdated":"2018-08-01T14:45:35","power":0},"t":"event"} 2018-08-01 16:45:46.595 - debug: deconz.0 Websocket message: {"e":"changed","id":"12","r":"sensors","state":{"lastupdated":"2018-08-01T14:45:46","power":0},"t":"event"} 2018-08-01 16:45:52.511 - debug: deconz.0 Websocket message: {"e":"changed","id":"2","r":"sensors","state":{"lastupdated":"2018-08-01T14:45:52","power":0},"t":"event"} 2018-08-01 16:46:03.395 - debug: deconz.0 system.adapter.admin.0: logging true 2018-08-01 16:46:05.573 - debug: deconz.0 Websocket message: {"e":"changed","id":"12","r":"sensors","state":{"lastupdated":"2018-08-01T14:46:05","power":0},"t":"event"} 2018-08-01 16:46:12.550 - debug: deconz.0 Websocket message: {"config":{"battery":100,"offset":0,"on":true,"reachable":true},"e":"changed","id":"22","r":"sensors","t":"event"} 2018-08-01 16:46:12.560 - debug: deconz.0 Websocket message: {"e":"changed","id":"22","r":"sensors","state":{"lastupdated":"2018-08-01T14:46:12","temperature":2879},"t":"event"} 2018-08-01 16:46:12.564 - debug: deconz.0 Websocket message: {"config":{"battery":100,"on":true,"reachable":true},"e":"changed","id":"23","r":"sensors","t":"event"} 2018-08-01 16:46:12.567 - debug: deconz.0 Websocket message: {"e":"changed","id":"23","r":"sensors","state":{"humidity":3974,"lastupdated":"2018-08-01T14:46:12"},"t":"event"} 2018-08-01 16:46:12.586 - debug: deconz.0 Websocket message: {"config":{"battery":100,"on":true,"reachable":true},"e":"changed","id":"24","r":"sensors","t":"event"} 2018-08-01 16:46:12.589 - debug: deconz.0 Websocket message: {"e":"changed","id":"24","r":"sensors","state":{"lastupdated":"2018-08-01T14:46:12","pressure":1014},"t":"event"} 2018-08-01 16:46:12.592 - debug: deconz.0 Websocket message: {"config":{"battery":100,"offset":0,"on":true,"reachable":true},"e":"changed","id":"3","r":"sensors","t":"event"} 2018-08-01 16:46:12.594 - debug: deconz.0 Websocket message: {"e":"changed","id":"3","r":"sensors","state":{"lastupdated":"2018-08-01T14:46:12","temperature":2879},"t":"event"} 2018-08-01 16:46:12.595 - debug: deconz.0 Websocket message: {"config":{"battery":100,"on":true,"reachable":true},"e":"changed","id":"4","r":"sensors","t":"event"} 2018-08-01 16:46:12.597 - debug: deconz.0 Websocket message: {"e":"changed","id":"4","r":"sensors","state":{"humidity":3974,"lastupdated":"2018-08-01T14:46:12"},"t":"event"} 2018-08-01 16:46:12.599 - debug: deconz.0 Websocket message: {"config":{"battery":100,"on":true,"reachable":true},"e":"changed","id":"8","r":"sensors","t":"event"} 2018-08-01 16:46:12.634 - debug: deconz.0 Websocket message: {"e":"changed","id":"8","r":"sensors","state":{"lastupdated":"2018-08-01T14:46:12","pressure":1014},"t":"event"} 2018-08-01 16:46:15.722 - debug: deconz.0 system.adapter.admin.0: logging false 2018-08-01 16:46:30.586 - debug: deconz.0 Websocket message: {"e":"changed","id":"11","r":"sensors","state":{"lastupdated":"2018-08-01T14:46:30","power":0},"t":"event"} 2018-08-01 16:46:34.563 - debug: deconz.0 Websocket message: {"e":"changed","id":"12","r":"sensors","state":{"lastupdated":"2018-08-01T14:46:34","power":0},"t":"event"} 2018-08-01 16:46:42.591 - debug: deconz.0 Websocket message: {"e":"changed","id":"12","r":"sensors","state":{"lastupdated":"2018-08-01T14:46:42","power":0},"t":"event"} 2018-08-01 16:46:46.519 - debug: deconz.0 Websocket message: {"e":"changed","id":"2","r":"sensors","state":{"lastupdated":"2018-08-01T14:46:46","power":0},"t":"event"} 2018-08-01 16:46:50.548 - debug: deconz.0 Websocket message: {"e":"changed","id":"11","r":"sensors","state":{"lastupdated":"2018-08-01T14:46:50","power":0},"t":"event"} 2018-08-01 16:46:53.789 - debug: deconz.0 system.adapter.admin.0: logging true 2018-08-01 16:46:54.628 - debug: deconz.0 Websocket message: {"e":"changed","id":"12","r":"sensors","state":{"lastupdated":"2018-08-01T14:46:54","power":0},"t":"event"}
-
Nachdem der Sensor neue Daten übermittelt hat haben sich wieder 3 neue Objekte gebildet die nur "lastupdated" beinhalten. (Sensor ID 22,23,24) ` Also die Sensoren existieren dann wohl, zumindest liefert deConz für die Sensoren Daten mit den ID's.
Ich habe jetzt eine neue Version hochgeladen damit sollten die Objekte auch angelegt werden während der Adapter läuft.
-
@Jey Cee:Nachdem der Sensor neue Daten übermittelt hat haben sich wieder 3 neue Objekte gebildet die nur "lastupdated" beinhalten. (Sensor ID 22,23,24) ` Also die Sensoren existieren dann wohl, zumindest liefert deConz für die Sensoren Daten mit den ID's.
Ich habe jetzt eine neue Version hochgeladen damit sollten die Objekte auch angelegt werden während der Adapter läuft. `
Habe Ihn gerade probiert. Der Adapter startet immer wieder neu nun. Adapter erst gelöscht dann neu hinzugefügt.
deconz 2.5.32 api 1.0.9
2018-08-02 02:39:50.822 - info: deconz.0 starting. Version 0.2.3 in /opt/iobroker/node_modules/iobroker.deconz, node: v8.11.3 2018-08-02 02:39:50.937 - debug: deconz.0 API version: 1.0.9 2018-08-02 02:39:51.012 - debug: deconz.0 getAllLights: {"1":{"ctmax":454,"ctmin":250,"etag":"359f655e37332ee164e301a03f02bcc4","hascolor":true,"manufacturername":"IKEA of Sweden","modelid":"TRADFRI bulb E14 WS opal 400lm","name":"TradfriE14","state":{"alert":"none","bri":79,"colormode":"ct","ct":400,"on":true,"reachable":true},"swversion":"1.2.217","type":"Color temperature light","uniqueid":"90:fd:9f:ff:fe:8a:31:88-01"},"2":{"etag":"3cca15350c84c8261241a036ba1457a7","hascolor":false,"manufacturername":"OSRAM","modelid":"Plug 01","name":"Plug2","state":{"alert":"none","on":false,"reachable":true},"swversion":"V1.04.12","type":"On/Off plug-in unit","uniqueid":"7c:b0:3e:aa:00:b1:a0:7d-03"},"3":{"etag":"5da05d8b66eecb21a0b161453a404cbb","hascolor":false,"manufacturername":"OSRAM","modelid":"Plug 01","name":"Plug1","state":{"alert":"none","on":false,"reachable":true},"swversion":"V1.04.12","type":"On/Off plug-in unit","uniqueid":"7c:b0:3e:aa:00:a7:7e:71-03"},"4":{"etag":"fb3fbf8fbdaae955f9a67d03f7bc6cdc","hascolor":false,"manufacturername":"OSRAM","modelid":"Plug 01","name":"Plug3","state":{"alert":"none","on":true,"reachable":true},"swversion":"V1.04.12","type":"On/Off plug-in unit","uniqueid":"7c:b0:3e:aa:00:ad:3e:d6-03"},"5":{"etag":"735f5ae0be778b1234da90ce1c3510a8","hascolor":false,"manufacturername":"OSRAM","modelid":"Plug 01","name":"Plug4","state":{"alert":"none","on":true,"reachable":true},"swversion":"V1.04.12","type":"On/Off plug-in unit","uniqueid":"7c:b0:3e:aa:00:ad:1a:3f-03"}} 2018-08-02 02:39:51.044 - debug: deconz.0 getAllSensors: {"1":{"config":{"configured":true,"on":true,"sunriseoffset":30,"sunsetoffset":-30},"etag":"7ea8dd0d0ec0c1b6154b9f32ccc29874","manufacturername":"Philips","modelid":"PHDL00","name":"Daylight","state":{"dark":true,"daylight":false,"lastupdated":"2018-08-02T00:17:07","status":100},"swversion":"1.0","type":"Daylight","uniqueid":"00:21:2e:ff:ff:01:3e:51-01"},"10":{"config":{"on":true,"reachable":true},"ep":3,"etag":"889586f85b500e820a59182de5d8865b","manufacturername":"OSRAM","modelid":"Plug 01","name":"Power 10","state":{"lastupdated":"2018-08-02T00:39:22","power":0},"swversion":"V1.04.12","type":"ZHAPower","uniqueid":"7c:b0:3e:aa:00:a7:7e:71-03-0b04"},"11":{"config":{"on":true,"reachable":true},"ep":3,"etag":"e6b2a3ab8b00ab5a66b0fe01f56ba936","manufacturername":"OSRAM","modelid":"Plug 01","name":"Power 11","state":{"lastupdated":"2018-08-02T00:39:18","power":40},"swversion":"V1.04.12","type":"ZHAPower","uniqueid":"7c:b0:3e:aa:00:ad:3e:d6-03-0b04"},"12":{"config":{"on":true,"reachable":true},"ep":3,"etag":"45d2fbdba937d5aa6dba10f5197de672","manufacturername":"OSRAM","modelid":"Plug 01","name":"Power 12","state":{"lastupdated":"2018-08-02T00:39:27","power":40},"swversion":"V1.04.12","type":"ZHAPower","uniqueid":"7c:b0:3e:aa:00:ad:1a:3f-03-0b04"},"13":{"config":{"battery":95,"offset":0,"on":true,"reachable":true},"ep":1,"etag":"751e0202ff9b4e68440065c05c54147d","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor1","state":{"lastupdated":"2018-07-31T22:34:45","temperature":2197},"type":"ZHATemperature","uniqueid":"00:15:8d:00:01:f2:3d:52-01-0402"},"14":{"config":{"battery":95,"on":true,"reachable":true},"ep":1,"etag":"751e0202ff9b4e68440065c05c54147d","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor1","state":{"humidity":5741,"lastupdated":"2018-07-31T22:34:45"},"type":"ZHAHumidity","uniqueid":"00:15:8d:00:01:f2:3d:52-01-0405"},"15":{"config":{"battery":95,"on":true,"reachable":true},"ep":1,"etag":"751e0202ff9b4e68440065c05c54147d","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor1","state":{"lastupdated":"2018-07-31T22:34:45","pressure":1015},"type":"ZHAPressure","uniqueid":"00:15:8d:00:01:f2:3d:52-01-0403"},"16":{"config":{"battery":100,"on":true,"reachable":true,"temperature":3200},"ep":1,"etag":"84a365eefbbb7698007e0d5cc681c5ba","manufacturername":"LUMI","modelid":"lumi.sensor_magnet.aq2","name":"SensorDoor1","state":{"lastupdated":"2018-08-02T00:39:20","open":false},"type":"ZHAOpenClose","uniqueid":"00:15:8d:00:01:b9:7a:01-01-0006"},"2":{"config":{"battery":100,"offset":0,"on":true,"reachable":true},"ep":1,"etag":"4329516ddd0d91b9d7a6c808dcae8c0d","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor2","state":{"lastupdated":"2018-08-02T00:39:12","temperature":2763},"type":"ZHATemperature","uniqueid":"00:15:8d:00:02:2c:c8:a3-01-0402"},"3":{"config":{"battery":100,"on":true,"reachable":true},"ep":1,"etag":"4329516ddd0d91b9d7a6c808dcae8c0d","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor2","state":{"humidity":4343,"lastupdated":"2018-08-02T00:39:12"},"type":"ZHAHumidity","uniqueid":"00:15:8d:00:02:2c:c8:a3-01-0405"},"4":{"config":{"battery":100,"on":true,"reachable":true},"ep":1,"etag":"4329516ddd0d91b9d7a6c808dcae8c0d","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor2","state":{"lastupdated":"2018-08-02T00:39:12","pressure":1014},"type":"ZHAPressure","uniqueid":"00:15:8d:00:02:2c:c8:a3-01-0403"},"5":{"config":{"battery":98,"offset":0,"on":true,"reachable":true},"ep":1,"etag":"304d87aa521bc3b25e4db659f03d2cdf","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor3","state":{"lastupdated":"2018-08-02T00:32:22","temperature":2583},"type":"ZHATemperature","uniqueid":"00:15:8d:00:01:f5:20:07-01-0402"},"6":{"config":{"battery":98,"on":true,"reachable":true},"ep":1,"etag":"304d87aa521bc3b25e4db659f03d2cdf","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor3","state":{"humidity":5002,"lastupdated":"2018-08-02T00:32:22"},"type":"ZHAHumidity","uniqueid":"00:15:8d:00:01:f5:20:07-01-0405"},"7":{"config":{"battery":98,"on":true,"reachable":true},"ep":1,"etag":"304d87aa521bc3b25e4db659f03d2cdf","manufacturername":"LUMI","modelid":"lumi.weather","name":"Sensor3","state":{"lastupdated":"2018-08-02T00:32:22","pressure":1015},"type":"ZHAPressure","uniqueid":"00:15:8d:00:01:f5:20:07-01-0403"},"8":{"config":{"on":true,"reachable":true},"ep":3,"etag":"51253506204e0eaee1700225ebe0e066","manufacturername":"OSRAM","modelid":"Plug 01","name":"Power 8","state":{"lastupdated":"2018-08-02T00:39:17","power":0},"swversion":"V1.04.12","type":"ZHAPower","uniqueid":"7c:b0:3e:aa:00:b1:a0:7d-03-0b04"},"9":{"config":{"battery":100,"group":"24194","on":true,"reachable":true},"ep":2,"etag":"2805d00b26a51abe95e99bdd0eaa550f","manufacturername":"Philips","mode":1,"modelid":"RWL021","name":"Dimmschalter","state":{"buttonevent":4002,"lastupdated":"2018-07-31T02:54:12"},"swversion":"5.45.1.17846","type":"ZHASwitch","uniqueid":"00:17:88:01:04:f6:d6:3e-02-fc00"}} 2018-08-02 02:39:51.094 - debug: deconz.0 getAllGroups: {"24194":{"action":{"bri":127,"colormode":"hs","ct":0,"effect":"none","hue":0,"on":false,"sat":127,"scene":null,"xy":[0,0]},"class":"Other","devicemembership":["9"],"etag":"7ea8dd0d0ec0c1b6154b9f32ccc29874","hidden":false,"id":"24194","lights":[],"lightsequence":[],"multideviceids":[],"name":"RWL021 2","scenes":[],"state":{"all_on":false,"any_on":false},"type":"LightGroup"}} 2018-08-02 02:39:51.263 - debug: deconz.0 getGroupAttributes: {"action":{"bri":127,"colormode":"hs","ct":0,"effect":"none","hue":0,"on":false,"sat":127,"scene":null,"xy":[0,0]},"class":"Other","devicemembership":["9"],"etag":"7ea8dd0d0ec0c1b6154b9f32ccc29874","hidden":false,"id":"24194","lights":[],"lightsequence":[],"multideviceids":[],"name":"RWL021 2","scenes":[],"state":{"all_on":false,"any_on":false},"type":"LightGroup"} 2018-08-02 02:40:18.683 - debug: deconz.0 Websocket message: {"e":"changed","id":"10","r":"sensors","state":{"lastupdated":"2018-08-02T00:40:18","power":0},"t":"event"} 2018-08-02 02:40:18.702 - error: deconz.0 uncaught exception: list is not defined 2018-08-02 02:40:18.702 - error: deconz.0 ReferenceError: list is not defined at Socket.adapter.getState (/opt/iobroker/node_modules/iobroker.deconz/main.js:425:67) at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:319:9) at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:244:12) at Manager. (/opt/iobroker/node_modules/component-bind/index.js:21:15) at Manager.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:133:20) at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:345:8) at Decoder. (/opt/iobroker/node_modules/component-bind/index.js:21:15) at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:133:20) at Decoder.add (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-parser/index.js:251:12) at Manager.ondata (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:335:16) 2018-08-02 02:40:19.214 - error: deconz.0 server error 2018-08-02 02:40:19.217 - error: deconz.0 Error: server error at Socket.onPacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/socket.js:450:19) at WS. (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/socket.js:273:10) at WS.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:133:20) at WS.Transport.onPacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/transport.js:145:8) at WS.Transport.onData (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/transport.js:137:8) at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/transports/websocket.js:147:10) at WebSocket.onMessage (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/ws/lib/EventTarget.js:99:16) at emitOne (events.js:116:13) at WebSocket.emit (events.js:211:7) at Receiver._receiver.onmessage (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/ws/lib/WebSocket.js:141:47) 2018-08-02 02:40:19.725 - error: Caught by controller[0]: ReferenceError: list is not defined 2018-08-02 02:40:19.727 - error: Caught by controller[0]: at Socket.adapter.getState (/opt/iobroker/node_modules/iobroker.deconz/main.js:425:67) 2018-08-02 02:40:19.727 - error: Caught by controller[0]: at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:319:9) 2018-08-02 02:40:19.727 - error: Caught by controller[0]: at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:244:12) 2018-08-02 02:40:19.728 - error: Caught by controller[0]: at Manager. (/opt/iobroker/node_modules/component-bind/index.js:21:15) 2018-08-02 02:40:19.728 - error: Caught by controller[0]: at Manager.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:133:20) 2018-08-02 02:40:19.728 - error: Caught by controller[0]: at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:345:8) 2018-08-02 02:40:19.728 - error: Caught by controller[0]: at Decoder. (/opt/iobroker/node_modules/component-bind/index.js:21:15) 2018-08-02 02:40:19.728 - error: Caught by controller[0]: at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:133:20) 2018-08-02 02:40:19.728 - error: Caught by controller[0]: at Decoder.add (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-parser/index.js:251:12) 2018-08-02 02:40:19.728 - error: Caught by controller[0]: at Manager.ondata (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:335:16) 2018-08-02 02:40:19.729 - error: host.raspi2 instance system.adapter.deconz.0 terminated with code 6 (uncaught exception) 2018-08-02 02:40:19.729 - info: host.raspi2 Restart adapter system.adapter.deconz.0 because enabled
-
Hab soeben die Verison 0.2.4 getestet und meine Skripte angepasst irgendwie sind es mittlerweile echt viele (Lüftungsempfehlungen / Statusmeldungen usw.) Bis jetzt schaut alles prima aus Adapter läuft. Ein kleiner Fehler sagt das Log:
! deconz.0 2018-08-02 20:01:17.230 error SyntaxError: Unexpected token � in JSON at position 0 at Object.parse (native) at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:324:29) at WebSocket.onMessage
! deconz.0 2018-08-02 20:01:17.230 error uncaught exception: Unexpected token � in JSON at position 0
! deconz.0 2018-08-02 20:01:17.230 error ReferenceError: sensorId is not defined at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:590:82) at WebSocket.onMessage (/opt/iobroker/node_modules/iobroker.deconz
! deconz.0 2018-08-02 20:01:17.230 error uncaught exception: sensorId is not definedWobei ich dabei sagen muss das dies evtl. "Geisterobjekte" bereits in der Deconz Api sind zumindest sehe ich diese in der Deconz Software auf dem Raspberry nicht. Hab diese Geräte in der Geräteliste Adapter gelöscht und daraufhin den Adapter angehalten und alle Objekte von Deconz gelöscht und den Adapter neu gestartet. Nun sind die vermeindlichen Geisterobjekte verschwunden und das Log bringt nach einiger Zeit wiederrum.
! host.debianiobroker 2018-08-02 20:10:50.460 error instance system.adapter.deconz.0 terminated with code 0 (OK)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at Receiver.add (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:117:10)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at Receiver.startLoop (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:143:16)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at Receiver.getData (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:347:12)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at Receiver.dataMessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:409:14)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at Receiver._receiver.onmessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/websocket.js:137:47)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at WebSocket.emit (events.js:188:7)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at emitOne (events.js:96:13)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at WebSocket.onMessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/event-target.js:120:16)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:324:29)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at Object.parse (native)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: SyntaxError: Unexpected token � in JSON at position 0
! Caught 2018-08-02 20:10:50.460 error by controller[0]: at emitOne (events.js:96:13)
! Caught 2018-08-02 20:10:50.460 error by controller[0]: at Receiver.add (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:117:10)
! Caught 2018-08-02 20:10:50.460 error by controller[0]: at Receiver.startLoop (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:143:16)
! Caught 2018-08-02 20:10:50.460 error by controller[0]: at Receiver.getData (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:347:12)
! Caught 2018-08-02 20:10:50.460 error by controller[0]: at Receiver.dataMessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:409:14)
! Caught 2018-08-02 20:10:50.460 error by controller[0]: at Receiver._receiver.onmessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/websocket.js:137:47)
! Caught 2018-08-02 20:10:50.460 error by controller[0]: at WebSocket.emit (events.js:188:7)
! Caught 2018-08-02 20:10:50.460 error by controller[0]: at emitOne (events.js:96:13)
! Caught 2018-08-02 20:10:50.459 error by controller[0]: at WebSocket.onMessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/event-target.js:120:16)
! Caught 2018-08-02 20:10:50.459 error by controller[0]: at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:590:82)
! Caught 2018-08-02 20:10:50.459 error by controller[0]: ReferenceError: sensorId is not defined
! deconz.0 2018-08-02 20:10:50.450 info terminating
! deconz.0 2018-08-02 20:10:49.947 error at Receiver.add (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:117:10)
! deconz.0 2018-08-02 20:10:49.947 error at Receiver.startLoop (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:143:16)
! deconz.0 2018-08-02 20:10:49.947 error at Receiver.getData (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:347:12)
! deconz.0 2018-08-02 20:10:49.947 error at Receiver.dataMessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:409:14)
! deconz.0 2018-08-02 20:10:49.947 error at Receiver._receiver.onmessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/websocket.js:137:47)
! deconz.0 2018-08-02 20:10:49.947 error at WebSocket.emit (events.js:188:7)
! deconz.0 2018-08-02 20:10:49.947 error at emitOne (events.js:96:13)
! deconz.0 2018-08-02 20:10:49.947 error at WebSocket.onMessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/event-target.js:120:16)
! deconz.0 2018-08-02 20:10:49.947 error at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:324:29)
! deconz.0 2018-08-02 20:10:49.947 error at Object.parse (native)
! deconz.0 2018-08-02 20:10:49.947 error SyntaxError: Unexpected token � in JSON at position 0
! deconz.0 2018-08-02 20:10:49.947 error uncaught exception: Unexpected token � in JSON at position 0
! deconz.0 2018-08-02 20:10:49.945 error at emitOne (events.js:96:13)
! deconz.0 2018-08-02 20:10:49.945 error at Receiver.add (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:117:10)
! deconz.0 2018-08-02 20:10:49.945 error at Receiver.startLoop (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:143:16)
! deconz.0 2018-08-02 20:10:49.945 error at Receiver.getData (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:347:12)
! deconz.0 2018-08-02 20:10:49.945 error at Receiver.dataMessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:409:14)
! deconz.0 2018-08-02 20:10:49.945 error at Receiver._receiver.onmessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/websocket.js:137:47)
! deconz.0 2018-08-02 20:10:49.945 error at WebSocket.emit (events.js:188:7)
! deconz.0 2018-08-02 20:10:49.945 error at emitOne (events.js:96:13)
! deconz.0 2018-08-02 20:10:49.945 error at WebSocket.onMessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/event-target.js:120:16)
! deconz.0 2018-08-02 20:10:49.945 error at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:590:82)
! deconz.0 2018-08-02 20:10:49.945 error ReferenceError: sensorId is not defined
! deconz.0 2018-08-02 20:10:49.945 error uncaught exception: sensorId is not defined
! deconz.0 2018-08-02 20:10:49.937 debug Websocket message: {"config":{"battery":100,"duration":60,"on":true,"reachable":true,"temperature":2800},"e":"changed","id":"78","r":"sensors","t":"event"}Muss mal gucken wie oft dieser neu startet oder ob dies ggf. eine einmalige Geschichte ist….
-
Bitte nicht mehr von Github installieren. Ich hab mich damit heute schon beschäftigt und weiss noch nicht wie ich das sinnvoll ändere.
Gesendet von meinem m8 mit Tapatalk
-
Freut mich zu hören dass es klappt. Jetzt würde mich allerdings interessieren welchen Dual-Taster du verwendest. Ist dieser auch von Xiaomi?
Kenne nur den Sonoff Touch. `
Ich verwende den Xiaomi WXKG02LM Aqara Smart Lichtschalter, gibts als Single und Dualversion und kosten
bei Garbst gerade mal 12 Euro zur Zeit. Ich bin hoch zufrieden damit.
Wenn man einen kleinen Nachteil sehen will, dann ist es die Tatsache, des es nur Taster sind, True und False ist nicht.
Aber es werden im Deconzadapter Zahlenwerte für die verschiedenen Tasten dargestellt, die man dann umschalten kann.
Dafür bietet der Single-Taster noch eine Doppeltast Funktion und bietet somit zwei Schaltzustände und der Dual hat ein dritte
Schaltfunktion, in dem man zwei Tasten gleichzeitig drückt. Feine Sache insgesamt.
cu goohnie
-
Hab soeben die Verison 0.2.4 getestet und meine Skripte angepasst irgendwie sind es mittlerweile echt viele (Lüftungsempfehlungen / Statusmeldungen usw.) Bis jetzt schaut alles prima aus Adapter läuft. Ein kleiner Fehler sagt das Log:
! deconz.0 2018-08-02 20:01:17.230 error SyntaxError: Unexpected token � in JSON at position 0 at Object.parse (native) at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:324:29) at WebSocket.onMessage
! deconz.0 2018-08-02 20:01:17.230 error uncaught exception: Unexpected token � in JSON at position 0
! deconz.0 2018-08-02 20:01:17.230 error ReferenceError: sensorId is not defined at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:590:82) at WebSocket.onMessage (/opt/iobroker/node_modules/iobroker.deconz
! deconz.0 2018-08-02 20:01:17.230 error uncaught exception: sensorId is not definedWobei ich dabei sagen muss das dies evtl. "Geisterobjekte" bereits in der Deconz Api sind zumindest sehe ich diese in der Deconz Software auf dem Raspberry nicht. Hab diese Geräte in der Geräteliste Adapter gelöscht und daraufhin den Adapter angehalten und alle Objekte von Deconz gelöscht und den Adapter neu gestartet. Nun sind die vermeindlichen Geisterobjekte verschwunden und das Log bringt nach einiger Zeit wiederrum.
! host.debianiobroker 2018-08-02 20:10:50.460 error instance system.adapter.deconz.0 terminated with code 0 (OK)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at Receiver.add (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:117:10)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at Receiver.startLoop (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:143:16)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at Receiver.getData (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:347:12)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at Receiver.dataMessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:409:14)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at Receiver._receiver.onmessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/websocket.js:137:47)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at WebSocket.emit (events.js:188:7)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at emitOne (events.js:96:13)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at WebSocket.onMessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/event-target.js:120:16)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:324:29)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: at Object.parse (native)
! Caught 2018-08-02 20:10:50.460 error by controller[1]: SyntaxError: Unexpected token � in JSON at position 0
! Caught 2018-08-02 20:10:50.460 error by controller[0]: at emitOne (events.js:96:13)
! Caught 2018-08-02 20:10:50.460 error by controller[0]: at Receiver.add (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:117:10)
! Caught 2018-08-02 20:10:50.460 error by controller[0]: at Receiver.startLoop (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:143:16)
! Caught 2018-08-02 20:10:50.460 error by controller[0]: at Receiver.getData (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:347:12)
! Caught 2018-08-02 20:10:50.460 error by controller[0]: at Receiver.dataMessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:409:14)
! Caught 2018-08-02 20:10:50.460 error by controller[0]: at Receiver._receiver.onmessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/websocket.js:137:47)
! Caught 2018-08-02 20:10:50.460 error by controller[0]: at WebSocket.emit (events.js:188:7)
! Caught 2018-08-02 20:10:50.460 error by controller[0]: at emitOne (events.js:96:13)
! Caught 2018-08-02 20:10:50.459 error by controller[0]: at WebSocket.onMessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/event-target.js:120:16)
! Caught 2018-08-02 20:10:50.459 error by controller[0]: at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:590:82)
! Caught 2018-08-02 20:10:50.459 error by controller[0]: ReferenceError: sensorId is not defined
! deconz.0 2018-08-02 20:10:50.450 info terminating
! deconz.0 2018-08-02 20:10:49.947 error at Receiver.add (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:117:10)
! deconz.0 2018-08-02 20:10:49.947 error at Receiver.startLoop (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:143:16)
! deconz.0 2018-08-02 20:10:49.947 error at Receiver.getData (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:347:12)
! deconz.0 2018-08-02 20:10:49.947 error at Receiver.dataMessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:409:14)
! deconz.0 2018-08-02 20:10:49.947 error at Receiver._receiver.onmessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/websocket.js:137:47)
! deconz.0 2018-08-02 20:10:49.947 error at WebSocket.emit (events.js:188:7)
! deconz.0 2018-08-02 20:10:49.947 error at emitOne (events.js:96:13)
! deconz.0 2018-08-02 20:10:49.947 error at WebSocket.onMessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/event-target.js:120:16)
! deconz.0 2018-08-02 20:10:49.947 error at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:324:29)
! deconz.0 2018-08-02 20:10:49.947 error at Object.parse (native)
! deconz.0 2018-08-02 20:10:49.947 error SyntaxError: Unexpected token � in JSON at position 0
! deconz.0 2018-08-02 20:10:49.947 error uncaught exception: Unexpected token � in JSON at position 0
! deconz.0 2018-08-02 20:10:49.945 error at emitOne (events.js:96:13)
! deconz.0 2018-08-02 20:10:49.945 error at Receiver.add (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:117:10)
! deconz.0 2018-08-02 20:10:49.945 error at Receiver.startLoop (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:143:16)
! deconz.0 2018-08-02 20:10:49.945 error at Receiver.getData (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:347:12)
! deconz.0 2018-08-02 20:10:49.945 error at Receiver.dataMessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/receiver.js:409:14)
! deconz.0 2018-08-02 20:10:49.945 error at Receiver._receiver.onmessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/websocket.js:137:47)
! deconz.0 2018-08-02 20:10:49.945 error at WebSocket.emit (events.js:188:7)
! deconz.0 2018-08-02 20:10:49.945 error at emitOne (events.js:96:13)
! deconz.0 2018-08-02 20:10:49.945 error at WebSocket.onMessage (/opt/iobroker/node_modules/iobroker.deconz/node_modules/ws/lib/event-target.js:120:16)
! deconz.0 2018-08-02 20:10:49.945 error at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:590:82)
! deconz.0 2018-08-02 20:10:49.945 error ReferenceError: sensorId is not defined
! deconz.0 2018-08-02 20:10:49.945 error uncaught exception: sensorId is not defined
! deconz.0 2018-08-02 20:10:49.937 debug Websocket message: {"config":{"battery":100,"duration":60,"on":true,"reachable":true,"temperature":2800},"e":"changed","id":"78","r":"sensors","t":"event"}Muss mal gucken wie oft dieser neu startet oder ob dies ggf. eine einmalige Geschichte ist…. `
Moin,
ich hab festgestellt, dass in der Main.js noch ein Fehler ist, der zu dem error führt.
Zeile 590: Muss nur id stehen, nicht sensorId.
Dann läuft es bei mir jetzt super