NEWS
Test Adapter mhi-wfrac v2.x.x GitHub
-
@hacki11
Ich habe die Logausgabe auf Debug umgestellt und dir zwei Logfiles mitgeschickt. Ein Logfile (.._Script) habe ich unmittelbar geladen, nachdem ich mein Script gestartet hatte. Und ein Logfile ist entstanden, nachdem ich den Datenpunkt "Power" per Hand auf On gestellt habe (..._Switch).
Bin gespannt, ob du anhand des Logfiles das Problem lösen kannst.iobroker.2025-10-21_Switch.log iobroker.2025-10-21_Script.log
@mhiuser Du schreibst, du kannst keinerlei Werte schreiben, oder? Also auch die Umstellung vom Modus setzt sich wieder zurück? McuFirmwareVersion ist schonmal identisch zu meiner. Wie ist die WirelessFirmwareVersion? 010?
Kannst du die Innengeräte denn mit der Smart Air App steuern oder beobachtest du hier ein ähnliches verhalten?
-
@mhiuser Du schreibst, du kannst keinerlei Werte schreiben, oder? Also auch die Umstellung vom Modus setzt sich wieder zurück? McuFirmwareVersion ist schonmal identisch zu meiner. Wie ist die WirelessFirmwareVersion? 010?
Kannst du die Innengeräte denn mit der Smart Air App steuern oder beobachtest du hier ein ähnliches verhalten?
@hacki11
Deine Frage nach Smart M-Air hat mich nun zur Lösung des Problems geführt. Ich hatte die App vor einiger Zeit deinstalliert, weil sie unzuverlässig funktionierte. Mal konnte man sich zu den Innengeräten verbinden und mal wieder nicht.Als ich Smart M-Air nun wieder installiert habe und ich mich zu einem Innengerät verbinden wollte, kam die Meldung "Registrierung nicht möglich, da die maximale Anzahl registrierter Benutzer erreicht".
Ich habe die WLAN Einstellungen des Innengerätes dann komplett zurückgesetzt und dann neu mit dem WLAN-Router verbunden. Nun kann ich über Iobroker auch Werte erfolgreich an die Innengeräte senden.
Vielen Dank eure Unterstützung hier im Forum.

-
@hacki11
Deine Frage nach Smart M-Air hat mich nun zur Lösung des Problems geführt. Ich hatte die App vor einiger Zeit deinstalliert, weil sie unzuverlässig funktionierte. Mal konnte man sich zu den Innengeräten verbinden und mal wieder nicht.Als ich Smart M-Air nun wieder installiert habe und ich mich zu einem Innengerät verbinden wollte, kam die Meldung "Registrierung nicht möglich, da die maximale Anzahl registrierter Benutzer erreicht".
Ich habe die WLAN Einstellungen des Innengerätes dann komplett zurückgesetzt und dann neu mit dem WLAN-Router verbunden. Nun kann ich über Iobroker auch Werte erfolgreich an die Innengeräte senden.
Vielen Dank eure Unterstützung hier im Forum.

