SAJ R5 HA integration

Good morning folks!

I very long time ago I bought a Raspberry Pi, but didn’t do that much with it.
Recently I re-installed the latest version of HA, and I wanted to achieve a couple of things.

My main objective: centralize all individual apps in HA and make maximal use of the energy generated by my solar panels and in an ideal work 100% self-consumption.

So, what do I have in terms of hardware:
SAJ R5-4K-S2-15 connected to my internet having a WiFi dongle and having my P1 enabled where my Alfen is connected to
Alfen Single Pro charger
Boiler for heating (Vaillant VC25CS)
Boiler for hot water (Saga RVS), which I can switch to electricity during summer or gas during winter
Tado bridge + every room having it’s own controlled radiator

What I have to make my house smarter:
Ikea gateway
2 Ikea tadfri smart plugs
1 Ikea smart light
2 Shelly plus plug s, where:

  • 1 is connect to my washing machine (I only want to see the consumption of my washing machine)
  • 1 is connected to my boiler for hot water (here I would like to make it super smart to only heat when my solar panels are generating +1kW)

What I managed to do so far:

  • made all components visible in HA through integrations of the shelf or via HACS
  • control the heating using Tado through HA
  • view the consumption of my Shelly plugs
  • view the data of my SAJ solar panels, however here I’m missing a crucial thing which is the current energy and what is all consuming it for now

I use the integration via HACS, called SAJ Elekeeper, and I can see:

  • status of the solar panels
  • hrs generated energy today
  • max energy today
  • generated energy per day, month, year and total

The crucial thing I’m missing: current energy.
I have searched through all entities, but it seems it doesn’t exist. If I want to do any automation based on my own energy consumption I assume this is key here.

I struggled before using the SAJ R5 Inventer Modbus, but at that point in time I didn’t know I had no mobus. I’m not familiar with it, but seems to be a separate piece of hardware which is in-between the SAJ and RPi. I also tried the simple config from HA itself, but also here I didn’t manage to get it working: [SAJ Solar Inverter - Home Assistant](https://SAJ Solar Inverter)

Today I don’t have any automations, apart from my shelly plug used for the warm water boiler: this is starting 3hrs after sunrise and it will stop 3hrs before sunrise, which should be more than good enough to heat my water.

So, where do I need your expertise: how can I have a view on the current energy of my SAJ R5 inverter? :slight_smile:

Some screenshots:

For some reason it’s now working when adding this is in configuration.yaml:

sensor:
  - platform: saj
    host: IP ADDRESS
    type: wifi

So I can now see my current power as well … means I can continue doing some automations :wink: