Damn. Color me impressed. I’ve been using a Pi with a Python script to send the data over MQTT to my OpenHAB box. This would simplify it and free up a Pi for some other task.
Hello,
Thank you very much for this post which helped me a lot!
Then I have a functional configuration, which I transmit to you below.
To begin I have an EPEVER XTRA3210N-XDS2.
I have then a machine for modbus with the software “mbusb”.
With a chinese cable and the “CH343” chip I have installed the driver:
I have configured as follows MBUSB
root@modbus:/etc/mbusd# cat mbusd-ttyCH343USB0.conf
#############################################
# #
# Sample configuration file for mbusd #
# #
#############################################
########## Serial port settings #############
# Serial port device name
device = /dev/ttyCH343USB0
# Serial port speed
speed = 115200
# Serial port mode
mode = 8n1
# RS-485 data direction control type (addc, rts, sysfs_0, sysfs_1)
trx_control = addc
# Sysfs file to use to control data direction
# trx_sysfile =
############# TCP port settings #############
# TCP server address to bind
address = 0.0.0.0
# TCP server port number
port = 502
# Maximum number of simultaneous TCP connections
maxconn = 32
# Connection timeout value in seconds
timeout = 60
######### Request/response settings #########
# Maximum number of request retries
retries = 3
# Pause between requests in milliseconds
pause = 100
# Response wait time in milliseconds
wait = 500
# Reply on Broadcast
replyonbroadcast = no
So i have an EPEVER wifi 2.4g RJ45 A connected to my wifi but it doesnt connect to my home assistant i get the error: Connection to (192.168.178.187, 8088) failed: [Errno 111] Connection refused
If some one could help that would be much appreciated.
Could this be that on these newer devices Epever want’s to use their cloud service and that’s why don’t open local ports?
I have UPower-HI series hybrid-inverter and hopefully I get “EPEVER-WIFI-2.4G-DB9-B” (this connects to DB9 connector) on next week and I can check if there is open ports to connect it to HA.
BTW, they ship newer USB cable with UPower-HI adn looks like it use CH343 chip nowadays.
Today I scanned open ports of my EPEVER-WIFI-2.4G-DB9-B and only port what was open was 65010/tcp. But when I connected WiFi dongle to Epever Cloud (with EPEVER Pair app) then all port was closed, actually whole SSID went missing.
So 65010/tcp is for EPEVER Pair in local mode, but no idea what kind of service/api is that…
I expected the ebox-wifi-01 to connect with the UPower-HI but I had a bad surprise as the RJ45 port is not meant for that. Some store told me it is possible to connect the ebox-wifi-01 on the RS485 with limitations, I tried to follow the RS485 interface pin scheme described on the UPower-HI manual and build an adapter but sadly it did not work.
I am not planning to buy “EPEVER-WIFI-2.4G-DB9-B" until I am 100% sure it will work with Home Assistant.
Epever is a very famous brand, it is hard to believe there is no integration built for Home Assistant.
Please keep me posted if you find a solution.
By the way, I found a new dongle on the official website “EPEVER WiFi Adapter 2.4G RJ45 C” no idea if this works with the UPower-HI, but I guess not
Yes there is rs485 rj-45 port on UPpower Hi, but like I have it’s connected to BMS-LINK.
If you have ebox-wifi-01, make the cable and connect it to DB9 connector, should be easy and pinouts are in the manuals. That way you should able to connect like in this thread.
I have feel that Epever try to get all new inverters connected to their cloud services (like other manufactures also) and from there I assume in future they offer API (in Epever Cloud service, there is already some mentions on the API). That way it works in normal conditions. But if after few years cloud service stop working or you have unreliable/no internet connection then it is problematic.
I finally ditched “EPEVER-WIFI-2.4G-DB9-B" and I have old rpi2b connected via usb-rs485 cable to inverter (which was delivered with inverter). Basically config same as in post #67 by dylan, but with different registers values. This has been worked for me few weeks now without problems and I also control from HA when UPower Hi charge battery from grid (and when consuming it).
Please forgive me for asking for help but I could not manage to get it done and you are my last hope. I made the cable but it did not work, my ebox-wifi-01 remains dead.
This is what I prepared:
This is what I found on the official manual:
I am not sure what to do with pin 1,2 and 6. Even 4 and 5 are confusing to me as in the adapter it had a GND door that I am not using.
Thank you! It was very helpful, for me to understand it, but this is what worked por the UPOWER HI RTU, I hope more people will benefit from this finding: