Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Solar PV Monitoring/Automation Thread

Options
1646566676870»

Comments

  • Registered Users Posts: 433 ✭✭jasgrif11


    Anyone know why these bursts happen in HomeAssistant and how to prevent them?



  • Registered Users Posts: 63 ✭✭ivegotafeeling


    I'll have a root about later and start making those changes. Thanks for the heads up.



  • Registered Users Posts: 6,948 ✭✭✭10-10-20


    Have a look at the base data for those two loads in a graph and see if you can work out where the data error is creeping in - ie is it happening on one or two sensors at the same time, and if so what's in common with those two. I used to get data errors from some source devices such as temperature sensors where one sensor would report 100,000 degrees C for one report only, and then return to normal temperature levels afterwards.

    I also had an issue with microinverter software reporting duplicate data when more than one master device was reading data off the inverters. So it's going to need a bit of digging around to find the cause.



  • Registered Users Posts: 113 ✭✭mjatkey


    Thanks for the offer, I've ordered a Dell Wsye (second hand) that already has the application installed so am hoping to set it up trial and error wise, I have the Solis account set up and have a lot of Tuya and eWe smart devices dotted around the house and garden.

    All I need now is the kit installed (middle of May).

    Reading bits on the website I see you can integrate the Tuya devices relatively easily, I assume the panels, inverter and batteries will be handy enough?

    Thanks

    🌞 6.96kWp PV System. West Dublin🌞



  • Registered Users Posts: 6,948 ✭✭✭10-10-20


    A Dell Wyse preinstalled with what, Home Assistant? Care to share the link?



  • Advertisement
  • Registered Users Posts: 113 ✭✭mjatkey


    Ebay, there are a few of these for sale, but this one caught my eye as it seems to have HA installed already. I have an old Rasberry Pi that I use for media streaming but not sure it would be upto running HA as well, plus I didn't want to start messing with it in case I messed up all the music on it.

    Thanks

    🌞 6.96kWp PV System. West Dublin🌞



  • Registered Users Posts: 2,505 ✭✭✭bullit_dodger


    That should do the trick. For anyone else out there who's thinking the same, I run mine on an old Lenovo laptop that I had. Installed "Hyper-V" in windows (it's a Windows feature not installed by default), downloaded the Pre-installed virtual hard drive from the Home Assistant website for this, and 20 minutes later I was up and running. I have the laptop on 24x7 set to low power state with the screen off etc, and the power adapter is hooked into a Meros smart plug, which does power consumption tracking, and here's what it shows since I set it up early April.

    About 4-5 watts, equating to 3-4 cents/day.

    To be fair, I'm a software developer myself, so happy enough to play about with things, but honestly, anyone with a reasonable familiarity of computers will get HA up and running….and plenty of people on here to help if needed.



  • Registered Users Posts: 6,101 ✭✭✭championc


    And for anyone else who has access to an old Thin-Client PC (I've a Lenovo M73 Tiny ) loaded with Linux-Mint. On this, I have configured SSH and RDP (DON'T set it to Auto logon), and it runs Docker with Portainer, Home Assistant, Node-Red and several others. It's in the shed with the inverter, no keyboard nor monitor. Plenty of USB ports if needed.

    Super easy to restart any program without restarting the whole PC



  • Registered Users Posts: 113 ✭✭mjatkey


    Lets hope I'm as successful as you guys, I’m reading a lot on HA forums about what type of dongle/data logger does and doesn’t work easily with the Solis inverter and the integration into HA.

    I assume the dongle comes in the box, or is it a paid for addon. (I assume not as the whole Solis cloud wouldn’t work without connection to the net?)

    I’ll maybe drop the suppler a mail and see if they know what version I’ll get or am I over thinking it?

    Thanks

    🌞 6.96kWp PV System. West Dublin🌞



  • Registered Users Posts: 6,948 ✭✭✭10-10-20


    If when you get it the BIOS password is still set then try "Fireport" and that should get you in.



  • Advertisement
  • Moderators, Education Moderators, Home & Garden Moderators Posts: 8,145 Mod ✭✭✭✭Jonathan


    A good overview of the Solis data loggers is here:

    The DLS-W is hard to obtain now because it is no longer produced, but it allows concurrent access to Solis Cloud and Home Assistant. If you don't care for Solis Cloud, then a S2-WL-ST will provide you with Modbus TCP access from Home Assistant. Outside of that then you are into more DIY solutions.



  • Registered Users Posts: 173 ✭✭alfa_aficionado


    Any ideas why the data on the Solis app does not correspond with that downloaded from SolisCloud?

    The numbers provided in the Excel export are stored as text and when converted to numbers and summed, do not tally up to what Solis says is the monthly yield, e.g. 578kWh instead of 570kWh and 93kWh instead of 90.2kWh (the higher numbers being what is reported by the app and the lower number being that calculated from the exported data).

    9.1kWp (5.6E/3.5W)



  • Registered Users Posts: 6,101 ✭✭✭championc


    Rounding is my guess



  • Registered Users Posts: 113 ✭✭mjatkey


    Fine tuning:

    Guys, just trying to get my head round the set up of the system once installed, (hopefully the installers will have the interest and knowledge) but better that I understand as well.

    What I’m struggling with is how should the inverter be set up, ideally I only want it to charge the batteries from the grid during the EV window (Energia 2-6), but I assume that there is a minimum level that the battery should be allowed to discharge to, is that what Solis call Force charge SOC?

    So if the grid charge window is 2-6am and FCSOC was 10% does this mean that the battery will only charge from the grid during those hours and outside of this window once depleted to 10% (1.04KW-10.4KW battery set up) the batteries would “sit” and just wait for the panels to begin charging if/when load (house) demand is met and not try and charge from the grid until 2am next day, (providing the inverter is set for “Self-Use mode” Solis S6-EH1P5K-L-EU)?

    Also what sort of values should be used for charge and discharge of the batteries, I understand the charge current should be kept as low as possible when charging say (10-50Amp) but have read/watched various bits on the Solis inverters which say discharge should be left at 0Amp (other wise batteries will always discharge to the FCSOC level?)

    Thanks

    🌞 6.96kWp PV System. West Dublin🌞



  • Registered Users Posts: 6,101 ✭✭✭championc


    Would anyone have a sample HA Notification YAML to alert if the value of a sensor is "Unavailable". I want to start building Alerting Notifications if things stop working.

    I am trying to use this too in conjunction with CallMeBot, but I cannot seem to get it to work. So if someone have one notification, that does both, then even better !!!



  • Registered Users Posts: 189 ✭✭connesha


    - alias: "Kitchen Power Off"
      trigger:
        - platform: state
          entity_id: switch.kitchen_socket
          to: "unavailable"
          for:
            seconds: 10
      action:
        - service: notify.notify
          data:
            message: "Kitchen Power Off"
    
    



  • Moderators, Education Moderators, Home & Garden Moderators Posts: 8,145 Mod ✭✭✭✭Jonathan


    Looks like the Solcast developer has had enough and packed it in.

    https://github.com/hacs/integration/issues/3745

    A number of new forks are in the comments of that issue, including one that has already been submitted for inclusion in HACS.

    Post edited by Jonathan on


  • Registered Users Posts: 6,948 ✭✭✭10-10-20


    Because I have had enough of the BS I personally receive from users in
    msgs and I no longer wish to support such a bunch of self righteous ppl
    that demand they get what they want, don't bother to read changes and
    then just post the same **** over and over. The amount of abuse for temp
    removing a basically insignificant sensor as the api counter in the
    last day sealed the fate I have better things to do in life

    Jasus!



  • Registered Users Posts: 2,505 ✭✭✭bullit_dodger


    I don't know/follow the thread, but as a developer I can relate.



  • Registered Users Posts: 1,996 ✭✭✭allinthehead


    Looking for a little help here. I have a granny charger that I can turn on and off with home assistant using a shelly 1 PM. I would like to create an automation so when I turn it on manually it automatically turns off after 2 hours.

    I have another automation set up where if the grid import is over 500 watts for 10 seconds, the charger switches off. Is it possible to have it switch back on when import normalises?

    ☀️



  • Advertisement
  • Moderators, Education Moderators, Home & Garden Moderators Posts: 8,145 Mod ✭✭✭✭Jonathan


    I set up something similar for herself as she kept forgetting to turn off the hair straightener.

    alias: "Auto Off: Hair Straightener"
    description: ""
    trigger: platform: state
    entity_id:switch.dressing_table_extension_sockets_l1
    to: "on"
    for:
    hours: 0
    minutes: 15
    seconds: 0
    condition: []
    action:service: switch.turn_off
    data: {}
    target:
    entity_id: switch.dressing_table_extension_sockets_l1
    mode: single



  • Registered Users Posts: 6,948 ✭✭✭10-10-20


    Hilarious! I was only considering the same here when we were barrelling down the M50 and I heard "...I think I left the straightener on".

    Solved!



  • Registered Users Posts: 1,996 ✭✭✭allinthehead




  • Registered Users Posts: 2,283 ✭✭✭SD_DRACULA


    Hey guys I need a hand with creating some automation for HA about dumping to grid and I am guessing many already have it so pls share it if you don't mind.

    I am looking for something like once it's 8pm (or any time) it needs to look at current soc and be able to set the grid export power so that the battery gets to 10% at 2am.

    How are yous doing it?



  • Registered Users Posts: 3,378 ✭✭✭randombar


    So I'm not going too technical (Solaredge modbus), I was trying to think of ways of exactly calculating what I need etc. but I went with the easy option.

    At 12 I start dumping to grid until 2. I dump until SOC is 20%.



  • Registered Users Posts: 368 ✭✭munsterfan2


    Hi @SD_DRACULA,

    I run this at 11:15 at night,

    1) Disable Zappi

    2) depending on the remaining capacity set the discharge rate to 55amp & time to calculated length, ( above 70 is 23:15 to 02:00; above 60 is 23:30 to 02:00; above 40 is 01:00 to 02:00 else no discharge )

    3) Sleep until 2:00 and turn Zappi back on

    alias: Set Battery Discharge (Pause Zappi)
    description: Discharge Excess Battery to Grid
    trigger:

    • platform: time
      at: "23:15:00"
      condition: []
      action:
    • device_id: fd2123………- Zappi
      domain: select
      entity_id: 2e935353………. - Charge Mode
      type: select_option
      option: Stopped
    • choose:
      • conditions:
        • condition: numeric_state
          entity_id: sensor.bms_soc
          above: 70
          sequence:
        • service: solarman.write_holding_register
          data:
          register: 43142
          value: 550
        • service: solarman.write_multiple_holding_registers
          data:
          register: 43143
          values:
          - 2
          - 0
          - 6
          - 0
          - 23
          - 15
          - 2
          - 0
      • conditions:
        • condition: numeric_state
          entity_id: sensor.bms_soc
          above: 60
          below: 70
          sequence:
        • service: solarman.write_holding_register
          data:
          register: 43142
          value: 550
        • service: solarman.write_multiple_holding_registers
          data:
          register: 43143
          values:
          - 2
          - 0
          - 6
          - 0
          - 23
          - 30
          - 2
          - 0
      • conditions:
        • condition: numeric_state
          entity_id: sensor.bms_soc
          above: 40
          below: 60
          sequence:
        • service: solarman.write_holding_register
          data:
          register: 43142
          value: 550
        • service: solarman.write_multiple_holding_registers
          data:
          register: 43143
          values:
          - 2
          - 0
          - 6
          - 0
          - 1
          - 0
          - 2
          - 0
      • conditions: []
        sequence:
        • service: solarman.write_holding_register
          data:
          register: 43142
          value: 0
        • service: solarman.write_multiple_holding_registers
          data:
          register: 43143
          values:
          - 2
          - 0
          - 6
          - 0
          - 0
          - 0
          - 0
          - 0
    • delay:
      hours: 2
      minutes: 45
      seconds: 0
      milliseconds: 0
    • device_id: fd2123e9…… Zappi
      domain: select
      entity_id: 2e93535…..Charge Mode
      type: select_option
      option: Eco+
      mode: single



  • Registered Users Posts: 2,283 ✭✭✭SD_DRACULA


    Yeah was thinking that but I can't exactly dump 20kwh in 2 hours without ESBN asking questions.

    The problem is the 6kwh/h limit so I need to do some calculations to spread it over 6 hours or more, the longer the better and that way the inverter is not running hot either.



  • Registered Users Posts: 2,283 ✭✭✭SD_DRACULA


    I actually have a calculation for battery time left (at current discharge power) which gives me something like 2hr 30min, or just the integer of seconds so I need to somehow calculate back from 2am to current time and what power I need to be discharging at but not too sure how to code that.



  • Registered Users Posts: 193 ✭✭oaklands


    I just use SoC on my Sunsynk 5kW & HA

    23:00 → 23:59 Turn on forced discharge while SoC > 50%
    00:00 → 00:59 Turn on forced discharge while SoC > 25%
    01:00 → 01:55 Turn on forced discharge while SoC > 10%

    In these 3 hours my 15kWh battery will always be discharged before the ev rate kicks in again at 02:00.

    Occasionally, the house needs some juice late at night, so its useful to stagger the discharge.



  • Advertisement
  • Registered Users Posts: 2,283 ✭✭✭SD_DRACULA


    I think I might have something, in theory if I export 5kwh for 6 hours that's it empty at 2am.

    And this should calculate the export needed based on SOC (5000w export at 100% SOC):

    alias: Solar - Export to grid at night
    description: Sets the export power required to export until 10% SOC at 2am
    trigger: platform: time
    at: "20:00:00"
    condition: []
    action: service: number.set_value
    metadata: {}
    data:
    value: >-
    {{ (((((states('sensor.battery_state_of_charge') | int) - 10) / 18))*
    1000) | int }}
    target:
    entity_id: number.deye_sunsynk_sol_ark_max_sell_power delay:
    hours: 0
    minutes: 0
    seconds: 10
    milliseconds: 0 service: switch.turn_on
    metadata: {}
    data: {}
    target:
    entity_id: switch.toggle_battery_export
    mode: single

    Might need to cut 200-300 watts from it since setting the export to 5kw usually drains 5.2 or 5.3kw, but in theory should be good



Advertisement