-
Hallo, ich habe da auch das Phänomen, dass von 2 Innengeräten eines immer den Fehler protokolliert: "Failed to register device! | Error: socket hang up"
Ich habe dieses Innengerät (klima-flur) auch schon mehrfach resettet, mal über WPS mit dem Router verbunden, mal über AP. Es bekommt auch immer brav die IP und lässt sich dann auch anpingen. Auch über die Smart Air App kann ich auf das Gerät zugreifen, aber mit dem ioBroker Adapter klappt es nicht.
Das Innengerät (klima-wohnzimmer) hat keinerlei Probleme.. sowohl Smart Air App als auch ioBroker Adapter funktionieren normal. Ist doch verrückt!Hier mal eine kurze log-Ausgabe, wenn ich beide Geräte im Adapter aktiviere und diesen neu starte:
2025-11-13 18:09:43.074 - info: host.iobrokerSynology "system.adapter.mhi-wfrac.0" enabled 2025-11-13 18:09:43.373 - info: host.iobrokerSynology instance system.adapter.mhi-wfrac.0 in version "2.1.7" started with pid 1759 2025-11-13 18:09:44.325 - debug: mhi-wfrac.0 (1759) Redis Objects: Use Redis connection: 127.0.0.1:9001 2025-11-13 18:09:44.348 - debug: mhi-wfrac.0 (1759) Objects client ready ... initialize now 2025-11-13 18:09:44.350 - debug: mhi-wfrac.0 (1759) Objects create System PubSub Client 2025-11-13 18:09:44.350 - debug: mhi-wfrac.0 (1759) Objects create User PubSub Client 2025-11-13 18:09:44.378 - debug: mhi-wfrac.0 (1759) Objects client initialize lua scripts 2025-11-13 18:09:44.382 - debug: mhi-wfrac.0 (1759) Objects connected to redis: 127.0.0.1:9001 2025-11-13 18:09:44.401 - debug: mhi-wfrac.0 (1759) Redis States: Use Redis connection: 127.0.0.1:9000 2025-11-13 18:09:44.410 - debug: mhi-wfrac.0 (1759) States create System PubSub Client 2025-11-13 18:09:44.411 - debug: mhi-wfrac.0 (1759) States create User PubSub Client 2025-11-13 18:09:44.464 - debug: mhi-wfrac.0 (1759) States connected to redis: 127.0.0.1:9000 2025-11-13 18:09:44.537 - info: mhi-wfrac.0 (1759) starting. Version 2.1.7 in /opt/iobroker/node_modules/iobroker.mhi-wfrac, node: v22.21.1, js-controller: 7.0.7 2025-11-13 18:09:44.547 - debug: mhi-wfrac.0 (1759) onReady::register(192.168.178.174/klima-wohnzimmer) 2025-11-13 18:09:44.549 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.174:51443::data: getDeviceInfo::{"apiVer":"1.0","command":"getDeviceInfo","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053784} 2025-11-13 18:09:44.669 - debug: mhi-wfrac.0 (1759) _post | return: getDeviceInfo::{"command":"getDeviceInfo","apiVer":"1.0","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053784,"result":0,"contents":{"airconId":"e87072d98a2e","macAddress":"e87072d98a2e","apMode":0}} 2025-11-13 18:09:44.670 - debug: mhi-wfrac.0 (1759) Register(192.168.178.174) | return: {"error":"","response":{"command":"getDeviceInfo","apiVer":"1.0","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053784,"result":0,"contents":{"airconId":"e87072d98a2e","macAddress":"e87072d98a2e","apMode":0}}} 2025-11-13 18:09:44.670 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.174:51443::data: updateAccountInfo::{"apiVer":"1.0","command":"updateAccountInfo","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053784,"contents":{"accountId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","airconId":"e87072d98a2e","remote":0,"timezone":"Europe/Berlin"}} 2025-11-13 18:09:45.355 - debug: mhi-wfrac.0 (1759) _post | return: updateAccountInfo::{"command":"updateAccountInfo","apiVer":"1.0","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","timestamp":1763053784,"result":0} 2025-11-13 18:09:45.355 - debug: mhi-wfrac.0 (1759) onReady::register(192.168.178.175/klima-flur) 2025-11-13 18:09:45.355 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.175:51443::data: getDeviceInfo::{"apiVer":"1.0","command":"getDeviceInfo","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053785} 2025-11-13 18:10:05.713 - error: mhi-wfrac.0 (1759) klima-flur: Failed to register device! | Error: socket hang up 2025-11-13 18:10:05.714 - debug: mhi-wfrac.0 (1759) onReady::initIOBStates 2025-11-13 18:10:05.769 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.174:51443::data: getAirconStat::{"apiVer":"1.0","command":"getAirconStat","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053805,"contents":{"airconId":"e87072d98a2e"}} 2025-11-13 18:10:07.371 - debug: mhi-wfrac.0 (1759) _post | return: getAirconStat::{"command":"getAirconStat","apiVer":"1.0","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","timestamp":1763053805,"result":0,"contents":{"airconId":"e87072d98a2e","airconStat":"AACzmKz/AAAAAIAQCwAAAAAAAf////+0+oEEERAsoQAAgAAAAAEAAAAAAAOAIKH/gBCS/5QQAACD+A==","logStat":0,"updatedBy":"local","expires":1763053095,"ledStat":1,"autoHeating":0,"highTemp":"AB","lowTemp":"66","firmType":"WF-RAC","wireless":{"firmVer":"010"},"mcu":{"firmVer":"131"},"timezone":"Europe/Berlin","remoteList":["","","",""],"numOfAccount":2}} 2025-11-13 18:10:07.372 - debug: mhi-wfrac.0 (1759) getDataFromDevice | AirconStat::{"airFlow":1,"canHomeLeaveModeStatusRequest":false,"coolHotJudge":true,"electric":0,"entrust":false,"errorCode":"00","indoorTemp":25.5,"isAutoHeating":false,"isSelfCleanOperation":false,"isSelfCleanReset":false,"isVacantProperty":0,"modelNo":1,"operation":true,"operationMode":2,"outdoorTemp":14.2,"presetTemp":22,"windDirectionLR":0,"windDirectionUD":2} 2025-11-13 18:10:17.426 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.174:51443::data: getAirconStat::{"apiVer":"1.0","command":"getAirconStat","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053817,"contents":{"airconId":"e87072d98a2e"}} 2025-11-13 18:10:18.128 - debug: mhi-wfrac.0 (1759) _post | return: getAirconStat::{"command":"getAirconStat","apiVer":"1.0","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","timestamp":1763053817,"result":0,"contents":{"airconId":"e87072d98a2e","airconStat":"AACzmKz/AAAAAIAQCwAAAAAAAf////+0+oEEERAsoQAAgAAAAAEAAAAAAAOAIKH/gBCS/5QQAACD+A==","logStat":0,"updatedBy":"local","expires":1763053095,"ledStat":1,"autoHeating":0,"highTemp":"AB","lowTemp":"66","firmType":"WF-RAC","wireless":{"firmVer":"010"},"mcu":{"firmVer":"131"},"timezone":"Europe/Berlin","remoteList":["","","",""],"numOfAccount":2}} 2025-11-13 18:10:18.128 - debug: mhi-wfrac.0 (1759) getDataFromDevice | AirconStat::{"airFlow":1,"canHomeLeaveModeStatusRequest":false,"coolHotJudge":true,"electric":0,"entrust":false,"errorCode":"00","indoorTemp":25.5,"isAutoHeating":false,"isSelfCleanOperation":false,"isSelfCleanReset":false,"isVacantProperty":0,"modelNo":1,"operation":true,"operationMode":2,"outdoorTemp":14.2,"presetTemp":22,"windDirectionLR":0,"windDirectionUD":2} 2025-11-13 18:10:28.174 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.174:51443::data: getAirconStat::{"apiVer":"1.0","command":"getAirconStat","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053828,"contents":{"airconId":"e87072d98a2e"}} 2025-11-13 18:10:28.894 - debug: mhi-wfrac.0 (1759) _post | return: getAirconStat::{"command":"getAirconStat","apiVer":"1.0","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","timestamp":1763053828,"result":0,"contents":{"airconId":"e87072d98a2e","airconStat":"AACzmKz/AAAAAIAQCwAAAAAAAf////+0+oEEERAsoQAAgAAAAAEAAAAAAAOAIKH/gBCS/5QQAACD+A==","logStat":0,"updatedBy":"local","expires":1763053095,"ledStat":1,"autoHeating":0,"highTemp":"AB","lowTemp":"66","firmType":"WF-RAC","wireless":{"firmVer":"010"},"mcu":{"firmVer":"131"},"timezone":"Europe/Berlin","remoteList":["","","",""],"numOfAccount":2}} 2025-11-13 18:10:28.895 - debug: mhi-wfrac.0 (1759) getDataFromDevice | AirconStat::{"airFlow":1,"canHomeLeaveModeStatusRequest":false,"coolHotJudge":true,"electric":0,"entrust":false,"errorCode":"00","indoorTemp":25.5,"isAutoHeating":false,"isSelfCleanOperation":false,"isSelfCleanReset":false,"isVacantProperty":0,"modelNo":1,"operation":true,"operationMode":2,"outdoorTemp":14.2,"presetTemp":22,"windDirectionLR":0,"windDirectionUD":2}Mir gehen die Ideen aus.. :/
-
Hallo, ich habe da auch das Phänomen, dass von 2 Innengeräten eines immer den Fehler protokolliert: "Failed to register device! | Error: socket hang up"
Ich habe dieses Innengerät (klima-flur) auch schon mehrfach resettet, mal über WPS mit dem Router verbunden, mal über AP. Es bekommt auch immer brav die IP und lässt sich dann auch anpingen. Auch über die Smart Air App kann ich auf das Gerät zugreifen, aber mit dem ioBroker Adapter klappt es nicht.
Das Innengerät (klima-wohnzimmer) hat keinerlei Probleme.. sowohl Smart Air App als auch ioBroker Adapter funktionieren normal. Ist doch verrückt!Hier mal eine kurze log-Ausgabe, wenn ich beide Geräte im Adapter aktiviere und diesen neu starte:
2025-11-13 18:09:43.074 - info: host.iobrokerSynology "system.adapter.mhi-wfrac.0" enabled 2025-11-13 18:09:43.373 - info: host.iobrokerSynology instance system.adapter.mhi-wfrac.0 in version "2.1.7" started with pid 1759 2025-11-13 18:09:44.325 - debug: mhi-wfrac.0 (1759) Redis Objects: Use Redis connection: 127.0.0.1:9001 2025-11-13 18:09:44.348 - debug: mhi-wfrac.0 (1759) Objects client ready ... initialize now 2025-11-13 18:09:44.350 - debug: mhi-wfrac.0 (1759) Objects create System PubSub Client 2025-11-13 18:09:44.350 - debug: mhi-wfrac.0 (1759) Objects create User PubSub Client 2025-11-13 18:09:44.378 - debug: mhi-wfrac.0 (1759) Objects client initialize lua scripts 2025-11-13 18:09:44.382 - debug: mhi-wfrac.0 (1759) Objects connected to redis: 127.0.0.1:9001 2025-11-13 18:09:44.401 - debug: mhi-wfrac.0 (1759) Redis States: Use Redis connection: 127.0.0.1:9000 2025-11-13 18:09:44.410 - debug: mhi-wfrac.0 (1759) States create System PubSub Client 2025-11-13 18:09:44.411 - debug: mhi-wfrac.0 (1759) States create User PubSub Client 2025-11-13 18:09:44.464 - debug: mhi-wfrac.0 (1759) States connected to redis: 127.0.0.1:9000 2025-11-13 18:09:44.537 - info: mhi-wfrac.0 (1759) starting. Version 2.1.7 in /opt/iobroker/node_modules/iobroker.mhi-wfrac, node: v22.21.1, js-controller: 7.0.7 2025-11-13 18:09:44.547 - debug: mhi-wfrac.0 (1759) onReady::register(192.168.178.174/klima-wohnzimmer) 2025-11-13 18:09:44.549 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.174:51443::data: getDeviceInfo::{"apiVer":"1.0","command":"getDeviceInfo","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053784} 2025-11-13 18:09:44.669 - debug: mhi-wfrac.0 (1759) _post | return: getDeviceInfo::{"command":"getDeviceInfo","apiVer":"1.0","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053784,"result":0,"contents":{"airconId":"e87072d98a2e","macAddress":"e87072d98a2e","apMode":0}} 2025-11-13 18:09:44.670 - debug: mhi-wfrac.0 (1759) Register(192.168.178.174) | return: {"error":"","response":{"command":"getDeviceInfo","apiVer":"1.0","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053784,"result":0,"contents":{"airconId":"e87072d98a2e","macAddress":"e87072d98a2e","apMode":0}}} 2025-11-13 18:09:44.670 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.174:51443::data: updateAccountInfo::{"apiVer":"1.0","command":"updateAccountInfo","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053784,"contents":{"accountId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","airconId":"e87072d98a2e","remote":0,"timezone":"Europe/Berlin"}} 2025-11-13 18:09:45.355 - debug: mhi-wfrac.0 (1759) _post | return: updateAccountInfo::{"command":"updateAccountInfo","apiVer":"1.0","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","timestamp":1763053784,"result":0} 2025-11-13 18:09:45.355 - debug: mhi-wfrac.0 (1759) onReady::register(192.168.178.175/klima-flur) 2025-11-13 18:09:45.355 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.175:51443::data: getDeviceInfo::{"apiVer":"1.0","command":"getDeviceInfo","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053785} 2025-11-13 18:10:05.713 - error: mhi-wfrac.0 (1759) klima-flur: Failed to register device! | Error: socket hang up 2025-11-13 18:10:05.714 - debug: mhi-wfrac.0 (1759) onReady::initIOBStates 2025-11-13 18:10:05.769 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.174:51443::data: getAirconStat::{"apiVer":"1.0","command":"getAirconStat","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053805,"contents":{"airconId":"e87072d98a2e"}} 2025-11-13 18:10:07.371 - debug: mhi-wfrac.0 (1759) _post | return: getAirconStat::{"command":"getAirconStat","apiVer":"1.0","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","timestamp":1763053805,"result":0,"contents":{"airconId":"e87072d98a2e","airconStat":"AACzmKz/AAAAAIAQCwAAAAAAAf////+0+oEEERAsoQAAgAAAAAEAAAAAAAOAIKH/gBCS/5QQAACD+A==","logStat":0,"updatedBy":"local","expires":1763053095,"ledStat":1,"autoHeating":0,"highTemp":"AB","lowTemp":"66","firmType":"WF-RAC","wireless":{"firmVer":"010"},"mcu":{"firmVer":"131"},"timezone":"Europe/Berlin","remoteList":["","","",""],"numOfAccount":2}} 2025-11-13 18:10:07.372 - debug: mhi-wfrac.0 (1759) getDataFromDevice | AirconStat::{"airFlow":1,"canHomeLeaveModeStatusRequest":false,"coolHotJudge":true,"electric":0,"entrust":false,"errorCode":"00","indoorTemp":25.5,"isAutoHeating":false,"isSelfCleanOperation":false,"isSelfCleanReset":false,"isVacantProperty":0,"modelNo":1,"operation":true,"operationMode":2,"outdoorTemp":14.2,"presetTemp":22,"windDirectionLR":0,"windDirectionUD":2} 2025-11-13 18:10:17.426 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.174:51443::data: getAirconStat::{"apiVer":"1.0","command":"getAirconStat","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053817,"contents":{"airconId":"e87072d98a2e"}} 2025-11-13 18:10:18.128 - debug: mhi-wfrac.0 (1759) _post | return: getAirconStat::{"command":"getAirconStat","apiVer":"1.0","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","timestamp":1763053817,"result":0,"contents":{"airconId":"e87072d98a2e","airconStat":"AACzmKz/AAAAAIAQCwAAAAAAAf////+0+oEEERAsoQAAgAAAAAEAAAAAAAOAIKH/gBCS/5QQAACD+A==","logStat":0,"updatedBy":"local","expires":1763053095,"ledStat":1,"autoHeating":0,"highTemp":"AB","lowTemp":"66","firmType":"WF-RAC","wireless":{"firmVer":"010"},"mcu":{"firmVer":"131"},"timezone":"Europe/Berlin","remoteList":["","","",""],"numOfAccount":2}} 2025-11-13 18:10:18.128 - debug: mhi-wfrac.0 (1759) getDataFromDevice | AirconStat::{"airFlow":1,"canHomeLeaveModeStatusRequest":false,"coolHotJudge":true,"electric":0,"entrust":false,"errorCode":"00","indoorTemp":25.5,"isAutoHeating":false,"isSelfCleanOperation":false,"isSelfCleanReset":false,"isVacantProperty":0,"modelNo":1,"operation":true,"operationMode":2,"outdoorTemp":14.2,"presetTemp":22,"windDirectionLR":0,"windDirectionUD":2} 2025-11-13 18:10:28.174 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.174:51443::data: getAirconStat::{"apiVer":"1.0","command":"getAirconStat","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053828,"contents":{"airconId":"e87072d98a2e"}} 2025-11-13 18:10:28.894 - debug: mhi-wfrac.0 (1759) _post | return: getAirconStat::{"command":"getAirconStat","apiVer":"1.0","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","timestamp":1763053828,"result":0,"contents":{"airconId":"e87072d98a2e","airconStat":"AACzmKz/AAAAAIAQCwAAAAAAAf////+0+oEEERAsoQAAgAAAAAEAAAAAAAOAIKH/gBCS/5QQAACD+A==","logStat":0,"updatedBy":"local","expires":1763053095,"ledStat":1,"autoHeating":0,"highTemp":"AB","lowTemp":"66","firmType":"WF-RAC","wireless":{"firmVer":"010"},"mcu":{"firmVer":"131"},"timezone":"Europe/Berlin","remoteList":["","","",""],"numOfAccount":2}} 2025-11-13 18:10:28.895 - debug: mhi-wfrac.0 (1759) getDataFromDevice | AirconStat::{"airFlow":1,"canHomeLeaveModeStatusRequest":false,"coolHotJudge":true,"electric":0,"entrust":false,"errorCode":"00","indoorTemp":25.5,"isAutoHeating":false,"isSelfCleanOperation":false,"isSelfCleanReset":false,"isVacantProperty":0,"modelNo":1,"operation":true,"operationMode":2,"outdoorTemp":14.2,"presetTemp":22,"windDirectionLR":0,"windDirectionUD":2}Mir gehen die Ideen aus.. :/
@Duude sagte in Test Adapter mhi-wfrac v2.x.x GitHub:
Hallo, ich habe da auch das Phänomen, dass von 2 Innengeräten eines immer den Fehler protokolliert: "Failed to register device! | Error: socket hang up"
Ich habe dieses Innengerät (klima-flur) auch schon mehrfach resettet, mal über WPS mit dem Router verbunden, mal über AP. Es bekommt auch immer brav die IP und lässt sich dann auch anpingen. Auch über die Smart Air App kann ich auf das Gerät zugreifen, aber mit dem ioBroker Adapter klappt es nicht.
Das Innengerät (klima-wohnzimmer) hat keinerlei Probleme.. sowohl Smart Air App als auch ioBroker Adapter funktionieren normal. Ist doch verrückt!Hier mal eine kurze log-Ausgabe, wenn ich beide Geräte im Adapter aktiviere und diesen neu starte:
2025-11-13 18:09:43.074 - info: host.iobrokerSynology "system.adapter.mhi-wfrac.0" enabled 2025-11-13 18:09:43.373 - info: host.iobrokerSynology instance system.adapter.mhi-wfrac.0 in version "2.1.7" started with pid 1759 2025-11-13 18:09:44.325 - debug: mhi-wfrac.0 (1759) Redis Objects: Use Redis connection: 127.0.0.1:9001 2025-11-13 18:09:44.348 - debug: mhi-wfrac.0 (1759) Objects client ready ... initialize now 2025-11-13 18:09:44.350 - debug: mhi-wfrac.0 (1759) Objects create System PubSub Client 2025-11-13 18:09:44.350 - debug: mhi-wfrac.0 (1759) Objects create User PubSub Client 2025-11-13 18:09:44.378 - debug: mhi-wfrac.0 (1759) Objects client initialize lua scripts 2025-11-13 18:09:44.382 - debug: mhi-wfrac.0 (1759) Objects connected to redis: 127.0.0.1:9001 2025-11-13 18:09:44.401 - debug: mhi-wfrac.0 (1759) Redis States: Use Redis connection: 127.0.0.1:9000 2025-11-13 18:09:44.410 - debug: mhi-wfrac.0 (1759) States create System PubSub Client 2025-11-13 18:09:44.411 - debug: mhi-wfrac.0 (1759) States create User PubSub Client 2025-11-13 18:09:44.464 - debug: mhi-wfrac.0 (1759) States connected to redis: 127.0.0.1:9000 2025-11-13 18:09:44.537 - info: mhi-wfrac.0 (1759) starting. Version 2.1.7 in /opt/iobroker/node_modules/iobroker.mhi-wfrac, node: v22.21.1, js-controller: 7.0.7 2025-11-13 18:09:44.547 - debug: mhi-wfrac.0 (1759) onReady::register(192.168.178.174/klima-wohnzimmer) 2025-11-13 18:09:44.549 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.174:51443::data: getDeviceInfo::{"apiVer":"1.0","command":"getDeviceInfo","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053784} 2025-11-13 18:09:44.669 - debug: mhi-wfrac.0 (1759) _post | return: getDeviceInfo::{"command":"getDeviceInfo","apiVer":"1.0","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053784,"result":0,"contents":{"airconId":"e87072d98a2e","macAddress":"e87072d98a2e","apMode":0}} 2025-11-13 18:09:44.670 - debug: mhi-wfrac.0 (1759) Register(192.168.178.174) | return: {"error":"","response":{"command":"getDeviceInfo","apiVer":"1.0","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053784,"result":0,"contents":{"airconId":"e87072d98a2e","macAddress":"e87072d98a2e","apMode":0}}} 2025-11-13 18:09:44.670 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.174:51443::data: updateAccountInfo::{"apiVer":"1.0","command":"updateAccountInfo","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053784,"contents":{"accountId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","airconId":"e87072d98a2e","remote":0,"timezone":"Europe/Berlin"}} 2025-11-13 18:09:45.355 - debug: mhi-wfrac.0 (1759) _post | return: updateAccountInfo::{"command":"updateAccountInfo","apiVer":"1.0","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","timestamp":1763053784,"result":0} 2025-11-13 18:09:45.355 - debug: mhi-wfrac.0 (1759) onReady::register(192.168.178.175/klima-flur) 2025-11-13 18:09:45.355 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.175:51443::data: getDeviceInfo::{"apiVer":"1.0","command":"getDeviceInfo","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053785} 2025-11-13 18:10:05.713 - error: mhi-wfrac.0 (1759) klima-flur: Failed to register device! | Error: socket hang up 2025-11-13 18:10:05.714 - debug: mhi-wfrac.0 (1759) onReady::initIOBStates 2025-11-13 18:10:05.769 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.174:51443::data: getAirconStat::{"apiVer":"1.0","command":"getAirconStat","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053805,"contents":{"airconId":"e87072d98a2e"}} 2025-11-13 18:10:07.371 - debug: mhi-wfrac.0 (1759) _post | return: getAirconStat::{"command":"getAirconStat","apiVer":"1.0","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","timestamp":1763053805,"result":0,"contents":{"airconId":"e87072d98a2e","airconStat":"AACzmKz/AAAAAIAQCwAAAAAAAf////+0+oEEERAsoQAAgAAAAAEAAAAAAAOAIKH/gBCS/5QQAACD+A==","logStat":0,"updatedBy":"local","expires":1763053095,"ledStat":1,"autoHeating":0,"highTemp":"AB","lowTemp":"66","firmType":"WF-RAC","wireless":{"firmVer":"010"},"mcu":{"firmVer":"131"},"timezone":"Europe/Berlin","remoteList":["","","",""],"numOfAccount":2}} 2025-11-13 18:10:07.372 - debug: mhi-wfrac.0 (1759) getDataFromDevice | AirconStat::{"airFlow":1,"canHomeLeaveModeStatusRequest":false,"coolHotJudge":true,"electric":0,"entrust":false,"errorCode":"00","indoorTemp":25.5,"isAutoHeating":false,"isSelfCleanOperation":false,"isSelfCleanReset":false,"isVacantProperty":0,"modelNo":1,"operation":true,"operationMode":2,"outdoorTemp":14.2,"presetTemp":22,"windDirectionLR":0,"windDirectionUD":2} 2025-11-13 18:10:17.426 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.174:51443::data: getAirconStat::{"apiVer":"1.0","command":"getAirconStat","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053817,"contents":{"airconId":"e87072d98a2e"}} 2025-11-13 18:10:18.128 - debug: mhi-wfrac.0 (1759) _post | return: getAirconStat::{"command":"getAirconStat","apiVer":"1.0","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","timestamp":1763053817,"result":0,"contents":{"airconId":"e87072d98a2e","airconStat":"AACzmKz/AAAAAIAQCwAAAAAAAf////+0+oEEERAsoQAAgAAAAAEAAAAAAAOAIKH/gBCS/5QQAACD+A==","logStat":0,"updatedBy":"local","expires":1763053095,"ledStat":1,"autoHeating":0,"highTemp":"AB","lowTemp":"66","firmType":"WF-RAC","wireless":{"firmVer":"010"},"mcu":{"firmVer":"131"},"timezone":"Europe/Berlin","remoteList":["","","",""],"numOfAccount":2}} 2025-11-13 18:10:18.128 - debug: mhi-wfrac.0 (1759) getDataFromDevice | AirconStat::{"airFlow":1,"canHomeLeaveModeStatusRequest":false,"coolHotJudge":true,"electric":0,"entrust":false,"errorCode":"00","indoorTemp":25.5,"isAutoHeating":false,"isSelfCleanOperation":false,"isSelfCleanReset":false,"isVacantProperty":0,"modelNo":1,"operation":true,"operationMode":2,"outdoorTemp":14.2,"presetTemp":22,"windDirectionLR":0,"windDirectionUD":2} 2025-11-13 18:10:28.174 - debug: mhi-wfrac.0 (1759) _post | url:http://192.168.178.174:51443::data: getAirconStat::{"apiVer":"1.0","command":"getAirconStat","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1763053828,"contents":{"airconId":"e87072d98a2e"}} 2025-11-13 18:10:28.894 - debug: mhi-wfrac.0 (1759) _post | return: getAirconStat::{"command":"getAirconStat","apiVer":"1.0","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","timestamp":1763053828,"result":0,"contents":{"airconId":"e87072d98a2e","airconStat":"AACzmKz/AAAAAIAQCwAAAAAAAf////+0+oEEERAsoQAAgAAAAAEAAAAAAAOAIKH/gBCS/5QQAACD+A==","logStat":0,"updatedBy":"local","expires":1763053095,"ledStat":1,"autoHeating":0,"highTemp":"AB","lowTemp":"66","firmType":"WF-RAC","wireless":{"firmVer":"010"},"mcu":{"firmVer":"131"},"timezone":"Europe/Berlin","remoteList":["","","",""],"numOfAccount":2}} 2025-11-13 18:10:28.895 - debug: mhi-wfrac.0 (1759) getDataFromDevice | AirconStat::{"airFlow":1,"canHomeLeaveModeStatusRequest":false,"coolHotJudge":true,"electric":0,"entrust":false,"errorCode":"00","indoorTemp":25.5,"isAutoHeating":false,"isSelfCleanOperation":false,"isSelfCleanReset":false,"isVacantProperty":0,"modelNo":1,"operation":true,"operationMode":2,"outdoorTemp":14.2,"presetTemp":22,"windDirectionLR":0,"windDirectionUD":2}Mir gehen die Ideen aus.. :/
Hm, da kommt über 20s keine Antwort von dem Gerät. Ich hab das Timeout bereits relativ hoch gesetzt. Wie ist denn der WLAN Empfang von dem Gerät im Vergleich zu den anderen? Kannst du die Empfangsqualität erhöhen?
-
H Homoran verschob dieses Thema von Tester am
-
H Homoran verschob dieses Thema von ...nicht in offiziellem Repo am
-
Hi Leute
ich habe eine Klimaanlage mit der Bezeichnung SRK/SRC 35 ZF-WF von Mitsubishi bekommen.leider verbindet sich der iobroker nicht mit der Anlage.
Die App auf dem Handy funktioniert mit der Klimaanlage.Hier mal ein Log dazu
2026-05-22 18:57:27.356 - silly: mhi-wfrac.0 (9244) States system redis pmessage system.adapter.mhi-wfrac.0.logLevel/system.adapter.mhi-wfrac.0.logLevel:{"val":"silly","ack":true,"ts":1779469047353,"q":0,"from":"system.adapter.mhi-wfrac.0","lc":1779469047353} 2026-05-22 18:57:27.374 - info: mhi-wfrac.0 (9244) starting. Version 2.2.0 in /opt/iobroker/node_modules/iobroker.mhi-wfrac, node: v22.21.0, js-controller: 7.1.0 2026-05-22 18:57:27.391 - debug: mhi-wfrac.0 (9244) onReady::register(192.168.203.214/Klima) 2026-05-22 18:57:27.392 - debug: mhi-wfrac.0 (9244) _post | url:http://192.168.203.214:51443::data: getDeviceInfo::{"apiVer":"1.0","command":"getDeviceInfo","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1779469047} 2026-05-22 18:57:47.846 - error: mhi-wfrac.0 (9244) Klima: Failed to register device! | Error: socket hang upMOD-EDIT: Code in code-tags gesetzt!
-
Du hast vermutlich auch eine neue Firmwareversion auf dem wf-rac:
https://github.com/hacki11/ioBroker.mhi-wfrac/issues/23 -
Hallo Gemeinschaft,
ich besitze seit längere Zeit eine MH SRK50ZSK-WF. Dort ist das WLan Modul werksseitig verbaut und man kann sich nur über die Smart-M-Air per Cloud und App damit verbinden.
Ich wollte die Anlage in ioBroker holen, habe aber da Fehlermeldungen.Die aktuelle Firmware Version der Anlage ist die 025/200
Der Adapter ist installiert und als IP habe ich die IP der Klimaanlage eingetragen (10.0.0240)
Ich bekomme aber keinen Connect bzw. die Instanz verbindet sich nicht.
Ein Ping auf die IP verläuft ohne Probleme.Im ioBroker Protokoll sehe ich folgende Fehlermeldung:
2026-06-19 11:59:55.353 - error: mhi-wfrac.0 (5574) Dachgeschoss: Failed to register device! | Error: socket hang up 2026-06-19 11:59:55.353 - warn: mhi-wfrac.0 (5574) setTimeout called, but adapter is shutting down 2026-06-19 11:59:55.362 - info: host.ioBroker stopInstance system.adapter.mhi-wfrac.0 send kill signal 2026-06-19 11:59:55.823 - info: mhi-wfrac.0 (5574) terminating 2026-06-19 11:59:55.824 - info: mhi-wfrac.0 (5574) terminating 2026-06-19 11:59:55.843 - info: host.ioBroker instance system.adapter.mhi-wfrac.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2026-06-19 12:00:05.877 - info: host.ioBroker "system.adapter.mhi-wfrac.0" enabled 2026-06-19 12:00:06.085 - info: host.ioBroker instance system.adapter.mhi-wfrac.0 in version "2.2.0" started with pid 5590 2026-06-19 12:00:06.598 - debug: mhi-wfrac.0 (5590) Redis Objects: Use Redis connection: 127.0.0.1:9001 2026-06-19 12:00:06.609 - debug: mhi-wfrac.0 (5590) Objects client ready ... initialize now 2026-06-19 12:00:06.610 - debug: mhi-wfrac.0 (5590) Objects create System PubSub Client 2026-06-19 12:00:06.610 - debug: mhi-wfrac.0 (5590) Objects create User PubSub Client 2026-06-19 12:00:06.616 - debug: mhi-wfrac.0 (5590) Objects client initialize lua scripts 2026-06-19 12:00:06.619 - debug: mhi-wfrac.0 (5590) Objects connected to redis: 127.0.0.1:9001 2026-06-19 12:00:06.625 - debug: mhi-wfrac.0 (5590) Redis States: Use Redis connection: 127.0.0.1:9000 2026-06-19 12:00:06.627 - debug: mhi-wfrac.0 (5590) States create System PubSub Client 2026-06-19 12:00:06.628 - debug: mhi-wfrac.0 (5590) States create User PubSub Client 2026-06-19 12:00:06.631 - debug: mhi-wfrac.0 (5590) States connected to redis: 127.0.0.1:9000 2026-06-19 12:00:06.675 - info: mhi-wfrac.0 (5590) starting. Version 2.2.0 in /opt/iobroker/node_modules/iobroker.mhi-wfrac, node: v24.16.0, js-controller: 7.1.2 2026-06-19 12:00:06.683 - debug: mhi-wfrac.0 (5590) onReady::register(10.0.0.240/Dachgeschoss) 2026-06-19 12:00:06.685 - debug: mhi-wfrac.0 (5590) _post | url:http://10.0.0.240:51443::data: getDeviceInfo::{"apiVer":"1.0","command":"getDeviceInfo","deviceId":"18547566-315b-4941-bb9b-90cedef4bbb7","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","timestamp":1781863206} 2026-06-19 12:00:27.075 - error: mhi-wfrac.0 (5590) Dachgeschoss: Failed to register device! | Error: socket hang upWäre hier einer so hilfsbereit, um mir weiterzuhelfen.
Vielen Dank -
-
@micha78 ich hab es hinbekommen, dass die Anlage antwortet:
{"command":"getAirconStat","apiVer":"1.0","operatorId":"d2bc4571-1cea-4858-b0f2-34c18bef1901","deviceId":"1234567890ABCDEF","timestamp":1649703587,"result":1,"contents":{"airconId":"348e89be43c5","airconStat":"AAern7D/AAAAAAATigAAAAAAAf////+fK4EECRcwnAAAiAIAAwAAAAAAAAOAIJz/gBDo/5QQBgCLOQ==","logStat":0,"updatedBy":"90C93129-4CC2-4A54-B253-25FA23379A38","expires":1781856984,"ledStat":1,"autoHeating":0,"highTemp":"AB","lowTemp":"66","wireless":{"firmVer":"025"},"mcu":{"firmVer":"200"},"timezone":"Europe/Berlin","remoteList":["7F9A6F4D-137F-4B8B-BF32-E45E51ADF4DA","","",""],"numOfAccount":1,"firmType":"WF-RAC-HTTPS"}}Wie geht es denn jetzt weiter?
-
Also ich habe das Problem gelöst. Wenn man den Patch von cabby -bot Mitsubishi Heavy mit Firmware 200 direkt in ioBroker einspielt, werden einige Einstellungen nicht übernommen. Bei mir fehlten z.B. in den Einstellung die Möglichkeit zwischen http/https zu wählen. Die MHI mit Firmware Version 200 beantworten Anfragen nur noch, wenn diese per https gestellt werden.
Also habe ich das ganze angepasste script von cabby-bot über das bereits installierte Script/Adapter von hack11 kopiert und bingo alles lief.
Meine Vorgehensweise für eine eventuelle Neuinstallation etc.- Adapter mhi-wfrac normal installieren.
- Adapter nicht starten
- Mit einem SFTP Client auf den Raspberry verbinden und die installierten Dateien im Adapter überschreiben.
Der Pfad lautet: /opt/iobroker/node_modules/iobroker.mhi-wfrac. Welche Dateien überschrieben werden müssen seht ihr an den bereits
installierten Dateien aus der Adapter Installation vom mhi-wfrac. - Adapter neu starten und Einstellungen vornehmen.
- Freuen
-
Klingt gut, muss ich mir nachm Urlaub mal ansehen. Es sind leider relativ viele Änderungen die man ansehen muss. Ob es wirklich soviel braucht oder ob die KI geschwätzig war, muss man erstmal rausfinden. Natürlich auch ob die alte Firmware Version weiterhin geht. Aber top dass es läuft!
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