Open nicodier opened 1 month ago
Hi @nicodier, sure, I will have a look at it next weekend as I'm quite busy atm during workdays.
Hello @ai-republic, thanks for your reply. I finally got it to work using another USB-CAN adapter (DSD Tech SH-C30A), but some values are not properly calculated. For example: charge voltage, average temperature, max charge and discharge current are displayed wrong when all BMS'es get aggregated. What is working correctly: SoC, Total voltage, Total current
I'm using 4 Daly BMS's.
I will post the JSON data from the webserver here later so we can investigate and find out the best solution.
Ah good to hear! Yes, please just delete the log-file and configure log-level info and without webserver activated. That way I can see the values from the BMS easily. Are the values only displayed wrongly in the webserver? If so, please also attach a screenshot of the browser showing the faulty values.
Btw, I also split the logging now to 3 logs: bmstoinverter, webserver and mqtt to make the logs more readable
@nicodier any updates?
Hello,
I'm trying to use your software to get data from DalyBMS to a Deye inverter using RS485 (Pylon protocol). Getting data from the Daly BMS'es works, and I can also see this data in the integrated webserver. However, I get an error when data is sent to the inverter:
I have already tried to comment out this line
frames.add(createSystemInfo(aggregatedPack)); // 0x60
, then it does seem to send data and I no longer get the error, but on the Deye I don't see anything. The Deye is set to Lithium Mode 12 = Pylon protocol. When I open a screen to /dev/ttyACM0, I do get some strings from the inverter like this: ~20124661E00212FD30 ~20424661E00242FD2A ~20624661E00262FD26 ~20824661E00282FD22 ~20224662E00222FD2DI have also purchased a Waveshare USB-CAN-A adapter to use the Deye CAN protocol, but this adapter is presenting itself as a ttyUSB0 device. Also tried to convert this to a network device with slcand, but could't get it to send data.
I prefer to get it working with RS485. Can you help me to get this running?