Hi everyone,
basically i am using HA just as a Frontend for Homematic (IP). All my automations are on the CCU/Raspberrymatic. I would really wish that the integration of Homematic (IP) would be more seamless in HA, however i can see the Point that the Homematic System is just highly popular in the german speaking part of the world.
I really love the HA UI and the option to just configure everything gui related to the webui.
What is really taxing for me is everything related to yaml based configuration as a lot of the needed information is really buried in the community forum.
So i struggeld now two months in getting my energy dashboard up and running. However it is not very difficult once you know whats the issue.
Basically the Homematic Devices are providing their consumption data based on Watts per Hour instead of Kilowatts per Hour. To do this you need to provide a converted value in a new entity.
This is what i done in the configuration.yaml
sensor:
- platform: integration
source: sensor.neq0863114_power
name: Energiezähler
unit_prefix: k
round: 2
method: left
- platform: integration
source: sensor.0001dbe9915a18_power
name: "Arbeitszimmer Schreibtisch"
unit_prefix: k
round: 2
method: left
The sensor.neq0863114_power
is a HM-ES-TX-WM energy sensor and now provides the input value for the new Energiezähler sensor.
The sensor.0001dbe9915a18_power
is a switchable power socket with metering HmIP-PSM and now proivdes the input value for the Arbeitszimmer Schreibtisch sensor entity.
The will cover the wrong unit for the consumption in addition to that you need a defined utlity meter based on the new created Energiezähler entity:
utility_meter:
daily_energy:
source: sensor.energiezahler
cycle: daily
monthly_energy:
source: sensor.energiezahler
cycle: monthly
Then you will be able to define the necessary entities in the web ui.
Here is what my dashboard and configuration looks like:
Cheers
Andy