Starting a new thread as this was getting lost in the Hints, Tips & Troubleshooting thread.
Post details of your integration with Home Assistant etc.
If they aren't talking to each other I'm not sure the discharging will work correctly. I think that charging at night should be ok since they will just pull from grid regardless but when charging from PV they will trip over each other unless you only use one for the house at the time.
If they were the same model then paralleling them would fix that.
But in my mind this will work:
Thanks, great idea. However in the winter I need to access all the battery capacity to offset my daytime use so may not work to have one of the 15kWhr packs not available to discharge on demand.
I think you will be fine to enable discharging on one inverter at a time too.
Use up all your deye battery, then have HA automation turn on the discharge on the solis (while also turning off charging on the deye)?
This sounds like a plan. Now to get the Deye up and running.
Ideally if you can get the inverters wired up via LAN cable and not depend on wifi to make sure all your commands go through correctly.
That or have very strong wifi at each location.
Don't know if it's "better" than what you are suggesting above, but depending on your total battery capacity.....and the likelyhood of you exhausting your total storage on a day, you might simply just "time base" your discharge periods. E.g. from 08:00->14:00 you allow (only) battery 1 to discharge and then stop it, and start battery2 to discharge from 14:00 onwards. Naturally you'll have to adjust your times to suit and make sure that you have a bit of a buffer, but it might be a simple way to manage.
Could automate it so that when SOC of battery1 drops under 10% (or whatever) flick it off and swap over to battery 2.
Do something like have the Solis in a Charging mode charging with zero watts, and only set to discharge when
House Load >= output of Deye and Grid Import > 200w
Or
Deye SOC < 10%
Any luck with your automation on this?
Not sure it's working right:
I think this guy did not reset at midnight:
Trying to remember how exactly I did this (there is a reason I should've documented it).
What is important is this sensor, the number 472571 is time difference at time we created sensor, that is number of hours sice linux epoch
sensor:
- name: "Daily Standing Charge"
unique_id: Daily_Standing_Charge
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasinga
state: >-
{{ (((as_timestamp(now()) / 3600)-472571) | int) / 1000 }}
attributes:
last_reset: "1970-01-01T00:00:00+00:00"
I just got home assistant up and running yesterday, would anyone have a step by step guide to getting my Sunsynk connected.
I should have it over the weekend.
I have 3 things i want to learn:
Read the value of a loadcell using hx711 (seems straight forward) and not have the screen trying to update 30x a second lol
Learn/figure out how to display stuff on a screen, Although currently its just one number!
Learn how to do wireless communication between esp32's - To be able to have a display in the tractor loading would be great.
that video touches on pulling from home assistant api's
Yeah it is like that:
- name: Daily Standing Charge unique_id: Daily_Standing_Charge unit_of_measurement: "kWh" device_class: energy state_class: total_increasing state: >- {{ (((as_timestamp(now()) / 3600)-472571) | int) / 1000 }} attributes: last_reset: "1970-01-01T00:00:00+00:00"
Does this go to 0 at midnight for you? Just keeps going up for me
Edit: Did a restart of HA and now it did reset
You might try this: https://github.com/kellerza/sunsynk but you will need an rs485 adapter and to make an rj45 cable as well.
Not sure if there are ways to simply connect to the wifi dongle like with the solis but I use https://solar-assistant.io/ myself which is great (still needs the rs485 adapter and cable made up)
Edit: This seems to pull it from their cloud https://github.com/gdwaterworth/Home-Assistant---E-Linter-Logger---Sunsynk but you'll be stuck with 5 mins updates which are pretty useless, where as with the one above you can get live values.
The sunsynk addon can connect to the wifi dongle directly. Need the serial number and IP of the dongle.
Thanks Lads, it appears I don't have the add ons menu to get Node red and File Editor.
Don't forget to set up a watchdog on your HA machines folks!
Woke up to find HA machine locked up with (what I think is) a kernel panic. Thankfully happened after the hot water automation ran, but slept it out a few mins as Morning Ireland and bedside lights never turned on.
I'll move this over to the automation thread to avoid derailing the Sunsynk thread.
How are you running HA? Are you running HAOS on a raspberry pi?
Running Hass on windows 10 laptop
There are probably ways around it but if you can install one of the Home Assistant OS versions that should fix it
Did you install in Docker ? If so, load Node-Red and any add-ons in their own Docker containers
There's a Deye-mqtt Docker Container, with perfect installation instructions
Thanks, mods moved it here. https://www.boards.ie/discussion/2058224611/solar-pv-monitoring-automation-thread#latest
Would really recommend going down the install route (ditch windows altogether) or in a virtual machine, or one of them thin clients .
Having the supervisior and HASS os makes life so much easier
Or you might be worth looking at installing Docker on Windows so.
I'll have a look at that, thanks.
Okay, will have a look at what's involved so, thanks.
For those of you with large batteries and on an EV tariff are you dumping any excess battery to the grid in the evening before your EV rate kicks in? If so, what is the logic in HA you are using?
I have evenings where my battery will go as low as 22% right before the EV rate starts the charging cycle, and this is great. Other times, when it's not so cold, the battery had 40% remaining. I'd like to feed back to the grid to offset the Grid tariff charge.
Thanks
my automation is pretty simple.. ive 13.6kw usable battery.. i check at midnight if the battery percentage > 40% and if the next days solar forecast is greater than 5kwh - if so i 'force discharge' the battery for 60 minutes. Last night was the first time this year it actually ran. Should mean about 70 cents per night fit.. night rate starts at 2am with pinergy for 3 hours