Hello
I’m trying to setup my solar panels in HA, but keep failing
After digging through the documentation and forums, I’m still stuck with getting the data from Ahoy DTU added to the energy dashboard.
Right now I have the error message:
Entity not available
The state of this configured entity is currently not available
sensor.hm_1500_solar_inverter_daily_yield (unknown)
These are my config files:
#AhoyDTU Hoymiles1500
sensor:
- state_topic: "inverter/Hoymiles1500/ch0/YieldDay"
name: "HM-1500 Solar Inverter Daily Yield"
value_template: "{{ value | round(2) }}"
unit_of_measurement: "Wh"
device_class: energy
state_class: total_increasing
- state_topic: "inverter/Hoymiles1500/ch0/YieldTotal"
name: "HM-1500 Solar Inverter Lifetime Yield"
value_template: "{{ value | round(2) }}"
unit_of_measurement: "Wh"
device_class: energy
state_class: total_increasing
- state_topic: "inverter/Hoymiles1500/ch0/P_AC"
name: "HM-1500 Solar Inverter Current Yield"
value_template: "{{ value | round(0) }}"
unit_of_measurement: "W"
device_class: energy
state_class: measurement
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensor: !include sensors.yaml
media_player: !include media_players.yaml
# Example configuration.yaml entry
adaptive_lighting:
lights:
- light.adaptive_lichter
mqtt: !include mqtt.yaml
template: !include template.yaml
The MQTT broker shows this:
2024-05-07 16:21:55: New connection from 172.30.32.2:33204 on port 1883.
2024-05-07 16:21:55: Client closed its connection.
2024-05-07 16:23:55: New connection from 172.30.32.2:48172 on port 1883.
2024-05-07 16:23:55: Client closed its connection.
2024-05-07 16:25:55: New connection from 172.30.32.2:34162 on port 1883.
2024-05-07 16:25:55: Client closed its connection.
2024-05-07 16:27:55: New connection from 172.30.32.2:58394 on port 1883.
2024-05-07 16:27:55: Client closed its connection.
2024-05-07 16:29:55: New connection from 172.30.32.2:42334 on port 1883.
2024-05-07 16:29:55: Client closed its connection.
but according to this it should be normal.
I added the SQL statistics data manually, since the were missing as well…
Can someone point me in the right direction?