Closed trinler007 closed 1 year ago
The ECS devices need a little bit more manual set up, and that is not well documented yet. I'll update the documentation for this soon.
You need to edit utils.py around line 88 and set the following values to match your GreenMeter and LiPro setup with the Modbus address your set each device with. It works best if your LiPro devices have sequential address.
nano /data/etc/dbus-serialbattery/utils.py
GREENMETER_ADDRESS = 50 LIPRO_START_ADDRESS = 1 LIPRO_END_ADDRESS = 8 LIPRO_CELL_COUNT = 8
Reboot your GX after you have made these changes.
Thanks! I've changed the settings and rebooted, but unfortunately no change.
I don't have a green meter. Is this mandatory? My setup consists of the Greenview (ID 50) and 8 LiPro1-6 Active. The currents are measured by the Greenview with two HALL sensors (IN/OUT).
Currently you need a GreenMeter. I'll have to investigate if it would be possible to get all the required values from a GreenView to know if that would be possible in future.
OK, too bad.
I'm pretty sure, you would also get all the values from the greenview, since I have already read them out for visualisation via modbus tcp. I'm attaching the register overview for you. Unfortunately, this is only available in German, but I'm happy to translate if necessary.
I'm looking at the docs now as well. It looks like the GreenView use different registers than the GreenMeter, so it will not be a case of just adding the device ID for it to work. I'll have to code it spesifically to work for the GreenView as well.
Thank you Louis!
The Greenmeter is quite new, which is why I assume that many ECS systems are built with the Greenview and the current sensors, like mine. If I can support you in any way with the implementation, please let me know.
Issue for GreenMeter https://github.com/Louisvdw/dbus-serialbattery/issues/28.
Thanks for the implementation of the ECS System!
Unfortunately, the ECS components aren't found in my case.
/var/log/dbus-serialbattery.ttyUSB0/current :
R485 cable is the original Victron cable
root@einstein:~# lsusb
Device: Cerbo GX OS Version : 2.91 ECS Greenview Version 1.10.02 8 cells with LiPro1-6 Active (v1) RS485 is connected to the slave port on ECS Greenview. The modbus ID Greenview is 50, LiPro1-6 Active IDs 1-8
The Greenview seems to see RX/TX on the bus (is shown by a symbol on the display)
Which additional information can I provide, or what can I do solve the issue?