Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorYbema committed Aug 5, 2022
2 parents 959b315 + 05d33d4 commit 4abbd33
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 8 deletions.
49 changes: 42 additions & 7 deletions Integrations/Home Assistant/heishamon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -305,35 +305,47 @@ sensor:
name: Aquarea Actual Tank Temperature
state_topic: "panasonic_heat_pump/main/DHW_Temp"
unit_of_measurement: '°C'
state_class: 'measurement'

#TOP11 - Compressor Operating Time
- platform: mqtt
name: Aquarea Compressor Operating Hours
state_topic: "panasonic_heat_pump/main/Operations_Hours"
unit_of_measurement: 'Hours'
state_class: total

#TOP12 - Compressor On/Off cycle number
- platform: mqtt
name: Aquarea Compressor Start/Stop Counter
state_topic: "panasonic_heat_pump/main/Operations_Counter"
state_class: total


#TOP14 - Outdoor unit ambient temperature
- platform: mqtt
name: Aquarea Outdoor Ambient
state_topic: "panasonic_heat_pump/main/Outside_Temp"
unit_of_measurement: '°C'
state_class: 'measurement'

#TOP15 - Heating power produced
- platform: mqtt
name: Aquarea Power Produced
state_topic: "panasonic_heat_pump/main/Heat_Energy_Production"
unit_of_measurement: 'W'
device_class: 'power'
state_class: 'measurement'
force_update: true

#TOP16 - Heating power consumed
- platform: mqtt
name: Aquarea Power Consumed
state_topic: "panasonic_heat_pump/main/Heat_Energy_Consumption"
unit_of_measurement: 'W'
device_class: 'power'
state_class: 'measurement'
force_update: true


#TOP17 - Heating powerful mode
- platform: mqtt
Expand Down Expand Up @@ -406,12 +418,18 @@ sensor:
name: Aquarea DHW Power Produced
state_topic: "panasonic_heat_pump/main/DHW_Energy_Production"
unit_of_measurement: 'W'
device_class: 'power'
state_class: 'measurement'
force_update: true

#TOP41 - DHW power consumed
- platform: mqtt
name: Aquarea DHW Power Consumed
state_topic: "panasonic_heat_pump/main/DHW_Energy_Consumption"
unit_of_measurement: 'W'
device_class: 'power'
state_class: 'measurement'
force_update: true

#TOP44 - Last active error
- platform: mqtt
Expand Down Expand Up @@ -606,16 +624,33 @@ sensor:
friendly_name: "Aquarea COP"
unit_of_measurement: "x"
value_template: >-
{%- if states('sensor.heishamon_w_production') != "Unknown" -%}
{%- if states('sensor.heishamon_w_consumption') > "0" -%}
{{ '%0.1f' % ((states('sensor.heishamon_w_production') | float ) / (states('sensor.heishamon_w_consumption') | float)) }}
{%- else -%}
0.0
{%- endif -%}
{%- if states('sensor.heishamon_w_consumption') | float > 0 -%}
{{ '%0.1f' % ((states('sensor.heishamon_w_production') | float ) / (states('sensor.heishamon_w_consumption') | float )) }}
{%- else -%}
n/a
0.0
{%- endif -%}
availability_template: >-
{%- if is_number(states('sensor.heishamon_w_consumption')) and is_number(states('sensor.heishamon_w_production')) %}
true
{%- else %}
false
{%- endif %}
#Calculation Energy consumed (kWh) - DHW
- platform: integration
source: sensor.aquarea_dhw_power_consumed
name: Aquarea DHW Energy Consumed
unit_prefix: k
method: left
#Calculation Energy consumed (kWh) - Heat
- platform: integration
source: sensor.aquarea_power_consumed
name: Aquarea Heat Energy Consumed
unit_prefix: k
method: left



# switch #
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ A json output of all received data (heatpump and 1wire) is available at the url

Within the 'integrations' folder you can find examples how to connect your automation platform to the HeishaMon.


# Rules functionality
The rules functionality allows you to control the heatpump from within the HeishaMon itself. Which makes it much more reliable then having to deal with external domotica over WiFi. When posting a new ruleset, it is immidiatly validated and when valid used. When a new ruleset is invalid it will be ignored and the old ruleset will be loaded again. You can check the console for feedback on this. If somehow a new valid ruleset crashes the HeishaMon, it will be automatically disabled the next reboot allowing you to make changes. This prevents the HeishaMon getting into a boot loop.

Expand Down

0 comments on commit 4abbd33

Please sign in to comment.