NEWS
Test Adapter micronova easy connect plus
-
@tombox Es ist "Easy Connect Plus" gewählt.
Es ist auch nur 1 Instanz installiert.Beim Start der Instanz sieht es wie folgt aus:
micronova.0 2022-11-29 22:05:48.326 info Login successful micronova.0 2022-11-29 22:04:47.738 info receive 401 error. Refresh Token in 60 seconds micronova.0 2022-11-29 22:01:34.332 info Found 1 devices micronova.0 2022-11-29 22:01:34.236 info Login successful micronova.0 2022-11-29 22:01:33.505 info Login to Easy Connect Plus micronova.0 2022-11-29 22:01:33.276 info starting. Version 0.0.1 (non-npm: TA2k/ioBroker.micronova#d30070c23d7dddf88f05ee9138d14e1ab9d66816) in /opt/iobroker/node_modules/iobroker.micronova, node: v16.18.1, js-controller: 4.0.23
Hier die Installation des neuen Adapters:
micronova.0 2022-11-29 22:08:57.019 error Cannot check object existence of "micronova.0.AF217968-77DC-420C-9D55-7521B6D67497.register.33021.app_image_name": Connection is closed. micronova.0 2022-11-29 22:08:57.018 error Error: Could not check object existence of micronova.0.AF217968-77DC-420C-9D55-7521B6D67497.register.33021: Cannot check object existence of "micronova.0.AF217968-77DC-420C-9D55-7521B6D67497.register.33021": Connection is closed. micronova.0 2022-11-29 22:08:57.016 error Cannot check object existence of "micronova.0.AF217968-77DC-420C-9D55-7521B6D67497.register.33021": Connection is closed. micronova.0 2022-11-29 22:08:57.014 error Error: DB closed micronova.0 2022-11-29 22:08:57.013 error Error extract keys: AF217968-77DC-420C-9D55-7521B6D67497.register.33020 {"app_image_name":"default","reg_key":"calendar_month_set","reg_name":"Mese","reg_name_app":"Mese","reg_key_group":"calendar_month","reg_type":"SET","offset":33020,"eeprom":true,"is_word":false,"big_endian":false,"formula":"#","formula_inverse":"#","format_string":"{0}","set_min":1,"set_max":12,"readonly":false,"mask":65535,"is_hex":true,"is_temperature":false,"use_app":true,"display_dashboard":false,"display_manage":false,"display_info":false,"use_cat":true,"display_order":0,"step":1,"use_history":true,"use_history_output":true,"with_sign":false,"from_char_code":false,"notify_on_change":false,"is_test":false} micronova.0 2022-11-29 22:08:57.011 warn get state error: Connection is closed. micronova.0 2022-11-29 22:08:57.010 warn Could not perform strict object check of state micronova.0.AF217968-77DC-420C-9D55-7521B6D67497.register.33020.app_image_name: DB closed micronova.0 2022-11-29 22:08:57.003 error Error: DB closed micronova.0 2022-11-29 22:08:57.002 error Error extract keys: AF217968-77DC-420C-9D55-7521B6D67497.register.33016 {"app_image_name":"default","reg_key":"calendar_day_week_set","reg_name":"Giorno Settimana","reg_name_app":"Giorno sett.","reg_key_group":"calendar_day_week","reg_type":"SET","offset":33016,"eeprom":true,"is_word":false,"big_endian":false,"formula":"#","formula_inverse":"#","format_string":"{0}","set_min":1,"set_max":7,"readonly":false,"mask":255,"is_hex":false,"is_temperature":false,"use_app":true,"display_dashboard":false,"display_manage":false,"display_info":false,"use_cat":true,"display_order":0,"step":1,"use_history":true,"use_history_output":true,"with_sign":false,"from_char_code":false,"notify_on_change":false,"is_test":false,"enc_val":[{"value":1,"lang":"ITA","description":"Lun"},{"value":2,"lang":"ITA","description":"Mar"},{"value":3,"lang":"ITA","description":"Mer"},{"value":4,"lang":"ITA","description":"Gio"},{"value":5,"lang":"ITA","description":"Ven"},{"value":6,"lang":"ITA","description":"Sab"},{"value":7,"lang":"ITA","description":"Dom"}]} micronova.0 2022-11-29 22:08:57.000 warn get state error: Connection is closed. micronova.0 2022-11-29 22:08:56.494 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason micronova.0 2022-11-29 22:08:56.491 info terminating micronova.0 2022-11-29 22:08:56.488 info Got terminate signal TERMINATE_YOURSELF micronova.0 2022-11-29 22:08:55.199 info Found 1 devices micronova.0 2022-11-29 22:08:55.102 info Login successful micronova.0 2022-11-29 22:08:54.396 info Login to Easy Connect Plus micronova.0 2022-11-29 22:08:54.152 info starting. Version 0.0.1 (non-npm: TA2k/ioBroker.micronova#96339ac28b8c858c327cc2a8e4773d7b48831b0a) in /opt/iobroker/node_modules/iobroker.micronova, node: v16.18.1, js-controller: 4.0.23
Und nun folgendes beim Start der Instanz (nach Update):
micronova.0 2022-11-29 22:17:05.945 error {"Success":false,"Error":"1106","Text":"UNAUTHORIZED"} micronova.0 2022-11-29 22:17:05.944 error AxiosError: Request failed with status code 401 micronova.0 2022-11-29 22:14:23.353 info Login successful micronova.0 2022-11-29 22:13:52.819 info receive 401 error. Refresh Token in 30 seconds micronova.0 2022-11-29 22:10:39.372 info Found 1 devices micronova.0 2022-11-29 22:10:39.271 info Login successful micronova.0 2022-11-29 22:10:38.553 info Login to Easy Connect Plus micronova.0 2022-11-29 22:10:38.358 info starting. Version 0.0.1 (non-npm: TA2k/ioBroker.micronova#96339ac28b8c858c327cc2a8e4773d7b48831b0a) in /opt/iobroker/node_modules/iobroker.micronova, node: v16.18.1, js-controller: 4.0.23
-
@kusi sollte jetzt kein Problem sein denn Daten müssten trotzdem kommen aber irgendwas loggt sich parallel ein
-
@tombox sagte in Test Adapter micronova easy connect plus:
irgendwas loggt sich parallel ein
Wenn dem so ist, sage ich dem Bruder er soll das Passwort ändern und die App auf allen Geräten deinstallieren...
-
@tombox
Wiederholend den ganzen Tag folgende Meldungen:micronova.0 2022-11-30 20:10:04.775 info receive 401 error. Refresh Token in 30 seconds micronova.0 2022-11-30 20:09:17.845 error {"Success":false,"Error":"1106","Text":"UNAUTHORIZED"} micronova.0 2022-11-30 20:09:17.845 error AxiosError: Request failed with status code 401 micronova.0 2022-11-30 20:06:35.303 info Login successful
-
@kusi Ok und Passwort geändert und kein Zugriff via App.
-
@tombox korrekt.
Passwort geändert und dieses NUR beim Adapter eingegeben.Habe die Instanz nochmals neu gestartet und kurz gewartet und nochmals probiert.
Jetzt hat es geklappt.micronova.0 2022-11-30 21:20:12.475 info Update devices micronova.0 2022-11-30 21:20:02.473 info {"Success":true,"Text":"DEVICE_ENQUEUE_MESSAGE_OK","idRequest":"58d237f5-e966-4172-a034-80cec9298981"} micronova.0 2022-11-30 21:20:02.378 info Send data: {"id_product":"B99F243F-CD0B-4D25-BE52-19D193F685F1","id_device":"AF217968-77DC-420C-9D55-7521B6D67497","Protocol":"RWMSmaster","BitData":[8],"Endianess":["L"],"Items":[232],"Masks":[65535],"Values":[170]} micronova.0 2022-11-30 21:17:20.721 info Found 1 devices micronova.0 2022-11-30 21:17:20.624 info Login successful micronova.0 2022-11-30 21:17:19.923 info Login to Easy Connect Plus micronova.0 2022-11-30 21:17:19.731 info starting. Version 0.0.1 (non-npm: TA2k/ioBroker.micronova#96339ac28b8c858c327cc2a8e4773d7b48831b0a) in /opt/iobroker/node_modules/iobroker.micronova, node: v16.18.1, js-controller: 4.0.23
Kurz darauf erschien wieder der Fehler "receive 401" und kommt seither alle 4 Minuten.
micronova.0 2022-11-30 21:22:05.063 info Login successful micronova.0 2022-11-30 21:21:34.150 info receive 401 error. Refresh Token in 30 seconds
-
@tombox Seitdem ich die Easy Connect Plus App nicht mehr anfasse, läuft es ohne Probleme seit fast 2 Tagen bei mir, Danke für Deine Mühe.
Wie macht Ihr das mit der Statusanzeige?
Gibt es eine Möglichkeit die Bedeutung des Codes des Status mit Anzeigen zu lassen in VIS. zB. Values02 = 0 (was glaube ich ausgeschaltet heißt), oder merkt Ihr Euch den Code und was es Bedeutet -
@picky
Anbei die States vom Datenpunkt
"micronova.0.*.status.Values02":0 = Ausgeschaltet
1 = Zündung
2 = Warten auf Flamme
3 = Anlaufen
4 = Heizen
5 = Reinigung
6 = Auskühlen/Abkühlen9 = keine Pellets vorhanden ??? (oder genereller Fehler?)
Ich schreibe die States in den selben erstellten Datenpunkt
"0_userdata.0.Eigene_Datenpunkte.Pelletofen.Zustand" -
Hast du folgenden Log-Eintrag auch?
micronova.0 2022-12-01 18:53:19.628 info receive 401 error. Refresh Token in 30 seconds
-
@kusi Installier nochmal ich nutze jetzt die id von Android was anscheinend stabiler ist
-
@tombox sagte in Test Adapter micronova easy connect plus:
Installier nochmal
Ich komme nicht in die Konfiguration der Instanz! -
@kusi nochmal
-
@tombox
Instanz gestartet.
Sehe ich eigentlich richtig dass der Datenpunkt
"micronova.0.*.remote.Refresh" auf TRUE gesetzt werden muss? Ansonsten aktualisiert sich der Status nicht? -
@kusi nein aktualisiert sich automatisch. kannst du auch im log level debug sehen
-
@tombox
Die Instanz läuft nun seit 55 Minuten, und es ist kein Fehler aufgetaucht!! -
@tombox sagte in Test Adapter micronova easy connect plus:
nutze jetzt die id von Android
Das Problem lag also bei iOS?
-
@kusi Ja wenn man sich als iOS app ausgibt kommt es zu den login Problemen
-
@tombox Achso, ich verstehe es langsam.
Mich würde sehr interessieren, wie man einen solchen Adapter erstellt... -
@kusi said in Test Adapter micronova easy connect plus:
Hast du folgenden Log-Eintrag auch?
micronova.0 2022-12-01 18:53:19.628 info receive 401 error. Refresh Token in 30 seconds
Die Fehlermeldungen hatte ich nur als ich parallel die App benutzt habe.
Das Log zeigt mir im Augenblick nur an im Debug Modus.micronova.0 3085 2022-12-02 08:40:17.908 debug {"Success":true,"Text":"DEVICE_JOB_STATUS_OK","jobRequestStatus":"completed","jobAnswerStatus":"completed","jobAnswerPayload":{"id":1669966804755,"jid":"C8C9A3C50204","pl":{"BufferId":1,"cmd":"GetBufferReading"},"type":"node"},"jobAnswerData":{"BufferId":1,"Items":[32894,33,33017,32893,6,52,33016,1,33020,32798,33021,32823,232,32795,33018,33019,2,32845,32895,51],"Values":[0,9,16,44,0,8,5,37,18,1,34,20,8,20,37,2,0,1,3,16],"cmd":"GetBufferReading"}} micronova.0 3085 2022-12-02 08:40:17.774 debug Waiting for response micronova.0 3085 2022-12-02 08:40:04.772 debug {"Success":true,"Text":"DEVICE_ENQUEUE_MESSAGE_OK","idRequest":"4576f259-607a-4a2d-9e31-e95b560fc32d"} micronova.0 3085 2022-12-02 08:36:17.948 debug {"Success":true,"Text":"DEVICE_JOB_STATUS_OK","jobRequestStatus":"completed","jobAnswerStatus":"completed","jobAnswerPayload":{"id":1669966564797,"jid":"C8C9A3C50204","pl":{"BufferId":1,"cmd":"GetBufferReading"},"type":"node"},"jobAnswerData":{"BufferId":1,"Items":[32894,33,33017,32893,6,52,33016,1,33020,32798,33021,32823,232,32795,33018,33019,2,32845,32895,51],"Values":[51,9,16,44,0,8,5,37,18,1,34,20,8,20,33,2,0,1,3,16],"cmd":"GetBufferReading"}} micronova.0 3085 2022-12-02 08:36:17.816 debug Waiting for response micronova.0 3085 2022-12-02 08:36:04.814 debug {"Success":true,"Text":"DEVICE_ENQUEUE_MESSAGE_OK","idRequest":"ec0e9b50-4523-490b-8f31-f6e8f1625451"}
-
@tombox
Über Nacht kein einziger Logeintrag.Um 06.55 Uhr wurde der Pelletofen von einem Skript gestartet (gut so).
Seit 10.50 Uhr erscheinen wiederkehrende Log-Einträge, fortlaufend bis jetzt...micronova.0 2022-12-02 10:52:07.377 info receive 401 error. Refresh Token in 30 seconds. Please select other operation system to avoid logouts micronova.0 2022-12-02 10:50:37.956 info Login successful micronova.0 2022-12-02 10:50:07.404 info receive 401 error. Refresh Token in 30 seconds. Please select other operation system to avoid logouts micronova.0 2022-12-02 10:32:07.741 info Login successful micronova.0 2022-12-02 06:56:02.191 info Update devices
Habe nun die Instanz neu gestartet, der Fehler bleibt allerdings.
micronova.0 2022-12-02 11:15:31.101 info Login successful micronova.0 2022-12-02 11:15:00.533 info receive 401 error. Refresh Token in 30 seconds. Please select other operation system to avoid logouts micronova.0 2022-12-02 11:11:31.077 info Login successful micronova.0 2022-12-02 11:11:00.515 info receive 401 error. Refresh Token in 30 seconds. Please select other operation system to avoid logouts micronova.0 2022-12-02 11:08:47.111 info Found 1 devices micronova.0 2022-12-02 11:08:47.016 info Login successful micronova.0 2022-12-02 11:08:46.339 info Login to Easy Connect Plus micronova.0 2022-12-02 11:08:46.273 info starting. Version 0.0.1 (non-npm: TA2k/ioBroker.micronova#173e3f3601ff0ca61c776329702007e75e45703e) in /opt/iobroker/node_modules/iobroker.micronova, node: v16.18.1, js-controller: 4.0.23
Das Skript (Blockly) hat soeben den Pelletofen ausgeschaltet, was einwandfrei funktioniert. Auch die Rückmeldung (Values02) funktioniert einwandfrei, trotz Log-Meldungen.
micronova.0 2022-12-02 12:59:31.108 info Login successful micronova.0 2022-12-02 12:59:00.537 info receive 401 error. Refresh Token in 30 seconds. Please select other operation system to avoid logouts micronova.0 2022-12-02 12:57:32.425 info Update devices micronova.0 2022-12-02 12:57:22.424 info {"Success":true,"Text":"DEVICE_ENQUEUE_MESSAGE_OK","idRequest":"fb17950d-d7a8-4d3a-a9b7-1a9dfac03694"} micronova.0 2022-12-02 12:57:22.338 info Send data: {"id_product":"B99F243F-CD0B-4D25-BE52-19D193F685F1","id_device":"AF217968-77DC-420C-9D55-7521B6D67497","Protocol":"RWMSmaster","BitData":[8],"Endianess":["L"],"Items":[232],"Masks":[65535],"Values":[170]} micronova.0 2022-12-02 12:55:31.096 info Login successful micronova.0 2022-12-02 12:55:00.533 info receive 401 error. Refresh Token in 30 seconds. Please select other operation system to avoid logouts micronova.0 2022-12-02 12:51:31.150 info Login successful