-
Notifications
You must be signed in to change notification settings - Fork 21
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
Go-e Firmware 56.8 and API-v2 / Mqtt #231
Comments
There should not be such a change but I can reproduce the issue |
Ok seems like I only could reproduce it once.. Weird.. |
Upgraded to 56.8 and again no mqtt datas
Charger is 246728
|
With the new firmware the mqtt shows this error "error_type=TCP_TRANSPORT connect_return_code=ACCEPTED" Do you have some logs on the broker side regarding the issue? |
I understood the problem |
Thank you for this information! Now I can reproduce everything needed and a fix should be available in the next firmware release |
Hi, is the issue fixed in 56.9 beta? |
It should be.. Important bit, is that the homeassistant topics are sent after successful connection if enabled in config If there is still a problem let me know |
Do you know, if the version is stable? And can I switch back to non beta version, after I installed a beta version? |
Its still in testing but should be fine You can always go back to the version you had installed before |
Thanks! I will check it and give some feedback. |
@thannerfabian any feedback? |
Ist it? I have a new go-e Gemini flex. Yesterday I tried to run Mqtt first time and got the same error. But I got the error also on 56.1 and 56.9. Maybe I make some mistakes on my side?!? Mqtt is 'active' in the app, but it is 'not connected'. Writing with HttpApiv2 is working. I use a mosquito-broker and node-red. Any idea? |
@erxbout sorry for the late reply. Yes I tested it and I had the same result as @SoftwareBaumeister, it sadly didn´t work. I validated the MQTT-Connection string again and the settings were correct. |
Here is the log of the mosquitto-broker:
192.168.178.41 is the ip of ot the go-e. Any idea? |
Maybe the same problem/solution, too? Best wishes... |
@SoftwareBaumeister should there relly be a whitespace before and after the password in the connection string? |
The whitespaces are copy paste errors i suppose So to sum it up we have two separated issues here:
|
No! My mistake. I updated my post |
Still have the mqtt, any fireware after 56.2 don't working. My setup. go-e located in my guest network, my mosquitto broker located in another netwerk. Both networks are linked via a firewall rule. Up to 56.2 all working, any newer nothing. Duct to the to different network range no autoconfiguration will working, on the other hand just a port for mqtt connection should be enough |
I can confirm the same thing. Firmware 56.2 is correct, the following ones are not. I haven't tried a beta. Also, when switching from one firmware version to another, I had to change the MQTT prefix from /go-eCharger/serial#/ to go-eCharger/serial#/ (note that I removed the / at the beginning) to avoid having an empty root topic on my broker. It could be a good idea to check the prefix validity before using it on MQTT. I still love my go-e chargers :-) |
@powo01 have you tried to make sure there is a trailing '/' at the end of the mqtt topic? @LauGui2023 Would also need some logs there because we might have another problem if it is not working even when the topic prefix is checked for the trailing '/' |
@erxbout of course I tried it with and without trailing '/'. By the way with the non working firmware version I m not seen any TCP traffic with wireshark at the node where mosquitto is running. Generic mqtt client error when mqtt is enabled. Any way to get more specific error log from the go-e ? At the moment I use http api as a fallback |
Having the same problem when Go-e (FW57.1) is in different (IoT) VLAN, even though traffic rules allow traffic to HA in main VLAN, all other IoT-devices work as they should. Moving Go-e to main VLAN fixes this. Not a network engineer but the firewall rule should not be a problem, allowed all traffic from IoT to HAs IP and still nothing. Any tips? |
@powo01 I can try to have a look with the serial number of the charger if the cloud is enabled. But not seeing anything on wireshark is very strange, there should be at least the connection attempt. Maybe there is a problem with a network device that got also an update and changed some restrictions in the firewall? @pitkaha interesting, I could also try to look into this with the serial number but I assume if the charger is in a seperate vlan it will not be allowed to talk to our cloud.. |
Okay, thanks, serial is 261558. It is allowed to talk to cloud in both VLANs, and the cloud is working with both VLANs. MQTT is running on same ip with HA, its a NUC running HAOS 2024.11 with mosquitto broker (6.5.0) addon, and HA is using MQTT. |
@erxbout there is no configuration changing between the different firmwares. In the moment I go rollback to the 56.2 firmware it's working again otherwise no connection possible. Cloud connection and also HTTP api working at all firmware versions. But there must be a software change in the mqtt area in later firmwares than 56.2 otherwise this behavior would not possible. Looking like unencrypted mqtt port 1883 and not the own subnet not working anymore. The behavior is shown at IPv4 and also IPv6 |
@pitkaha I tested with 56.1 and latest 57.1 it seems like there is no difference, the connection can not be established.. @powo01 Ich kann ohne die Seriennummer nichts genaueres rausfinden und auch damit sind meine Möglichkeiten begrenzt, da ich die Netzwerktopologie unmöglich kennen kann.. |
Yep, different VLAN. Found the reason, there was one old and quite restrictive firewall rule I had overlooked, have to replace it with better one. MQTT is going through now. And yes good point, have to update those credentials, thank you for your help! |
@erxbout mein go-e hat die Seriennummer 221479. Ich werde bei mir mit Wireshark nochmal in dem Netzwerk Segment schauen wo der go-e drin ist und den go-e auch mal in das Segment legen wo auch der mqtt broker drin ist. Hat sich die Versionsnummer Ihrer mqtt Library geändert ? |
@erxbout Screenshot det APP |
@erxbout die mqtt Probleme und Fehlerkdung bleiben auch bestehen wenn sich der go-e und der Mosqitto Server sich im gleichen Subnetz befinden |
@powo01 Ist die domain richtig gesetzt? Beim Auflösen am charger versucht dieser mit 0.0.0.0 zu verbinden und wenn ich die domain auflösen möchte ist der A record leer.. Könnte das das Problem sein? Wie sieht es aus wenn die mqtt url direkt die IP drin hat? |
@erxbout der Host hat eine IPv6 only Adresse und damit nur einen AAAA. Ich habe es natürlich auch mit der internen IPv4 des Brockers direkt versucht. Laut Fehlermeldung hat der Mqtt Client bei der Initialisierung ein Problem. Und mit der alten Firmware 56.2 hat genau dieses Setting ohne Probleme funktioniert. Wenn ich ein Rollback auf die 56.2 mache geht es wieder, nur der Android Client nervt dann mit den Firmware Updates. Der go-e ist in meinem Gastnetz und der Mosquitto Server in meinem Core Netz. Vom Gastnetz ist der MQTT Server über eine Firewall Regel erreichbar, wenigstens bis Firmware 56.2. Bei jeder neueren Firmware sehe ich mit Wireshark am Gastnetz Eingang des Routers keinerlei MQTT Traffic auf Port 1883. Angehängte Screenshots sind nach dem Rollback auf die 56.2 |
After upgrading the charger to 56.8, mqtt communications has been stopped
Checked on 2 chargers
Is there any changes in this area ?
I had to downgrade to 56.1 to have mqtt datas back
The text was updated successfully, but these errors were encountered: