May 25, 20215 yr 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!
May 25, 20215 yr 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 May 25, 20215 yr by jacauc
May 25, 20215 yr 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 May 25, 20215 yr by JuanH
May 25, 20215 yr 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 May 25, 20215 yr by Bloubul7
May 25, 20215 yr 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
May 25, 20215 yr 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?
May 25, 20215 yr 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.
May 25, 20215 yr 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
May 25, 20215 yr 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"
May 25, 20215 yr 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.
May 25, 20215 yr 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
May 25, 20215 yr 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 May 25, 20215 yr by jacauc
May 25, 20215 yr 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
May 25, 20215 yr 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.
May 25, 20215 yr 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. Edited May 25, 20215 yr by jacauc
May 25, 20215 yr 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
May 25, 20215 yr 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. 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?
May 25, 20215 yr 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?
May 25, 20215 yr 11 minutes ago, jacauc said: Yeah, your CT coil is showing Zero. It's either faulty, or not wired correctly. This is what it should look like:
May 25, 20215 yr 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?
May 25, 20215 yr Node red all the way. I have a separate node red instance running on my home assistant pi and do these types of automations there. HA is great for getting all the entities in one place, and node red ties seamlessly into it. HA automations suck.
May 25, 20215 yr 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?
May 25, 20215 yr 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
May 25, 20215 yr 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.