Epever wifi 2.4g rj45 d

i cannot get this to work.
I have tried both the dongle serial number and the mqqt username within HA.
Can you give me some guidance

Hi I try to add this repo but not success.
can you help?

image

Sorry
What is it?
What is AlexIt ?
I am not Alex

Sorry, please see the error when I add your repo.

image

sorry, it’s NOT repository for HASS.
just download files as zip
unpack to folder

so I have downloaded the zip file and uploaded it to custom comonenet.
what do I do now?

sorry i can’t replicate, could you post an example ? inserting username and password of mqtt as for your example won’t work

I’m not an expert at all, but I like to try out things. Using the hints and add-on from Oleg Denisenko, I now have my Epever Tracer AN 2210 with wifi dongle integrated in HA. I run HA in a virtual machine on a Synology server, using the latest software versions. Within HA I installed add-ons for File editor, Mosquito broker, MQTT Explorer and Samba share. As advised by many documents, I created a Synology user for MQTT with password.
These are the steps I took:
Wifi dongle installation
I followed the guidelines from the manufacturer to start with. Using a network scanner I found out the DHCP assigned IP address, and then logged in on the web interface of the dongle (using the combination admin / admin).

Side note: I first wanted to set the dongle on STA mode only, but that didn’t work out for some reason. After a while I realized it’s not too bad at all to have both modes enabled. I now use the AP mode with the Solar Giuardian app in Local Mode to occasionally change settings (like when the battery is replaced).

My settings are (with 192.168.1.147 being the local IP address):
AP Setting - no changes
STA Setting - to me it’s very important to have a fixed IP address assigned to the dongle, eventually also in the DHCP server.

Next, following Oleg’s discovery:

The Epever solar client add-on

  1. Copied the complete folder from GitHub - 10der/hass-epever-solar-client to the HA addons folder (using Samba).
  2. Corrected a typo in the file epever-solar-client.py
    Line 16 “from pymodbus.mei_message import ReadDeviceInformationRequest” should be: “from pymodbus.pdu.mei_message import ReadDeviceInformationRequest”
  3. I reloaded the HA configuration files, and the add-on appears next to the other add-ons.
  4. In the configuration tab, following Oleg’s directions:
    (see next post, as I can only upload one media item - this is my first post).

HA set-up
Using the MQTT explorer, I could easily see all data that the dongle server sends out. You may have to wait a while, but it’s all there, just like Oleg showed above.
For my purposes I added this mqtt:-section in the configuration.yaml.

mqtt:
    sensor:
      - name: "input voltage"
        unique_id: input_voltage
        state_topic: "home/epever-solar/epever/data"
        value_template: '{{ value_json["chargingInputVoltage"] }}'
        unit_of_measurement: "V"
        device:
           identifiers: Tracer2210AN
           manufacturer: "Epever"
           name: ReRuBabs_solar 
           model: "V01.02"
    
      - name: "input current"
        unique_id: station_input_current
        state_topic: "home/epever-solar/epever/data"
        value_template: '{{ value_json["chargingInputCurrent"] }}'
        unit_of_measurement: "A"
        device:
           identifiers: Tracer2210AN
           manufacturer: "Epever"
           name: ReRuBabs_solar 
           model: "V01.02"
    
      - name: "input power"
        unique_id: 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: Tracer2210AN
           manufacturer: "Epever"
           name: ReRuBabs_solar 
           model: "V01.02"
    
      - name: "battery charging voltage"
        state_topic: "home/epever-solar/epever/data"
        unique_id: station_battery_charging_voltage
        value_template: '{{value_json["chargingOutputVoltage"] }}'
        unit_of_measurement: "V"
        device_class: voltage
        device:
           identifiers: Tracer2210AN
           manufacturer: "Epever"
           name: ReRuBabs_solar 
           model: "V01.02"

      - name: "battery charging current"
        state_topic: "home/epever-solar/epever/data"
        unique_id: station_battery_charging_current
        value_template: '{{value_json["chargingOutputCurrent"] }}'
        unit_of_measurement: "A"
        device_class: current
        device:
           identifiers: Tracer2210AN
           manufacturer: "Epever"
           name: ReRuBabs_solar 
           model: "V01.02"
           
      - name: "battery charge level"
        state_topic: "home/epever-solar/epever/data"
        unique_id: station_battery_charge_level
        value_template: '{{value_json["batterySoC"] }}'
        unit_of_measurement: "%"
        device_class: battery
        device:
           identifiers: Tracer2210AN
           manufacturer: "Epever"
           name: ReRuBabs_solar 
           model: "V01.02"
           
      - name: "charging status"
        state_topic: "home/epever-solar/epever/status"
        unique_id: station_charging_status
        value_template: '{{value_json["equipmentStatus"]["battery"] }}'
        device:
           identifiers: Tracer2210AN
           manufacturer: "Epever"
           name: ReRuBabs_solar 
           model: "V01.02"

It’s straightforward to add more parameters if you like, but for me this is sufficient.
Next post shows how it looks like (I’m limited in media uploads, as before)

I hope this helps others too!

1 Like

Configuration Epever solar client add-on:

And how it looks like:

1 Like

First of all: Thank you SO MUCH ReRuRabs for helping us out with this. You’re a star.

I get an unspecified syntax error after replacing the typo. Can you confirm that this is what it should look like?

...
import paho.mqtt.client as mqtt

from pymodbus.client import ModbusTcpClient
from pymodbus.transaction import ModbusRtuFramer as ModbusFramer
from pymodbus.*pdu.*mei_message import ReadDeviceInformationRequest

root = logging.getLogger()
root.setLevel(logging.INFO)
...

Hi, I just noticed additional symbols in my edit, that shouldn’t be there.
This is correct (and I updated my text too):

  1. Corrected a typo in the file epever-solar-client.py
    Line 16 “from pymodbus.mei_message import ReadDeviceInformationRequest” should be: “from pymodbus.pdu.mei_message import ReadDeviceInformationRequest”
1 Like

Brilliant! It’s working. I’ve been looking for a solution for this for years and you came to the rescue an hour after I got the RJ45 D in the mail. Thank you!

Hello, I have this error trying to start the local addon:

Starting EPEVER solar client…
Traceback (most recent call last):
File “//./epever-solar-client.py”, line 15, in
from pymodbus.transaction import ModbusRtuFramer as ModbusFramer
ImportError: cannot import name ‘ModbusRtuFramer’ from ‘pymodbus.transaction’ (/usr/local/lib/python3.12/site-packages/pymodbus/transaction.py)

Can you help.