How to Automate & Optimize Charging from Grid with a Solis Hybrid Inverter using Home Assistant

Поделиться
HTML-код
  • Опубликовано: 17 сен 2024

Комментарии • 57

  • @jamespope616
    @jamespope616 2 дня назад +1

    Absolutely spot on. May be there is a way to add the lowering arch of the sun into the calculations and possibly learning of peak possible power over an average of the last 7 days to preempt the amount of charge required overnight.
    You have done an amazing job and this is what I am wanting to achieve myself.
    I want to go prioritise using devices in order of importance IE : charge battery , then the hot water tank, then the hot tub, then the grid.
    I am new to smart hubs and no idea about software but just starting and looking for help...

    • @gordonmarkus
      @gordonmarkus  2 дня назад

      Thanks for taking the time to watch and for the comment. The functionality you're after actually exists in a HA integration written by someone far more clever than me. Take a look at this: github.com/fboundy/pv_opt

  • @jevanlouisemaisieaelaburch6479
    @jevanlouisemaisieaelaburch6479 Год назад +2

    This is absolutely brilliant. I’m on eco7 with Octopus and am just at the start of trying to optimise grid charging through winter. With this setup it should be slightly simpler as the rates are all known and I only need solar forecast integration. Having said that, you’re inspiring me to look further into this and consider the agile tariff!

    • @gordonmarkus
      @gordonmarkus  Год назад +1

      Thanks for the feedback and for watching. I've done another video for setup with Eco7 (which is what I've got now). Agile pricing at the moment isn't particularly desirable

    • @jevanlouisemaisieaelaburch6479
      @jevanlouisemaisieaelaburch6479 Год назад

      @@gordonmarkus great thanks, good to know. I did consider it but went for eco7 for the same reason, plus a bit of ongoing consistency. A lot of what you cover in these videos I shall need to learn, but I am very much interested in making this a working project and getting the best out of our PV system. Are there any forums or owners groups that you could suggest to join so that I can learn the skills required? These videos are excellent, have already shared with my friends who have their own systems 👍

    • @gordonmarkus
      @gordonmarkus  Год назад +1

      @@jevanlouisemaisieaelaburch6479 Thanks for sharing :-) I got a lot of information from the Solis Owners FB group (facebook.com/groups/288045168816481) there are some really clever people in there (not me), and even a couple that work for Solis. I'm also in the 'Octopus Unofficial' FB Group (facebook.com/groups/471418550867225) there's occasionally some useful stuff in there but a lot of 'noise' as well!

    • @jevanlouisemaisieaelaburch6479
      @jevanlouisemaisieaelaburch6479 Год назад

      @@gordonmarkus thanks so much, I’ve joined both. Looking forward to putting this project together!

  • @lotkas
    @lotkas Год назад +1

    Great video - one comment I have - the register 43110 at 8:29 is to enable or disable the scheduler function (Time of Use) that you set to 23 hours and 58 minutes, which will enforce it to constantly charge at the set rate if enabled (set to 35). Also, when you consider forecasting, the config is crucial, but if you want to predict tomorrow's generation, it does not make sense to use today's entity figures......... unless you run it after midnight as you suggesting in your video.

    • @gordonmarkus
      @gordonmarkus  Год назад

      Hi, thanks for watching and the comment. You're absolutely correct, the config of the automation is critical to work out whether to charge today using 'todays' forecast, or whether to charge before midnight using 'tomorrows' forecast. Since making that video I've setup the Solcast integration which seems to be more reliable and gives you a sensor for 'today remaining' which is really helpful if it's a dull day and you happen to be able to charge at a cheap rate in the afternoon which sometimes happens with Octopus.

  • @leet3707
    @leet3707 6 месяцев назад +1

    On ECO7 here and just taken first steps into Home Assistant.
    Currently manually charging within a 6 of a 7 hour overnight window with varying current. So before midnight, I guesstimate how much to add and set current accordingly.
    I intend to 'fix' the charge time with variation of the charge Amps within the Window.
    Thoughts being that it is pointless slamming 100amp for 2 hours then charging stops to then discharge over the rest of the night (wasted cycling).
    This is inefficient and prefer to spread charging, thus forcing house to consume Grid overnight while washer, dryer and dishwasher run.
    Say, I wanted to put 23kwh into the battery through the 6 hour night Window.
    23000 ÷ 50 (volts) ÷ 6 (hours) = 77amps
    Say the day after we have some Solar but need 9kwh to get through the following day
    9000 ÷ 50 ÷ 6 = 30amps.
    Or 3kw
    3000 ÷ 50 ÷ 6 = 10amp.
    The main reason is to generally force the house to consume Grid overnight to reduce Cycle and save storing energy for large appliances.
    With the Solis, I will also run 6 hour charging at 0amps or 2amps just to force use of the Grid night rate but not discharge battery for appliances as pointless.
    We effectively need battery in Winter only to avoid Day Rate on the Tariff. Batteries are 31kwh capacity so as Spring approaches and reduce the charge to leave enough capacity to store ALL surplus Solar but have enough for a cloudy day. We will increase battery capacity to 46kwh and switch primarily to electric heating.
    Hope this triggers some thoughts and ideas..

    • @gordonmarkus
      @gordonmarkus  6 месяцев назад

      Thanks for the comment and watching. If you have a look at my other videos I’ve done one specific for Eco7 as that’s what I’m on now. I charge at 45amps, and once my required charge is reached (depending on solar forecast) I might then limit max discharge current to 1amp (0amps is not possible) so that any power used in the eco7 window is pulled from the grid rather than draining the battery. Take a look at the other video, hopefully it will help you

  • @mididoctors
    @mididoctors Год назад +2

    This needs to made into a bolt on consumer product

  • @eperksmedia
    @eperksmedia 11 месяцев назад +1

    Thanks so much for this, in these solar hit & miss months you are saving me a walk to the garage and clicking through 5 menus to change this setting! A quick question, how do you put 9 guages on a single card? Thats a really useful way of compressing a lot of visual data and I can't find out how..!

    • @gordonmarkus
      @gordonmarkus  11 месяцев назад

      Hi, thanks for watching and the comment. That group of 9 gauges is done using the custom 'stack in card' respository here: github.com/custom-cards/stack-in-card so in my example there is a vertical stack of 3 horizontal stacks each with 3 gauges in.

  • @adibbins
    @adibbins 10 месяцев назад +1

    Hi Gordon, a quick probably stupid question, but how did you get multiple gauges in a card, I see you've 3 x 3 in a card? Thx

    • @gordonmarkus
      @gordonmarkus  10 месяцев назад

      Hi, thanks for watching and the comment. That's done with the custome stack in card plugin. A few others have asked me the same thing, so I'll make a video on it shortly.

    • @adibbins
      @adibbins 10 месяцев назад

      Thanks that'll be really useful.

  • @harryflatters4631
    @harryflatters4631 Год назад +1

    Hi Gordon, many thanks for your videos - really helpful.
    I'm on a steep learning curve of HA OS running on a RPi 4 (been a DOS & Windows man for over 30 years!) and getting to grips with integrations, dashboards etc. Zero experience of Python and YAML coding, but through judicious copying and plagiarism, I guess I'll get there eventually. 🙂
    I have a 6k Solis hybrid inverter with Pylontech Force L2 batteries. The inverter has the latest wifi Gen3 data logger and I have a nasty feeling you're going to tell me that MQTT is not going to work with it. I have got the Solarman platform configured via a browser and have successfully managed to talk to my Pylontech batteries, but when I try to add the Solis datalogger, it refuses to go online, and indeed, Solarman says it wants loggeers with 40 or 41 serial numbers (mine starts with 5A)
    Is there any downside, Solis Cloud-wise, of changing the data logger to an S2? I have an ethernet hub right next to my inverter.
    Help!!!!

    • @gordonmarkus
      @gordonmarkus  Год назад

      Thanks for watching and the comment.Good work on getting this far. I'm afraid that I've not got good news for you though. The S3 logger does not allow local access like the DLS-W or S2 loggers do. The only suggestions I have are to see if you can find one of these somewhere. The S3 logger does allow very rudimentary control via the SolisCloud App if you log a ticket with Solis and ask for it to be enabled, but it is very basic compared to what can be achieved with the other loggers and HA.

  • @leeumney7675
    @leeumney7675 Год назад

    Just a quick post to say a massive thank you to Gordon, he has gone above and beyond to help me resolve my issues with HA and this setup.
    Once I had the Octopus integration resolved it was plain sailing, I was lucky enough to have my inverter set for Self Use and Optimal Income set to Run, I configured the charge start and stop times via MQTT publish actions.
    I've tested everything and am now ready to go, the only thing stopping me is Octopus, they've suspended new additions to Agile spouting some rubbish about the peak price being up to and even over £1.
    Since I wouldn't be using peak price electricity this wouldn't affect me, I think it's just to get more money from either me and/or the UK govt.

  • @luciditycrash3469
    @luciditycrash3469 Год назад +1

    Comment keeps getting deleted but lets try again:
    I don't know if it affects you but the agile rates integration was pulling the original 35p cap version, which I unfortunately missed ... I just raised a pull request with a patch that allows you to select which of the 3 Agile tariffs you want to fetch.

    • @gordonmarkus
      @gordonmarkus  Год назад

      Not sure why your comment was getting deleted! I must admit that my tariff must be an older one as I was capped at 35p, but actually since the increase on Saturday it's been slightly less than that.

  • @Lyngaae
    @Lyngaae Год назад +1

    Hi, thx for a great video. I would like to do the same for a Huawei inverter system with battery.
    Do you know if the modbus addresses are of some kind of standard, and might be the same for Huawei?

    • @gordonmarkus
      @gordonmarkus  Год назад

      Hi, thanks for watching and the comment. I'm not sure about other vendor's implementation of modbus. I learned about this through the the Solis owners FB group, is there anything similar for Huawei, as someone out there might know already!

  • @fergusmalone4925
    @fergusmalone4925 Год назад +1

    Great video, thanks Gordon! Is there a settable register on the Solis that would allow you to force the exported power level to a certain value? Looking at Brian Coghlan's document I'm not too sure. Its something I would be interested in for my application though, before I go and buy a solis! Sounds strange, but I wan to force the inverter to export to the grid when there is no PV input

    • @gordonmarkus
      @gordonmarkus  Год назад

      Hi Fergus, thanks for watching and the comment. I'd imagine that this is totally possible, as it's literally the reverse of what I'm doing in my other video. You'd need to set your timed discharge hours to be the times when you might want to dump to the grid, and then flip the register to 'optimized revenue mode' I think. Take a look at this document, it gives the registers and values you'd need to set. www.scss.tcd.ie/Brian.Coghlan/Elios4you/RS485_MODBUS-Hybrid-BACoghlan-201811228-1854.pdf . If you've not joined it already, there's an excellent Solis Inverter Owners Facebook group, I'm sure that other members have done exactly what you are looking to do, which I guess is charge the batteries at a cheap rate, and then dump to the grid at a higher rate.

    • @fergusmalone4925
      @fergusmalone4925 Год назад

      @@gordonmarkus Thanks Gordon, that's great! Will join the group too. Cheers

  • @courtmanr
    @courtmanr Год назад +2

    I was about to crack on with this but I've stumbled at the first hurdle. My s3-wifi stick serial start with 5a - is that a no go?

    • @gordonmarkus
      @gordonmarkus  Год назад +1

      Hi, you needs an S2 or DLS-W if you are looking to do this via WiFi, the S3 won’t work I’m afraid. If you can run a cable then you can use DLS-L or just buy an Ethernet to RS485 adaptor

    • @courtmanr
      @courtmanr Год назад

      @@gordonmarkus Thanks, I'll get something ordered off aliexpress. I can get home assitant set up in the mean time. 👍

    • @turkeyredmedia1378
      @turkeyredmedia1378 Год назад

      @@gordonmarkus I have one of the new wifi sticks.. but was thinking of opening up and soldering on an RS485 USB stick in parallel to A/B.. I want to retain Solis Cloud... do you think this would work ?

    • @gordonmarkus
      @gordonmarkus  Год назад

      @@turkeyredmedia1378 thanks for the comment. There is a device available that can do this for you, it's like an RS485 splitter. It's called a 'waveshare', it gives you ethernet to RS485/TCP Modbus on one side and then the other will connect to your S3 Solis dongle so that you can retain solis cloud as well. Take a look in the Solis owners FB group and search for 'RS485' There's a post from Martin Cuthbert on how to do this.

    • @HughSearight
      @HughSearight 3 месяца назад

      @@gordonmarkus I saw your video on which Solis Dataloggers are accessible on local networks (i.e. will work using the method you walk through in the above video). My S3 is not. I have managed to integrate Solis Inverter on HA. Is this a viable alternative to the datalogger route?

  • @PeterBache
    @PeterBache 7 месяцев назад

    very interesting have got my solis talking to HA via Solax integration , this does not appear to allow me to hit the registers , thinking around this . not sure this would work and may have knock ons else where , what about setting the inverter to timed charge 24hrs and then turning to charging current from 50A to 0A when grid charging not wanted , and an automation to turn current back to 50A during the period of the target times , comments ?

    • @gordonmarkus
      @gordonmarkus  7 месяцев назад +1

      @peterbache thanks for watching and the comment. I've not yet had the chance to play around with the Solax integration, but I am working on another project where it's used so I'll know more in a few weeks. I don't see why you couldn't do what you've suggested though. There's lots of people in the Solis Owners FB group that are using Solax integration so it might be worth asking the question in there too. Also take a look at github.com/fboundy/pv_opt which takes a lot of the leg work out of the automations

  • @BlessedAreTheBignoses
    @BlessedAreTheBignoses Год назад

    Does your Load power make sense to you? Just looking at this for myself & what seems the same for you, if you adjust for PV generation, AC power & to/from battery (although not sure on your panel above so may make my assumption wrong) but certainly in my case, PV generation less plus or minus what is coming or going the battery & any grid + or - does NOT equal the Load power from the sensor. Reads a good few hundred lower than it should, I actually have some plugged into the backup circuit that uses 200W generally and taking that in to account is 200 out but if Ignore that make the load power 400 out. Solis online is correct so wonder it that gets the house load power from a calculation. I don't actually understand how the inverter could know directly the house use as would need CT clamps on each individual MCB/RCH in the consumer unit. Which also leads me to ask what then is Load Power in the sensors?

    • @gordonmarkus
      @gordonmarkus  Год назад

      Thanks for the comment and for watching. My load power is actually about right to be honest, I get it from the sensor (sensor.solarman_house_load_power). The inverter does feed direct to the house CU, so it 'knows' what current is being pulled on that connection to calculate the power. If I monitor the values of that sensor then I can see when appliances turn on/off and it's pretty much what I'd expect to be happening.

    • @BlessedAreTheBignoses
      @BlessedAreTheBignoses Год назад

      Many thank for your reply, you have done great work. Would love to have a panel like that but don't have the time although I go have the main solar dial on the std. lovelace. Don't expect you to respond but do think that load must be a calculated figure (& in my case 200-400w Off), Mine (& think normal) is a single cable into the CU can only know what is coming & going to the inverter, think would need a CT clamp on every circuit for direct data. It knows what's to/from grid (CU CT clamp) & of course the inverter knows how much PV & how much battery so can work out house load but as I say in my case incorrect. I will prob. have to do my own calculated load & create a sensor but like to know what in my case Load is, It IS correct on the solis www so a little confused. @@gordonmarkus

  • @bbjunkie
    @bbjunkie Год назад

    Hi again Gordon, quick question this time, any chance you could post the yaml code for the PV System Monitors and SolarMan Inverter monitor tiles in your HA? (at timestamp 13:26) otherwise, maybe you could make another video showing how to put these together? 👍 great work, thanks again. I joined the facebook group after watching your first video, a wealth of knowledge!

    • @gordonmarkus
      @gordonmarkus  Год назад

      Hi, thanks for the question. If you PM me via the facebook group then I can sent it to you. It's just using the custom stack card integration so you can have a vertical stack of horizontal stack cards. Thanks again for watching.

  • @TrevVogt
    @TrevVogt Год назад

    Hi Gordon, I am new to this and am looking for a step by step guide to set up ... can you point me in the right direction please

    • @gordonmarkus
      @gordonmarkus  Год назад

      Thanks for the comment. There are lots of individual videos & guides for the specific components used this video if you search for them, the Solis owners FB group is a really good resource as well.

  • @luciditycrash3469
    @luciditycrash3469 Год назад

    why are you using 35 in the storage control mode ?
    BIT00 Spontaneous mode switch
    BIT01 Optimized revenue mode
    BIT02 Energy storage off-grid mode switch
    BIT03 Battery wake-up switch
    33 binary is 0010 0001 so this looks little endian ie the binary is read right to left.
    35 in binary is 0010 0011 which would be setting BIT00 to on AND BIT01 to on.
    surely using 34 would be "more right" ?
    or does 35 represent a particular mode as set via the inverter controls ? - in which case what setting is that ?

    • @gordonmarkus
      @gordonmarkus  Год назад

      Optimised revenue mode (controlled by flipping bit01) is what controls whether the battery can charge from grid. 33 as you say is 00100001 and 35 flips the optimised revenue mode to on so becomes 00100011

    • @luciditycrash3469
      @luciditycrash3469 Год назад

      @@gordonmarkus yeah but you are leaving spontneous mode on as well with 35 ... 34 would turn off spontaneous mode and turn on optimised revenue mode by itself.
      is setting it to 35 essentially setting it to "run" on the time for self use page ?

    • @gordonmarkus
      @gordonmarkus  Год назад

      I suspect spontaneous mode needs to remain on, hence 33&35 as opposed to 33&34.

  • @Pablo-tw7tt
    @Pablo-tw7tt Год назад

    Great video. Thanks for posting. The Modbus document you reference (8 mins in) looks really useful. I can't find a link to it in your previous video, could you point me in the right direction to get this document. My current WiFi stick is the latest model so probably won't work via Home Assistant. I am curious however if the Modbus link to the Acrel power meter could be utilized to access the required registers. Probably not, at the inverter will be Master on the link so will not accept comm's requests I'm guessing.

    • @gordonmarkus
      @gordonmarkus  Год назад +1

      Hi Pablo, thanks for watching and the comment. Apologies I thought I’d referenced the modbus register document previously, but here’s what I’ve worked from: www.scss.tcd.ie/Brian.Coghlan/Elios4you/RS485_MODBUS-Hybrid-BACoghlan-201811228-1854.pdf

    • @Pablo-tw7tt
      @Pablo-tw7tt Год назад

      @@gordonmarkus Many thanks.

  • @alienatedsec
    @alienatedsec Год назад

    What's the formula for the 'Best 2hr Time/Slot' functions? I reckon you created this yourself.

    • @gordonmarkus
      @gordonmarkus  Год назад +1

      I did create these (well a colleague of mine did) using the template feature in HA. In my sensors.yaml I have: ##Best 2h time
      best_2_hour_time:
      friendly_name: Best 2hr time
      value_template: >
      {{states("octopusagile.2_hour")[11:-4]}} UTC
      ## And is the Best 2h time NOW?
      best_2_hour_slot:
      friendly_name: Best 2hr slot
      value_template: >
      {% if states("sensor.time_utc") == (states("octopusagile.2_hour")[11:-4]) %}
      true
      {% else %}
      false
      {% endif %}

  • @tiger950i
    @tiger950i Год назад

    I'm new to this how do I get this home assistant dashboard?

    • @gordonmarkus
      @gordonmarkus  Год назад

      Hi, take a look at www.home-assistant.io there's loads of other videos on getting HA setup

  • @sjrapidatgmaildotcom
    @sjrapidatgmaildotcom Год назад

    How do you get the best two hour period? That doesn’t seem to be part of the Octopus integration I’ve downloaded and installed on HA. Could you share your yaml code for the integration? Thanks.

    • @gordonmarkus
      @gordonmarkus  Год назад

      Hi, thanks for watching and the comment. If you ping me a message via Facebook or in the Solis inverter owners group then I can reply with some screen captures