Replies: 15 comments 12 replies
-
Hi @ThanhMelb,
The baudrate should match your Samsung BMS CAN baudrate (default 500000). |
Beta Was this translation helpful? Give feedback.
-
@ThanhMelb could you attach you log file please, so I can view the whole initialization, etc.? |
Beta Was this translation helpful? Give feedback.
-
Hi ai-republic I have no luck with linux, I did re-install the ubuntu as fresh install, now i can no-longer install the app, belo are error, nstalling in: /opt Failed to build application! Please help. |
Beta Was this translation helpful? Give feedback.
-
Could you please try and download the latest Configurator applications please? |
Beta Was this translation helpful? Give feedback.
-
I successfully reinstalled Ubuntu, but I made a mistake with Java 21. After installing it, the configurator worked perfectly. I've attached the log file—could you please help me identify the problem with my setup? Thank you so much |
Beta Was this translation helpful? Give feedback.
-
Again, thanks for your help, i have attached the log and config file ################################################################### System specific settings################################################################### ################################################################### BMS settings################################################################### Simple single port configurationbms.pollIntervall - is the interval to request BMS data (in seconds)bms.x.type - can be (DALY_CAN, DALY_RS485, JK_CAN, PYLON_CAN or SEPLOS_CANbms.x.portLocator - is the locator/device to use to communicate to the BMS, eg. can0, /dev/ttyUSB0, com3, etc.bms.x.baudRate - is the locator/device baudrate to use to communicate to the BMS, eg. 9600, 500000, etc.bms.x.delayAfterNoBytes - is the delay after receiving no data (in ms)bms.pollInterval=1 bms.1.type=SAMSUNG_CAN ################################################################### Inverter settings################################################################### The inverter type can be NONE, DEYE_CAN, GROWATT_CAN, SMA_SI_CAN, SOLARK_CANinverter.type=NONE The port name/device to use to communicate to the inverterinverter.portLocator=can0 The port baud rate to use to communicate to the inverterinverter.baudRate=9600 Interval to send data to the inverter (in seconds)inverter.sendInterval=1 ################################################################### Plugin settings################################################################### plugin.inverter.2.class=com.airepublic.bmstoinverter.core.plugin.inverter.SimulatedBatteryPackPlugin ################################################################### Optional services settings################################################################### |
Beta Was this translation helpful? Give feedback.
-
Ok, so in your configuration you do not need to activate any plugins. For now let's just see that you get data from your BMS. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi @ThanhMelb, CC: @jezza61 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi,I have used canable usb adapter and also waveshare can-A and both have worked for me. Right now I am using a dual port waveshare can hat for raspberry. So far so good, now I am tuning the Inverter.That pesky rain does not help 😁
Best Regards
Jerry
|
Beta Was this translation helpful? Give feedback.
-
I used raspberry pi 4, with the latest 64 bit os.Then I installed Java and waveshare drivers.After that all was OK.Some waveshare drivers are meant to the older 32 bit os, so if you get stuck you can try that.I have tried raspberry 1b+ and 3 and these also worked. Best regardsJerrySent from my Galaxy
-------- Original message --------From: romanbetwo ***@***.***> Date: 15/10/24 7:01 am (GMT+10:00) To: ai-republic/bms-to-inverter ***@***.***> Cc: jezza61 ***@***.***>, Mention ***@***.***> Subject: Re: [ai-republic/bms-to-inverter] Trouble with WaveShare USB to CAN-A (Discussion #64)
Hi Jerry, can you give me info about your setup? :D Hw Sw?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
To be honest, it all depends on your skill.The easiest set-up would be with raspberry pi 4 and a waveshare can hat.You can pick the rs485/can version and that would cover you for all options.In my case I use raspberry 4, and a dual can hat.And with a very simple install it all works just fine.I have also tried pi 1+, but it was a bit slow.I used canable usb and a waveshare usb adapters, with canable being better. But I used these for testing only.So far my Samsung bms and deye inverter work just fine.However I have 3 different raspberry boxes connected.One runs solar assistant, and one node-red for my experimenting
Best Regards
Jerry
|
Beta Was this translation helpful? Give feedback.
-
That is what I use for the bms to inverter link.It works just fine.A bit of pain to load wave share drivers, as the instruction is for an older pi os, but it can be done.In my case I used the plugin to limit the top voltage for the battery.Right now I have the battery running from 10% to 85%.But I may possibly to adjust it later.I am running a separate raspberry 3 with rs485 usb adapter and solar assistant.Very nice interface and I can monitor from anywhere.I also have a raspberry 5 with node-red with a custom software in case I wanted to shut individual battery packs remotely, just on case.
Best regards
Jerry
|
Beta Was this translation helpful? Give feedback.
-
Actually you do not need any of the Python demo applications. So you just need to follow how to install the hat and the Pi configuration from the Wiki. Check that the devices are shown as described in the Waveshare Wiki. |
Beta Was this translation helpful? Give feedback.
-
I'm new to Linux and I'm setting up Ubuntu with a USB-CAN-A interface. When I run the command ./canusb -t -d /dev/ttyUSB0 -s 500000 -t, my computer receives all the data from the CAN device, so the connection seems good. However, I’m unsure if I need to set up can0 for the BMS-to-inverter connection to work properly.
I'm using a Samsung BMS with the device set to /dev/ttyUSB0. I haven't encountered any errors, but the app isn't pulling data from the BMS.
Here’s the device I'm using: Waveshare USB-CAN-A.
Any help would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions