-
-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Hoymiles HMS 800W-2T Support for built-in DTUBI WiFi-Models #1189
Comments
for now this inverter is not supported. Only the inverters with NRF or CMT radio are supported. We did no reengineering on the wifi variants until now. |
@lumapu I would like to disagree, we just traced the first communication between the App and the DTUBI (built in DTU) of one of the WiFi models. It is basically everything already in the NetProtocol.c/.h files of the original Hoymiles DTU Pro Source code from gitee. @T3mplate-wow but it will definitely take several months before we can provide the same support as with the other already supported communication for Gen2 (MI) and Gen3 (HM) NRF24L01+-based models as well as the Gen3 (HMS/HMT) CMT2300A-based RF models. The HMS-800W-2T models with the built in WiFi DTUBI are a completely different protocol for us. |
Thanks for the fast answer. |
Hallo, Hoffe Ihr habt bald mal Zeit das zu implementieren. :) Solange wird gewartet.! Hello, Hope you have time to implement this soon. :) We will wait until then! |
@stefan123t Would you mind sharing the trace? |
@DennisOSRM das Trace file von @PaeserBastelstube findet sich hier im Discord #hms-wifi-serie Kanal |
Please have a look here https://github.com/henkwiedig/Hoymiles-DTU-Proto The protobuf message definitions are language agnostic. |
Danke für den Link zum Discord Channel und zum PoC. Das ist echt super hilfreich. Ich hatte am Wochenende angefangen einen Prototypen eines MQTT publishers für den HMS-800W-T2 (in Rust) zu coden. Bin aber irgendwie an den CRCs hängen geblieben. Wenn ich etwas funktionierendes habe, dann poste ich den Link hier. |
Dazu mal bitte ins Protokol Wiki schauen… sollten CRC8 und CRC16/ModBus sein. Die passenden Polynome sollten dort bzw im Code bereits dokumentiert sein. |
Ea gibt einige Fortschritte und Erkenntnisse zu berichten:
|
Wow. Richtig cool. |
Es geht auch im eigenen WLAN. |
@DennisOSRM super cool, vielen Dank! |
Sobald ich etwas Zeit habe. 😉 Ich denke am Wochenende sollte ich soweit sein. |
sehr cool was man hier so liest, bin sehr gespannt 😊 |
Verfolge es ebenfalls schon einige Zeit und freue mich, wenn es soweit ist! |
Hatte es auch schon an anderer Stelle gepostet, aber der Vollständigkeit halber noch mal hier: man sieht wie der Code übersetzt und das Tool gestartet wird. Im Hintergrund updatet die MQTT Instanz von meinem iobroker direkt nach dem Start. Das sollte 'ne Idee geben, wie das Tool funktioniert. Ich polier es noch ein wenig und lad es wohl morgen bei github hoch. |
Code ist hochgeladen: https://github.com/DennisOSRM/hms-mqtt-publisher |
Hallo Dennis,
super cool, vielen Dank!
Sobald die Sonne morgen den Wechselrichter wieder weckt werde ich mal testen ob es bei mir auch klappt :)
Ganz lieben Dank!
Florian
…-----Original message-----
From: Dennis ***@***.***>
Sent: Thursday November 2nd, 2023 17:46
To: lumapu/ahoy ***@***.***>
Cc: fsoelch ***@***.***>; Comment ***@***.***>
Subject: Re: [lumapu/ahoy] Feature Request: Hoymiles HMS 800W-2T Support for built-in DTUBI WiFi-Models (Issue #1189)
Code ist hochgeladen: https://github.com/DennisOSRM/hms-mqtt-publisher
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Funktioniert! |
Klappt auch bei mir. Saubere Arbeit 👍 |
Ich war so frei und habe das ganze mal in ein Docker Image gepackt. |
Hi, Cheers |
Hi KFU141 und Dene315 Also ich mach das nochmal und bekomme dann eine IP, die ich als static einrichte. LG Bob UPDATE: |
... hat nicht einer eine Idee - macht nix, wenn es auch noch so simple ist. Ich hab jetzt den Hoymiles vom Strom genommen und dann alle IP-Adressen aufgeschrieben (copy & paste aus der FritzBox), dann den Hoymiles wieder eingesteckt, 10 Min gewartet und geschaut welche neue IP dazukam. Keine neue IP-Adresse erkannt ?!?!? Trotzdem ist auf der Hoymiles App eine Einspeisung zu sehen. Ich bin am verzweifeln. Sehe in der Hoymiles App auch keine MAC-Adresse des Wechselrichters - kann also auch danach nicht suchen. LG Bob |
Hi,
Du musst zuerst natürlich über der App den Hoymiles mitteilen auf welchen WLAN er sich verbinden soll. Wenn ich Dich richtig verstehe verbindest Du Dich mit dem Handy zuerst mit dem WLAN des Hoymiles. In der App muss Du dann dem Hoymiles mitteilen, dass er Dein WLAN nutzen soll. Dann gibt es noch etwas zu beachten:
Welche Version hat Dein Hoymiles? Du musst die 0.01.11 für die DTU haben. Der Hoymiles hat bekannte Verbindungsrobleme mit der FRITZ!Box.
Du kannst die Firmware über die App updaten.
Allerdings habe ich auch mit dieser aktuellen Version hin- und wieder Verbindungsprobleme (der Hoymiles kann sich mit dem wlan nicht nach erneuten hochfahren morgens mit der Box verbinden) und konnte mir dadurch helfen, dass ich in der FRITZ!Box den WPA Modus von WPA2+WPA3 auf WPA+WPA2 temporär umgeschaltet habe, wenn sich der Hoymiles nicht im wlan anmelden konnte.
Wie andere auch schon empfohlen haben, solltest Du dann den Hoymiles auf Static IP-Adresse ändern, da es Dir passieren kann das die Lease-Time abläuft und Hoymiles eine andere IP-Adresse von der FRITZ!Box erhält. Der Homeassistant bzw. in der Hoymiles Erweiterung wird eine feste IP-Adresse benötigt.
Grüße 🖖🏼
Am 1. Apr. 2024, 19:51 +0200 schrieb B-O-B2 ***@***.***>:
… ... hat nicht einer eine Idee - macht nix, wenn es auch noch so simple ist.
Ich hab jetzt den Hoymiles vom Strom genommen und dann alle IP-Adressen aufgeschrieben (copy & paste aus der FritzBox), dann den Hoymiles wieder eingesteckt, 10 Min gewartet und geschaut welche neue IP dazukam.
Keine neue IP-Adresse erkannt ?!?!?
Trotzdem ist auf der Hoymiles App eine Einspeisung zu sehen. Ich bin am verzweifeln.
LG Bob
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hi Sven, Was mich aber auch kirre macht, wie kann das Balkonkraftwerk die Hoymiles Cloud bespielen, wenn ich in der Fritzbox keine IP zum Hoymiles habe?!? LG Bob PS: dann kommt sicher das nächste Thema, habe seit ca. 3 Jahren noch eine KEBA P30 X-Series als Wallbox zu hause und krieg die auch nicht ans laufen (Laden klappt natürlich). War bis letzte Woche auch noch mit ioBroker unterwegs und habe da die Box nicht integrieren können. Vielleicht klappt es ja mit HA ;-) |
Du hast weiter oben schon geschrieben das es dein privates WLAN ist, das Gäste-WLAN ist also wirklich ausgeschlossen? Du kannst auch mal unter System - Ereignisse schauen. im Dropdown dann WLAN auswählen und Haken setzen bei "Auch An- und Abmeldungen und erweiterte WLAN-Informationen protokollieren", falls der nicht schon gesetzt ist. Im Log werden dann sowohl MAC als auch IP für privates und Gast-WLAN angezeigt... |
Hi Thorn2nd, |
Hi! Habe sogar noch auf WPA2/WPA3 zurück gestellt und läuft immer noch. Keine Ahnung was da verstrubbelt war - danke für Eure Tipps! LG Bob |
Super das es geklappt hat!
Finde die Integration richtig gelungen. Vor allem das diese alles freiwillig programmiert wurde. Finde das ist eine super Leistung und sollte belohnt werden. Daher habe ich dem Entwickler über seine GitHub Seite ein Bier gespendet 😅.
Gruß
Sven
Am 2. Apr. 2024, 19:11 +0200 schrieb B-O-B2 ***@***.***>:
… Hi!
Irgendwie habe ich es nun hinbekommen, folgendes habe ich gemacht.
Den WR nochmal per S-Miles App mit meinem WLAN verbunden (wie gesagt, die Cloud wurde seit 5 Monaten täglich mit den Werten beschrieben und der Tasmota bzw. der intelligente Stromzähler hat die Einspeisung auch bestätigt), dann tauchte der WR plötzlich mit einer 'DTUxxxx'-Kennung im WLAN Netz auf. Danach habe ich eine statische IP vergeben und per Website 'global-hoymiles' den WR Updates sowie eine Netzprofilversion gegönnt. Danach im HA die statische IP angegeben und siehe da es läuft! Yipee!
Keine Ahnung was da verstrubbelt war - danke für Eure Tipps!
LG Bob
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Weiss jemand wie man den hms-800w dazu bekommt ein langes wlan Passwort zu nehmen? |
Versuch mal mit dem Script hier:
https://github.com/suaveolent/hoymiles-wifi
|
Guten Morgen, ich hätte auch mal eine Frage bezüglich dem Gateway von ohAnd. Dies dient im Prinzip nur als AP und ist aktuell ohne Anzeige? Ich habe mir das ganze Material für die OpenDTU bestellt und wollte nur eine einfache Anzeige, um zu sehen ob alles läuft. Jedoch musste ich feststellen, dass ich den HMS800 mit W-Lan bekommen habe. Vielen Dank schonmal. |
I am having the issue that my HMS-800W-2T shuts down the WiFi and only starts for a few seconds to send some data - all in a cycle of 15 minutes. There is also this DTUBI-xxx access point which is permanently on, but I guess you are not talking about this one? |
Guten Tag zusammen, ich versuche im Moment den ESP in Betrieb zu nehemen. Das Flashen hat soweit auch funktioniert. Jedoch habe ich Probleme beim IP Adresse einstellen. Es überschreibt immer wieder das WLan Passwort mit "myPassword". Danke! |
Das Problem hatte ich auch mit dem Handy. Dann hatte ich exakt das gleiche mit dem Laptop gemacht- dann hat es funktioniert. |
Ich bekommen es nicht hin. Habe schon ein paar mal neu geflasht, zwei unterschiedliche Laptops mit unterschiedlichen Browsern versucht und auch mit dem Handy. |
Ich habe es nun endlich geschafft, den Router und das Passwort einzutragen. Danach habe ich auch zugriff übers Netzwerk und kann alle Daten in die DTU eintragen. Was kann ich da machen? Es scheint, als würden die Daten von irgendwas überschrieben werden. Hat jemand eine Idee? |
Das Projekt hier hats hinbekommen, funktioniert problemlos. |
Please correct me if I'm wrong, but all the projects mentioned in this thread are based on connecting the inverter to the home WiFi with a Hoymiles account and have the limitation that they only get new data every half a minute. |
No, these projects all communicate with the integrated DTU of the inverter, or the DTU sold by Hoymiles. You do not need a hoymiles account for that. With these projects, you can either directly connect to the DTU, or connect your DTU to your wifi and communicate via your wifi router with the DTU. |
When accessing the HMS800W directly with the S-Miles-App via the inverters own Wifi-AP I get nearly realtime updates.. is that a totally different not yet reverse engineered API? |
@lumapu das ist m.E. ein weiterer erfolgversprechender Ansatz um auch die Hoymiles HMS 800W-2T und andere Modelle mit DTUBI in Ahoy / openDTU zu integrieren. Hier noch eine Zusammenfassung ddr hier gelisteten Projekte die evtl. für Hoymiles HMS-WiFi Series in Frage kommen um mit der darin enthaltenen DTUBI (built-in WiFi DTU) zu kommunizieren: Die Projekte basieren mW alle auf den protobufs die wir aus dem S-Miles Installer APK extrahiert haben. Wenn man also eine defekte irgendwo bekommt könnte man die Inverter Seite genauer untersuchen. Welche der protobuf Implementierungen man bevorzugt ist Geschmackssache:
Was das Active Power Limit angeht senden die mW alle das selbe NetCommand an die DTUBI. Man kann das Limit permanent oder temporär setzen und den Wert absolut in W oder relativ in % angeben. |
We reverse engineered the S-Miles Installer APK somewhere in fall 2023 at the beginning of this Issue / Thread. So the protobuf Protocol we rev'ed may be a bit outdated and one may have to rip the latest protobuf definitions from the Dalvik APK once more. But then I doubt that it should be much different. The timing is probably set to every 30 seconds or even more for most DTUBI solutions above. Why would you practically want to query & control your inverter more frequently ? |
Thanks for that listing! It's still not entirely clear to me how these work, though. I'm trying to figure out wether the 800W is something for me. The main question is: Can I query data without the Hoymiles could? So do these projects communicate directly with the inverter via protobuf, or just with some cloud API? If the direct, would the inverter be a normal device in my Wifi network, or would it need to run in some AP mode? (Which probably means I'd need a dedicated device talking to the inverter and relaying the information into my network somehow). Would the inverter still (need to) talk to the Hoymiles cloud? |
@redm123 yes you need to dedicate one of your local wifi devices to "talk" to the HMS-800W only. This will open the Access Point to the DTUBI being active on the HMS-800W and use the protobuf NetCommands which the above S-Miles Installer app also uses. The DTUBI will nevertheless still try to reach Mom Corporation / Hoymiles and you may be able to either fake the S-Miles Cloud endpoints or overwrite the settings of the DTUBI to reach out to another "CDN" server of your liking. As the S-Miles Cloud uses almost the same protobuf NetCommands as the S-Miles Installer App this is possible too. |
Thanks for the clarification.
Indeed, cutting off the cloud by design, that's a nice side effect.
In this case the inverter could just "normally" join my wifi, right (i.e. no installer AP mode)? That might be an interesting approach, as I would not need an extra device and could just run the "DTU service" on my server, I guess.. |
Hey,
I am one of the „lucky“ guys who bought a HMS 800W-2T. This is the one with included wifi.
I am wondering if this device is not compatible to a DTU anymore (because of the WIFI) or if this is just not tested.
Or does anybody know if there is any other way to get the data out without the cloud?
The text was updated successfully, but these errors were encountered: