In order to integrate devices into the energy area, they require special properties. For example these
device_class: energy
state_class: total_increasing
Here, either the current entities must be assigned this property or the existing values must be assigned to newly created ones that have these properties.
My inverter in > 10 years old (SMA Sunny Boy 2500HF-30). No access via Modbus etc…
I followed chris_ka tutorial and it works (its not modbus)
As for the energy area, I know that they require something but I have no idea how to do that, Im not a coder, Im a follower
I use the power wheel from HACS to see my power distrubution.
The SMA inverter I have is a SUNNY TRIPOWER 4.0 (firmware 3.10.10.R) and I’m running HA version 2021.10.0 on a pi with HA OS but the problem not being able to login using the SMA Solar integration still exists.
funny numbers like yours are usually a result of a wrong way to assign variables. So e.g. integer instead of floating number. But I am not a programmer in HA. I only know this from my programming work in climate research.
One question: you can connect to the inverter via SMA Solar Integration?
If so what entities are visible at Configuration - Entities - Search: SMA Solar? Which values / units are there?
No, tried every option to connect locally but since an update this summer the SMA Solar integration is not working anymore (user, installer, SSL on/off etc, nothing works) so currently only the modbus workaround is an sort of an option for me at this moment. As said with this the sma_power entity works well on a card, but not on the energy screen. I created a sensor interation for sma_power but this one shows negative values
Hi all, I noticed my sensor.daily_yield is not the same as the sunny portal shows as the yield of the day. Also, there is an entity “total_yield” and “pv_gen_meter”, that are almost the same and I think are meant as the same numbers. Anyone can tell me more about it?
In my case the modbus workaround isn’t even working…
modbus:
- type: tcp
name: sma
host: 192.168.2.28 # use the ip address for your inverter as mentioned in the text
port: 502 # use the port you saw in sunny explorer
close_comm_on_error: true
delay: 5
timeout: 5
sensors:
- name: AccumulatedPower
unit_of_measurement: W # see register description in section 5.4.1 of the document
slave: 2 # use the UnitID you found in Sunny Explorer
address: 30233 # use a register from section 5.4.1 of the document
input_type: input # all registers starting with 3 need to have the type input
count: 2
- name: TotalEnergy
unit_of_measurement: Wh
slave: 2
address: 30513
input_type: input
count: 4
- name: PVFeedIn
unit_of_measurement: W
slave: 2
address: 30775
input_type: input
count: 2
I’ve seen that a lot of you are struggling with SMA integration so I’ll post here how I integrated two different SMA solar plants (one at my place with SMA Data manager, custom BControl EML300LR energy meter, SMA TPL25 and one at fathers place SMA Home Manager 2.0 and two SMA inverters).
My place (BControl energy meter + SMA inverter):
For BControl and inverter (please enable modbus on it)
Add both via Sunspec (try slaves 1,2,3,126. For me BCcontrol is 1, and inverter is 126)
Father’s place (SMA Home Manager 2.0, SMA inverters)
(since Home manager does not support modbus, you need to have a special integration for it)
Install and configure MQTT like here htt[REMOVE]ps://learn.adafruit.com/set-up-home-assistant-with-a-raspberry-pi/mqtt-setup
Install ht[REMOVE]tps://github.com/kellerza/hassio-sma-em (here you’ll want to add sensors you need to the plugin configuration like i2,i3,i1 for the amps per phases etc.)
I had to add [REMOVE] to links since, system won’t let me to add this helpful guide, as I’m a new user.
Please let me know if someone tries without success and I can guide you.
I have made the integration of my SI4.4M with the Sunspec and with sma integration, but I cannot write parameters to choose when to charge / discharge the battery.
Do you know how it can be done with the Sunspec integration?
So far I have only seen that all the elements are sensors and not writing variables
Since December 14, my integration counts the total value as an hourly value at 8:00, on tuesday. Are there other people having this issue? Any pointers how I can fix this?