- ioBroker Community Home
- Deutsch
- ioBroker Allgemein
- [gelöst] mihome-Adapter bleibt nach update rot
[gelöst] mihome-Adapter bleibt nach update rot
-
Liebe Freunde,
Node.js
v12.18.4
NPM
6.14.6
Repo auf latest
mihome xiaomi auf 1.3.5ich habe den mihome Adapter upgedated und seitdem wechselt der Adapter zwischen rot-gelb grün und mein Gateway (ich glaube V2, habe mit löten den Port geöffnet) funktioniert nicht mehr. Bei debug gibt es folgendes Log:
host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:51:49.214 error (11473) Error: Invalid key length at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) at new Cipheriv (interna mihome.0 2020-09-26 11:51:49.214 error (11473) uncaught exception: Invalid key length mihome.0 2020-09-26 11:51:49.007 debug (11473) state:#0000FF mihome.0 2020-09-26 11:51:49.007 debug (11473) attr:rgb mihome.0 2020-09-26 11:51:48.166 debug (11473) RAW: {"cmd":"read_ack","model":"switch","sid":"158d00026b9e32","short_id":60012,"data":{"voltage":3032}} mihome.0 2020-09-26 11:51:48.165 debug (11473) data: 158d00026b9e32(switch): {"voltage":3.032,"percent":100} mihome.0 2020-09-26 11:51:48.165 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.long mihome.0 2020-09-26 11:51:48.164 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.double mihome.0 2020-09-26 11:51:48.164 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.click mihome.0 2020-09-26 11:51:48.164 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.percent mihome.0 2020-09-26 11:51:48.164 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.voltage mihome.0 2020-09-26 11:51:48.164 debug (11473) NEW device: 158d00026b9e32(switch) mihome.0 2020-09-26 11:51:48.163 debug (11473) RAW: {"cmd":"read_ack","model":"magnet","sid":"158d000289eaf5","short_id":61440,"data":{"voltage":3055,"status":"close"}} mihome.0 2020-09-26 11:51:48.162 debug (11473) data: 158d000289eaf5(magnet): {"voltage":3.055,"percent":100,"state":false} mihome.0 2020-09-26 11:51:48.162 debug (11473) Create mihome.0.devices.magnet_158d000289eaf5.state mihome.0 2020-09-26 11:51:48.161 debug (11473) Create mihome.0.devices.magnet_158d000289eaf5.percent mihome.0 2020-09-26 11:51:48.161 debug (11473) Create mihome.0.devices.magnet_158d000289eaf5.voltage mihome.0 2020-09-26 11:51:48.161 debug (11473) NEW device: 158d000289eaf5(magnet) mihome.0 2020-09-26 11:51:48.158 debug (11473) RAW: {"cmd":"read_ack","model":"gateway","sid":"7c49eb18dcb3","short_id":0,"data":{"rgb":0,"illumination":686,"proto_version":"1.1.2"}} mihome.0 2020-09-26 11:51:48.157 debug (11473) data: 7c49eb18dcb3(gateway): {"proto_version":"1.1.2","illumination":686,"connected":true,"on":false,"dimmer":0,"rgb":"#000000"} mihome.0 2020-09-26 11:51:48.148 debug (11473) RAW: {"cmd":"get_id_list_ack","sid":"7c49eb18dcb3","token":"4N7sf3U39NH5QBFv","data":["158d000289eaf5","158d00026b9e32"]} mihome.0 2020-09-26 11:51:48.148 debug (11473) Send json: {"cmd":"read","sid":"158d00026b9e32"} mihome.0 2020-09-26 11:51:48.148 debug (11473) Send json: {"cmd":"read","sid":"158d000289eaf5"} mihome.0 2020-09-26 11:51:48.147 debug (11473) Send json: {"cmd":"read","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:51:48.144 debug (11473) RAW: {"cmd":"iam","port":"9898","sid":"7c49eb18dcb3","model":"gateway","proto_version":"1.1.2","ip":"192.168.178.25"} mihome.0 2020-09-26 11:51:48.143 info (11473) Change connection status: true mihome.0 2020-09-26 11:51:48.143 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.connected mihome.0 2020-09-26 11:51:48.143 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.remove_device mihome.0 2020-09-26 11:51:48.142 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.join_permission mihome.0 2020-09-26 11:51:48.142 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.proto_version mihome.0 2020-09-26 11:51:48.142 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.mid mihome.0 2020-09-26 11:51:48.142 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.volume mihome.0 2020-09-26 11:51:48.141 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.dimmer mihome.0 2020-09-26 11:51:48.141 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.on mihome.0 2020-09-26 11:51:48.141 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.rgb mihome.0 2020-09-26 11:51:48.141 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.illumination mihome.0 2020-09-26 11:51:48.140 debug (11473) NEW device: 7c49eb18dcb3(gateway) mihome.0 2020-09-26 11:51:48.140 debug (11473) sid : 7c49eb18dcb3 ip : 192.168.178.25 mihome.0 2020-09-26 11:51:48.139 debug (11473) Send json: {"cmd":"get_id_list","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:51:48.073 info (11473) Change connection status: false mihome.0 2020-09-26 11:51:47.980 info (11473) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.mihome, node: v12.18.4, js-controller: 3.1.6 mihome.0 2020-09-26 11:51:47.884 debug (11473) Plugin sentry Initialize Plugin (enabled=true) host.ioBrokerDebian10VM 2020-09-26 11:51:46.288 info instance system.adapter.mihome.0 started with pid 11473 host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:51:16.257 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:51:16.257 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:51:16.257 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:51:16.257 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:51:16.231 info (10702) Terminated (NO_ERROR): Without reason mihome.0 2020-09-26 11:51:16.231 debug (10702) Plugin sentry destroyed mihome.0 2020-09-26 11:51:16.230 info (10702) terminating mihome.0 2020-09-26 11:51:16.218 error (10702) Error: Invalid key length at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) at new Cipheriv (interna mihome.0 2020-09-26 11:51:16.218 error (10702) uncaught exception: Invalid key length mihome.0 2020-09-26 11:51:16.011 debug (10702) state:#FF0000 mihome.0 2020-09-26 11:51:16.011 debug (10702) attr:rgb mihome.0 2020-09-26 11:51:16.009 debug (10702) state:100 mihome.0 2020-09-26 11:51:16.008 debug (10702) attr:dimmer mihome.0 2020-09-26 11:51:14.661 debug (10702) RAW: {"cmd":"read_ack","model":"switch","sid":"158d00026b9e32","short_id":60012,"data":{"voltage":3032}} mihome.0 2020-09-26 11:51:14.661 debug (10702) data: 158d00026b9e32(switch): {"voltage":3.032,"percent":100} mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.long mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.double mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.click mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.percent mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.voltage mihome.0 2020-09-26 11:51:14.659 debug (10702) NEW device: 158d00026b9e32(switch) mihome.0 2020-09-26 11:51:14.659 debug (10702) RAW: {"cmd":"read_ack","model":"magnet","sid":"158d000289eaf5","short_id":61440,"data":{"voltage":3055,"status":"close"}} mihome.0 2020-09-26 11:51:14.658 debug (10702) data: 158d000289eaf5(magnet): {"voltage":3.055,"percent":100,"state":false} mihome.0 2020-09-26 11:51:14.657 debug (10702) Create mihome.0.devices.magnet_158d000289eaf5.state mihome.0 2020-09-26 11:51:14.657 debug (10702) Create mihome.0.devices.magnet_158d000289eaf5.percent mihome.0 2020-09-26 11:51:14.657 debug (10702) Create mihome.0.devices.magnet_158d000289eaf5.voltage mihome.0 2020-09-26 11:51:14.657 debug (10702) NEW device: 158d000289eaf5(magnet) mihome.0 2020-09-26 11:51:14.656 debug (10702) RAW: {"cmd":"read_ack","model":"gateway","sid":"7c49eb18dcb3","short_id":0,"data":{"rgb":0,"illumination":674,"proto_version":"1.1.2"}} mihome.0 2020-09-26 11:51:14.653 debug (10702) data: 7c49eb18dcb3(gateway): {"proto_version":"1.1.2","illumination":674,"connected":true,"on":false,"dimmer":0,"rgb":"#000000"} mihome.0 2020-09-26 11:51:14.648 debug (10702) RAW: {"cmd":"get_id_list_ack","sid":"7c49eb18dcb3","token":"S0EjKdPx7WJSTu6g","data":["158d000289eaf5","158d00026b9e32"]} mihome.0 2020-09-26 11:51:14.648 debug (10702) Send json: {"cmd":"read","sid":"158d00026b9e32"} mihome.0 2020-09-26 11:51:14.647 debug (10702) Send json: {"cmd":"read","sid":"158d000289eaf5"} mihome.0 2020-09-26 11:51:14.647 debug (10702) Send json: {"cmd":"read","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:51:14.643 debug (10702) RAW: {"cmd":"iam","port":"9898","sid":"7c49eb18dcb3","model":"gateway","proto_version":"1.1.2","ip":"192.168.178.25"} mihome.0 2020-09-26 11:51:14.643 info (10702) Change connection status: true mihome.0 2020-09-26 11:51:14.642 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.connected mihome.0 2020-09-26 11:51:14.642 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.remove_device mihome.0 2020-09-26 11:51:14.642 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.join_permission mihome.0 2020-09-26 11:51:14.641 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.proto_version mihome.0 2020-09-26 11:51:14.641 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.mid mihome.0 2020-09-26 11:51:14.641 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.volume mihome.0 2020-09-26 11:51:14.641 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.dimmer mihome.0 2020-09-26 11:51:14.640 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.on mihome.0 2020-09-26 11:51:14.640 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.rgb mihome.0 2020-09-26 11:51:14.640 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.illumination mihome.0 2020-09-26 11:51:14.639 debug (10702) NEW device: 7c49eb18dcb3(gateway) mihome.0 2020-09-26 11:51:14.639 debug (10702) sid : 7c49eb18dcb3 ip : 192.168.178.25 mihome.0 2020-09-26 11:51:14.638 debug (10702) Send json: {"cmd":"get_id_list","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:51:14.598 info (10702) Change connection status: false mihome.0 2020-09-26 11:51:14.517 info (10702) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.mihome, node: v12.18.4, js-controller: 3.1.6 mihome.0 2020-09-26 11:51:14.428 debug (10702) Plugin sentry Initialize Plugin (enabled=true) host.ioBrokerDebian10VM 2020-09-26 11:51:12.324 info instance system.adapter.mihome.0 started with pid 10702 javascript.0 2020-09-26 11:51:10.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 1038.5 javascript.0 2020-09-26 11:51:10.000 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['942.3','959.7','980','1004','1029','1053','1074','1094','1113','1136','1160'] javascript.0 2020-09-26 11:51:00.030 info (15422) script.js.Licht.Luxmeter_reset: Letzter Wert: 902.3 Aktueller Wert: 1136 javascript.0 2020-09-26 11:51:00.029 info (15422) script.js.Licht.Luxmeter_reset: 392 javascript.0 2020-09-26 11:51:00.003 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 1017.51 javascript.0 2020-09-26 11:51:00.002 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['926.1','942.3','959.7','980','1004','1029','1053','1074','1094','1113','1136'] javascript.0 2020-09-26 11:50:50.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 997.42 javascript.0 2020-09-26 11:50:50.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['912.1','926.1','942.3','959.7','980','1004','1029','1053','1074','1094','1113'] host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:50:42.215 error (10037) Error: Invalid key length at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) at new Cipheriv (interna mihome.0 2020-09-26 11:50:42.213 error (10037) uncaught exception: Invalid key length mihome.0 2020-09-26 11:50:42.007 debug (10037) state:0 mihome.0 2020-09-26 11:50:42.006 debug (10037) attr:dimmer mihome.0 2020-09-26 11:50:41.194 debug (10037) RAW: {"cmd":"read_ack","model":"switch","sid":"158d00026b9e32","short_id":60012,"data":{"voltage":3032}} mihome.0 2020-09-26 11:50:41.193 debug (10037) data: 158d00026b9e32(switch): {"voltage":3.032,"percent":100} mihome.0 2020-09-26 11:50:41.193 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.long mihome.0 2020-09-26 11:50:41.192 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.double mihome.0 2020-09-26 11:50:41.192 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.click mihome.0 2020-09-26 11:50:41.192 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.percent mihome.0 2020-09-26 11:50:41.192 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.voltage mihome.0 2020-09-26 11:50:41.192 debug (10037) NEW device: 158d00026b9e32(switch) mihome.0 2020-09-26 11:50:41.191 debug (10037) RAW: {"cmd":"read_ack","model":"magnet","sid":"158d000289eaf5","short_id":61440,"data":{"voltage":3055,"status":"close"}} mihome.0 2020-09-26 11:50:41.190 debug (10037) data: 158d000289eaf5(magnet): {"voltage":3.055,"percent":100,"state":false} mihome.0 2020-09-26 11:50:41.190 debug (10037) Create mihome.0.devices.magnet_158d000289eaf5.state mihome.0 2020-09-26 11:50:41.189 debug (10037) Create mihome.0.devices.magnet_158d000289eaf5.percent mihome.0 2020-09-26 11:50:41.189 debug (10037) Create mihome.0.devices.magnet_158d000289eaf5.voltage mihome.0 2020-09-26 11:50:41.189 debug (10037) NEW device: 158d000289eaf5(magnet) mihome.0 2020-09-26 11:50:41.188 debug (10037) RAW: {"cmd":"read_ack","model":"gateway","sid":"7c49eb18dcb3","short_id":0,"data":{"rgb":0,"illumination":639,"proto_version":"1.1.2"}} mihome.0 2020-09-26 11:50:41.185 debug (10037) data: 7c49eb18dcb3(gateway): {"proto_version":"1.1.2","illumination":639,"connected":true,"on":false,"dimmer":0,"rgb":"#000000"} mihome.0 2020-09-26 11:50:41.181 debug (10037) RAW: {"cmd":"get_id_list_ack","sid":"7c49eb18dcb3","token":"DwVkEl0QFPBe0Aja","data":["158d000289eaf5","158d00026b9e32"]} mihome.0 2020-09-26 11:50:41.181 debug (10037) Send json: {"cmd":"read","sid":"158d00026b9e32"} mihome.0 2020-09-26 11:50:41.181 debug (10037) Send json: {"cmd":"read","sid":"158d000289eaf5"} mihome.0 2020-09-26 11:50:41.180 debug (10037) Send json: {"cmd":"read","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:50:41.176 debug (10037) RAW: {"cmd":"iam","port":"9898","sid":"7c49eb18dcb3","model":"gateway","proto_version":"1.1.2","ip":"192.168.178.25"} mihome.0 2020-09-26 11:50:41.175 info (10037) Change connection status: true mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.connected mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.remove_device mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.join_permission mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.proto_version mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.mid mihome.0 2020-09-26 11:50:41.173 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.volume mihome.0 2020-09-26 11:50:41.173 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.dimmer mihome.0 2020-09-26 11:50:41.173 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.on mihome.0 2020-09-26 11:50:41.173 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.rgb mihome.0 2020-09-26 11:50:41.172 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.illumination mihome.0 2020-09-26 11:50:41.172 debug (10037) NEW device: 7c49eb18dcb3(gateway) mihome.0 2020-09-26 11:50:41.171 debug (10037) sid : 7c49eb18dcb3 ip : 192.168.178.25 mihome.0 2020-09-26 11:50:41.169 debug (10037) Send json: {"cmd":"get_id_list","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:50:41.143 info (10037) Change connection status: false mihome.0 2020-09-26 11:50:41.073 info (10037) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.mihome, node: v12.18.4, js-controller: 3.1.6 mihome.0 2020-09-26 11:50:40.977 debug (10037) Plugin sentry Initialize Plugin (enabled=true) host.ioBrokerDebian10VM 2020-09-26 11:50:39.280 info instance system.adapter.mihome.0 started with pid 10037 host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:50:09.214 error (9416) Error: Invalid key length at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) at new Cipheriv (internal mihome.0 2020-09-26 11:50:09.213 error (9416) uncaught exception: Invalid key length mihome.0 2020-09-26 11:50:09.007 debug (9416) state:#0000FF mihome.0 2020-09-26 11:50:09.006 debug (9416) attr:rgb mihome.0 2020-09-26 11:50:08.649 debug (9416) RAW: {"cmd":"read_ack","model":"switch","sid":"158d00026b9e32","short_id":60012,"data":{"voltage":3032}} mihome.0 2020-09-26 11:50:08.648 debug (9416) data: 158d00026b9e32(switch): {"voltage":3.032,"percent":100} mihome.0 2020-09-26 11:50:08.647 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.long mihome.0 2020-09-26 11:50:08.647 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.double mihome.0 2020-09-26 11:50:08.646 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.click mihome.0 2020-09-26 11:50:08.646 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.percent mihome.0 2020-09-26 11:50:08.646 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.voltage mihome.0 2020-09-26 11:50:08.645 debug (9416) NEW device: 158d00026b9e32(switch) mihome.0 2020-09-26 11:50:08.644 debug (9416) RAW: {"cmd":"read_ack","model":"magnet","sid":"158d000289eaf5","short_id":61440,"data":{"voltage":3055,"status":"close"}} mihome.0 2020-09-26 11:50:08.643 debug (9416) data: 158d000289eaf5(magnet): {"voltage":3.055,"percent":100,"state":false} mihome.0 2020-09-26 11:50:08.642 debug (9416) Create mihome.0.devices.magnet_158d000289eaf5.state mihome.0 2020-09-26 11:50:08.642 debug (9416) Create mihome.0.devices.magnet_158d000289eaf5.percent mihome.0 2020-09-26 11:50:08.641 debug (9416) Create mihome.0.devices.magnet_158d000289eaf5.voltage mihome.0 2020-09-26 11:50:08.640 debug (9416) NEW device: 158d000289eaf5(magnet) mihome.0 2020-09-26 11:50:08.638 debug (9416) RAW: {"cmd":"read_ack","model":"gateway","sid":"7c49eb18dcb3","short_id":0,"data":{"rgb":0,"illumination":616,"proto_version":"1.1.2"}} mihome.0 2020-09-26 11:50:08.635 debug (9416) data: 7c49eb18dcb3(gateway): {"proto_version":"1.1.2","illumination":616,"connected":true,"on":false,"dimmer":0,"rgb":"#000000"} mihome.0 2020-09-26 11:50:08.629 debug (9416) RAW: {"cmd":"get_id_list_ack","sid":"7c49eb18dcb3","token":"XM9VrxU69hnBNHNY","data":["158d000289eaf5","158d00026b9e32"]} mihome.0 2020-09-26 11:50:08.629 debug (9416) Send json: {"cmd":"read","sid":"158d00026b9e32"} mihome.0 2020-09-26 11:50:08.628 debug (9416) Send json: {"cmd":"read","sid":"158d000289eaf5"} mihome.0 2020-09-26 11:50:08.628 debug (9416) Send json: {"cmd":"read","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:50:08.623 debug (9416) RAW: {"cmd":"iam","port":"9898","sid":"7c49eb18dcb3","model":"gateway","proto_version":"1.1.2","ip":"192.168.178.25"} mihome.0 2020-09-26 11:50:08.622 info (9416) Change connection status: true mihome.0 2020-09-26 11:50:08.621 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.connected mihome.0 2020-09-26 11:50:08.620 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.remove_device mihome.0 2020-09-26 11:50:08.620 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.join_permission mihome.0 2020-09-26 11:50:08.620 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.proto_version mihome.0 2020-09-26 11:50:08.619 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.mid mihome.0 2020-09-26 11:50:08.619 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.volume mihome.0 2020-09-26 11:50:08.619 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.dimmer mihome.0 2020-09-26 11:50:08.618 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.on mihome.0 2020-09-26 11:50:08.617 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.rgb mihome.0 2020-09-26 11:50:08.617 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.illumination mihome.0 2020-09-26 11:50:08.616 debug (9416) NEW device: 7c49eb18dcb3(gateway) mihome.0 2020-09-26 11:50:08.615 debug (9416) sid : 7c49eb18dcb3 ip : 192.168.178.25 mihome.0 2020-09-26 11:50:08.614 debug (9416) Send json: {"cmd":"get_id_list","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:50:08.558 info (9416) Change connection status: false mihome.0 2020-09-26 11:50:08.457 info (9416) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.mihome, node: v12.18.4, js-controller: 3.1.6 mihome.0 2020-09-26 11:50:08.347 debug (9416) Plugin sentry Initialize Plugin (enabled=true) host.ioBrokerDebian10VM 2020-09-26 11:50:08.268 info instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR) dwd.0 2020-09-26 11:50:07.675 info (9247) Terminated (NO_ERROR): Without reason host.ioBrokerDebian10VM 2020-09-26 11:50:06.592 info instance system.adapter.mihome.0 started with pid 9416 dwd.0 2020-09-26 11:50:02.677 info (9247) starting. Version 2.4.10 in /opt/iobroker/node_modules/iobroker.dwd, node: v12.18.4, js-controller: 3.1.6 javascript.0 2020-09-26 11:50:00.144 info (15422) script.js.Licht.Luxmeter_reset: 381 host.ioBrokerDebian10VM 2020-09-26 11:50:00.074 info instance system.adapter.dwd.0 started with pid 9247 javascript.0 2020-09-26 11:50:00.003 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 920.36 javascript.0 2020-09-26 11:50:00.003 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['897.2','894','893.7','896.2','902.3','912.1','926.1','942.3','959.7','980','1004'] javascript.0 2020-09-26 11:49:50.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 912.3 javascript.0 2020-09-26 11:49:50.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['899.4','897.2','894','893.7','896.2','902.3','912.1','926.1','942.3','959.7','980'] javascript.0 2020-09-26 11:49:40.002 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 906.38 javascript.0 2020-09-26 11:49:40.002 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['900.5','899.4','897.2','894','893.7','896.2','902.3','912.1','926.1','942.3','959.7'] host.ioBrokerDebian10VM 2020-09-26 11:49:36.562 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:49:36.562 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:49:36.562 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:49:34.267 debug (8749) statesDB connected mihome.0 2020-09-26 11:49:34.266 debug (8749) States connected to redis: 127.0.0.1:9000 mihome.0 2020-09-26 11:49:34.253 debug (8749) States create System PubSub Client mihome.0 2020-09-26 11:49:34.252 debug (8749) States create User PubSub Client mihome.0 2020-09-26 11:49:34.244 debug (8749) Redis States: Use Redis connection: 127.0.0.1:9000 mihome.0 2020-09-26 11:49:34.242 debug (8749) objectDB connected mihome.0 2020-09-26 11:49:34.239 debug (8749) Objects connected to redis: 127.0.0.1:9001 mihome.0 2020-09-26 11:49:34.224 debug (8749) Objects client initialize lua scripts mihome.0 2020-09-26 11:49:34.223 debug (8749) Objects create User PubSub Client mihome.0 2020-09-26 11:49:34.222 debug (8749) Objects create System PubSub Client mihome.0 2020-09-26 11:49:34.202 debug (8749) Objects client ready ... initialize now mihome.0 2020-09-26 11:49:34.155 debug (8749) Redis Objects: Use Redis connection: 127.0.0.1:9001 host.ioBrokerDebian10VM 2020-09-26 11:49:33.638 info instance system.adapter.mihome.0 started with pid 8749 host.ioBrokerDebian10VM 2020-09-26 11:49:33.598 info "system.adapter.mihome.0" enabledBitte beachten, das Log geht von unten nach oben (gehts glaub ich immer...) . Das Erste was mir auffällt ist in der dritten Zeile Redis Objects und weitere Dinge, die mit Redis zu tun haben. Ich verwende kein Redis und habe auch sonstwo in der letzten Zeit keine Einstellungen geändert. Der Rest läuft. Hat jemand einen Tip? Mit 1.3.3 war noch alles gut. 1.3.4 und 1.3.5 kamen in kurzer Zeit, deshalb weiß ich jetzt gerade nciht, mit welcher Version es begonnen hat...
Grüße
ioBroker auf Intel NUC - Homematic CCU3/pivCCU auf Raspi 3B+
-
Liebe Freunde,
Node.js
v12.18.4
NPM
6.14.6
Repo auf latest
mihome xiaomi auf 1.3.5ich habe den mihome Adapter upgedated und seitdem wechselt der Adapter zwischen rot-gelb grün und mein Gateway (ich glaube V2, habe mit löten den Port geöffnet) funktioniert nicht mehr. Bei debug gibt es folgendes Log:
host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:51:49.214 error (11473) Error: Invalid key length at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) at new Cipheriv (interna mihome.0 2020-09-26 11:51:49.214 error (11473) uncaught exception: Invalid key length mihome.0 2020-09-26 11:51:49.007 debug (11473) state:#0000FF mihome.0 2020-09-26 11:51:49.007 debug (11473) attr:rgb mihome.0 2020-09-26 11:51:48.166 debug (11473) RAW: {"cmd":"read_ack","model":"switch","sid":"158d00026b9e32","short_id":60012,"data":{"voltage":3032}} mihome.0 2020-09-26 11:51:48.165 debug (11473) data: 158d00026b9e32(switch): {"voltage":3.032,"percent":100} mihome.0 2020-09-26 11:51:48.165 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.long mihome.0 2020-09-26 11:51:48.164 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.double mihome.0 2020-09-26 11:51:48.164 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.click mihome.0 2020-09-26 11:51:48.164 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.percent mihome.0 2020-09-26 11:51:48.164 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.voltage mihome.0 2020-09-26 11:51:48.164 debug (11473) NEW device: 158d00026b9e32(switch) mihome.0 2020-09-26 11:51:48.163 debug (11473) RAW: {"cmd":"read_ack","model":"magnet","sid":"158d000289eaf5","short_id":61440,"data":{"voltage":3055,"status":"close"}} mihome.0 2020-09-26 11:51:48.162 debug (11473) data: 158d000289eaf5(magnet): {"voltage":3.055,"percent":100,"state":false} mihome.0 2020-09-26 11:51:48.162 debug (11473) Create mihome.0.devices.magnet_158d000289eaf5.state mihome.0 2020-09-26 11:51:48.161 debug (11473) Create mihome.0.devices.magnet_158d000289eaf5.percent mihome.0 2020-09-26 11:51:48.161 debug (11473) Create mihome.0.devices.magnet_158d000289eaf5.voltage mihome.0 2020-09-26 11:51:48.161 debug (11473) NEW device: 158d000289eaf5(magnet) mihome.0 2020-09-26 11:51:48.158 debug (11473) RAW: {"cmd":"read_ack","model":"gateway","sid":"7c49eb18dcb3","short_id":0,"data":{"rgb":0,"illumination":686,"proto_version":"1.1.2"}} mihome.0 2020-09-26 11:51:48.157 debug (11473) data: 7c49eb18dcb3(gateway): {"proto_version":"1.1.2","illumination":686,"connected":true,"on":false,"dimmer":0,"rgb":"#000000"} mihome.0 2020-09-26 11:51:48.148 debug (11473) RAW: {"cmd":"get_id_list_ack","sid":"7c49eb18dcb3","token":"4N7sf3U39NH5QBFv","data":["158d000289eaf5","158d00026b9e32"]} mihome.0 2020-09-26 11:51:48.148 debug (11473) Send json: {"cmd":"read","sid":"158d00026b9e32"} mihome.0 2020-09-26 11:51:48.148 debug (11473) Send json: {"cmd":"read","sid":"158d000289eaf5"} mihome.0 2020-09-26 11:51:48.147 debug (11473) Send json: {"cmd":"read","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:51:48.144 debug (11473) RAW: {"cmd":"iam","port":"9898","sid":"7c49eb18dcb3","model":"gateway","proto_version":"1.1.2","ip":"192.168.178.25"} mihome.0 2020-09-26 11:51:48.143 info (11473) Change connection status: true mihome.0 2020-09-26 11:51:48.143 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.connected mihome.0 2020-09-26 11:51:48.143 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.remove_device mihome.0 2020-09-26 11:51:48.142 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.join_permission mihome.0 2020-09-26 11:51:48.142 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.proto_version mihome.0 2020-09-26 11:51:48.142 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.mid mihome.0 2020-09-26 11:51:48.142 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.volume mihome.0 2020-09-26 11:51:48.141 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.dimmer mihome.0 2020-09-26 11:51:48.141 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.on mihome.0 2020-09-26 11:51:48.141 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.rgb mihome.0 2020-09-26 11:51:48.141 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.illumination mihome.0 2020-09-26 11:51:48.140 debug (11473) NEW device: 7c49eb18dcb3(gateway) mihome.0 2020-09-26 11:51:48.140 debug (11473) sid : 7c49eb18dcb3 ip : 192.168.178.25 mihome.0 2020-09-26 11:51:48.139 debug (11473) Send json: {"cmd":"get_id_list","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:51:48.073 info (11473) Change connection status: false mihome.0 2020-09-26 11:51:47.980 info (11473) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.mihome, node: v12.18.4, js-controller: 3.1.6 mihome.0 2020-09-26 11:51:47.884 debug (11473) Plugin sentry Initialize Plugin (enabled=true) host.ioBrokerDebian10VM 2020-09-26 11:51:46.288 info instance system.adapter.mihome.0 started with pid 11473 host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:51:16.257 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:51:16.257 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:51:16.257 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:51:16.257 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:51:16.231 info (10702) Terminated (NO_ERROR): Without reason mihome.0 2020-09-26 11:51:16.231 debug (10702) Plugin sentry destroyed mihome.0 2020-09-26 11:51:16.230 info (10702) terminating mihome.0 2020-09-26 11:51:16.218 error (10702) Error: Invalid key length at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) at new Cipheriv (interna mihome.0 2020-09-26 11:51:16.218 error (10702) uncaught exception: Invalid key length mihome.0 2020-09-26 11:51:16.011 debug (10702) state:#FF0000 mihome.0 2020-09-26 11:51:16.011 debug (10702) attr:rgb mihome.0 2020-09-26 11:51:16.009 debug (10702) state:100 mihome.0 2020-09-26 11:51:16.008 debug (10702) attr:dimmer mihome.0 2020-09-26 11:51:14.661 debug (10702) RAW: {"cmd":"read_ack","model":"switch","sid":"158d00026b9e32","short_id":60012,"data":{"voltage":3032}} mihome.0 2020-09-26 11:51:14.661 debug (10702) data: 158d00026b9e32(switch): {"voltage":3.032,"percent":100} mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.long mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.double mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.click mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.percent mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.voltage mihome.0 2020-09-26 11:51:14.659 debug (10702) NEW device: 158d00026b9e32(switch) mihome.0 2020-09-26 11:51:14.659 debug (10702) RAW: {"cmd":"read_ack","model":"magnet","sid":"158d000289eaf5","short_id":61440,"data":{"voltage":3055,"status":"close"}} mihome.0 2020-09-26 11:51:14.658 debug (10702) data: 158d000289eaf5(magnet): {"voltage":3.055,"percent":100,"state":false} mihome.0 2020-09-26 11:51:14.657 debug (10702) Create mihome.0.devices.magnet_158d000289eaf5.state mihome.0 2020-09-26 11:51:14.657 debug (10702) Create mihome.0.devices.magnet_158d000289eaf5.percent mihome.0 2020-09-26 11:51:14.657 debug (10702) Create mihome.0.devices.magnet_158d000289eaf5.voltage mihome.0 2020-09-26 11:51:14.657 debug (10702) NEW device: 158d000289eaf5(magnet) mihome.0 2020-09-26 11:51:14.656 debug (10702) RAW: {"cmd":"read_ack","model":"gateway","sid":"7c49eb18dcb3","short_id":0,"data":{"rgb":0,"illumination":674,"proto_version":"1.1.2"}} mihome.0 2020-09-26 11:51:14.653 debug (10702) data: 7c49eb18dcb3(gateway): {"proto_version":"1.1.2","illumination":674,"connected":true,"on":false,"dimmer":0,"rgb":"#000000"} mihome.0 2020-09-26 11:51:14.648 debug (10702) RAW: {"cmd":"get_id_list_ack","sid":"7c49eb18dcb3","token":"S0EjKdPx7WJSTu6g","data":["158d000289eaf5","158d00026b9e32"]} mihome.0 2020-09-26 11:51:14.648 debug (10702) Send json: {"cmd":"read","sid":"158d00026b9e32"} mihome.0 2020-09-26 11:51:14.647 debug (10702) Send json: {"cmd":"read","sid":"158d000289eaf5"} mihome.0 2020-09-26 11:51:14.647 debug (10702) Send json: {"cmd":"read","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:51:14.643 debug (10702) RAW: {"cmd":"iam","port":"9898","sid":"7c49eb18dcb3","model":"gateway","proto_version":"1.1.2","ip":"192.168.178.25"} mihome.0 2020-09-26 11:51:14.643 info (10702) Change connection status: true mihome.0 2020-09-26 11:51:14.642 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.connected mihome.0 2020-09-26 11:51:14.642 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.remove_device mihome.0 2020-09-26 11:51:14.642 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.join_permission mihome.0 2020-09-26 11:51:14.641 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.proto_version mihome.0 2020-09-26 11:51:14.641 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.mid mihome.0 2020-09-26 11:51:14.641 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.volume mihome.0 2020-09-26 11:51:14.641 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.dimmer mihome.0 2020-09-26 11:51:14.640 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.on mihome.0 2020-09-26 11:51:14.640 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.rgb mihome.0 2020-09-26 11:51:14.640 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.illumination mihome.0 2020-09-26 11:51:14.639 debug (10702) NEW device: 7c49eb18dcb3(gateway) mihome.0 2020-09-26 11:51:14.639 debug (10702) sid : 7c49eb18dcb3 ip : 192.168.178.25 mihome.0 2020-09-26 11:51:14.638 debug (10702) Send json: {"cmd":"get_id_list","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:51:14.598 info (10702) Change connection status: false mihome.0 2020-09-26 11:51:14.517 info (10702) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.mihome, node: v12.18.4, js-controller: 3.1.6 mihome.0 2020-09-26 11:51:14.428 debug (10702) Plugin sentry Initialize Plugin (enabled=true) host.ioBrokerDebian10VM 2020-09-26 11:51:12.324 info instance system.adapter.mihome.0 started with pid 10702 javascript.0 2020-09-26 11:51:10.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 1038.5 javascript.0 2020-09-26 11:51:10.000 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['942.3','959.7','980','1004','1029','1053','1074','1094','1113','1136','1160'] javascript.0 2020-09-26 11:51:00.030 info (15422) script.js.Licht.Luxmeter_reset: Letzter Wert: 902.3 Aktueller Wert: 1136 javascript.0 2020-09-26 11:51:00.029 info (15422) script.js.Licht.Luxmeter_reset: 392 javascript.0 2020-09-26 11:51:00.003 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 1017.51 javascript.0 2020-09-26 11:51:00.002 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['926.1','942.3','959.7','980','1004','1029','1053','1074','1094','1113','1136'] javascript.0 2020-09-26 11:50:50.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 997.42 javascript.0 2020-09-26 11:50:50.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['912.1','926.1','942.3','959.7','980','1004','1029','1053','1074','1094','1113'] host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:50:42.215 error (10037) Error: Invalid key length at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) at new Cipheriv (interna mihome.0 2020-09-26 11:50:42.213 error (10037) uncaught exception: Invalid key length mihome.0 2020-09-26 11:50:42.007 debug (10037) state:0 mihome.0 2020-09-26 11:50:42.006 debug (10037) attr:dimmer mihome.0 2020-09-26 11:50:41.194 debug (10037) RAW: {"cmd":"read_ack","model":"switch","sid":"158d00026b9e32","short_id":60012,"data":{"voltage":3032}} mihome.0 2020-09-26 11:50:41.193 debug (10037) data: 158d00026b9e32(switch): {"voltage":3.032,"percent":100} mihome.0 2020-09-26 11:50:41.193 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.long mihome.0 2020-09-26 11:50:41.192 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.double mihome.0 2020-09-26 11:50:41.192 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.click mihome.0 2020-09-26 11:50:41.192 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.percent mihome.0 2020-09-26 11:50:41.192 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.voltage mihome.0 2020-09-26 11:50:41.192 debug (10037) NEW device: 158d00026b9e32(switch) mihome.0 2020-09-26 11:50:41.191 debug (10037) RAW: {"cmd":"read_ack","model":"magnet","sid":"158d000289eaf5","short_id":61440,"data":{"voltage":3055,"status":"close"}} mihome.0 2020-09-26 11:50:41.190 debug (10037) data: 158d000289eaf5(magnet): {"voltage":3.055,"percent":100,"state":false} mihome.0 2020-09-26 11:50:41.190 debug (10037) Create mihome.0.devices.magnet_158d000289eaf5.state mihome.0 2020-09-26 11:50:41.189 debug (10037) Create mihome.0.devices.magnet_158d000289eaf5.percent mihome.0 2020-09-26 11:50:41.189 debug (10037) Create mihome.0.devices.magnet_158d000289eaf5.voltage mihome.0 2020-09-26 11:50:41.189 debug (10037) NEW device: 158d000289eaf5(magnet) mihome.0 2020-09-26 11:50:41.188 debug (10037) RAW: {"cmd":"read_ack","model":"gateway","sid":"7c49eb18dcb3","short_id":0,"data":{"rgb":0,"illumination":639,"proto_version":"1.1.2"}} mihome.0 2020-09-26 11:50:41.185 debug (10037) data: 7c49eb18dcb3(gateway): {"proto_version":"1.1.2","illumination":639,"connected":true,"on":false,"dimmer":0,"rgb":"#000000"} mihome.0 2020-09-26 11:50:41.181 debug (10037) RAW: {"cmd":"get_id_list_ack","sid":"7c49eb18dcb3","token":"DwVkEl0QFPBe0Aja","data":["158d000289eaf5","158d00026b9e32"]} mihome.0 2020-09-26 11:50:41.181 debug (10037) Send json: {"cmd":"read","sid":"158d00026b9e32"} mihome.0 2020-09-26 11:50:41.181 debug (10037) Send json: {"cmd":"read","sid":"158d000289eaf5"} mihome.0 2020-09-26 11:50:41.180 debug (10037) Send json: {"cmd":"read","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:50:41.176 debug (10037) RAW: {"cmd":"iam","port":"9898","sid":"7c49eb18dcb3","model":"gateway","proto_version":"1.1.2","ip":"192.168.178.25"} mihome.0 2020-09-26 11:50:41.175 info (10037) Change connection status: true mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.connected mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.remove_device mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.join_permission mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.proto_version mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.mid mihome.0 2020-09-26 11:50:41.173 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.volume mihome.0 2020-09-26 11:50:41.173 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.dimmer mihome.0 2020-09-26 11:50:41.173 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.on mihome.0 2020-09-26 11:50:41.173 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.rgb mihome.0 2020-09-26 11:50:41.172 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.illumination mihome.0 2020-09-26 11:50:41.172 debug (10037) NEW device: 7c49eb18dcb3(gateway) mihome.0 2020-09-26 11:50:41.171 debug (10037) sid : 7c49eb18dcb3 ip : 192.168.178.25 mihome.0 2020-09-26 11:50:41.169 debug (10037) Send json: {"cmd":"get_id_list","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:50:41.143 info (10037) Change connection status: false mihome.0 2020-09-26 11:50:41.073 info (10037) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.mihome, node: v12.18.4, js-controller: 3.1.6 mihome.0 2020-09-26 11:50:40.977 debug (10037) Plugin sentry Initialize Plugin (enabled=true) host.ioBrokerDebian10VM 2020-09-26 11:50:39.280 info instance system.adapter.mihome.0 started with pid 10037 host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:50:09.214 error (9416) Error: Invalid key length at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) at new Cipheriv (internal mihome.0 2020-09-26 11:50:09.213 error (9416) uncaught exception: Invalid key length mihome.0 2020-09-26 11:50:09.007 debug (9416) state:#0000FF mihome.0 2020-09-26 11:50:09.006 debug (9416) attr:rgb mihome.0 2020-09-26 11:50:08.649 debug (9416) RAW: {"cmd":"read_ack","model":"switch","sid":"158d00026b9e32","short_id":60012,"data":{"voltage":3032}} mihome.0 2020-09-26 11:50:08.648 debug (9416) data: 158d00026b9e32(switch): {"voltage":3.032,"percent":100} mihome.0 2020-09-26 11:50:08.647 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.long mihome.0 2020-09-26 11:50:08.647 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.double mihome.0 2020-09-26 11:50:08.646 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.click mihome.0 2020-09-26 11:50:08.646 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.percent mihome.0 2020-09-26 11:50:08.646 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.voltage mihome.0 2020-09-26 11:50:08.645 debug (9416) NEW device: 158d00026b9e32(switch) mihome.0 2020-09-26 11:50:08.644 debug (9416) RAW: {"cmd":"read_ack","model":"magnet","sid":"158d000289eaf5","short_id":61440,"data":{"voltage":3055,"status":"close"}} mihome.0 2020-09-26 11:50:08.643 debug (9416) data: 158d000289eaf5(magnet): {"voltage":3.055,"percent":100,"state":false} mihome.0 2020-09-26 11:50:08.642 debug (9416) Create mihome.0.devices.magnet_158d000289eaf5.state mihome.0 2020-09-26 11:50:08.642 debug (9416) Create mihome.0.devices.magnet_158d000289eaf5.percent mihome.0 2020-09-26 11:50:08.641 debug (9416) Create mihome.0.devices.magnet_158d000289eaf5.voltage mihome.0 2020-09-26 11:50:08.640 debug (9416) NEW device: 158d000289eaf5(magnet) mihome.0 2020-09-26 11:50:08.638 debug (9416) RAW: {"cmd":"read_ack","model":"gateway","sid":"7c49eb18dcb3","short_id":0,"data":{"rgb":0,"illumination":616,"proto_version":"1.1.2"}} mihome.0 2020-09-26 11:50:08.635 debug (9416) data: 7c49eb18dcb3(gateway): {"proto_version":"1.1.2","illumination":616,"connected":true,"on":false,"dimmer":0,"rgb":"#000000"} mihome.0 2020-09-26 11:50:08.629 debug (9416) RAW: {"cmd":"get_id_list_ack","sid":"7c49eb18dcb3","token":"XM9VrxU69hnBNHNY","data":["158d000289eaf5","158d00026b9e32"]} mihome.0 2020-09-26 11:50:08.629 debug (9416) Send json: {"cmd":"read","sid":"158d00026b9e32"} mihome.0 2020-09-26 11:50:08.628 debug (9416) Send json: {"cmd":"read","sid":"158d000289eaf5"} mihome.0 2020-09-26 11:50:08.628 debug (9416) Send json: {"cmd":"read","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:50:08.623 debug (9416) RAW: {"cmd":"iam","port":"9898","sid":"7c49eb18dcb3","model":"gateway","proto_version":"1.1.2","ip":"192.168.178.25"} mihome.0 2020-09-26 11:50:08.622 info (9416) Change connection status: true mihome.0 2020-09-26 11:50:08.621 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.connected mihome.0 2020-09-26 11:50:08.620 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.remove_device mihome.0 2020-09-26 11:50:08.620 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.join_permission mihome.0 2020-09-26 11:50:08.620 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.proto_version mihome.0 2020-09-26 11:50:08.619 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.mid mihome.0 2020-09-26 11:50:08.619 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.volume mihome.0 2020-09-26 11:50:08.619 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.dimmer mihome.0 2020-09-26 11:50:08.618 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.on mihome.0 2020-09-26 11:50:08.617 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.rgb mihome.0 2020-09-26 11:50:08.617 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.illumination mihome.0 2020-09-26 11:50:08.616 debug (9416) NEW device: 7c49eb18dcb3(gateway) mihome.0 2020-09-26 11:50:08.615 debug (9416) sid : 7c49eb18dcb3 ip : 192.168.178.25 mihome.0 2020-09-26 11:50:08.614 debug (9416) Send json: {"cmd":"get_id_list","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:50:08.558 info (9416) Change connection status: false mihome.0 2020-09-26 11:50:08.457 info (9416) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.mihome, node: v12.18.4, js-controller: 3.1.6 mihome.0 2020-09-26 11:50:08.347 debug (9416) Plugin sentry Initialize Plugin (enabled=true) host.ioBrokerDebian10VM 2020-09-26 11:50:08.268 info instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR) dwd.0 2020-09-26 11:50:07.675 info (9247) Terminated (NO_ERROR): Without reason host.ioBrokerDebian10VM 2020-09-26 11:50:06.592 info instance system.adapter.mihome.0 started with pid 9416 dwd.0 2020-09-26 11:50:02.677 info (9247) starting. Version 2.4.10 in /opt/iobroker/node_modules/iobroker.dwd, node: v12.18.4, js-controller: 3.1.6 javascript.0 2020-09-26 11:50:00.144 info (15422) script.js.Licht.Luxmeter_reset: 381 host.ioBrokerDebian10VM 2020-09-26 11:50:00.074 info instance system.adapter.dwd.0 started with pid 9247 javascript.0 2020-09-26 11:50:00.003 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 920.36 javascript.0 2020-09-26 11:50:00.003 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['897.2','894','893.7','896.2','902.3','912.1','926.1','942.3','959.7','980','1004'] javascript.0 2020-09-26 11:49:50.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 912.3 javascript.0 2020-09-26 11:49:50.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['899.4','897.2','894','893.7','896.2','902.3','912.1','926.1','942.3','959.7','980'] javascript.0 2020-09-26 11:49:40.002 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 906.38 javascript.0 2020-09-26 11:49:40.002 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['900.5','899.4','897.2','894','893.7','896.2','902.3','912.1','926.1','942.3','959.7'] host.ioBrokerDebian10VM 2020-09-26 11:49:36.562 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:49:36.562 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:49:36.562 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:49:34.267 debug (8749) statesDB connected mihome.0 2020-09-26 11:49:34.266 debug (8749) States connected to redis: 127.0.0.1:9000 mihome.0 2020-09-26 11:49:34.253 debug (8749) States create System PubSub Client mihome.0 2020-09-26 11:49:34.252 debug (8749) States create User PubSub Client mihome.0 2020-09-26 11:49:34.244 debug (8749) Redis States: Use Redis connection: 127.0.0.1:9000 mihome.0 2020-09-26 11:49:34.242 debug (8749) objectDB connected mihome.0 2020-09-26 11:49:34.239 debug (8749) Objects connected to redis: 127.0.0.1:9001 mihome.0 2020-09-26 11:49:34.224 debug (8749) Objects client initialize lua scripts mihome.0 2020-09-26 11:49:34.223 debug (8749) Objects create User PubSub Client mihome.0 2020-09-26 11:49:34.222 debug (8749) Objects create System PubSub Client mihome.0 2020-09-26 11:49:34.202 debug (8749) Objects client ready ... initialize now mihome.0 2020-09-26 11:49:34.155 debug (8749) Redis Objects: Use Redis connection: 127.0.0.1:9001 host.ioBrokerDebian10VM 2020-09-26 11:49:33.638 info instance system.adapter.mihome.0 started with pid 8749 host.ioBrokerDebian10VM 2020-09-26 11:49:33.598 info "system.adapter.mihome.0" enabledBitte beachten, das Log geht von unten nach oben (gehts glaub ich immer...) . Das Erste was mir auffällt ist in der dritten Zeile Redis Objects und weitere Dinge, die mit Redis zu tun haben. Ich verwende kein Redis und habe auch sonstwo in der letzten Zeit keine Einstellungen geändert. Der Rest läuft. Hat jemand einen Tip? Mit 1.3.3 war noch alles gut. 1.3.4 und 1.3.5 kamen in kurzer Zeit, deshalb weiß ich jetzt gerade nciht, mit welcher Version es begonnen hat...
Grüße
-
Nachtrag:

Unter Gateway Schlüssel ist dieser weiterhin eingetragen und wurde ebenfalls nicht geändert.
@XxJooO Hi, trag den Key auch mal auf der ersten Seite ein, dann sollte es gehen.
Im Log steht ja mehrmals, dass der Key nicht stimmt, bzw. falsche Länge... -
Liebe Freunde,
Node.js
v12.18.4
NPM
6.14.6
Repo auf latest
mihome xiaomi auf 1.3.5ich habe den mihome Adapter upgedated und seitdem wechselt der Adapter zwischen rot-gelb grün und mein Gateway (ich glaube V2, habe mit löten den Port geöffnet) funktioniert nicht mehr. Bei debug gibt es folgendes Log:
host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:51:49.214 error (11473) Error: Invalid key length at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) at new Cipheriv (interna mihome.0 2020-09-26 11:51:49.214 error (11473) uncaught exception: Invalid key length mihome.0 2020-09-26 11:51:49.007 debug (11473) state:#0000FF mihome.0 2020-09-26 11:51:49.007 debug (11473) attr:rgb mihome.0 2020-09-26 11:51:48.166 debug (11473) RAW: {"cmd":"read_ack","model":"switch","sid":"158d00026b9e32","short_id":60012,"data":{"voltage":3032}} mihome.0 2020-09-26 11:51:48.165 debug (11473) data: 158d00026b9e32(switch): {"voltage":3.032,"percent":100} mihome.0 2020-09-26 11:51:48.165 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.long mihome.0 2020-09-26 11:51:48.164 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.double mihome.0 2020-09-26 11:51:48.164 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.click mihome.0 2020-09-26 11:51:48.164 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.percent mihome.0 2020-09-26 11:51:48.164 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.voltage mihome.0 2020-09-26 11:51:48.164 debug (11473) NEW device: 158d00026b9e32(switch) mihome.0 2020-09-26 11:51:48.163 debug (11473) RAW: {"cmd":"read_ack","model":"magnet","sid":"158d000289eaf5","short_id":61440,"data":{"voltage":3055,"status":"close"}} mihome.0 2020-09-26 11:51:48.162 debug (11473) data: 158d000289eaf5(magnet): {"voltage":3.055,"percent":100,"state":false} mihome.0 2020-09-26 11:51:48.162 debug (11473) Create mihome.0.devices.magnet_158d000289eaf5.state mihome.0 2020-09-26 11:51:48.161 debug (11473) Create mihome.0.devices.magnet_158d000289eaf5.percent mihome.0 2020-09-26 11:51:48.161 debug (11473) Create mihome.0.devices.magnet_158d000289eaf5.voltage mihome.0 2020-09-26 11:51:48.161 debug (11473) NEW device: 158d000289eaf5(magnet) mihome.0 2020-09-26 11:51:48.158 debug (11473) RAW: {"cmd":"read_ack","model":"gateway","sid":"7c49eb18dcb3","short_id":0,"data":{"rgb":0,"illumination":686,"proto_version":"1.1.2"}} mihome.0 2020-09-26 11:51:48.157 debug (11473) data: 7c49eb18dcb3(gateway): {"proto_version":"1.1.2","illumination":686,"connected":true,"on":false,"dimmer":0,"rgb":"#000000"} mihome.0 2020-09-26 11:51:48.148 debug (11473) RAW: {"cmd":"get_id_list_ack","sid":"7c49eb18dcb3","token":"4N7sf3U39NH5QBFv","data":["158d000289eaf5","158d00026b9e32"]} mihome.0 2020-09-26 11:51:48.148 debug (11473) Send json: {"cmd":"read","sid":"158d00026b9e32"} mihome.0 2020-09-26 11:51:48.148 debug (11473) Send json: {"cmd":"read","sid":"158d000289eaf5"} mihome.0 2020-09-26 11:51:48.147 debug (11473) Send json: {"cmd":"read","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:51:48.144 debug (11473) RAW: {"cmd":"iam","port":"9898","sid":"7c49eb18dcb3","model":"gateway","proto_version":"1.1.2","ip":"192.168.178.25"} mihome.0 2020-09-26 11:51:48.143 info (11473) Change connection status: true mihome.0 2020-09-26 11:51:48.143 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.connected mihome.0 2020-09-26 11:51:48.143 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.remove_device mihome.0 2020-09-26 11:51:48.142 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.join_permission mihome.0 2020-09-26 11:51:48.142 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.proto_version mihome.0 2020-09-26 11:51:48.142 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.mid mihome.0 2020-09-26 11:51:48.142 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.volume mihome.0 2020-09-26 11:51:48.141 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.dimmer mihome.0 2020-09-26 11:51:48.141 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.on mihome.0 2020-09-26 11:51:48.141 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.rgb mihome.0 2020-09-26 11:51:48.141 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.illumination mihome.0 2020-09-26 11:51:48.140 debug (11473) NEW device: 7c49eb18dcb3(gateway) mihome.0 2020-09-26 11:51:48.140 debug (11473) sid : 7c49eb18dcb3 ip : 192.168.178.25 mihome.0 2020-09-26 11:51:48.139 debug (11473) Send json: {"cmd":"get_id_list","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:51:48.073 info (11473) Change connection status: false mihome.0 2020-09-26 11:51:47.980 info (11473) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.mihome, node: v12.18.4, js-controller: 3.1.6 mihome.0 2020-09-26 11:51:47.884 debug (11473) Plugin sentry Initialize Plugin (enabled=true) host.ioBrokerDebian10VM 2020-09-26 11:51:46.288 info instance system.adapter.mihome.0 started with pid 11473 host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:51:16.257 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:51:16.257 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:51:16.257 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:51:16.257 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:51:16.231 info (10702) Terminated (NO_ERROR): Without reason mihome.0 2020-09-26 11:51:16.231 debug (10702) Plugin sentry destroyed mihome.0 2020-09-26 11:51:16.230 info (10702) terminating mihome.0 2020-09-26 11:51:16.218 error (10702) Error: Invalid key length at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) at new Cipheriv (interna mihome.0 2020-09-26 11:51:16.218 error (10702) uncaught exception: Invalid key length mihome.0 2020-09-26 11:51:16.011 debug (10702) state:#FF0000 mihome.0 2020-09-26 11:51:16.011 debug (10702) attr:rgb mihome.0 2020-09-26 11:51:16.009 debug (10702) state:100 mihome.0 2020-09-26 11:51:16.008 debug (10702) attr:dimmer mihome.0 2020-09-26 11:51:14.661 debug (10702) RAW: {"cmd":"read_ack","model":"switch","sid":"158d00026b9e32","short_id":60012,"data":{"voltage":3032}} mihome.0 2020-09-26 11:51:14.661 debug (10702) data: 158d00026b9e32(switch): {"voltage":3.032,"percent":100} mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.long mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.double mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.click mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.percent mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.voltage mihome.0 2020-09-26 11:51:14.659 debug (10702) NEW device: 158d00026b9e32(switch) mihome.0 2020-09-26 11:51:14.659 debug (10702) RAW: {"cmd":"read_ack","model":"magnet","sid":"158d000289eaf5","short_id":61440,"data":{"voltage":3055,"status":"close"}} mihome.0 2020-09-26 11:51:14.658 debug (10702) data: 158d000289eaf5(magnet): {"voltage":3.055,"percent":100,"state":false} mihome.0 2020-09-26 11:51:14.657 debug (10702) Create mihome.0.devices.magnet_158d000289eaf5.state mihome.0 2020-09-26 11:51:14.657 debug (10702) Create mihome.0.devices.magnet_158d000289eaf5.percent mihome.0 2020-09-26 11:51:14.657 debug (10702) Create mihome.0.devices.magnet_158d000289eaf5.voltage mihome.0 2020-09-26 11:51:14.657 debug (10702) NEW device: 158d000289eaf5(magnet) mihome.0 2020-09-26 11:51:14.656 debug (10702) RAW: {"cmd":"read_ack","model":"gateway","sid":"7c49eb18dcb3","short_id":0,"data":{"rgb":0,"illumination":674,"proto_version":"1.1.2"}} mihome.0 2020-09-26 11:51:14.653 debug (10702) data: 7c49eb18dcb3(gateway): {"proto_version":"1.1.2","illumination":674,"connected":true,"on":false,"dimmer":0,"rgb":"#000000"} mihome.0 2020-09-26 11:51:14.648 debug (10702) RAW: {"cmd":"get_id_list_ack","sid":"7c49eb18dcb3","token":"S0EjKdPx7WJSTu6g","data":["158d000289eaf5","158d00026b9e32"]} mihome.0 2020-09-26 11:51:14.648 debug (10702) Send json: {"cmd":"read","sid":"158d00026b9e32"} mihome.0 2020-09-26 11:51:14.647 debug (10702) Send json: {"cmd":"read","sid":"158d000289eaf5"} mihome.0 2020-09-26 11:51:14.647 debug (10702) Send json: {"cmd":"read","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:51:14.643 debug (10702) RAW: {"cmd":"iam","port":"9898","sid":"7c49eb18dcb3","model":"gateway","proto_version":"1.1.2","ip":"192.168.178.25"} mihome.0 2020-09-26 11:51:14.643 info (10702) Change connection status: true mihome.0 2020-09-26 11:51:14.642 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.connected mihome.0 2020-09-26 11:51:14.642 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.remove_device mihome.0 2020-09-26 11:51:14.642 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.join_permission mihome.0 2020-09-26 11:51:14.641 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.proto_version mihome.0 2020-09-26 11:51:14.641 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.mid mihome.0 2020-09-26 11:51:14.641 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.volume mihome.0 2020-09-26 11:51:14.641 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.dimmer mihome.0 2020-09-26 11:51:14.640 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.on mihome.0 2020-09-26 11:51:14.640 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.rgb mihome.0 2020-09-26 11:51:14.640 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.illumination mihome.0 2020-09-26 11:51:14.639 debug (10702) NEW device: 7c49eb18dcb3(gateway) mihome.0 2020-09-26 11:51:14.639 debug (10702) sid : 7c49eb18dcb3 ip : 192.168.178.25 mihome.0 2020-09-26 11:51:14.638 debug (10702) Send json: {"cmd":"get_id_list","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:51:14.598 info (10702) Change connection status: false mihome.0 2020-09-26 11:51:14.517 info (10702) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.mihome, node: v12.18.4, js-controller: 3.1.6 mihome.0 2020-09-26 11:51:14.428 debug (10702) Plugin sentry Initialize Plugin (enabled=true) host.ioBrokerDebian10VM 2020-09-26 11:51:12.324 info instance system.adapter.mihome.0 started with pid 10702 javascript.0 2020-09-26 11:51:10.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 1038.5 javascript.0 2020-09-26 11:51:10.000 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['942.3','959.7','980','1004','1029','1053','1074','1094','1113','1136','1160'] javascript.0 2020-09-26 11:51:00.030 info (15422) script.js.Licht.Luxmeter_reset: Letzter Wert: 902.3 Aktueller Wert: 1136 javascript.0 2020-09-26 11:51:00.029 info (15422) script.js.Licht.Luxmeter_reset: 392 javascript.0 2020-09-26 11:51:00.003 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 1017.51 javascript.0 2020-09-26 11:51:00.002 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['926.1','942.3','959.7','980','1004','1029','1053','1074','1094','1113','1136'] javascript.0 2020-09-26 11:50:50.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 997.42 javascript.0 2020-09-26 11:50:50.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['912.1','926.1','942.3','959.7','980','1004','1029','1053','1074','1094','1113'] host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:50:42.215 error (10037) Error: Invalid key length at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) at new Cipheriv (interna mihome.0 2020-09-26 11:50:42.213 error (10037) uncaught exception: Invalid key length mihome.0 2020-09-26 11:50:42.007 debug (10037) state:0 mihome.0 2020-09-26 11:50:42.006 debug (10037) attr:dimmer mihome.0 2020-09-26 11:50:41.194 debug (10037) RAW: {"cmd":"read_ack","model":"switch","sid":"158d00026b9e32","short_id":60012,"data":{"voltage":3032}} mihome.0 2020-09-26 11:50:41.193 debug (10037) data: 158d00026b9e32(switch): {"voltage":3.032,"percent":100} mihome.0 2020-09-26 11:50:41.193 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.long mihome.0 2020-09-26 11:50:41.192 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.double mihome.0 2020-09-26 11:50:41.192 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.click mihome.0 2020-09-26 11:50:41.192 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.percent mihome.0 2020-09-26 11:50:41.192 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.voltage mihome.0 2020-09-26 11:50:41.192 debug (10037) NEW device: 158d00026b9e32(switch) mihome.0 2020-09-26 11:50:41.191 debug (10037) RAW: {"cmd":"read_ack","model":"magnet","sid":"158d000289eaf5","short_id":61440,"data":{"voltage":3055,"status":"close"}} mihome.0 2020-09-26 11:50:41.190 debug (10037) data: 158d000289eaf5(magnet): {"voltage":3.055,"percent":100,"state":false} mihome.0 2020-09-26 11:50:41.190 debug (10037) Create mihome.0.devices.magnet_158d000289eaf5.state mihome.0 2020-09-26 11:50:41.189 debug (10037) Create mihome.0.devices.magnet_158d000289eaf5.percent mihome.0 2020-09-26 11:50:41.189 debug (10037) Create mihome.0.devices.magnet_158d000289eaf5.voltage mihome.0 2020-09-26 11:50:41.189 debug (10037) NEW device: 158d000289eaf5(magnet) mihome.0 2020-09-26 11:50:41.188 debug (10037) RAW: {"cmd":"read_ack","model":"gateway","sid":"7c49eb18dcb3","short_id":0,"data":{"rgb":0,"illumination":639,"proto_version":"1.1.2"}} mihome.0 2020-09-26 11:50:41.185 debug (10037) data: 7c49eb18dcb3(gateway): {"proto_version":"1.1.2","illumination":639,"connected":true,"on":false,"dimmer":0,"rgb":"#000000"} mihome.0 2020-09-26 11:50:41.181 debug (10037) RAW: {"cmd":"get_id_list_ack","sid":"7c49eb18dcb3","token":"DwVkEl0QFPBe0Aja","data":["158d000289eaf5","158d00026b9e32"]} mihome.0 2020-09-26 11:50:41.181 debug (10037) Send json: {"cmd":"read","sid":"158d00026b9e32"} mihome.0 2020-09-26 11:50:41.181 debug (10037) Send json: {"cmd":"read","sid":"158d000289eaf5"} mihome.0 2020-09-26 11:50:41.180 debug (10037) Send json: {"cmd":"read","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:50:41.176 debug (10037) RAW: {"cmd":"iam","port":"9898","sid":"7c49eb18dcb3","model":"gateway","proto_version":"1.1.2","ip":"192.168.178.25"} mihome.0 2020-09-26 11:50:41.175 info (10037) Change connection status: true mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.connected mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.remove_device mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.join_permission mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.proto_version mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.mid mihome.0 2020-09-26 11:50:41.173 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.volume mihome.0 2020-09-26 11:50:41.173 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.dimmer mihome.0 2020-09-26 11:50:41.173 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.on mihome.0 2020-09-26 11:50:41.173 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.rgb mihome.0 2020-09-26 11:50:41.172 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.illumination mihome.0 2020-09-26 11:50:41.172 debug (10037) NEW device: 7c49eb18dcb3(gateway) mihome.0 2020-09-26 11:50:41.171 debug (10037) sid : 7c49eb18dcb3 ip : 192.168.178.25 mihome.0 2020-09-26 11:50:41.169 debug (10037) Send json: {"cmd":"get_id_list","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:50:41.143 info (10037) Change connection status: false mihome.0 2020-09-26 11:50:41.073 info (10037) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.mihome, node: v12.18.4, js-controller: 3.1.6 mihome.0 2020-09-26 11:50:40.977 debug (10037) Plugin sentry Initialize Plugin (enabled=true) host.ioBrokerDebian10VM 2020-09-26 11:50:39.280 info instance system.adapter.mihome.0 started with pid 10037 host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:50:09.214 error (9416) Error: Invalid key length at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) at new Cipheriv (internal mihome.0 2020-09-26 11:50:09.213 error (9416) uncaught exception: Invalid key length mihome.0 2020-09-26 11:50:09.007 debug (9416) state:#0000FF mihome.0 2020-09-26 11:50:09.006 debug (9416) attr:rgb mihome.0 2020-09-26 11:50:08.649 debug (9416) RAW: {"cmd":"read_ack","model":"switch","sid":"158d00026b9e32","short_id":60012,"data":{"voltage":3032}} mihome.0 2020-09-26 11:50:08.648 debug (9416) data: 158d00026b9e32(switch): {"voltage":3.032,"percent":100} mihome.0 2020-09-26 11:50:08.647 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.long mihome.0 2020-09-26 11:50:08.647 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.double mihome.0 2020-09-26 11:50:08.646 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.click mihome.0 2020-09-26 11:50:08.646 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.percent mihome.0 2020-09-26 11:50:08.646 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.voltage mihome.0 2020-09-26 11:50:08.645 debug (9416) NEW device: 158d00026b9e32(switch) mihome.0 2020-09-26 11:50:08.644 debug (9416) RAW: {"cmd":"read_ack","model":"magnet","sid":"158d000289eaf5","short_id":61440,"data":{"voltage":3055,"status":"close"}} mihome.0 2020-09-26 11:50:08.643 debug (9416) data: 158d000289eaf5(magnet): {"voltage":3.055,"percent":100,"state":false} mihome.0 2020-09-26 11:50:08.642 debug (9416) Create mihome.0.devices.magnet_158d000289eaf5.state mihome.0 2020-09-26 11:50:08.642 debug (9416) Create mihome.0.devices.magnet_158d000289eaf5.percent mihome.0 2020-09-26 11:50:08.641 debug (9416) Create mihome.0.devices.magnet_158d000289eaf5.voltage mihome.0 2020-09-26 11:50:08.640 debug (9416) NEW device: 158d000289eaf5(magnet) mihome.0 2020-09-26 11:50:08.638 debug (9416) RAW: {"cmd":"read_ack","model":"gateway","sid":"7c49eb18dcb3","short_id":0,"data":{"rgb":0,"illumination":616,"proto_version":"1.1.2"}} mihome.0 2020-09-26 11:50:08.635 debug (9416) data: 7c49eb18dcb3(gateway): {"proto_version":"1.1.2","illumination":616,"connected":true,"on":false,"dimmer":0,"rgb":"#000000"} mihome.0 2020-09-26 11:50:08.629 debug (9416) RAW: {"cmd":"get_id_list_ack","sid":"7c49eb18dcb3","token":"XM9VrxU69hnBNHNY","data":["158d000289eaf5","158d00026b9e32"]} mihome.0 2020-09-26 11:50:08.629 debug (9416) Send json: {"cmd":"read","sid":"158d00026b9e32"} mihome.0 2020-09-26 11:50:08.628 debug (9416) Send json: {"cmd":"read","sid":"158d000289eaf5"} mihome.0 2020-09-26 11:50:08.628 debug (9416) Send json: {"cmd":"read","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:50:08.623 debug (9416) RAW: {"cmd":"iam","port":"9898","sid":"7c49eb18dcb3","model":"gateway","proto_version":"1.1.2","ip":"192.168.178.25"} mihome.0 2020-09-26 11:50:08.622 info (9416) Change connection status: true mihome.0 2020-09-26 11:50:08.621 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.connected mihome.0 2020-09-26 11:50:08.620 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.remove_device mihome.0 2020-09-26 11:50:08.620 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.join_permission mihome.0 2020-09-26 11:50:08.620 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.proto_version mihome.0 2020-09-26 11:50:08.619 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.mid mihome.0 2020-09-26 11:50:08.619 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.volume mihome.0 2020-09-26 11:50:08.619 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.dimmer mihome.0 2020-09-26 11:50:08.618 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.on mihome.0 2020-09-26 11:50:08.617 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.rgb mihome.0 2020-09-26 11:50:08.617 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.illumination mihome.0 2020-09-26 11:50:08.616 debug (9416) NEW device: 7c49eb18dcb3(gateway) mihome.0 2020-09-26 11:50:08.615 debug (9416) sid : 7c49eb18dcb3 ip : 192.168.178.25 mihome.0 2020-09-26 11:50:08.614 debug (9416) Send json: {"cmd":"get_id_list","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:50:08.558 info (9416) Change connection status: false mihome.0 2020-09-26 11:50:08.457 info (9416) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.mihome, node: v12.18.4, js-controller: 3.1.6 mihome.0 2020-09-26 11:50:08.347 debug (9416) Plugin sentry Initialize Plugin (enabled=true) host.ioBrokerDebian10VM 2020-09-26 11:50:08.268 info instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR) dwd.0 2020-09-26 11:50:07.675 info (9247) Terminated (NO_ERROR): Without reason host.ioBrokerDebian10VM 2020-09-26 11:50:06.592 info instance system.adapter.mihome.0 started with pid 9416 dwd.0 2020-09-26 11:50:02.677 info (9247) starting. Version 2.4.10 in /opt/iobroker/node_modules/iobroker.dwd, node: v12.18.4, js-controller: 3.1.6 javascript.0 2020-09-26 11:50:00.144 info (15422) script.js.Licht.Luxmeter_reset: 381 host.ioBrokerDebian10VM 2020-09-26 11:50:00.074 info instance system.adapter.dwd.0 started with pid 9247 javascript.0 2020-09-26 11:50:00.003 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 920.36 javascript.0 2020-09-26 11:50:00.003 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['897.2','894','893.7','896.2','902.3','912.1','926.1','942.3','959.7','980','1004'] javascript.0 2020-09-26 11:49:50.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 912.3 javascript.0 2020-09-26 11:49:50.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['899.4','897.2','894','893.7','896.2','902.3','912.1','926.1','942.3','959.7','980'] javascript.0 2020-09-26 11:49:40.002 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 906.38 javascript.0 2020-09-26 11:49:40.002 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['900.5','899.4','897.2','894','893.7','896.2','902.3','912.1','926.1','942.3','959.7'] host.ioBrokerDebian10VM 2020-09-26 11:49:36.562 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:49:36.562 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:49:36.562 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:49:34.267 debug (8749) statesDB connected mihome.0 2020-09-26 11:49:34.266 debug (8749) States connected to redis: 127.0.0.1:9000 mihome.0 2020-09-26 11:49:34.253 debug (8749) States create System PubSub Client mihome.0 2020-09-26 11:49:34.252 debug (8749) States create User PubSub Client mihome.0 2020-09-26 11:49:34.244 debug (8749) Redis States: Use Redis connection: 127.0.0.1:9000 mihome.0 2020-09-26 11:49:34.242 debug (8749) objectDB connected mihome.0 2020-09-26 11:49:34.239 debug (8749) Objects connected to redis: 127.0.0.1:9001 mihome.0 2020-09-26 11:49:34.224 debug (8749) Objects client initialize lua scripts mihome.0 2020-09-26 11:49:34.223 debug (8749) Objects create User PubSub Client mihome.0 2020-09-26 11:49:34.222 debug (8749) Objects create System PubSub Client mihome.0 2020-09-26 11:49:34.202 debug (8749) Objects client ready ... initialize now mihome.0 2020-09-26 11:49:34.155 debug (8749) Redis Objects: Use Redis connection: 127.0.0.1:9001 host.ioBrokerDebian10VM 2020-09-26 11:49:33.638 info instance system.adapter.mihome.0 started with pid 8749 host.ioBrokerDebian10VM 2020-09-26 11:49:33.598 info "system.adapter.mihome.0" enabledBitte beachten, das Log geht von unten nach oben (gehts glaub ich immer...) . Das Erste was mir auffällt ist in der dritten Zeile Redis Objects und weitere Dinge, die mit Redis zu tun haben. Ich verwende kein Redis und habe auch sonstwo in der letzten Zeit keine Einstellungen geändert. Der Rest läuft. Hat jemand einen Tip? Mit 1.3.3 war noch alles gut. 1.3.4 und 1.3.5 kamen in kurzer Zeit, deshalb weiß ich jetzt gerade nciht, mit welcher Version es begonnen hat...
Grüße
@XxJooO sagte in mihome-Adapter bleibt nach update rot:
Error: Invalid key length
Hast du ihn mal gelöscht ... Adapter starten ... Adapter stoppen ... Key von Hand neu eingeben ... speichern ... Adapter starten
Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..
-
Liebe Freunde,
Node.js
v12.18.4
NPM
6.14.6
Repo auf latest
mihome xiaomi auf 1.3.5ich habe den mihome Adapter upgedated und seitdem wechselt der Adapter zwischen rot-gelb grün und mein Gateway (ich glaube V2, habe mit löten den Port geöffnet) funktioniert nicht mehr. Bei debug gibt es folgendes Log:
host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:51:49.256 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:51:49.255 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:51:49.214 error (11473) Error: Invalid key length at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) at new Cipheriv (interna mihome.0 2020-09-26 11:51:49.214 error (11473) uncaught exception: Invalid key length mihome.0 2020-09-26 11:51:49.007 debug (11473) state:#0000FF mihome.0 2020-09-26 11:51:49.007 debug (11473) attr:rgb mihome.0 2020-09-26 11:51:48.166 debug (11473) RAW: {"cmd":"read_ack","model":"switch","sid":"158d00026b9e32","short_id":60012,"data":{"voltage":3032}} mihome.0 2020-09-26 11:51:48.165 debug (11473) data: 158d00026b9e32(switch): {"voltage":3.032,"percent":100} mihome.0 2020-09-26 11:51:48.165 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.long mihome.0 2020-09-26 11:51:48.164 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.double mihome.0 2020-09-26 11:51:48.164 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.click mihome.0 2020-09-26 11:51:48.164 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.percent mihome.0 2020-09-26 11:51:48.164 debug (11473) Create mihome.0.devices.switch_158d00026b9e32.voltage mihome.0 2020-09-26 11:51:48.164 debug (11473) NEW device: 158d00026b9e32(switch) mihome.0 2020-09-26 11:51:48.163 debug (11473) RAW: {"cmd":"read_ack","model":"magnet","sid":"158d000289eaf5","short_id":61440,"data":{"voltage":3055,"status":"close"}} mihome.0 2020-09-26 11:51:48.162 debug (11473) data: 158d000289eaf5(magnet): {"voltage":3.055,"percent":100,"state":false} mihome.0 2020-09-26 11:51:48.162 debug (11473) Create mihome.0.devices.magnet_158d000289eaf5.state mihome.0 2020-09-26 11:51:48.161 debug (11473) Create mihome.0.devices.magnet_158d000289eaf5.percent mihome.0 2020-09-26 11:51:48.161 debug (11473) Create mihome.0.devices.magnet_158d000289eaf5.voltage mihome.0 2020-09-26 11:51:48.161 debug (11473) NEW device: 158d000289eaf5(magnet) mihome.0 2020-09-26 11:51:48.158 debug (11473) RAW: {"cmd":"read_ack","model":"gateway","sid":"7c49eb18dcb3","short_id":0,"data":{"rgb":0,"illumination":686,"proto_version":"1.1.2"}} mihome.0 2020-09-26 11:51:48.157 debug (11473) data: 7c49eb18dcb3(gateway): {"proto_version":"1.1.2","illumination":686,"connected":true,"on":false,"dimmer":0,"rgb":"#000000"} mihome.0 2020-09-26 11:51:48.148 debug (11473) RAW: {"cmd":"get_id_list_ack","sid":"7c49eb18dcb3","token":"4N7sf3U39NH5QBFv","data":["158d000289eaf5","158d00026b9e32"]} mihome.0 2020-09-26 11:51:48.148 debug (11473) Send json: {"cmd":"read","sid":"158d00026b9e32"} mihome.0 2020-09-26 11:51:48.148 debug (11473) Send json: {"cmd":"read","sid":"158d000289eaf5"} mihome.0 2020-09-26 11:51:48.147 debug (11473) Send json: {"cmd":"read","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:51:48.144 debug (11473) RAW: {"cmd":"iam","port":"9898","sid":"7c49eb18dcb3","model":"gateway","proto_version":"1.1.2","ip":"192.168.178.25"} mihome.0 2020-09-26 11:51:48.143 info (11473) Change connection status: true mihome.0 2020-09-26 11:51:48.143 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.connected mihome.0 2020-09-26 11:51:48.143 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.remove_device mihome.0 2020-09-26 11:51:48.142 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.join_permission mihome.0 2020-09-26 11:51:48.142 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.proto_version mihome.0 2020-09-26 11:51:48.142 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.mid mihome.0 2020-09-26 11:51:48.142 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.volume mihome.0 2020-09-26 11:51:48.141 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.dimmer mihome.0 2020-09-26 11:51:48.141 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.on mihome.0 2020-09-26 11:51:48.141 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.rgb mihome.0 2020-09-26 11:51:48.141 debug (11473) Create mihome.0.devices.gateway_7c49eb18dcb3.illumination mihome.0 2020-09-26 11:51:48.140 debug (11473) NEW device: 7c49eb18dcb3(gateway) mihome.0 2020-09-26 11:51:48.140 debug (11473) sid : 7c49eb18dcb3 ip : 192.168.178.25 mihome.0 2020-09-26 11:51:48.139 debug (11473) Send json: {"cmd":"get_id_list","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:51:48.073 info (11473) Change connection status: false mihome.0 2020-09-26 11:51:47.980 info (11473) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.mihome, node: v12.18.4, js-controller: 3.1.6 mihome.0 2020-09-26 11:51:47.884 debug (11473) Plugin sentry Initialize Plugin (enabled=true) host.ioBrokerDebian10VM 2020-09-26 11:51:46.288 info instance system.adapter.mihome.0 started with pid 11473 host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:51:16.258 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:51:16.257 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:51:16.257 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:51:16.257 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:51:16.257 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:51:16.231 info (10702) Terminated (NO_ERROR): Without reason mihome.0 2020-09-26 11:51:16.231 debug (10702) Plugin sentry destroyed mihome.0 2020-09-26 11:51:16.230 info (10702) terminating mihome.0 2020-09-26 11:51:16.218 error (10702) Error: Invalid key length at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) at new Cipheriv (interna mihome.0 2020-09-26 11:51:16.218 error (10702) uncaught exception: Invalid key length mihome.0 2020-09-26 11:51:16.011 debug (10702) state:#FF0000 mihome.0 2020-09-26 11:51:16.011 debug (10702) attr:rgb mihome.0 2020-09-26 11:51:16.009 debug (10702) state:100 mihome.0 2020-09-26 11:51:16.008 debug (10702) attr:dimmer mihome.0 2020-09-26 11:51:14.661 debug (10702) RAW: {"cmd":"read_ack","model":"switch","sid":"158d00026b9e32","short_id":60012,"data":{"voltage":3032}} mihome.0 2020-09-26 11:51:14.661 debug (10702) data: 158d00026b9e32(switch): {"voltage":3.032,"percent":100} mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.long mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.double mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.click mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.percent mihome.0 2020-09-26 11:51:14.660 debug (10702) Create mihome.0.devices.switch_158d00026b9e32.voltage mihome.0 2020-09-26 11:51:14.659 debug (10702) NEW device: 158d00026b9e32(switch) mihome.0 2020-09-26 11:51:14.659 debug (10702) RAW: {"cmd":"read_ack","model":"magnet","sid":"158d000289eaf5","short_id":61440,"data":{"voltage":3055,"status":"close"}} mihome.0 2020-09-26 11:51:14.658 debug (10702) data: 158d000289eaf5(magnet): {"voltage":3.055,"percent":100,"state":false} mihome.0 2020-09-26 11:51:14.657 debug (10702) Create mihome.0.devices.magnet_158d000289eaf5.state mihome.0 2020-09-26 11:51:14.657 debug (10702) Create mihome.0.devices.magnet_158d000289eaf5.percent mihome.0 2020-09-26 11:51:14.657 debug (10702) Create mihome.0.devices.magnet_158d000289eaf5.voltage mihome.0 2020-09-26 11:51:14.657 debug (10702) NEW device: 158d000289eaf5(magnet) mihome.0 2020-09-26 11:51:14.656 debug (10702) RAW: {"cmd":"read_ack","model":"gateway","sid":"7c49eb18dcb3","short_id":0,"data":{"rgb":0,"illumination":674,"proto_version":"1.1.2"}} mihome.0 2020-09-26 11:51:14.653 debug (10702) data: 7c49eb18dcb3(gateway): {"proto_version":"1.1.2","illumination":674,"connected":true,"on":false,"dimmer":0,"rgb":"#000000"} mihome.0 2020-09-26 11:51:14.648 debug (10702) RAW: {"cmd":"get_id_list_ack","sid":"7c49eb18dcb3","token":"S0EjKdPx7WJSTu6g","data":["158d000289eaf5","158d00026b9e32"]} mihome.0 2020-09-26 11:51:14.648 debug (10702) Send json: {"cmd":"read","sid":"158d00026b9e32"} mihome.0 2020-09-26 11:51:14.647 debug (10702) Send json: {"cmd":"read","sid":"158d000289eaf5"} mihome.0 2020-09-26 11:51:14.647 debug (10702) Send json: {"cmd":"read","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:51:14.643 debug (10702) RAW: {"cmd":"iam","port":"9898","sid":"7c49eb18dcb3","model":"gateway","proto_version":"1.1.2","ip":"192.168.178.25"} mihome.0 2020-09-26 11:51:14.643 info (10702) Change connection status: true mihome.0 2020-09-26 11:51:14.642 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.connected mihome.0 2020-09-26 11:51:14.642 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.remove_device mihome.0 2020-09-26 11:51:14.642 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.join_permission mihome.0 2020-09-26 11:51:14.641 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.proto_version mihome.0 2020-09-26 11:51:14.641 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.mid mihome.0 2020-09-26 11:51:14.641 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.volume mihome.0 2020-09-26 11:51:14.641 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.dimmer mihome.0 2020-09-26 11:51:14.640 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.on mihome.0 2020-09-26 11:51:14.640 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.rgb mihome.0 2020-09-26 11:51:14.640 debug (10702) Create mihome.0.devices.gateway_7c49eb18dcb3.illumination mihome.0 2020-09-26 11:51:14.639 debug (10702) NEW device: 7c49eb18dcb3(gateway) mihome.0 2020-09-26 11:51:14.639 debug (10702) sid : 7c49eb18dcb3 ip : 192.168.178.25 mihome.0 2020-09-26 11:51:14.638 debug (10702) Send json: {"cmd":"get_id_list","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:51:14.598 info (10702) Change connection status: false mihome.0 2020-09-26 11:51:14.517 info (10702) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.mihome, node: v12.18.4, js-controller: 3.1.6 mihome.0 2020-09-26 11:51:14.428 debug (10702) Plugin sentry Initialize Plugin (enabled=true) host.ioBrokerDebian10VM 2020-09-26 11:51:12.324 info instance system.adapter.mihome.0 started with pid 10702 javascript.0 2020-09-26 11:51:10.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 1038.5 javascript.0 2020-09-26 11:51:10.000 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['942.3','959.7','980','1004','1029','1053','1074','1094','1113','1136','1160'] javascript.0 2020-09-26 11:51:00.030 info (15422) script.js.Licht.Luxmeter_reset: Letzter Wert: 902.3 Aktueller Wert: 1136 javascript.0 2020-09-26 11:51:00.029 info (15422) script.js.Licht.Luxmeter_reset: 392 javascript.0 2020-09-26 11:51:00.003 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 1017.51 javascript.0 2020-09-26 11:51:00.002 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['926.1','942.3','959.7','980','1004','1029','1053','1074','1094','1113','1136'] javascript.0 2020-09-26 11:50:50.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 997.42 javascript.0 2020-09-26 11:50:50.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['912.1','926.1','942.3','959.7','980','1004','1029','1053','1074','1094','1113'] host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:50:42.266 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:50:42.265 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:50:42.215 error (10037) Error: Invalid key length at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) at new Cipheriv (interna mihome.0 2020-09-26 11:50:42.213 error (10037) uncaught exception: Invalid key length mihome.0 2020-09-26 11:50:42.007 debug (10037) state:0 mihome.0 2020-09-26 11:50:42.006 debug (10037) attr:dimmer mihome.0 2020-09-26 11:50:41.194 debug (10037) RAW: {"cmd":"read_ack","model":"switch","sid":"158d00026b9e32","short_id":60012,"data":{"voltage":3032}} mihome.0 2020-09-26 11:50:41.193 debug (10037) data: 158d00026b9e32(switch): {"voltage":3.032,"percent":100} mihome.0 2020-09-26 11:50:41.193 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.long mihome.0 2020-09-26 11:50:41.192 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.double mihome.0 2020-09-26 11:50:41.192 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.click mihome.0 2020-09-26 11:50:41.192 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.percent mihome.0 2020-09-26 11:50:41.192 debug (10037) Create mihome.0.devices.switch_158d00026b9e32.voltage mihome.0 2020-09-26 11:50:41.192 debug (10037) NEW device: 158d00026b9e32(switch) mihome.0 2020-09-26 11:50:41.191 debug (10037) RAW: {"cmd":"read_ack","model":"magnet","sid":"158d000289eaf5","short_id":61440,"data":{"voltage":3055,"status":"close"}} mihome.0 2020-09-26 11:50:41.190 debug (10037) data: 158d000289eaf5(magnet): {"voltage":3.055,"percent":100,"state":false} mihome.0 2020-09-26 11:50:41.190 debug (10037) Create mihome.0.devices.magnet_158d000289eaf5.state mihome.0 2020-09-26 11:50:41.189 debug (10037) Create mihome.0.devices.magnet_158d000289eaf5.percent mihome.0 2020-09-26 11:50:41.189 debug (10037) Create mihome.0.devices.magnet_158d000289eaf5.voltage mihome.0 2020-09-26 11:50:41.189 debug (10037) NEW device: 158d000289eaf5(magnet) mihome.0 2020-09-26 11:50:41.188 debug (10037) RAW: {"cmd":"read_ack","model":"gateway","sid":"7c49eb18dcb3","short_id":0,"data":{"rgb":0,"illumination":639,"proto_version":"1.1.2"}} mihome.0 2020-09-26 11:50:41.185 debug (10037) data: 7c49eb18dcb3(gateway): {"proto_version":"1.1.2","illumination":639,"connected":true,"on":false,"dimmer":0,"rgb":"#000000"} mihome.0 2020-09-26 11:50:41.181 debug (10037) RAW: {"cmd":"get_id_list_ack","sid":"7c49eb18dcb3","token":"DwVkEl0QFPBe0Aja","data":["158d000289eaf5","158d00026b9e32"]} mihome.0 2020-09-26 11:50:41.181 debug (10037) Send json: {"cmd":"read","sid":"158d00026b9e32"} mihome.0 2020-09-26 11:50:41.181 debug (10037) Send json: {"cmd":"read","sid":"158d000289eaf5"} mihome.0 2020-09-26 11:50:41.180 debug (10037) Send json: {"cmd":"read","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:50:41.176 debug (10037) RAW: {"cmd":"iam","port":"9898","sid":"7c49eb18dcb3","model":"gateway","proto_version":"1.1.2","ip":"192.168.178.25"} mihome.0 2020-09-26 11:50:41.175 info (10037) Change connection status: true mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.connected mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.remove_device mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.join_permission mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.proto_version mihome.0 2020-09-26 11:50:41.174 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.mid mihome.0 2020-09-26 11:50:41.173 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.volume mihome.0 2020-09-26 11:50:41.173 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.dimmer mihome.0 2020-09-26 11:50:41.173 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.on mihome.0 2020-09-26 11:50:41.173 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.rgb mihome.0 2020-09-26 11:50:41.172 debug (10037) Create mihome.0.devices.gateway_7c49eb18dcb3.illumination mihome.0 2020-09-26 11:50:41.172 debug (10037) NEW device: 7c49eb18dcb3(gateway) mihome.0 2020-09-26 11:50:41.171 debug (10037) sid : 7c49eb18dcb3 ip : 192.168.178.25 mihome.0 2020-09-26 11:50:41.169 debug (10037) Send json: {"cmd":"get_id_list","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:50:41.143 info (10037) Change connection status: false mihome.0 2020-09-26 11:50:41.073 info (10037) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.mihome, node: v12.18.4, js-controller: 3.1.6 mihome.0 2020-09-26 11:50:40.977 debug (10037) Plugin sentry Initialize Plugin (enabled=true) host.ioBrokerDebian10VM 2020-09-26 11:50:39.280 info instance system.adapter.mihome.0 started with pid 10037 host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:50:09.252 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:50:09.251 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:50:09.214 error (9416) Error: Invalid key length at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) at new Cipheriv (internal mihome.0 2020-09-26 11:50:09.213 error (9416) uncaught exception: Invalid key length mihome.0 2020-09-26 11:50:09.007 debug (9416) state:#0000FF mihome.0 2020-09-26 11:50:09.006 debug (9416) attr:rgb mihome.0 2020-09-26 11:50:08.649 debug (9416) RAW: {"cmd":"read_ack","model":"switch","sid":"158d00026b9e32","short_id":60012,"data":{"voltage":3032}} mihome.0 2020-09-26 11:50:08.648 debug (9416) data: 158d00026b9e32(switch): {"voltage":3.032,"percent":100} mihome.0 2020-09-26 11:50:08.647 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.long mihome.0 2020-09-26 11:50:08.647 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.double mihome.0 2020-09-26 11:50:08.646 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.click mihome.0 2020-09-26 11:50:08.646 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.percent mihome.0 2020-09-26 11:50:08.646 debug (9416) Create mihome.0.devices.switch_158d00026b9e32.voltage mihome.0 2020-09-26 11:50:08.645 debug (9416) NEW device: 158d00026b9e32(switch) mihome.0 2020-09-26 11:50:08.644 debug (9416) RAW: {"cmd":"read_ack","model":"magnet","sid":"158d000289eaf5","short_id":61440,"data":{"voltage":3055,"status":"close"}} mihome.0 2020-09-26 11:50:08.643 debug (9416) data: 158d000289eaf5(magnet): {"voltage":3.055,"percent":100,"state":false} mihome.0 2020-09-26 11:50:08.642 debug (9416) Create mihome.0.devices.magnet_158d000289eaf5.state mihome.0 2020-09-26 11:50:08.642 debug (9416) Create mihome.0.devices.magnet_158d000289eaf5.percent mihome.0 2020-09-26 11:50:08.641 debug (9416) Create mihome.0.devices.magnet_158d000289eaf5.voltage mihome.0 2020-09-26 11:50:08.640 debug (9416) NEW device: 158d000289eaf5(magnet) mihome.0 2020-09-26 11:50:08.638 debug (9416) RAW: {"cmd":"read_ack","model":"gateway","sid":"7c49eb18dcb3","short_id":0,"data":{"rgb":0,"illumination":616,"proto_version":"1.1.2"}} mihome.0 2020-09-26 11:50:08.635 debug (9416) data: 7c49eb18dcb3(gateway): {"proto_version":"1.1.2","illumination":616,"connected":true,"on":false,"dimmer":0,"rgb":"#000000"} mihome.0 2020-09-26 11:50:08.629 debug (9416) RAW: {"cmd":"get_id_list_ack","sid":"7c49eb18dcb3","token":"XM9VrxU69hnBNHNY","data":["158d000289eaf5","158d00026b9e32"]} mihome.0 2020-09-26 11:50:08.629 debug (9416) Send json: {"cmd":"read","sid":"158d00026b9e32"} mihome.0 2020-09-26 11:50:08.628 debug (9416) Send json: {"cmd":"read","sid":"158d000289eaf5"} mihome.0 2020-09-26 11:50:08.628 debug (9416) Send json: {"cmd":"read","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:50:08.623 debug (9416) RAW: {"cmd":"iam","port":"9898","sid":"7c49eb18dcb3","model":"gateway","proto_version":"1.1.2","ip":"192.168.178.25"} mihome.0 2020-09-26 11:50:08.622 info (9416) Change connection status: true mihome.0 2020-09-26 11:50:08.621 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.connected mihome.0 2020-09-26 11:50:08.620 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.remove_device mihome.0 2020-09-26 11:50:08.620 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.join_permission mihome.0 2020-09-26 11:50:08.620 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.proto_version mihome.0 2020-09-26 11:50:08.619 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.mid mihome.0 2020-09-26 11:50:08.619 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.volume mihome.0 2020-09-26 11:50:08.619 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.dimmer mihome.0 2020-09-26 11:50:08.618 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.on mihome.0 2020-09-26 11:50:08.617 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.rgb mihome.0 2020-09-26 11:50:08.617 debug (9416) Create mihome.0.devices.gateway_7c49eb18dcb3.illumination mihome.0 2020-09-26 11:50:08.616 debug (9416) NEW device: 7c49eb18dcb3(gateway) mihome.0 2020-09-26 11:50:08.615 debug (9416) sid : 7c49eb18dcb3 ip : 192.168.178.25 mihome.0 2020-09-26 11:50:08.614 debug (9416) Send json: {"cmd":"get_id_list","sid":"7c49eb18dcb3"} mihome.0 2020-09-26 11:50:08.558 info (9416) Change connection status: false mihome.0 2020-09-26 11:50:08.457 info (9416) starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.mihome, node: v12.18.4, js-controller: 3.1.6 mihome.0 2020-09-26 11:50:08.347 debug (9416) Plugin sentry Initialize Plugin (enabled=true) host.ioBrokerDebian10VM 2020-09-26 11:50:08.268 info instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR) dwd.0 2020-09-26 11:50:07.675 info (9247) Terminated (NO_ERROR): Without reason host.ioBrokerDebian10VM 2020-09-26 11:50:06.592 info instance system.adapter.mihome.0 started with pid 9416 dwd.0 2020-09-26 11:50:02.677 info (9247) starting. Version 2.4.10 in /opt/iobroker/node_modules/iobroker.dwd, node: v12.18.4, js-controller: 3.1.6 javascript.0 2020-09-26 11:50:00.144 info (15422) script.js.Licht.Luxmeter_reset: 381 host.ioBrokerDebian10VM 2020-09-26 11:50:00.074 info instance system.adapter.dwd.0 started with pid 9247 javascript.0 2020-09-26 11:50:00.003 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 920.36 javascript.0 2020-09-26 11:50:00.003 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['897.2','894','893.7','896.2','902.3','912.1','926.1','942.3','959.7','980','1004'] javascript.0 2020-09-26 11:49:50.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 912.3 javascript.0 2020-09-26 11:49:50.001 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['899.4','897.2','894','893.7','896.2','902.3','912.1','926.1','942.3','959.7','980'] javascript.0 2020-09-26 11:49:40.002 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: 906.38 javascript.0 2020-09-26 11:49:40.002 info (15422) script.js.Licht.Luxmeter_gleitender_Mittelwert: ['900.5','899.4','897.2','894','893.7','896.2','902.3','912.1','926.1','942.3','959.7'] host.ioBrokerDebian10VM 2020-09-26 11:49:36.562 info Restart adapter system.adapter.mihome.0 because enabled host.ioBrokerDebian10VM 2020-09-26 11:49:36.562 error instance system.adapter.mihome.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBrokerDebian10VM 2020-09-26 11:49:36.562 error Caught by controller[0]: at processTimers (internal/timers.js:492:7) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at listOnTimeout (internal/timers.js:549:17) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.mihome/lib/Sensors/Gateway.js:260:36) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Hub.getKey (/opt/iobroker/node_modules/iobroker.mihome/lib/Hub.js:225:31) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Object.createCipheriv (crypto.js:119:10) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at new Cipheriv (internal/crypto/cipher.js:225:22) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Cipheriv.createCipherWithIV (internal/crypto/cipher.js:121:20) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: at Cipheriv.createCipherBase (internal/crypto/cipher.js:103:19) host.ioBrokerDebian10VM 2020-09-26 11:49:36.561 error Caught by controller[0]: Error: Invalid key length mihome.0 2020-09-26 11:49:34.267 debug (8749) statesDB connected mihome.0 2020-09-26 11:49:34.266 debug (8749) States connected to redis: 127.0.0.1:9000 mihome.0 2020-09-26 11:49:34.253 debug (8749) States create System PubSub Client mihome.0 2020-09-26 11:49:34.252 debug (8749) States create User PubSub Client mihome.0 2020-09-26 11:49:34.244 debug (8749) Redis States: Use Redis connection: 127.0.0.1:9000 mihome.0 2020-09-26 11:49:34.242 debug (8749) objectDB connected mihome.0 2020-09-26 11:49:34.239 debug (8749) Objects connected to redis: 127.0.0.1:9001 mihome.0 2020-09-26 11:49:34.224 debug (8749) Objects client initialize lua scripts mihome.0 2020-09-26 11:49:34.223 debug (8749) Objects create User PubSub Client mihome.0 2020-09-26 11:49:34.222 debug (8749) Objects create System PubSub Client mihome.0 2020-09-26 11:49:34.202 debug (8749) Objects client ready ... initialize now mihome.0 2020-09-26 11:49:34.155 debug (8749) Redis Objects: Use Redis connection: 127.0.0.1:9001 host.ioBrokerDebian10VM 2020-09-26 11:49:33.638 info instance system.adapter.mihome.0 started with pid 8749 host.ioBrokerDebian10VM 2020-09-26 11:49:33.598 info "system.adapter.mihome.0" enabledBitte beachten, das Log geht von unten nach oben (gehts glaub ich immer...) . Das Erste was mir auffällt ist in der dritten Zeile Redis Objects und weitere Dinge, die mit Redis zu tun haben. Ich verwende kein Redis und habe auch sonstwo in der letzten Zeit keine Einstellungen geändert. Der Rest läuft. Hat jemand einen Tip? Mit 1.3.3 war noch alles gut. 1.3.4 und 1.3.5 kamen in kurzer Zeit, deshalb weiß ich jetzt gerade nciht, mit welcher Version es begonnen hat...
Grüße
@XxJooO sagte in mihome-Adapter bleibt nach update rot:
Das Erste was mir auffällt ist in der dritten Zeile Redis Objects
wie schon erwähnt, key in der Haupteinstellung eintragen, gegebenenfalls Gateway mal kurz vom Strom nehmen.
Das ist das IoBroker interne Redis, sieht man am Port 9000/9001 und hat nichts mit dem eigentlichen Redis zu tun
umgestiegen von Proxmox auf Unraid
-
@XxJooO sagte in mihome-Adapter bleibt nach update rot:
Das Erste was mir auffällt ist in der dritten Zeile Redis Objects
wie schon erwähnt, key in der Haupteinstellung eintragen, gegebenenfalls Gateway mal kurz vom Strom nehmen.
Das ist das IoBroker interne Redis, sieht man am Port 9000/9001 und hat nichts mit dem eigentlichen Redis zu tun
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden