Versuche ich nachher zu posten, wie gesagt in ich noch ganz grün hinter den Ohren, werde mich aber um Logs bemühen. Beeile mich
Na gut, dann will ich es mal versuchen.
Also wichtig zu wissen ist dass der Cube unter der Mihome App meine yeelights steuern kann.
Er ist also richtig am Hub angelernt. Was habe ich dann gemacht, erstmal alle Mihome Objekte gelöscht und neu anlegen lassen.
Der Cube taucht als Objekt auf und dann versuche ich mit einer Blocklyscript Vorlage von Schimmer die Hues zu dimmen.
Über Level und rotate right und rotate left aber leider ohne Erfolg…
Mit tail -f /opt/iobroker/*.log kommt außer ein paar Heartbeats gar nichts.
2018-06-03 18:53:50.566 - info: host.raspberrypi object change system.adapter.mihome.0
2018-06-03 18:53:50.641 - info: host.raspberrypi instance system.adapter.mihome.0 star ted with pid 2175
2018-06-03 18:53:53.620 - debug: mihome.0 objectDB connected
2018-06-03 18:53:53.765 - debug: mihome.0 statesDB connected
2018-06-03 18:53:53.925 - info: mihome.0 starting. Version 1.0.6 in /opt/iobroker/node_modules/iobroker.mihome, node: v6.11.1
2018-06-03 18:53:54.262 - debug: mihome.0 device: 2211dcb07e8b(gateway)
2018-06-03 18:53:54.283 - debug: mihome.0 RAW: {"cmd":"iam","port":"9898","sid":"2211dcb07e8b","model":"gateway","proto_version":"1.1.2","ip":"192.168.1.70"}
2018-06-03 18:53:54.299 - debug: mihome.0 RAW: {"cmd":"get_id_list_ack","sid":"7811dcb07e8b","token":"ECc7r6mgQysgAjw6","data":["158d00019f83ca","158d0001f3cde1","158d0001f284bc","158d00024a5df5"]}
2018-06-03 18:53:54.308 - debug: mihome.0 data: 7811dcb07e8b(gateway): {"illumination":1292,"on":false,"dimmer":0,"rgb":"#000000"}
2018-06-03 18:53:54.318 - debug: mihome.0 RAW: {"cmd":"read_ack","model":"gateway","sid":"7811dcb07e8b","short_id":0,"data":{"rgb":0,"illumination":1292,"proto_version":"1.1.2"}}
2018-06-03 18:53:54.320 - debug: mihome.0 device: 158d00019f83ca(switch)
2018-06-03 18:53:54.325 - debug: mihome.0 data: 158d00019f83ca(switch): {"voltage":3.022,"percent":82.2}
2018-06-03 18:53:54.327 - debug: mihome.0 RAW: {"cmd":"read_ack","model":"switch","sid":"158d00019f83ca","short_id":35984,"data":{"voltage":3022}}
2018-06-03 18:53:54.329 - debug: mihome.0 device: 158d0001f3cde1(magnet)
2018-06-03 18:53:54.332 - debug: mihome.0 data: 158d0001f3cde1(magnet): {"voltage":3.035,"percent":83.5,"state":true}
2018-06-03 18:53:54.334 - debug: mihome.0 RAW: {"cmd":"read_ack","model":"magnet","sid":"158d0001f3cde1","short_id":46537,"data":{"voltage":3035,"status":"open"}}
2018-06-03 18:53:54.335 - debug: mihome.0 device: 158d0001f284bc(magnet)
2018-06-03 18:53:54.337 - debug: mihome.0 data: 158d0001f284bc(magnet): {"voltage":3.035,"percent":83.5,"state":false}
2018-06-03 18:53:54.339 - debug: mihome.0 RAW: {"cmd":"read_ack","model":"magnet","sid":"158d0001f284bc","short_id":34308,"data":{"voltage":3035,"status":"close"}}
2018-06-03 18:53:54.341 - debug: mihome.0 device: 158d00024a5df5(cube)
2018-06-03 18:53:54.346 - debug: mihome.0 data: 158d00024a5df5(cube): {"voltage":2.985,"percent":78.5}
2018-06-03 18:53:54.347 - debug: mihome.0 RAW: {"cmd":"read_ack","model":"sensor_cube.aqgl01","sid":"158d00024a5df5","short_id":25622,"data":{"voltage":2985}}
2018-06-03 18:53:54.384 - info: javascript.0 script.js.common.Telegram_Terrassentür: telegram: ------ Terrassentür offen -----
2018-06-03 18:53:54.366 - silly: mihome.0 inMem message mihome.0.devices.* mihome.0.devices.gateway_2211dcb07e8b.illumination val=1292, ack=true, ts=1528052034315, q=0, from=system.adapter.mihome.0, lc=1527738932898
2018-06-03 18:53:54.379 - silly: mihome.0 inMem message mihome.0.devices.* mihome.0.devices.gateway_2211dcb07e8b.on val=false, ack=true, ts=1528052034349, q=0, from=system.adapter.mihome.0, lc=1527437763523
2018-06-03 18:53:54.385 - info: javascript.0 script.js.common.Telegram_Terrassentür: ------ Terrassentür offen -----
2018-06-03 18:53:54.389 - silly: mihome.0 inMem message mihome.0.devices.* mihome.0.devices.gateway_2211dcb07e8b.dimmer val=0, ack=true, ts=1528052034358, q=0, from=system.adapter.mihome.0, lc=1527437763525
2018-06-03 18:53:54.393 - silly: mihome.0 inMem message mihome.0.devices.* mihome.0.devices.gateway_2211dcb07e8b.rgb val=#000000, ack=true, ts=1528052034363, q=0, from=system.adapter.mihome.0, lc=1527437763293
2018-06-03 18:53:54.400 - silly: mihome.0 inMem message mihome.0.devices.* mihome.0.devices.switch_158d00019f83ca.voltage val=3.022, ack=true, ts=1528052034364, q=0, from=system.adapter.mihome.0, lc=1528035246067
2018-06-03 18:53:54.405 - silly: mihome.0 inMem message mihome.0.devices.* mihome.0.devices.switch_158d00019f83ca.percent val=82.2, ack=true, ts=1528052034366, q=0, from=system.adapter.mihome.0, lc=1528035246073
2018-06-03 18:53:54.407 - silly: mihome.0 inMem message mihome.0.devices.* mihome.0.devices.magnet_158d0001f3cde1.voltage val=3.035, ack=true, ts=1528052034368, q=0, from=system.adapter.mihome.0, lc=1527657626993
2018-06-03 18:53:54.416 - silly: mihome.0 inMem message mihome.0.devices.* mihome.0.devices.magnet_158d0001f3cde1.percent val=83.5, ack=true, ts=1528052034369, q=0, from=system.adapter.mihome.0, lc=1527657626998
2018-06-03 18:53:54.425 - silly: mihome.0 inMem message mihome.0.devices.* mihome.0.devices.magnet_158d0001f3cde1.state val=true, ack=true, ts=1528052034371, q=0, from=system.adapter.mihome.0, lc=1528051894104
2018-06-03 18:53:54.427 - silly: mihome.0 inMem message mihome.0.devices.* mihome.0.devices.magnet_158d0001f284bc.voltage val=3.035, ack=true, ts=1528052034378, q=0, from=system.adapter.mihome.0, lc=1527421908909
2018-06-03 18:53:54.429 - silly: mihome.0 inMem message mihome.0.devices.* mihome.0.devices.magnet_158d0001f284bc.percent val=83.5, ack=true, ts=1528052034381, q=0, from=system.adapter.mihome.0, lc=1527421908937
2018-06-03 18:53:54.432 - silly: mihome.0 inMem message mihome.0.devices.* mihome.0.devices.magnet_158d0001f284bc.state val=false, ack=true, ts=1528052034383, q=0, from=system.adapter.mihome.0, lc=1528038838503
2018-06-03 18:53:54.599 - silly: mihome.0 inMem message mihome.0.devices.* mihome.0.devices.cube_158d00024a5df5.voltage val=2.985, ack=true, ts=1528052034593, q=0, from=system.adapter.mihome.0, lc=1528048427850
2018-06-03 18:53:54.626 - silly: mihome.0 inMem message mihome.0.devices.* mihome.0.devices.cube_158d00024a5df5.percent val=78.5, ack=true, ts=1528052034619, q=0, from=system.adapter.mihome.0, lc=1528048427852
2018-06-03 18:53:58.191 - debug: mihome.0 RAW: {"cmd":"heartbeat","model":"gateway","sid":"2211dcb07e8b","short_id":"0","token":"vlxYpkA9BDUnT4O9","data":{"ip":"192.168.1.70"}}
2018-06-03 18:54:00.199 - info: javascript.0 script.js.common.alexacontrol: [rescanHistory]
2018-06-03 18:54:08.176 - debug: mihome.0 RAW: {"cmd":"heartbeat","model":"gateway","sid":"2211dcb07e8b","short_id":"0","token":"wC7rN7KhB8cHcHnb","data":{"ip":"192.168.1.70"}}
^C
Ich hoffe das trägt zur Fehlerfindung bei, sonst sag mir bitte kurz was ich mehr oder anders liefern soll.
Danke und Grüße
Tom