Twan Posted September 22, 2021 Share Posted September 22, 2021 Hi all, I am trying to read the Deye/SunSynk inverter using an USB to RS232 cable connected to my PC running a LabVIEW application. The problem I am facing is that it doesn't work repeatedly. It is completely random when and which block executes succesfully. Any ideas about what could be going on here? Attached are two images that give a visual representation. Twan Quote Link to comment Share on other sites More sharing options...
kellerza Posted September 22, 2021 Share Posted September 22, 2021 @Twansorry, can't help you... the last time I used Labview was 20 years ago with GPIB interfaces Most people here (including myself) are using Modbus/RS485 though (according to the protocol docs should be ok - assume your using 9600 baud?) Quote Link to comment Share on other sites More sharing options...
kellerza Posted September 22, 2021 Share Posted September 22, 2021 My Sunsynk Home Assistant Add-on seems to be in a good shape now - it should be the easiest way to integrate Sunsynk into HomeAssistant (via MQTT today) or any Python app - install it here or read more here Robbo 1 Quote Link to comment Share on other sites More sharing options...
jacauc Posted September 23, 2021 Share Posted September 23, 2021 Wow cool! Anything I should undo or disable in HA before installing the addon? Of course we did everything manually up till now Quote Link to comment Share on other sites More sharing options...
kellerza Posted September 23, 2021 Share Posted September 23, 2021 22 minutes ago, jacauc said: Wow cool! Anything I should undo or disable in HA before installing the addon? You probably just want a single connection to the uart/rs485 device at a time - so stop your NodeRed connection for now Install the addon, configure (starting will show the serial# in the logs- used for hass unique id) and then you are good to go The Addon only reads today, no writing yet You will need MQTT discovery for the sensors to show up. Then go to configure -> devices -> search for “sunsynk” to list your entities Quote Link to comment Share on other sites More sharing options...
jacauc Posted September 23, 2021 Share Posted September 23, 2021 Oh I understand. This is for installations where the RS485 USB is connected to the HA server as opposed to a separate raspberry sending the data to mqtt right? Quote Link to comment Share on other sites More sharing options...
kellerza Posted September 23, 2021 Share Posted September 23, 2021 This runs on Hassio/HassOS and needs the RS485 connected locally to USB. But MQTT does not have to be local… In my setup I have 2xraspberries. Both run HassOS and the HassOS with the RS485 uses this addon to send to my main HomeAssistant’s MQTT server (it should also be possible to run a usb to tcp modbus gateway on “that other” raspberry and run this addon remotely) Quote Link to comment Share on other sites More sharing options...
jacauc Posted September 23, 2021 Share Posted September 23, 2021 Could anyone running this RS485 hat on a PI zero send me the contents of your /boot/config.txt file please? I redid my setup and now cannot get it to work anymore Quote Link to comment Share on other sites More sharing options...
Sc00bs Posted September 27, 2021 Share Posted September 27, 2021 @kellerzaI see that there is a Solark Plugin for Home Assistant now as well https://github.com/pbix/HA-solark-PV Solark is basically the Sunsynk/DEYE inverter re-branded for the USA market. I did notice an interesting comment in the Github instructions. "On my inverter this connector is labeled "CANBus" and contains both these RS-485 pins and the CAN bus pins. I use pins 6,7&8 per my manual." Seems that you are still able to connect, even if using the RS485 port for your BMS connection. Quote Link to comment Share on other sites More sharing options...
kellerza Posted September 27, 2021 Share Posted September 27, 2021 Very nice! Will reach out to him and hear if he has any plans to write to the inverter as well. I still prefer filtering before sending value to Home Assistant (opinionated, but configurable) Energy (kWh) - 1 value / minute Power - average value every minute... or 1 sec resolution on significant change (80W) Sc00bs 1 Quote Link to comment Share on other sites More sharing options...
EnTAnGleD Posted October 7, 2021 Share Posted October 7, 2021 (edited) It looks like Sunsynk has released their new data logger and their app will launch next week:- Sunsynk Update, App & Roadshow Anyone know from where we could buy one? Edited October 7, 2021 by EnTAnGleD StepbyStep 1 Quote Link to comment Share on other sites More sharing options...
Sc00bs Posted October 7, 2021 Share Posted October 7, 2021 Yes, unfortunately it looks like we are going to have to buy new dongle's if we want to use it though. Was hoping that we would just be able to flash the old ones with some new firmware and use them. Maybe someone will come up with a hack of some sorts Quote Link to comment Share on other sites More sharing options...
Saliegh Posted October 7, 2021 Share Posted October 7, 2021 Is there any value to this if you have HA and implemented the logging and visualization tools? I think I read about remote config changes, which sounds interesting, although I know some here are already doing that with HA NR flows Quote Link to comment Share on other sites More sharing options...
kellerza Posted October 7, 2021 Share Posted October 7, 2021 Good question Saliegh In the end its up to you, using this new solution you wont be able to control anything locally. What I understand from the Sunsynk solution is that changing settings will be limited to certified installers only. With NodeRed and/or the HASS plugin you have the option to view it locally and add automations... I'm also considering writing certain options through the plugin, but it wont be all the settings Quote Link to comment Share on other sites More sharing options...
Saliegh Posted October 8, 2021 Share Posted October 8, 2021 Anybody else experience this? Data collection has been normal, until this morning when I saw 7MWh of solar generation for the day Quote Link to comment Share on other sites More sharing options...
MyOwnPower Posted October 8, 2021 Share Posted October 8, 2021 17 hours ago, kellerza said: Good question Saliegh In the end its up to you, using this new solution you wont be able to control anything locally. What I understand from the Sunsynk solution is that changing settings will be limited to certified installers only. With NodeRed and/or the HASS plugin you have the option to view it locally and add automations... I'm also considering writing certain options through the plugin, but it wont be all the settings Just to correct your statement that only certified installers will be able make changes to settings, that is no longer the case. Sunsynk has changed that so that owners may make changes and for the owner to authorise the installer to also do so. You may view one of their videos on Youtube where Keith confirmed this after having received many requests from owners. Regards, Rian Quote Link to comment Share on other sites More sharing options...
dawolf Posted October 8, 2021 Share Posted October 8, 2021 1 hour ago, Saliegh said: Anybody else experience this? Data collection has been normal, until this morning when I saw 7MWh of solar generation for the day Mine is the same as well, Quote Link to comment Share on other sites More sharing options...
Sc00bs Posted October 8, 2021 Share Posted October 8, 2021 Had a look in my records and it has happened a few times to my data as well. Interesting that they are all exactly the same figure i.e. 6.55Mwh Quote Link to comment Share on other sites More sharing options...
kellerza Posted October 8, 2021 Share Posted October 8, 2021 21 minutes ago, MyOwnPower said: Just to correct your statement that only certified installers will be able make changes to settings, that is no longer the case. Sunsynk has changed that so that owners may make changes and for the owner to authorise the installer to also do so. You may view one of their videos on Youtube where Keith confirmed this after having received many requests from owners That is indeed good news. In the launch video it was installers only and they had a very concerning "kill switch" to remotely disable your inverter. In the end the Home Assistant integration worked out well. It allows you to visualize the inverter data and create automations based on it. Quote Link to comment Share on other sites More sharing options...
PowerUser Posted October 8, 2021 Share Posted October 8, 2021 4 hours ago, Saliegh said: Anybody else experience this? Data collection has been normal, until this morning when I saw 7MWh of solar generation for the day 3 hours ago, dawolf said: Mine is the same as well, 2 hours ago, Sc00bs said: Had a look in my records and it has happened a few times to my data as well. Interesting that they are all exactly the same figure i.e. 6.55Mwh That happens when the small nuclear reactor kicks in, inside your SunSynk inverters dawolf 1 Quote Link to comment Share on other sites More sharing options...
Saliegh Posted October 9, 2021 Share Posted October 9, 2021 Muffled out by adding a where clause. Should have thought about doing this before trying to delete the data Quote Link to comment Share on other sites More sharing options...
Robbo Posted October 21, 2021 Share Posted October 21, 2021 Just wanted to add my thanks for this incredible work! Unbelievable what @Bloubul7started here, and great work to @jacaucand @Sc00bs for continuing it and adding dashboards to get me started. Love it all! This thread is at least 50% of the reason I went with Sunsynk, they should pay you guys commission jacauc 1 Quote Link to comment Share on other sites More sharing options...
Nelis Volschenk Posted October 28, 2021 Share Posted October 28, 2021 My guess on the 6.55MWh thing is that the data is stored as a 16 bit unsigned integer (maximum value of 65535), with each discrete integer representing 0.1 kWh. That would mean that a very small negative number would wrap around from 0 to 65535, resulting in 65535 x 0.1 kWh = 6.55 MWh. Considering that the value seems to be for a whole day I would assume the problem is not at the storage backend, but rather somewhere between the inverter and node-red. Quote Link to comment Share on other sites More sharing options...
angel_cs Posted October 30, 2021 Share Posted October 30, 2021 Anyone got data though WiFi? I have a 5kW inverter with WiFi module and I'm not able to get any data and there are no information around. Quote Link to comment Share on other sites More sharing options...
Saliegh Posted October 31, 2021 Share Posted October 31, 2021 14 hours ago, angel_cs said: Anyone got data though WiFi? I have a 5kW inverter with WiFi module and I'm not able to get any data and there are no information around. This is quite a broad question. You should provide for info, e.g. what wifi module are you using. Some might say that you should be posting a question in the appropriate topic too Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.