Skip to content
View in the app

A better way to browse. Learn more.

Power Forum - Renewable Energy Discussion

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SunSynk - Inverter Monitoring

Featured Replies

43 minutes ago, Sc00bs said:

I have updated the flows to include the PV2 Panels and generate a total power figure if you want to check it out and perhaps upload it to your github as well as my Solar Dashboard (always under construction). Perhaps we could start a project with everybody involved, would be cool to enable Bloubuls original flows with the reading/writing of the load shedding options 

flows (4).json 48.84 kB · 1 download Solar Dashboard-1621923466176.json 61.55 kB · 2 downloads

We need to figure out how to use the project module properly in node red, to allow one to always run off the latest code on github. Of course anyone can make a pull request to commit new changes, or fork a different branch for unique use cases. Could be a really seamless way to ensure that the latest changes are in the central repository. Any suggestions welcome! 

  • Replies 734
  • Views 208.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Thanks to @Bloubul7and all the other contributors. This is my HA dashboard. It has all I need to view at a glance. (PS: really impressed with the Sunsynk)  

  • Thanks for sharing. Did not know about the horseshoe or plotly cards. Added to Dashboard  

  • Think I figured it out. Copied the Raw Config file. EDIT: Open the file at the bottom with notepad or Text Editor. Copy and paste in Dashboard "Raw configuration editor" You need to install

Posted Images

12 minutes ago, JuanH said:

https://www.robotics.org.za/W14882

I also took the opportunity to switch from using my Pi 4 (which is overkill as a RS485 - MQTT intermediary, unless you are running your whol HA system on it as well) to using a Pi Zero W. Much smaller footprint, and looks much neater.

 

Makes me wonder if it's not possible to completely eliminate the need for a Raspberry, and replace it with an Arduino (ESP32 wifi) . 

Then have node red (running elsewhere) poll the arduino to get the modbus values. Feels like overkill to have a dedicated Pi for simply reading values into a database and mqtt. 

Edited by jacauc

6 minutes ago, jacauc said:

Makes me wonder if it's not possible to completely eliminate the need for a Raspberry, and replace it with an Arduino (ESP32 wifi) . 

Then have node red (running elsewhere) poll the arduino to get the modbus values. Feels like overkill to have a dedicated Pi for simply reading values into a database and mqtt. 

