NEWS
Adapter: ioBroker.unifi
-
Hallo,
der Adapter sprang die ganze Zeit zwischen gelb und grün. Mittlerweile ist er nur noch gelb und ich habe jede menge Error logs. Ich habe zusätzlich noch ein User in der Dream Machine angelegt jedoch gibt es keine Besserung.
Ist es ein Konfigurationsfehler oder liegt es am Adapter?
Hat vielleicht jemand eine Idee?Vielen Dank vorab!
2021-03-22 14:13:44.154 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:13:45.520 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:13:46.864 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:13:48.216 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:13:49.577 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:13:50.939 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:13:52.291 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:13:53.366 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:13:53.650 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:13:54.999 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:13:56.370 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:13:57.723 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:13:59.123 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:00.543 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:01.481 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:14:01.857 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:14:03.436 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:14:03.707 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:14:03.977 - [34mdebug[39m: javascript.0 (1114) system.adapter.admin.0: logging false 2021-03-22 14:14:04.638 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:05.965 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:14:07.406 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:14:07.409 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:14:08.789 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:09.396 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:14:10.140 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:14:11.520 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:14:12.821 - [34mdebug[39m: javascript.0 (1114) system.adapter.admin.0: logging true 2021-03-22 14:14:12.918 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 4 updated 2021-03-22 14:14:13.003 - [32minfo[39m: unifi.0 (31611) Update done 2021-03-22 14:14:13.004 - [32minfo[39m: unifi.0 (31611) Update done 2021-03-22 14:14:13.004 - [32minfo[39m: unifi.0 (31611) Update done 2021-03-22 14:14:13.015 - [32minfo[39m: unifi.0 (31611) Update done 2021-03-22 14:14:13.023 - [32minfo[39m: unifi.0 (31611) Update done 2021-03-22 14:14:13.024 - [32minfo[39m: unifi.0 (31611) Update done 2021-03-22 14:14:13.027 - [32minfo[39m: unifi.0 (31611) Update done 2021-03-22 14:14:14.268 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:15.557 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:14:15.660 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:15.821 - [32minfo[39m: unifi.0 (31611) Update done 2021-03-22 14:14:15.969 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:14:16.492 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:14:16.609 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:14:17.058 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:18.444 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:19.845 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:14:20.317 - [32minfo[39m: unifi.0 (31611) Update done 2021-03-22 14:14:20.961 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:14:21.218 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:14:22.647 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:23.272 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:14:24.004 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:14:25.192 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:14:25.410 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:14:26.795 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:14:27.488 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:14:28.188 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:14:28.276 - [32minfo[39m: linux-control.0 (1527) getting data from Visualisierung (192.168.1.93:22) 2021-03-22 14:14:29.588 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:30.113 - [32minfo[39m: unifi.0 (31611) Update done 2021-03-22 14:14:30.687 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:14:30.966 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:32.288 - [34mdebug[39m: javascript.0 (1114) system.adapter.admin.0: logging false 2021-03-22 14:14:32.390 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:33.241 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:14:33.764 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:35.155 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:35.413 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:14:36.594 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:37.295 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:14:37.956 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:38.073 - [32minfo[39m: linux-control.0 (1527) successful received data from Visualisierung (192.168.1.93:22) 2021-03-22 14:14:39.358 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:40.006 - [32minfo[39m: unifi.0 (31611) Update done 2021-03-22 14:14:40.562 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:14:40.760 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:42.243 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:43.577 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 4 updated 2021-03-22 14:14:44.056 - [31merror[39m: unifi.0 (31611) fetchSites: Returned data is not in valid format 2021-03-22 14:14:44.332 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:14:44.969 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 4 updated 2021-03-22 14:14:46.387 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:14:47.801 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:48.241 - [32minfo[39m: unifi.0 (31611) Update done 2021-03-22 14:14:48.539 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:14:49.204 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:14:50.656 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:51.150 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:14:52.036 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:53.238 - [34mdebug[39m: javascript.0 (1114) system.adapter.admin.0: logging true 2021-03-22 14:14:53.434 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:14:53.458 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:54.862 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:14:55.826 - [32minfo[39m: unifi.0 (31611) Update done 2021-03-22 14:14:56.317 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 4 updated 2021-03-22 14:14:56.746 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:14:57.697 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:14:59.120 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:15:01.481 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:15:01.946 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:15:03.376 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:15:03.519 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:15:03.813 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:15:04.837 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:15:06.096 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:15:06.228 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:15:07.409 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:15:07.572 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:15:08.182 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:15:08.978 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:15:10.374 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:15:10.411 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:15:11.204 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:15:11.768 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:15:13.198 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:15:13.423 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:15:14.549 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:15:15.940 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:15:16.496 - [32minfo[39m: unifi.0 (31611) Update done 2021-03-22 14:15:17.134 - [31merror[39m: unifi.0 (31611) fetchDevices: Returned data is not in valid format 2021-03-22 14:15:17.347 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:15:18.748 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:15:19.698 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:15:20.148 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 4 updated 2021-03-22 14:15:21.275 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:15:21.590 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:15:23.002 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:15:23.825 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:15:24.400 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 5 updated 2021-03-22 14:15:25.343 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:15:25.810 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:15:27.231 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 6 updated 2021-03-22 14:15:27.566 - [31merror[39m: unifi.0 (31611) fetchWlans: Returned data is not in valid format 2021-03-22 14:15:28.643 - [32minfo[39m: smartmeter.0 (736) Received 13 values, 4 updated
-
@elektroniker86 Habe keine Dreammachine und habe den Adapter nur kurz benutzt.
Du solltest das loggen mal auf “Debug” für die Instanz stellen. Also auf der Instanzseite den Expertenmodus aktivieren und dann hinter der Instanz den Loglevel auf Debug stellen.
Um an das Log zu kommen dann so:
tail -f /opt/iobroker/log/iobroker.current.log | grep unifi
Instanz neu starten.
Beenden mit “STRG+C”.
-
@wendy2702 sagte in Adapter: ioBroker.unifi:
tail -f /opt/iobroker/log/iobroker.current.log | grep unifi
Vielen Dank! Wieder etwas gelernt.
So hier der Log:
2021-03-23 08:19:41.028 - info: host.ioBroker-Pi4 stopInstance system.adapter.unifi.0 (force=false, process=true) 2021-03-23 08:19:41.041 - info: unifi.0 (6983) Got terminate signal TERMINATE_YOURSELF 2021-03-23 08:19:41.043 - info: host.ioBroker-Pi4 stopInstance system.adapter.unifi.0 send kill signal 2021-03-23 08:19:41.042 - info: unifi.0 (6983) cleaned everything up... 2021-03-23 08:19:41.043 - info: unifi.0 (6983) terminating 2021-03-23 08:19:41.044 - debug: unifi.0 (6983) Plugin sentry destroyed 2021-03-23 08:19:41.044 - info: unifi.0 (6983) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2021-03-23 08:19:41.143 - debug: unifi.0 (6983) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:19:41.156 - debug: unifi.0 (6983) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:19:41.468 - debug: unifi.0 (6983) fetchDevices: 8 2021-03-23 08:19:41.552 - warn: unifi.0 (6983) redis get unifi.0.default.devices.b4:fb:e4:e5:5e:15.vap_table.ath1.satisfaction, error - Connection is closed. 2021-03-23 08:19:41.560 - warn: unifi.0 (6983) get state error: Connection is closed. 2021-03-23 08:19:41.594 - error: unifi.0 (6983) [applyJsonLogic] error: DB closed, stack: Error: DB closed 2021-03-23 08:19:41.596 - warn: unifi.0 (6983) redis get unifi.0.default.devices.b4:fb:e4:e5:5e:15.guest-num_sta, error - Connection is closed. 2021-03-23 08:19:41.599 - warn: unifi.0 (6983) get state error: Connection is closed. 2021-03-23 08:19:41.602 - error: unifi.0 (6983) [applyJsonLogic] error: DB closed, stack: Error: DB closed 2021-03-23 08:19:41.603 - warn: unifi.0 (6983) redis get unifi.0.default.devices.e0:63:da:e1:d5:47.port_table.port_1.enable, error - Connection is closed. 2021-03-23 08:19:41.607 - error: unifi.0 (6983) Cannot check object existence of "unifi.0.default.devices.e0:63:da:e1:d5:47.port_table.port_1.enable": Connection is closed. 2021-03-23 08:19:41.608 - warn: unifi.0 (6983) Could not check object existence of state unifi.0.default.devices.e0:63:da:e1:d5:47.port_table.port_1.enable: Cannot check object existence of "unifi.0.default.devices.e0:63:da:e1:d5:47.port_table.port_1.enable": Connection is closed. 2021-03-23 08:19:41.609 - warn: unifi.0 (6983) get state error: Connection is closed. 2021-03-23 08:19:41.612 - error: unifi.0 (6983) [applyJsonLogic] error: DB closed, stack: Error: DB closed 2021-03-23 08:19:41.613 - warn: unifi.0 (6983) redis get unifi.0.default.devices.e0:63:da:e1:d5:47.port_table.port_2.enable, error - Connection is closed. 2021-03-23 08:19:41.616 - error: unifi.0 (6983) Cannot check object existence of "unifi.0.default.devices.e0:63:da:e1:d5:47.port_table.port_2.enable": Connection is closed. 2021-03-23 08:19:41.617 - warn: unifi.0 (6983) Could not check object existence of state unifi.0.default.devices.e0:63:da:e1:d5:47.port_table.port_2.enable: Cannot check object existence of "unifi.0.default.devices.e0:63:da:e1:d5:47.port_table.port_2.enable": Connection is closed. 2021-03-23 08:19:41.617 - warn: unifi.0 (6983) get state error: Connection is closed. 2021-03-23 08:19:41.620 - error: unifi.0 (6983) [applyJsonLogic] error: DB closed, stack: Error: DB closed 2021-03-23 08:19:41.621 - warn: unifi.0 (6983) redis get unifi.0.default.devices.e0:63:da:e1:d5:47.port_table.port_3.enable, error - Connection is closed. 2021-03-23 08:19:41.713 - info: host.ioBroker-Pi4 instance system.adapter.unifi.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2021-03-23 08:19:44.151 - info: host.ioBroker-Pi4 instance system.adapter.unifi.0 started with pid 7032 2021-03-23 08:19:45.591 - debug: unifi.0 (7032) Redis Objects: Use Redis connection: 127.0.0.1:9001 2021-03-23 08:19:45.629 - debug: unifi.0 (7032) Objects client ready ... initialize now 2021-03-23 08:19:45.632 - debug: unifi.0 (7032) Objects create System PubSub Client 2021-03-23 08:19:45.634 - debug: unifi.0 (7032) Objects create User PubSub Client 2021-03-23 08:19:45.636 - debug: unifi.0 (7032) Objects client initialize lua scripts 2021-03-23 08:19:45.659 - debug: unifi.0 (7032) Objects connected to redis: 127.0.0.1:9001 2021-03-23 08:19:45.669 - debug: unifi.0 (7032) objectDB connected 2021-03-23 08:19:45.671 - debug: unifi.0 (7032) Redis States: Use Redis connection: 127.0.0.1:9000 2021-03-23 08:19:45.681 - debug: unifi.0 (7032) States create System PubSub Client 2021-03-23 08:19:45.682 - debug: unifi.0 (7032) States create User PubSub Client 2021-03-23 08:19:45.712 - debug: unifi.0 (7032) States connected to redis: 127.0.0.1:9000 2021-03-23 08:19:45.713 - debug: unifi.0 (7032) statesDB connected 2021-03-23 08:19:45.968 - debug: unifi.0 (7032) Plugin sentry Initialize Plugin (enabled=true) 2021-03-23 08:19:46.462 - info: unifi.0 (7032) starting. Version 0.5.8 in /opt/iobroker/node_modules/iobroker.unifi, node: v12.21.0, js-controller: 3.2.16 2021-03-23 08:19:46.511 - info: unifi.0 (7032) UniFi adapter is ready 2021-03-23 08:19:46.535 - debug: unifi.0 (7032) controller = 192.168.1.1: 2021-03-23 08:19:46.536 - debug: unifi.0 (7032) updateInterval = 2 2021-03-23 08:19:46.537 - debug: unifi.0 (7032) Update started 2021-03-23 08:19:46.843 - debug: unifi.0 (7032) system.adapter.admin.0: logging false 2021-03-23 08:19:47.334 - debug: unifi.0 (7032) Login successful 2021-03-23 08:19:47.391 - debug: unifi.0 (7032) fetchSites: default 2021-03-23 08:19:47.467 - debug: unifi.0 (7032) fetchClients: 33 2021-03-23 08:19:48.687 - debug: unifi.0 (7032) Update started 2021-03-23 08:19:49.258 - debug: unifi.0 (7032) Login successful 2021-03-23 08:19:49.438 - debug: unifi.0 (7032) fetchSites: default 2021-03-23 08:19:49.496 - debug: unifi.0 (7032) fetchClients: 33 2021-03-23 08:19:50.692 - debug: unifi.0 (7032) Update started 2021-03-23 08:19:50.947 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:19:50.967 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:19:51.243 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:19:51.256 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:19:51.260 - debug: unifi.0 (7032) Login successful 2021-03-23 08:19:51.298 - error: unifi.0 (7032) fetchDevices: Returned data is not in valid format 2021-03-23 08:19:51.376 - debug: unifi.0 (7032) fetchSites: default 2021-03-23 08:19:51.439 - debug: unifi.0 (7032) fetchClients: 33 2021-03-23 08:19:51.661 - debug: unifi.0 (7032) fetchDevices: 8 2021-03-23 08:19:52.696 - debug: unifi.0 (7032) Update started 2021-03-23 08:19:53.275 - debug: unifi.0 (7032) Login successful 2021-03-23 08:19:53.328 - debug: unifi.0 (7032) fetchSites: default 2021-03-23 08:19:53.386 - debug: unifi.0 (7032) fetchClients: 33 2021-03-23 08:19:53.412 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:19:53.427 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:19:53.821 - debug: unifi.0 (7032) fetchDevices: 8 2021-03-23 08:19:54.400 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:19:54.435 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:19:54.699 - debug: unifi.0 (7032) Update started 2021-03-23 08:19:54.923 - error: unifi.0 (7032) fetchDevices: Returned data is not in valid format 2021-03-23 08:19:55.288 - debug: unifi.0 (7032) Login successful 2021-03-23 08:19:55.467 - debug: unifi.0 (7032) fetchSites: default 2021-03-23 08:19:55.532 - debug: unifi.0 (7032) fetchClients: 33 2021-03-23 08:19:56.702 - debug: unifi.0 (7032) Update started 2021-03-23 08:19:57.254 - debug: unifi.0 (7032) Login successful 2021-03-23 08:19:57.272 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:19:57.289 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:19:57.310 - debug: unifi.0 (7032) fetchSites: default 2021-03-23 08:19:57.388 - debug: unifi.0 (7032) fetchClients: 33 2021-03-23 08:19:57.755 - debug: unifi.0 (7032) fetchDevices: 8 2021-03-23 08:19:58.505 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:19:58.518 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:19:58.705 - debug: unifi.0 (7032) Update started 2021-03-23 08:19:58.755 - error: unifi.0 (7032) fetchDevices: Returned data is not in valid format 2021-03-23 08:19:59.277 - debug: unifi.0 (7032) Login successful 2021-03-23 08:19:59.332 - debug: unifi.0 (7032) fetchSites: default 2021-03-23 08:19:59.395 - debug: unifi.0 (7032) fetchClients: 33 2021-03-23 08:20:00.486 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:20:00.508 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:20:00.710 - debug: unifi.0 (7032) Update started 2021-03-23 08:20:01.013 - error: unifi.0 (7032) fetchDevices: Returned data is not in valid format 2021-03-23 08:20:01.320 - debug: unifi.0 (7032) Login successful 2021-03-23 08:20:01.728 - debug: unifi.0 (7032) fetchSites: default 2021-03-23 08:20:01.812 - debug: unifi.0 (7032) fetchClients: 33 2021-03-23 08:20:02.714 - debug: unifi.0 (7032) Update started 2021-03-23 08:20:03.338 - debug: unifi.0 (7032) Login successful 2021-03-23 08:20:03.418 - debug: unifi.0 (7032) fetchSites: default 2021-03-23 08:20:03.481 - debug: unifi.0 (7032) fetchClients: 33 2021-03-23 08:20:04.387 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:20:04.404 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:20:04.540 - debug: unifi.0 (7032) fetchWlans: 3 2021-03-23 08:20:04.547 - debug: unifi.0 (7032) fetchWlans: 3 2021-03-23 08:20:04.563 - debug: unifi.0 (7032) fetchWlans: 3 2021-03-23 08:20:04.717 - debug: unifi.0 (7032) Update started 2021-03-23 08:20:04.793 - error: unifi.0 (7032) fetchDevices: Returned data is not in valid format 2021-03-23 08:20:04.909 - info: unifi.0 (7032) Update done 2021-03-23 08:20:04.919 - info: unifi.0 (7032) Update done 2021-03-23 08:20:04.977 - info: unifi.0 (7032) Update done 2021-03-23 08:20:05.141 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:20:05.158 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:20:05.274 - error: unifi.0 (7032) fetchDevices: Returned data is not in valid format 2021-03-23 08:20:05.559 - debug: unifi.0 (7032) Login successful 2021-03-23 08:20:05.592 - error: unifi.0 (7032) fetchSites: Returned data is not in valid format 2021-03-23 08:20:06.720 - debug: unifi.0 (7032) Update started 2021-03-23 08:20:07.324 - debug: unifi.0 (7032) Login successful 2021-03-23 08:20:07.517 - debug: unifi.0 (7032) fetchSites: default 2021-03-23 08:20:07.590 - debug: unifi.0 (7032) fetchClients: 33 2021-03-23 08:20:07.994 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:20:08.007 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:20:08.726 - debug: unifi.0 (7032) Update started 2021-03-23 08:20:08.865 - debug: unifi.0 (7032) fetchDevices: 8 2021-03-23 08:20:09.555 - debug: unifi.0 (7032) Login successful 2021-03-23 08:20:09.652 - debug: unifi.0 (7032) fetchSites: default 2021-03-23 08:20:09.765 - debug: unifi.0 (7032) fetchClients: 33 2021-03-23 08:20:09.885 - debug: unifi.0 (7032) fetchWlans: 3 2021-03-23 08:20:09.923 - info: unifi.0 (7032) Update done 2021-03-23 08:20:10.193 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:20:10.204 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:20:10.320 - error: unifi.0 (7032) fetchDevices: Returned data is not in valid format 2021-03-23 08:20:10.729 - debug: unifi.0 (7032) Update started 2021-03-23 08:20:11.373 - debug: unifi.0 (7032) Login successful 2021-03-23 08:20:11.462 - debug: unifi.0 (7032) fetchSites: default 2021-03-23 08:20:11.520 - debug: unifi.0 (7032) fetchClients: 33 2021-03-23 08:20:11.896 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:20:11.906 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:20:12.253 - debug: unifi.0 (7032) fetchDevices: 8 2021-03-23 08:20:12.732 - debug: unifi.0 (7032) Update started 2021-03-23 08:20:13.051 - error: unifi.0 (7032) fetchWlans: Returned data is not in valid format 2021-03-23 08:20:13.698 - debug: unifi.0 (7032) Login successful 2021-03-23 08:20:13.753 - debug: unifi.0 (7032) fetchSites: default 2021-03-23 08:20:13.809 - debug: unifi.0 (7032) fetchClients: 33 2021-03-23 08:20:14.114 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:20:14.127 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:20:14.400 - debug: unifi.0 (7032) fetchDevices: 8 2021-03-23 08:20:14.737 - debug: unifi.0 (7032) Update started 2021-03-23 08:20:15.312 - error: unifi.0 (7032) fetchWlans: Returned data is not in valid format 2021-03-23 08:20:15.522 - debug: unifi.0 (7032) Login successful 2021-03-23 08:20:15.578 - debug: unifi.0 (7032) fetchSites: default 2021-03-23 08:20:15.629 - debug: unifi.0 (7032) fetchClients: 33 2021-03-23 08:20:15.919 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:20:15.933 - debug: unifi.0 (7032) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-03-23 08:20:16.217 - debug: unifi.0 (7032) fetchDevices: 8 2021-03-23 08:20:16.740 - debug: unifi.0 (7032) Update started 2021-03-23 08:20:17.012 - error: unifi.0 (7032) fetchWlans: Returned data is not in valid format 2021-03-23 08:20:17.470 - debug: unifi.0 (7032) Login successful 2021-03-23 08:20:17.514 - debug: unifi.0 (7032) fetchSites: default 2021-03-23 08:20:17.571 - debug: unifi.0 (7032) fetchClients: 33 ^C
Ich hoffe mir kann hier jemand helfen.....
-
@hant0r Anzahl der Gäste wird wohl angezeigt. Hast du den Adapter nicht installiert? Probier doch aus und setze den Haken bei num_guest:
-
@elektroniker86 sagte in Adapter: ioBroker.unifi:
No suitable Lua script
Bin aktuell nur am Handy.
Kannst mal im Forum danach suchen:
No suitable Lua script
Meine das gab es schon mal.
-
Mhh auf die schnelle finde ich da nichts außer dein Beitrag von eben.....
-
@elektroniker86 google gibt mir folgenden Treffer. Vielleicht ist es das?
-
@lobomau
Das hatte ich auch gefunden, allerdings geht es hier um ein anderen Adapter und da schreibt Apollon das es kein Fehler sei. Aber bei mir muss es ja ein Fehler sein da der Adapter ja gelb ist?Keine Ahnung, damit kann ich leider nichts anfangen.
-
@elektroniker86 OK.
Jetzt am PC. Da kann man besser suchen.
Denke das Problem liegt hier:
2021-03-23 08:19:51.298 - error: unifi.0 (7032) fetchDevices: Returned data is not in valid format 2021-03-23 08:19:54.923 - error: unifi.0 (7032) fetchDevices: Returned data is not in valid format 2021-03-23 08:19:58.755 - error: unifi.0 (7032) fetchDevices: Returned data is not in valid format 2021-03-23 08:20:01.013 - error: unifi.0 (7032) fetchDevices: Returned data is not in valid format 2021-03-23 08:20:04.793 - error: unifi.0 (7032) fetchDevices: Returned data is not in valid format 2021-03-23 08:20:05.274 - error: unifi.0 (7032) fetchDevices: Returned data is not in valid format 2021-03-23 08:20:05.592 - error: unifi.0 (7032) fetchSites: Returned data is not in valid format 2021-03-23 08:20:10.320 - error: unifi.0 (7032) fetchDevices: Returned data is not in valid format 2021-03-23 08:20:13.051 - error: unifi.0 (7032) fetchWlans: Returned data is not in valid format 2021-03-23 08:20:15.312 - error: unifi.0 (7032) fetchWlans: Returned data is not in valid format 2021-03-23 08:20:17.012 - error: unifi.0 (7032) fetchWlans: Returned data is not in valid format
Denke da kann der Adapter die Antwort von der Dreammachine nicht richtig verarbeiten.
Du solltest dafür am besten ein Issue aufmachen falls es noch keines gibt und hier niemand ist bei dem es funktioniert.
EDIT: Schau mal hier: https://github.com/iobroker-community-adapters/ioBroker.unifi/issues/28
-
Das verstehe ich nicht, das hat ja die ganze Zeit funktioniert das ist erst seit ein Paar Wochen....
Hier muss es doch mehrere geben die eine Dream Machine haben in Verbindung mit dem Adapter.....
Ich habe jetzt nochmal mit dem Port 443 getestet, keine Veränderung feststellbar.
Werde dann doch ein Issue anlegen müssen..... -
@elektroniker86 Gab es vielleicht ein Update der Dream Machine?
-
Ja, das gab es tatsächlich vor 2 Wochen so ungefähr........ das hatte ich gar nicht mehr auf dem Schirm.
Aber dann sollten sich ja noch mehrere melden, aber ich hab in der Suche hier nichts gefunden.....
-
@elektroniker86
Bei mir läuft der Adapter fehlerfrei, zusammen mit einer Dream Machine Pro -
habt ihr beide die gleiche SW auf der Dream Machine laufen ?
-
Auf meiner UDM-Pro läuft die Firmware 1.9.2 und er Controller hat die 6.1.70
Welche FW läuft bei dir? -
@elektroniker86
Die Firmware lässt sich am Handy leider nicht abrufen, da die Webseite mit den Systemeinstellungen bei mir leer bleibt. Als Controller läuft bei bei mir 6.1.61 -
@lobomau
Danke, gute Idee. Habe es mal ausprobiert, bekomme aber leider keine neuen Datenpunkte wo die Info enthalten wäre. -
@hant0r komisch. Bei mir scheint es zu gehen. Ich habe kein Gäste-Netz, deswegen hier 0. Habe aber num_user dazu genommen und hier passt es. Kommt bei jedem Device ein Wert:
-
@lobomau
Mein Fehler ... Wer lesen kann ist ganz klar im Vorteil - sorry.
Ich hatte die Felder im Adapter ausgewählt, aber oben nicht den allgemeinen Reiter "Devices" aktiviert.Nun klappt es auch und so bekomme ich zumindest die Anzahl raus.
Das hilft mir schonmal - Danke -
@hant0r Ahh... ist mir auch schon passiert