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){
1 Like
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
1 Like
kentin62
(Kentin62)
May 3, 2024, 1:18pm
15
Hi, did you manage to do anything?
Bring up the information in Home Assistant?
10der
(Oleg Denisenko)
June 14, 2024, 7:18pm
16
yep. now i’ll create topic
wfchan
(Wfchan)
August 12, 2024, 5:57am
17
hi, did you get the mqtt topic and create sensor on HA?
can you share?
10der
(Oleg Denisenko)
August 12, 2024, 5:57pm
18
as-is.
i think you know how to create sensor(s) from mqtt
10der
(Oleg Denisenko)
August 12, 2024, 6:00pm
20
sensor:
- name: "Mini Solar station input voltage"
unique_id: mini_solar_station_input_voltage
state_topic: "home/epever-solar/epever/data"
value_template: '{{ value_json["chargingInputVoltage"] }}'
unit_of_measurement: "V"
device:
identifiers: Tracer1206AN
manufacturer: "Epever"
name: My Mini Inverter
model: "V02.01+V01.22"
- name: "Mini Solar station input current"
unique_id: mini_solar_station_input_current
state_topic: "home/epever-solar/epever/data"
value_template: '{{ value_json["chargingInputCurrent"] }}'
unit_of_measurement: "A"
device:
identifiers: Tracer1206AN
manufacturer: "Epever"
name: My Mini Inverter
model: "V02.01+V01.22"
- name: "Mini Solar station input power"
unique_id: mini_solar_station_input_power
state_topic: "home/epever-solar/epever/data"
value_template: '{{ value_json["chargingInputPower"] }}'
#last_reset_value_template: "{{value_json.lastUpdate | int | timestamp_custom('%d.%m.%Y %H:%M'}}"
unit_of_measurement: "W"
device:
identifiers: Tracer1206AN
manufacturer: "Epever"
name: My Mini Inverter
model: "V02.01+V01.22"
- name: "Mini Solar station energy today"
unique_id: mini_solar_station_energy_today
state_topic: "home/epever-solar/epever/stat"
value_template: '{{value_json["generatedEnergyToday"] }}'
device_class: energy
#state_class: measurement
state_class: total
unit_of_measurement: "kWh"
last_reset_value_template: '{{today_at("00:00:00")}}'
device:
identifiers: Tracer1206AN
manufacturer: "Epever"
name: My Mini Inverter
model: "V02.01+V01.22"
- name: "Mini Solar station consumed energy today"
unique_id: mini_solar_station_consumed_energy_today
state_topic: "home/epever-solar/epever/stat"
value_template: '{{value_json["consumedEnergyToday"] }}'
device_class: energy
#state_class: measurement
state_class: total
unit_of_measurement: "kWh"
last_reset_value_template: '{{today_at("00:00:00")}}'
device:
identifiers: Tracer1206AN
manufacturer: "Epever"
name: My Mini Inverter
model: "V02.01+V01.22"
- name: "Mini Solar station battery charge level"
state_topic: "home/epever-solar/epever/data"
unique_id: mini_solar_station_battery_charge_level
value_template: '{{value_json["batterySoC"] }}'
unit_of_measurement: "%"
device_class: battery
device:
identifiers: Tracer1206AN
manufacturer: "Epever"
name: My Mini Inverter
model: "V02.01+V01.22"