Skip to content
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

Connection Problem #176

Open
golaso7 opened this issue Nov 7, 2024 · 8 comments
Open

Connection Problem #176

golaso7 opened this issue Nov 7, 2024 · 8 comments

Comments

@golaso7
Copy link

golaso7 commented Nov 7, 2024

Hello friends, iam a newbie and iam totaly lost. I tried it now for hours but cant find the problem:

The protocol in the Mosquitto broker always shows this:

2024-11-07 21:20:04: New connection from 192.168.178.75:64867 on port 1883.
error: received null username or password for unpwd check
2024-11-07 21:20:04: Client go-echarger_215559 disconnected, not authorised.

@syssi
Copy link
Owner

syssi commented Nov 8, 2024

Your go-e charger tries to connect to your MQTT broker without providing an username and password for authorization. You have to allow unauthorized connections or add a username and a passwort to your MQTT connection setting.

@golaso7
Copy link
Author

golaso7 commented Nov 8, 2024

Thank you, but i have no idea how to do that. In the app of goe-charger there is no option to set a username or something and in the Mosquitto broker in HA i cant find the option to allow unauthorized connections. Actually I googled that the Mosquitto broker didnt allow that anymore???

@syssi
Copy link
Owner

syssi commented Nov 8, 2024

Do you know how to create a user including the password at the broker? Username and password can be encoded into the URL at the Android app:

mqtt://username:password@ipaddress:port

@golaso7
Copy link
Author

golaso7 commented Nov 11, 2024

Awesome, it works. Thank you :-)

@Aquithor
Copy link

Hi guys, I also have the problem that I can't get a connection from the go-e charger. I have connection errors : error_type=TCP_TRANSPORT and connect_return_code=ACCEPTED. This seems contradictory to me. My URL is: mqtt://homeassistant.192.16x.xxx.xxx:1883, prefix: go-eCharger/xxxxx/, MQTT Homeassistant activated, MQTT Homeassistant prefix activated: homeassistant/. Can anyone help me? I am new to this and have no experience. Thank you in advance.

@syssi
Copy link
Owner

syssi commented Nov 12, 2024

Your MQTT URL doesn't look well formed. The @ between the credentials and the hostname is important and the : between the username and the password.

@Aquithor
Copy link

Hi syssi, thank you for your help. Unfortunately, I forgot the @ when writing.
I now have the problem that it does not allow me to enter a password in the configuration of the MQTT broker. It always says “Connection not established”.
Without this entry, however, I cannot enter the correct data in the go-e charger either.

@syssi
Copy link
Owner

syssi commented Nov 13, 2024

I cannot help here. How do you manage your MQTT broker? Could you provide some screenshots? I've installed my mosquitto broker manually (apt-get install mosquitto) on a linux host and can manage credentials using mosquitto_passwd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants