I have the Myenergi integration installed but it does not seem to allow manual boosting from the integration. I wanted to add a Boolean button to trigger an Automation. I have set up the Boolean switch and used it to trigger an automation that has its action to call a service and execute the following:
Can anyone let me know how they manually boost their Eddi from HA and help me to trouble shoot the above. I have also been using the Developer tools to call the service but cant get it to work.
My device_id is a hash of some sort rather than the neat 9 digit number, and having gone to find it again, it looks like entity_id: select.myenergi_eddi_<id>_operating_mode
THanx, I still struggeld to get the yaml working, but the automation works fine and I triggered it with the input.boolean_eddi_boost and added the time sector. my automation code done in the UI looks like this for others if interested:
For others, here is my Automation copied from the UI to Boost ON the Eddi when the boolean switch, âinput_boolean.eddi_boostingâ is operated from the Dashboard:
alias: Eddi Boost UI Automation ON for Boost timer period
description: ''
trigger:
- platform: state
entity_id:
- input_boolean.eddi_boosting
to: 'on'
from: 'off'
condition: []
action:
- service: myenergi.myenergi_eddi_boost
data:
target: Heater 1
time: '{{ states("input_number.eddi_boost_minutes") | int }}'
target:
entity_id: select.myenergi_eddi_14771666_operating_mode
- delay: 00:{{ states("input_number.eddi_boost_minutes") | int }}:00
- service: myenergi.myenergi_eddi_boost
data:
target: Heater 1
time: 0
target:
entity_id: select.myenergi_eddi_14771666_operating_mode
mode: single
Note: the delay is using the number of minutes set for the Boost timer, but in the Automatino â40â minutes is read as 00:00:40 (40 seconds) so I just added the 00: before and the :00 after the boost time to give 00:40:00 or what ever boost time you set for.
And my UI AUtomation to turn off the Boost when the switch is turned off (if before the timer switches it off):
alias: Eddi Boost UI Automation OFF
description: ''
trigger:
- platform: state
entity_id:
- input_boolean.eddi_boosting
to: 'off'
from: 'on'
condition: []
action:
- service: myenergi.myenergi_eddi_boost
data:
target: Heater 1
time: 0
target:
entity_id: select.myenergi_eddi_14771666_operating_mode
mode: single
To turn off the UI boost button when the Boost is cancelled from the Eddi App and when Max Temp Reached I used the UI Automations in HA and set up the following:
alias: Eddi cancel UI Boost if MAX temp already reached
description: ''
trigger:
- platform: state
entity_id:
- input_boolean.eddi_boosting
to: 'on'
for:
hours: 0
minutes: 5
seconds: 0
condition:
- condition: not
conditions:
- condition: state
entity_id: sensor.myenergi_eddi_14771666_status
state: Boosting
action:
- service: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.eddi_boosting
mode: single
To send myself a Telegram message with status and water temperature:
alias: Notify when Eddi Boost turns OFF
description: >-
Also turns OFF the input.boolean_eddi_boost on UI if manually switched OFF in
the MyEnergi App
trigger:
- platform: state
entity_id:
- sensor.myenergi_eddi_14771666_status
to: Paused
- platform: state
entity_id:
- sensor.myenergi_eddi_14771666_status
to: 'Stopped'
- platform: state
entity_id:
- sensor.myenergi_eddi_14771666_status
to: Diverting
- platform: state
entity_id:
- sensor.myenergi_eddi_14771666_status
to: Max temp reached
- platform: state
entity_id:
- sensor.myenergi_eddi_14771666_status
from: Boosting
to: Heating
condition:
- condition: state
entity_id: input_boolean.eddi_boosting
state: 'on'
action:
- service: telegram_bot.send_message
data:
message: >
Eddi Boost hot water just turned OFF. Hot Water Temp: {{
states('sensor.sonoff_10011fde3e_temperature') }} °C
title: Hot Water
- service: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.eddi_boosting
mode: single
To send Telagram message when Boost turns on and for how many minutes:
alias: Notify when Eddi BOOST turns ON
description: ''
trigger:
- platform: state
entity_id:
- sensor.myenergi_eddi_14771666_status
to: Boosting
- platform: state
entity_id:
- sensor.eddi_status
to: boosting
condition: []
action:
- service: telegram_bot.send_message
data:
message: >
Eddi Boost hot water just turned ON for {{
states("input_number.eddi_boost_minutes") | int }} minutes. Hot Water
Temp: {{ states('sensor.sonoff_10011fde3e_temperature') }} °C
title: Home
mode: single
Notify when Eddi Boost is turned on from the MyEnergi App and to turn on the UI boost switch to match:
alias: 'Notify when Eddi Boost turns ON and turn ON Input_boolean Switch in UI '
description: >-
Turns ON the input.boolean_eddi_boost on UI if manually switched ON in the
MyEnergi App or when Max Temp Reached
trigger:
- platform: state
entity_id:
- sensor.eddi_status
to: boosting
- platform: state
entity_id:
- sensor.myenergi_eddi_14771666_status
to: Boosting
condition: []
action:
- service: telegram_bot.send_message
data:
message: >
Eddi Boost hot water just turned ON. Hot Water Temp: {{
states('sensor.sonoff_10011fde3e_temperature') }} °C
title: Home
enabled: false
- service: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.eddi_boosting
mode: single
Finally to turn off the UI Boost switch and send Telegram message when Boost is turned off by the MyEnergi App:
alias: Turn OFF Eddi Boost Input_boolean Switch in UI
description: >-
Also turns off the input.boolean_eddi_boost on UI if manually switched off in
the MyEnergi App or when Max Temp Reached
trigger:
- platform: state
entity_id:
- sensor.eddi_status
to: reached
- platform: state
entity_id:
- sensor.myenergi_eddi_14771666_status
to: Max temp reached
- platform: state
entity_id:
- sensor.myenergi_eddi_14771666_status
to: Stopped
- platform: state
entity_id:
- sensor.myenergi_eddi_14771666_status
to: Paused
condition: []
action:
- service: telegram_bot.send_message
data:
message: >
Eddi Boost hot water just turned OFF. Hot Water Temp: {{
states('sensor.sonoff_10011fde3e_temperature') }} °C
title: Home
enabled: false
- service: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.eddi_boosting
mode: single