Hello,
I bought the epever wifi 2.4g rj45 d https://www.epever.com/product/epever-wifi-adapter-2-4g-rj45-d/ lately. After a little experimentation I have the device in my wifi network.
Since the cloud solution is bad from my point of view, I thought I’d try an alternative, since the EPever solutions in the past were poorly secured.
So I called the IP in the browser and logged in with the hard to guessed user : admin with the password : admin.
It turns out that you can configure mqtt via the webinterface. Unfortunately, my attempts so far have been unsuccessful.
Can anyone help me or at least give me a suggestion?
Thanks in advance!
1 Like
A username and password for your MQTT server would be a start?
I have used the HA user and password, but since it is in plain text… I do not want to publish it
It’s not the HA user/pass - it’s the MQTT server credentials …
I use the HA MQTT addon without credentials. see
Other mqtt integrations are working flawless.
Enderrlux
(Max Losert)
September 19, 2023, 3:48pm
7
Do you have any Solution for this Problem?
incar
October 26, 2023, 11:28am
8
Any luck with this? I wanted to buy USB cable or WiFi dongle, now can’t decide.
danner85
(Danner85)
January 4, 2024, 10:07pm
9
I have the same problem, did someone find a solution?
2 Likes
I wrote username and password for my MQTT server.
2024-02-13 18:34:54: Client 052208760937QTWG-01139 disconnected, not authorised.
1 Like
kentin62
(Kentin62)
April 14, 2024, 1:49pm
11
Hi, I have exactly the same problem.
Has anyone managed to connect the Epever via MQTT?
sdalu
(Stéphane D'Alu)
April 24, 2024, 9:16pm
12
It looks like the dongle doesn’t care much about some of the parameters filled in the account section.
MQTT Username is “device:xyz”
MQTT Password is “xyz”
MQTT Client ID is “xyz”
where xyz is the dongle 22 characters serial number.
sdalu
(Stéphane D'Alu)
April 25, 2024, 9:06am
13
If using mosquitto as MQTT server, you need to patch it to accept username with colon ‘:’ inside by substituting it by ‘-’ for example
--- src/handle_connect.c.orig 2024-04-24 21:08:17 UTC
+++ src/handle_connect.c
@@ -683,6 +683,13 @@ int handle__connect(struct mosquitto *context)
goto handle_connect_error;
}
}
+ if (username != NULL) {
+ for (int i = 0 ; i < strlen(username) ; i++) {
+ if (username[i] == ':') {
+ username[i] = '-';
+ }
+ }
+ }
}else{
if(context->protocol == mosq_p_mqtt311 || context->protocol == mosq_p_mqtt31){
if(password_flag){
sdalu
(Stéphane D'Alu)
April 25, 2024, 11:02pm
14
Dongle subscribes to MQTT channel /iot/mt/xyz /d
Unfortunately, I am unable to go any further