Skip to content
David Rapaň edited this page Jul 26, 2024 · 67 revisions

Welcome to the Solarman Stick Logger wiki!

Here you can read about some of the need-to-knows, excessive integration features as well many general energy tips and tricks

πŸ’‘ Tips and Tricks

If you are not living in a place where is energy cost calculated as sum of all three phases (e.g. Germany) but living in a place where is energy cost calculated for each phase individually (e.g. Czechia) in a three-phase systems then set the Zero Export value to at least 100 W. You will save some money! πŸ˜‰

✍ Changes

What you need to know before for example switching from Stephan Joubert's integration.

  1. Any custom inverter definition profiles has to be within 'inverter_definitions/custom/' directory to persist through integration updates, etc.
  2. Sensors update interval is way more frequent but it does mainly affects sensors like current power, etc. And in a way so that you can always have the most accurate information possible. When comes to the actual data amount stored within HA that is controlled by recorder and its sampling rate.
  3. Don't be scared of changed entity names (HA is smart enough to keep history of all your sensors and you can even transfer it under new names).
    More about that here
  4. Way more dangerous is when you load different profile (e.g. 'deye_hybrid.yaml' instead of 'deye_sg04lp3.yaml'). It will mess up with your values and thus history so be careful with selecting appropriate profile under existing name (e.g. when you re-add device for some reason).

🎁 Features

  • Implementation mainly focused on performance and reliability
  • Discovery and not just during configuration but also as part of initialization (i.e. adapts to changed IP)
  • Registers which will be part of a request are decided dynamically (when not set in the inverter profile)
    • Can be requested individually in specific intervals according to their 'update_interval' value set in the inverter profile file (defaults to 60 seconds)
  • Attribute type of a sensor which can be attached to any other sensor
  • Configuration items for Battery Nominal Voltage and Battery Life Cycle Rating for calculating SOH and life cycles of the battery
  • Supports configuration of inverter (Battery, Zero Export power, Grid Export Surplus, Work Mode Programs, ...)
    • Switch, Number and Time entity types for configuring the inverter
  • Configuring of the inverter won't interrupt fetching and has long enough timeout to overcome stick unresponsiveness

βš™οΈ Custom sensors

Which are calculated over data from the inverter

  • PV Power (combined power of all inputs)
  • Losses (calculates device consumption + AC/DC conversion losses)
    • Power (current losses)
    • Today Losses
    • Total Losses
  • Battery SOH
  • Battery State ["charging", "standby", "discharging"]
  • Grid State ["On", "Off"]
  • Today Battery Life Cycles
  • Total Battery Life Cycles

More about that here

πŸ•‘ Update Intervals

Are fully configurable down to a single sensor but cause register values are in nature requested in batches is possible that some will update more frequently just because value was present in the response so it's a no brainer to also update it in the sensor from HA's side.

Note

Solarman is a mess! 🀯
Even so the default update interval is set to 5 seconds, sometimes it goes up to ~25 seconds cause the stick don't want to talk with us. 😊
It's true that this upper bound is artificially set by timing parameters of the integration but it's already fine tunned and anything lower than that is just causing tremendous issues! πŸ™

Clone this wiki locally