Privatecoder / seplos-mqtt-remote-rs485

fetch data from one or multiple Seplos battery packs via (a) (remote) RS485 connection(s)
9 stars 3 forks source link

HA does not receive any data #9

Closed GreenHomeEnergy closed 1 week ago

GreenHomeEnergy commented 1 week ago

First of all, I find this project extremely exciting and is actually exactly the solution I am looking for. Unfortunately, it doesn't work as it should. No data arrives at the HA.

image

I have a total of 6 packs, 4 of which are currently connected and in operation. I have the SEPLOS V16 and the splitter is connected to the 1st pack (Master Pack (Pack0)) on RS485-1 and has the connection to the Waveshare 2-CH RS485 to ETH on the 1st port. The connection to the other packs is then also available on RS485-1.

The 2nd connection to the Waveshare 2-CH RS485 to ETH is connected to the 1st pack (Master Pack (Pack0)) on RS485-2. The speeds are entered in the Waveshare as described. For port RS485-1 to 9600 and for RS485-2 to 19200, but unfortunately nothing appears in the HA.

When I look at the data with SSCom, it looks really strange. This is the recording of RS485-1 with 9600.

image

If I look at the data from RS485-2 with 19200, it looks different.

image

If I now change the RS485-1 to 19200, the data looks identical.

image

I see the following message in the Docker container

image

I don't know where the problem might lie. Does anyone have any ideas?

As an addition, here are the parameters with which the docker container was created. The IP address of the Docker container is XXX.XXX.5.12. It is therefore located in a different network segment. However, since the topic Seplos was written, the connection to the MQQT broker exists

image

Privatecoder commented 1 week ago

first, try using the latest release 2.0.7 (you are using 2.0.2), secondly restart HA after starting the docker container

GreenHomeEnergy commented 1 week ago

I have done that. Is now on version 2.0.7. After starting the Docker container, HA was also restarted. Unfortunately the same result. The status in HA is Offline.

image

The following logs can be read in the container.

image

Unfortunately no sensor data anywhere to be seen.

GreenHomeEnergy commented 1 week ago

I can see in HA, that the sensors was created, but no values.

image

image

Privatecoder commented 1 week ago

can you share your Waveshare WebIf settings and also check the cable / physical connection between you Waveshare adapter and the batteries (whats your Seplos firmware version ?)

GreenHomeEnergy commented 1 week ago

That are the setting for RS485-1 of the waveshare. That is for the master. image For the slave connection is this the configuration.

image

That are connection at the Battery Box

Connection_Battery_Pack

The BMS is an EEL/ Seplos 10E that means V16 with Firmware version 16.06.03.

Privatecoder commented 1 week ago

Connection is wrong: connect the first splitter to the CAN port. Then connect the „CAN“ cable and the „Master“ RS485 cable to this splitter.

Check the wiring graphic in the readme again.

Privatecoder commented 1 week ago

also you only need one splitter..

GreenHomeEnergy commented 1 week ago

Thank you very much,. Now I know what my mistake was.

On the Waveshare I now see no activity for port 1, where the RS485-1 is connected. So I went to the other ports. I was a little misled by the post. https://github.com/Privatecoder/seplos-mqtt-remote-rs485/issues/2#issuecomment-1946300466

So summary, ignore the displays on the Waveshare and follow the documentation and always make sure to load the latest Docker container.

Small question on top of that. What would the Docker command look like for an update to a newer version? Otherwise, many thanks for the support. I am now getting my data.