Epever wifi 2.4g rj45 d

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

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.

Do you have any Solution for this Problem?

Any luck with this? I wanted to buy USB cable or WiFi dongle, now can’t decide.

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

Hi, I have exactly the same problem.

Has anyone managed to connect the Epever via MQTT?

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.

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

Dongle subscribes to MQTT channel /iot/mt/xyz/d
Unfortunately, I am unable to go any further

1 Like

Hi, did you manage to do anything?

Bring up the information in Home Assistant?

yep. now i’ll create topic

hi, did you get the mqtt topic and create sensor on HA?
can you share?

as-is.

i think you know how to create sensor(s) from mqtt


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"