Definitly possible to use ESP32 device, if you add a MAX485 module to it. (https://gist.github.com/LosantGists/322736c80fed99dcd9695179424ab1bb)

However, the low cost (R250) of the RPi Zero W (almost comparible to the cost of a ESP32 device such as NodeMCU), and also considering that there are probably more on this forum comfortable with RPi than with ESP32, it made sense to me to go with the Pi instead.

Edited by JuanH

  • Author
2 minutes ago, JuanH said:

Definitly possible to use ESP32 device (https://gist.github.com/LosantGists/322736c80fed99dcd9695179424ab1bb)

However, the low cost (R250) of the RPi Zero W (almost comparible to the cost of a ESP32 device such as NodeMCU), and also considering that there are probably more on this forum comfortable with RPi than with ESP32, it made sense to me to go with the Pi instead.

Agreed, initially also looked at the ESP32 devices.  But with the Pi Zero being cheap and more powerful it was the beter solution for me.

 

https://github.com/andresarmento/modbus-arduino

Edited by Bloubul7

1 minute ago, Bloubul7 said:

Agreed, initially also looked at the ESP32 devices.  But with the Pi Zero being cheap and more powerful it was the beter solution for me.

Makes sense! Haven't played with the Zero before. Think I will get myself a couple, and the 485 hat @JuanHis using.

ESP32 will probably be a lot of pain with minimal gain. Definitely easier to deploy new node red flows during runtime than recompiling the arduino code every time you want to make a change 

Hey Guys, thanks for the awesome work, looks amazing.

i do have a question, if someone can point me in the right direction..

How are you guys getting a "total pv' value? are you doing a "transform query" in grafana to add the value of pv1 and pv2?

 

 

Just now, Iiceman said:

Hey Guys, thanks for the awesome work, looks amazing.

i do have a question, if someone can point me in the right direction..

How are you guys getting a "total pv' value? are you doing a "transform query" in grafana to add the value of pv1 and pv2?

 

 

It's a MODBUS Register value that the inverter provides.

1 minute ago, JuanH said:

It's a MODBUS Register value that the inverter provides.

dang ok, did not see that one

can you provide me with the register value please?

cant seem to find it in the doc i have

3 minutes ago, Iiceman said:

dang ok, did not see that one

can you provide me with the register value please?

cant seem to find it in the doc i have

It's 108: "Day PV PowerWh"

9 minutes ago, Iiceman said:

Hey Guys, thanks for the awesome work, looks amazing.

i do have a question, if someone can point me in the right direction..

How are you guys getting a "total pv' value? are you doing a "transform query" in grafana to add the value of pv1 and pv2?

 

 

Sorry, I realise now you mean total PV Power, not daily PV power. I'm only using PV 1, but I think @Sc00bsjust added PV1 and PV2 in the update he made to the Node Red flow earlier today. So combine the two values, and put the total out as a new value. Don't have access to my Node Red setup to confirm if this is how he did it, but that is how I would have done it.

3 minutes ago, JuanH said:

Sorry, I realise now you mean total PV Power, not daily PV power. I'm only using PV 1, but I think @Sc00bsjust added PV1 and PV2 in the update he made to the Node Red flow earlier today. So combine the two values, and put the total out as a new value. Don't have access to my Node Red setup to confirm if this is how he did it, but that is how I would have done it.

ok cool, thanks, would be awesome if they provided a register value for this measurement 

Can someone please give me some more insight on the grid_gridbuy_day and dayactive registers? 

My values are zero all the time. I'm guessing this should be a very close reflection of my daily eskom unit usage?

 

Edited by jacauc

5 hours ago, Iiceman said:

Hey Guys, thanks for the awesome work, looks amazing.

i do have a question, if someone can point me in the right direction..

How are you guys getting a "total pv' value? are you doing a "transform query" in grafana to add the value of pv1 and pv2?

 

 

I added the two value's together in the latest version and send that to the database as solar_total_power

I also added Amperages from the PV 1 & 2 which are quite handy when you want to check how much space you have left for more panels

10 minutes ago, jacauc said:

Can someone please give me some more insight on the grid_gridbuy_day and dayactive registers? 

My values are zero all the time. I'm guessing this should be a very close reflection of my daily eskom unit usage?

 

You are correct with grid_gridbuy_day, but you will need a CT coil for this to show up.

I'm not sure about "dayactive registers". Active power vs Reactive power is a bit beyond my comprehension and understanding of electricty. I can, however, tell you my system has a value in active, but not reactive.

5 minutes ago, Sc00bs said:

I added the two value's together in the latest version and send that to the database as solar_total_power

I also added Amperages from the PV 1 & 2 which are quite handy when you want to check how much space you have left for more panels

Noticed now that my grid buy value is showing as zero on the inverter itself. Odd

My setup is purely ups, no pvs. I have a CT coil installed on the phase feeding most of the house. 

IMG_20210525_144251.jpg

Edited by jacauc

21 minutes ago, Sc00bs said:

I added the two value's together in the latest version and send that to the database as solar_total_power

I also added Amperages from the PV 1 & 2 which are quite handy when you want to check how much space you have left for more panels

Latest version as I have the sort out the Amperage value that was being reported

flows (6).json

22 minutes ago, jacauc said:

Noticed now that my grid buy value is showing as zero on the inverter itself. Odd

My setup is purely ups, no pvs. I have a CT coil installed on the phase feeding most of the house. 

IMG_20210525_144251.jpg

If you tap the bar chart to get to the power "flow" screen, does it show the CT coil in the bottom right above the utiliity icon?

19 minutes ago, JuanH said:

If you tap the bar chart to get to the power "flow" screen, does it show the CT coil in the bottom right above the utiliity icon?

 

IMG_20210525_152651.jpg

11 minutes ago, jacauc said:

 

IMG_20210525_152651.jpg

Yeah, your CT coil is showing Zero. It's either faulty, or not wired correctly. This is what it should look like:

 

20210521_094908.jpg

What do you guys think is going to be the easiest way to switch some Sonoff devices on and off based on the batterysoc and battery charging data from the inverter? 

Basically I want to do something along the lines off, when battery SOC is over 70% and the battery is charging at more than 2kw (I have extra power in other words) then turn the geyser on. I have a number of high load things I want to cycle through that I can get sonoff "power being used" data from, so when they geyser thermostat switches off and power being used by the geyser goes down to 0w then switch on the borehole pump etc.  

Am thinking about going either Node red or Home Assistant and am just not sure where to spend some time working out how the automation works. 

Thinking I could use either the MQTT data or alternatively perhaps checking values with the InfluxDB 

Any suggestions/experience would be appreciated? 

  • Author

I would also suggest a combination of HA and Node Red.  HA provides you the ability to control items via the mobile App and Node Red is stronger on the automation side

53 minutes ago, Sc00bs said:

Ok, so you are suggesting I do the automations in Node Red and then control the devices using HA or just use the Sonoff controls in Node Red? 

Do you have Tasmota firmware on the sonoff devices? There's a good tasmota add-on for HA

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.