June 9, 20224 yr 8 minutes ago, Bloubul7 said: See below screenshots from the Node Red Dashboard. These flows are active as part of the flows shared. On the Time mode screen you can select the time and days when the inverter should switch to limit to load only. Make sure to press the buttons next to the timer to set these times. thanks @Bloubul7, really appreciate it man.
June 9, 20224 yr 30 minutes ago, Bloubul7 said: See below screenshots from the Node Red Dashboard. These flows are active as part of the flows shared. On the Time mode screen you can select the time and days when the inverter should switch to limit to load only. Make sure to press the buttons next to the timer to set these times. once again thanks @Bloubul7 found my issue, i didnt know that the dashboard could be "expanded".. all sorted, works like a charm..
June 10, 20224 yr Author 20 hours ago, Iiceman said: once again thanks @Bloubul7 found my issue, i didnt know that the dashboard could be "expanded".. all sorted, works like a charm.. Awesome, Just an explanation on the other menus: System Settings: Reads the settings that is currently applied on the inverter. You can change settings and write it back to the inverter Default Settings: This save your default settings (typically used) to the local storage LoadShedding Settings: This save a second set of settings (to be used when there is loadshedding) to the local storage. The flow checks a website to see if loadshedding is currently active. If not active it applies the "Default settings" to the inverter, if loadshedding is active then it applies the load shedding settings. I use this flow to preserve the battery capacity during loadshedding times, our area used to be load shedded 4 hours at a time.
June 10, 20224 yr 12 minutes ago, Bloubul7 said: Awesome, Just an explanation on the other menus: System Settings: Reads the settings that is currently applied on the inverter. You can change settings and write it back to the inverter Default Settings: This save your default settings (typically used) to the local storage LoadShedding Settings: This save a second set of settings (to be used when there is loadshedding) to the local storage. The flow checks a website to see if loadshedding is currently active. If not active it applies the "Default settings" to the inverter, if loadshedding is active then it applies the load shedding settings. I use this flow to preserve the battery capacity during loadshedding times, our area used to be load shedded 4 hours at a time. once again thanks @Bloubul7 2 questions if u dont mind.. 1- if i set a schedule on the "time mode" and then refresh the screen, it looses the setting, any idea why? 2 - when i enable a schedule, should the setting on the actual inverter change? meaning i should see a "tick" on the Limit to Load setting? mine doesnt change
June 15, 20224 yr Dear *, for my Sunsynk 8k inverter I am looking for a RS485 Modbus connection for my data logger. I only need the pure data, no charts or user interface. So I need the absolute basic bytes to send a read request 0x03 via RS485. I am using an Atmel chip, programmed with C++. No windows, no raspberry, no USB. I allready knoow the pinning of the RJ45, I set the ModBus address to 01 and I know too, the speed 9600bps, 8N1. What is the absolute minimum string to get an answer: byte[0] = 0x01 = address index of the meter byte[1] = 0x03 = function "read" byte[2+3] 0x00 0x01 = read parameter #17 byte[5] = 0x04 = read 4 bytes byte[6+7] = crc16 MODBUS Just one valid bytes string woulds help ! Thank you for any hint, Arno
June 17, 20224 yr Has anyone been able to monitor the inverter via the BMS CAN port instead of the BMS RS485 port? I am hoping to establish BMS comms between my Deye and Narada battery which will use up the BMS RS485 port (Narada doesn't do CAN), so I will lose monitoring capability unless I disconnect the data logger from the RS232 port and use that instead for monitoring. I read somewhere in this thread from @Sc00bs and @kellerza that using the CAN port might be possible. Have you succeeded in doing this, i.e. either finding an RS485 signal on the CAN port (if there is one), or monitoring via CANBUS? I got myself an RS485 CAN HAT and have hooked up A/B on the HAT to the BMS RS485 port on the inverter and that works well, but as mentioned above I may lose the port if I want proper BMS comms between the inverter and battery. I have also at the same time, as an experiment, hooked up the H/L on the HAT to the CAN port H/L pins (4/5) on the Inverter but realised this might not work with Modbus? How would one even begin monitoring via CANBUS, or is that not possible at all?
June 17, 20224 yr 1 hour ago, SolarConvert said: Has anyone been able to monitor the inverter via the BMS CAN port instead of the BMS RS485 port? I am hoping to establish BMS comms between my Deye and Narada battery which will use up the BMS RS485 port (Narada doesn't do CAN), so I will lose monitoring capability unless I disconnect the data logger from the RS232 port and use that instead for monitoring. I read somewhere in this thread from @Sc00bs and @kellerza that using the CAN port might be possible. Have you succeeded in doing this, i.e. either finding an RS485 signal on the CAN port (if there is one), or monitoring via CANBUS? I got myself an RS485 CAN HAT and have hooked up A/B on the HAT to the BMS RS485 port on the inverter and that works well, but as mentioned above I may lose the port if I want proper BMS comms between the inverter and battery. I have also at the same time, as an experiment, hooked up the H/L on the HAT to the CAN port H/L pins (4/5) on the Inverter but realised this might not work with Modbus? How would one even begin monitoring via CANBUS, or is that not possible at all? Have you tried using a splitter, something like the LogiLink MP0032: To allow more than one device on the RS485 modbus?
June 17, 20224 yr On 2022/06/15 at 8:19 AM, Arno Uhlmann said: Dear *, for my Sunsynk 8k inverter I am looking for a RS485 Modbus connection for my data logger. I only need the pure data, no charts or user interface. So I need the absolute basic bytes to send a read request 0x03 via RS485. I am using an Atmel chip, programmed with C++. No windows, no raspberry, no USB. I allready knoow the pinning of the RJ45, I set the ModBus address to 01 and I know too, the speed 9600bps, 8N1. What is the absolute minimum string to get an answer: byte[0] = 0x01 = address index of the meter byte[1] = 0x03 = function "read" byte[2+3] 0x00 0x01 = read parameter #17 byte[5] = 0x04 = read 4 bytes byte[6+7] = crc16 MODBUS Just one valid bytes string woulds help ! Thank you for any hint, Arno See: https://powerforum.co.za/topic/12771-sunsynk-rs485-modbus-rtu-request-bytes-level/?do=findComment&comment=124887
June 17, 20224 yr 2 hours ago, system32 said: Have you tried using a splitter, something like the LogiLink MP0032: To allow more than one device on the RS485 modbus? The problem with the Deye and Narada battery combination is that I need to set the Lithium mode to 16, which causes the BMS RS485 port to change its behaviour - I can no longer receive a valid Modbus response if I try to monitor via that port. I assume the behaviour is changed to allow the inverter to speak "Narada".
June 20, 20224 yr On 2021/03/31 at 10:29 AM, Rautenk said: Hi Denarius, That is exactly what I was thinking! I am playing with that right now. I have done this, but the Node-Red does not connect to the inverter, my expectation was that it would not work as you do not have a RS485 link between the inverters. For this to work you might want to add an additional RS485 cable from the slave inverter to the same RS485 to USB converter. What I will be doing is adding another USB converter and then running this separately via the same Node-Red. @Bloubul7, thanks for all the hard work. This is working on my side, just go the PI communicating with Master inverter today and the Node-Red links works perfectly (once I made an edit or two on the influxDB server settings!). I've seen multiple posts about getting information from multiple inverters working in parallel before a software update was installed, but couldn't see if it worked after the software update. Since the software update, has anyone managed to get one pi connected to only the master inverter, to get the data from all the inverters? E.g. When polling the master inverter for power from the panels (Modbus addresses 186+187), does this automatically include the power from the panels going to ALL inverters and ALL MPPTs, or just the master inverter? Do I just need to change the slave address to .e.g 2 or 3, to access the other inverters individually (The same number as the modbus address that they've been setup to be when connected in parallel?). Is there any way of getting these numbers automatically summed from the master inverter?
June 24, 20224 yr Hi Gents can any of you HA fundi's out there advise why my energy values are incorrect? there is no way that my solar is generating 6,5KW and also that i'm using 14,6KW from the grid as per below. Also is this an issue or is it normal in node red? If it's an issue how do I fix it? also can someone please send me the node-red flow with the whatsapp portion in it? Thanks Brett
June 24, 20224 yr 15 minutes ago, McAllstar said: Hi Gents can any of you HA fundi's out there advise why my energy values are incorrect? there is no way that my solar is generating 6,5KW and also that i'm using 14,6KW from the grid as per below. Also is this an issue or is it normal in node red? If it's an issue how do I fix it? also can someone please send me the node-red flow with the whatsapp portion in it? Thanks Brett It looks like your solar is generating 6.5MWh. So I think there is a unit somewhere that is wrong by a factor of 1000.
June 24, 20224 yr 14 minutes ago, McAllstar said: Also can someone please send me the node-red flow with the whatsapp portion in it? Thanks Brett You will need to add the palette for the Whatsapp nodes. https://flows.nodered.org/search?term=Whatsapp I think that the Whatsapp bot is a paid services now. 😒 There is a built in Telegram bot in Home Assistant now which is free https://www.home-assistant.io/integrations/telegram_bot/
June 24, 20224 yr 18 minutes ago, McAllstar said: there is no way that my solar is generating 6,5KW and also that i'm using 14,6KW from the grid as per below. The HA energy dashboard doesn't show the live flow, but rather shows total usage from each source. It can be shown per day/month/year. Maybe share the dashboard settings for which sensor you used for each part. Agree there is no way this makes sense as it is saying you have used 6.5MWh while only pulling tiny amounts from the grid and batteries. Would be hugely impressed if this was right! 😆
June 24, 20224 yr 😆😆😆😆😆, thanks for the response/s I wish i was generating 6.5 MWh i'd be rich. here are my settings in HA also must i ignore this message in Node Red or does it mean there is something missing in my deployment?
June 24, 20224 yr 1 minute ago, McAllstar said: 😆😆😆😆😆, thanks for the response/s I wish i was generating 6.5 MWh i'd be rich. here are my settings in HA Here you are looking at energy kwh / MWh. So you are not generating this, this is the total energy you have already generated (for however long you have been monitoring) When I look at your config, all the sensors have _day appended to them. You should not use a *day* energy counter, since it resets every evening. You should use a *total* counter and HA will do its magic.
July 20, 20223 yr On 2022/02/17 at 12:48 AM, Denarius said: Has anyone managed to write a modbus registers to the SunSynk 3 phase inverter? Whenever I write to it, it gives a success response, but the change doesn't take affect, if I read the same register right afterwards, it's still the old value. I've tried writing any register but none work. Note the 3 phase is different than the other inverters as the data stored in the modbus registers differ from what is posted in this topic. I have same problem with deye SUN-10K. I read modbus registers (registers are another address - for example batery voltage 587, battery capacity 588 etc). But I tryed write registers 60-65 but no change it. I have read correct but no write. I tryed another write registers but no change. I wrote to deye for new firmware (old filrmware was HMI Ver 1001-c020 MAIN: 2005-1108-187). They send me new MAIN: 2005-1115-187. RS485 port was changed. Now I have must connect to BMS port. Before upgrade i was connect to Meter-485. Could you help me with write registers? I connect from modbus poll. Regards, Addr Register meaning R/W data range unit note 60 t程䬱定使能 Remote Lock R/W 0x0002 ޣ机 turn off 0x0000 开机 turn on 61 开机自检时间 self-check time R/W [0,1000] S MI (bylo -1) 62 系统时间第 1 ᆇ节 system time byte 01 R/W [0,255] ᒤ Year MI ԕ 20 00 ᒤѪ基值 Based on the year 2000 系统时间第 2 ᆇ节 system time byte 02 R/W [1,12] $ Month 63 系统时间第 3 ᆇ节 system time byte 03 R/W [1,31] 日 Day 系统时间第 4 ᆇ节 system time byte 04 R/W [0,23] 时 Hour 64 系统时间第 5 ᆇ节 system time byte 05 R/W [0,59] ࠶ Minute 系统时间第 6 ᆇ节 system time byte 06 R/W [0,59] 秒 Sec 65 绝缘阻抗л限 insulation R/W [100,20000] 0.1KΩ
July 20, 20223 yr On 2022/02/17 at 12:48 AM, Denarius said: Has anyone managed to write a modbus registers to the SunSynk 3 phase inverter? Whenever I write to it, it gives a success response, but the change doesn't take affect, if I read the same register right afterwards, it's still the old value. I've tried writing any register but none work. Note the 3 phase is different than the other inverters as the data stored in the modbus registers differ from what is posted in this topic. I have same problem with deye SUN-10K. I read modbus registers (registers are another address - for example batery voltage 587, battery capacity 588 etc). But I tryed write registers 60-65 but no change it. I have read correct but no write. I tryed another write registers but no change. I wrote to deye for new firmware (old filrmware was HMI Ver 1001-c020 MAIN: 2005-1108-187). They send me new MAIN: 2005-1115-187. RS485 port was changed. Now I have must connect to BMS port. Before upgrade i was connect to Meter-485. Could you help me with write registers? I connect from modbus poll. Regards, Addr Register meaning R/W data range unit note 60 t程䬱定使能 Remote Lock R/W 0x0002 ޣ机 turn off 0x0000 开机 turn on 61 开机自检时间 self-check time R/W [0,1000] S MI (bylo -1) 62 系统时间第 1 ᆇ节 system time byte 01 R/W [0,255] ᒤ Year MI ԕ 20 00 ᒤѪ基值 Based on the year 2000 系统时间第 2 ᆇ节 system time byte 02 R/W [1,12] $ Month 63 系统时间第 3 ᆇ节 system time byte 03 R/W [1,31] 日 Day 系统时间第 4 ᆇ节 system time byte 04 R/W [0,23] 时 Hour 64 系统时间第 5 ᆇ节 system time byte 05 R/W [0,59] ࠶ Minute 系统时间第 6 ᆇ节 system time byte 06 R/W [0,59] 秒 Sec 65 绝缘阻抗л限 insulation R/W [100,20000] 0.1KΩ
August 17, 20223 yr Detecting SynSynk inverter "clipping" - is it possible? I've been using the fantastic @kellerzasunsynk python library - thanks @kellerzafor a great python library. On my system I don't grid feed excess (may change later). In the afternoon once the battery is full, the inverter stops drawing PV power - "clips" the PV. I would like to make use of this excess, but am not sure how I would detect that the inverter is "clipping" vs just a big cloud reducing PV. Q. Is there any way to detect/measure/monitor if a SynSynk inverter is "clipping"? Any ideas would be appreciated. Thanks in advance.
August 17, 20223 yr Author Not that I know off directly from the monitoring side. You could try a mix between using the forecast solar from solcast and then turning on a high draw appliance for a period with some node red logic
August 17, 20223 yr 4 hours of cloud cover? Unlikely. If your battery is full and demand is low, production is throttled back. Solarman will show it clearly.
August 17, 20223 yr 17 minutes ago, system32 said: Q. Is there any way to detect/measure/monitor if a SynSynk inverter is "clipping"? You can get/build one of these - Low-Cost DIY Solar Irradiance Sensor – Renewable Energy Innovation (re-innovation.co.uk). Haven't tried it myself, but was recommended by a user #25 I would switch on known loads and switch them off if you start drawing too much from the grid for a certain amount of time. You also have forecasts for "current hour" and "next hour"
August 17, 20223 yr 39 minutes ago, Bloubul7 said: Not that I know off directly from the monitoring side. You could try a mix between using the forecast solar from solcast and then turning on a high draw appliance for a period with some node red logic I was thinking of getting a small PV or irradiance sensor / weather station to measure solar/cloud and use some heuristics (logic) to see if the PV generated is in an expected range for that time of day. Was hoping these was something simple I could get from the MPPT readings that would indicate "clipping" Edited August 17, 20223 yr by system32
August 18, 20223 yr 10 hours ago, system32 said: Detecting SynSynk inverter "clipping" - is it possible? I've been using the fantastic @kellerzasunsynk python library - thanks @kellerzafor a great python library. On my system I don't grid feed excess (may change later). In the afternoon once the battery is full, the inverter stops drawing PV power - "clips" the PV. I would like to make use of this excess, but am not sure how I would detect that the inverter is "clipping" vs just a big cloud reducing PV. Q. Is there any way to detect/measure/monitor if a SynSynk inverter is "clipping"? Any ideas would be appreciated. Thanks in advance. Hi @system32 Not sure that you can detect inverter clipping directly, you can however detect the conditions under which it occurs quite easily and turn on your heavy loads when that happens. Using Node Red would be relatively easy to do but am sure you could do it in the HA automations as well Using a combination of your battery SOC, Inverter Load, solar production & time you could set up something that would work. You would need to try it out and see what works for you. e.g. When SOC goes over 98% and time is less than 15:00, turn on the heavy load. Turn off load at 16:00 I use the Home Assistant solar forecasting plugin to decide in the morning if my pool will switch on fore the day or not. The number itself is not that important but it does let the system know if it is probably going to have excess power or not for the day.
August 18, 20223 yr 10 hours ago, system32 said: I was thinking of getting a small PV or irradiance sensor / weather station to measure solar/cloud and use some heuristics (logic) to see if the PV generated is in an expected range for that time of day. Was hoping these was something simple I could get from the MPPT readings that would indicate "clipping" That sounds more complicated than I think that it needs to be.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.