January 31, 20224 yr Hi I have an 8.8 Sunsynk inverter and i do not see a BMS 485 port, only a RS485. Will I then not be able to set this up
January 31, 20224 yr 21 minutes ago, IvanD said: Hi I have an 8.8 Sunsynk inverter and i do not see a BMS 485 port, only a RS485. Will I then not be able to set this up You should still be able to setup it up, but the wiring will most likely be different than the BMS485 port. I have seen sources mention that certain pins on the CAN ports carries the RS485 D+/D- signals, so this could also be an option. Maybe someone else have connected theirs already? If you manage to get the wiring for the 8.8kW model, please let me know or even create a PR on the readme here!
January 31, 20224 yr Author Please post a picture of your board. The board should have a RS485 and CAN port, what most of us did was to use the RS485 port for the inverter monitoring and the CAN port for communication with the BMS
January 31, 20224 yr 2 hours ago, IvanD said: Hi I have an 8.8 Sunsynk inverter and i do not see a BMS 485 port, only a RS485. Will I then not be able to set this up There are 3 ports on my SunSynk 8k RS485 port (RJ45) - I use this for Solar-Assistant monitoring CANBus port (RJ45) - I used this to connect to Battery Management System (BMS) on Hubble Battery RS232 (DB9) - I use this to connect to SolarMan monitoring dongle Edited January 31, 20224 yr by system32 Clarity
January 31, 20224 yr As a matter of interest, my understanding is that you can also use the CANBUS port for an RS485 connection if you are using the RS485 for battery communications. I seem to remember reading somewhere that it has an RS485 connection, my best guess would be on Pins 6,7 & 8 but have never tried it out myself as those are the pins they use on the RS485 port.
February 1, 20224 yr Hi All I have been following this thread for a while now with keen interest. I am a total novice in the DIY home automation and logging arena and have a lot to learn. Using the setup described I did pick up that many of you are using conditional logic based on the inverter data collected to switch on and off connected devices like sonoff switches, relays, lights and send various notifications. Would the same setup be able to use conditional logic to change the inverter settings? specifically time of use and other settings I have in mind. For example : Update time of use schedule to start discharging battery 8 hours before sunrise each day Use inverter time of use schedule but if battery at 17:00 is not higher than 70% SOC and load shedding is active, grid charge battery to 100% SOC, and then return schedule to normal. If weather app forecasts a cloudy day, change priority of solar power to charge battery and not load You get the idea. Thanks your feedback would be appreciated Regards
February 1, 20224 yr Hi my setup is the same as above only difference is my rs485 is not in use. I have change wiring to pinout for RJ45 on RS485 but still no luck
February 4, 20224 yr On 2021/11/26 at 7:10 PM, mberry said: YES, it is very odd. I am presuming it is a bug with my inverter firmware. I have emailed DeyeInverter concerning the issue. I will update once I have their feedback. BTW, I want to thank you for SunSynk-NodeRed-master code you posted. I started off with and it allowed me to understand bordered and have it as the base to the current code I am now running. great job you have done. This issue has been resolved with firmware upgrade by Deye Inverters. Edited February 4, 20224 yr by mberry
February 4, 20224 yr A slightly different take. This is a SunSynk plugged into Venus OS and running out proprietary controller
February 7, 20224 yr Hi Guys, Thanks for the amazing work so far! I was wondering how I could get my essential/ups load reading out, and can't quite figure it out. If I use the below picture (from one of the above posts) I often get negative values, and it doesn't quite seem to match the load. I am really new to all the systems used here, so if anyone could point me in the right direction i would be very grateful!
February 15, 20224 yr Hey guys, just a word of warning, do NOT upgrade your node-red until this problem is sorted out. The nodes used for @Bloubul7 flows to work go missing after the upgrade. So dont end up like me getting this message: It is a logged issue on github: https://github.com/BiancoRoyal/node-red-contrib-modbus/issues/291#issuecomment-1039663771
February 15, 20224 yr Just now, Robbo said: Hey guys, just a word of warning, do NOT upgrade your node-red until this problem is sorted out. The nodes used for @Bloubul7 flows to work go missing after the upgrade. So dont end up like me getting this message: It is a logged issue on github: https://github.com/BiancoRoyal/node-red-contrib-modbus/issues/291#issuecomment-1039663771 This should fix it..add these lines to the config of node-red npm_packages: - source-map-support - line-by-line
February 15, 20224 yr 8 minutes ago, Iiceman said: This should fix it..add these lines to the config of node-red Thanks @Iiceman, where does it go exactly? On the Config within addons on homeassistant I get an error. Sorry, I'm still learning all this as I go.
February 15, 20224 yr 12 minutes ago, Robbo said: Thanks @Iiceman, where does it go exactly? On the Config within addons on homeassistant I get an error. Sorry, I'm still learning all this as I go.
February 15, 20224 yr do you think this cable will work on the RS485 port to read the modbus data? https://shop.thesunpays.co.za/products/pc-communication-cable-for-ls-b-tracer-b-vs-b-series?utm_campaign=gs-2018-10-30&utm_source=google&utm_medium=smart_campaign&gclid=CjwKCAiA9aKQBhBREiwAyGP5ldAF2sGs-zDAf76fC0mHppPdCI2fsDYm5HSKzLx3jRu7jTBD-753txoClJcQAvD_BwE
February 15, 20224 yr 3 minutes ago, McAllstar said: do you think this cable will work on the RS485 port to read the modbus data? https://shop.thesunpays.co.za/products/pc-communication-cable-for-ls-b-tracer-b-vs-b-series?utm_campaign=gs-2018-10-30&utm_source=google&utm_medium=smart_campaign&gclid=CjwKCAiA9aKQBhBREiwAyGP5ldAF2sGs-zDAf76fC0mHppPdCI2fsDYm5HSKzLx3jRu7jTBD-753txoClJcQAvD_BwE Can't speak for the one you linked to, but personally, after fiddling and faffing with adapters, connectors, and raspberry pi HATs, evetnually got one of these, and have had no issues for almost a year later: https://solar-assistant.io/shop/products/sunsynk_rs485
February 15, 20224 yr 13 minutes ago, McAllstar said: do you think this cable will work on the RS485 port to read the modbus data? https://shop.thesunpays.co.za/products/pc-communication-cable-for-ls-b-tracer-b-vs-b-series?utm_campaign=gs-2018-10-30&utm_source=google&utm_medium=smart_campaign&gclid=CjwKCAiA9aKQBhBREiwAyGP5ldAF2sGs-zDAf76fC0mHppPdCI2fsDYm5HSKzLx3jRu7jTBD-753txoClJcQAvD_BwE Make sure any converter includes the GND with the Data lines. There was one reported from micro robotics - here I'm using the one without the GND, but depending on your wiring you might get mixed results without GND
February 16, 20224 yr Have been trying out the Solarman integration from Stephan Joubert It speaks directly to the Solarman dongle on Sunsynk & DEYE inverters so no need for an RS485 adapter & connection https://github.com/StephanJoubert/home_assistant_solarman I tried it on the Sunsynk dongle and doesn't speak to it but maybe there is another option that will come up for that one.
February 16, 20224 yr Refresh time on the adapter is every 30 seconds so seems to be about as responsive as connecting via the RS485 adapter.
February 16, 20224 yr 41 minutes ago, Sc00bs said: Refresh time on the adapter is every 30 seconds so seems to be about as responsive as connecting via the RS485 adapter. On RS485 the Pi4 comfortably reads every 1s
February 16, 20224 yr 8 minutes ago, kellerza said: On RS485 the Pi4 comfortably reads every 1s So @kellerza , as far as I am aware it may be reading one setting every second but it is cycling through 30 readings so each cycle takes about 30 seconds to complete. Works out about the same as the direct connection to the dongle. Have just installed the plug-in so will do a comparison between the 2 when I get a chance but at the moment it looks like there will not be much difference in responsiveness.
February 16, 20224 yr Author 15 minutes ago, Sc00bs said: So @kellerza , as far as I am aware it may be reading one setting every second but it is cycling through 30 readings so each cycle takes about 30 seconds to complete. Works out about the same as the direct connection to the dongle. Have just installed the plug-in so will do a comparison between the 2 when I get a chance but at the moment it looks like there will not be much difference in responsiveness. My RS485 polls the modbus every 0.2 seconds. Values are updated every 2 seconds
February 16, 20224 yr 12 minutes ago, Sc00bs said: So @kellerza , as far as I am aware it may be reading one setting every second but it is cycling through 30 readings so each cycle takes about 30 seconds to complete. Works out about the same as the direct connection to the dongle. Have just installed the plug-in so will do a comparison between the 2 when I get a chance but at the moment it looks like there will not be much difference in responsiveness. Correct. As an alternative, you can cycle through high resolution parameters quickly with node-red and then only update other parameters when needed on a slower cycle. You can also do block reads of the parameter data to limit cycle times. With a bit of optimizing I'm currently running at 5s update intervals for priority parameters and 30s for others.
February 16, 20224 yr Not sure if the real world benefit of having it running 5 second cycles vs 30 second cycles outweighs your database growing at 6 times the rate. If you want to go with high resolution sampling then you are probably going to want implement some down sampling and data retention policies otherwise you are going to end up with a very large database relatively quickly. Not sure what the minimum update frequency is on the plug in, it defaults to 30s but may be able to go faster, I will play around with it today and report back 🙂
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.