Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stove entities wrongly set. #6

Open
kodacy opened this issue Dec 10, 2024 · 4 comments
Open

Stove entities wrongly set. #6

kodacy opened this issue Dec 10, 2024 · 4 comments

Comments

@kodacy
Copy link

kodacy commented Dec 10, 2024

Description:

No way to set the desired temperature, Room Thermostat is just a sensor not an actuator.
Heater air flow detected as UN 30026 is reported in º.C instead or Nr.
No way to control Crono. no way to set/enable time scheduled.
Error is seen as a switch

Versions:

home-assistant core: 2024.12.1
Charger Firmware Version: 4 Rev 75
Plugin Version: 0.6.0
@Stanojoski
Copy link

This is how I set the temperature within a script and it works:

data: entity_id: sensor.stove_boiler_target data_template: value: "{{ states('sensor.stove_boiler_water')|int }}" action: 4heat.set_value

image

image

@kodacy
Copy link
Author

kodacy commented Dec 10, 2024

Hello @Stanojoski thank you for the quick support

So I have created the scrip per your instructions:
imagem

But how do I test it and integrate it on the dashboard?

Thank you

@Stanojoski
Copy link

Stanojoski commented Dec 11, 2024

This is the code where I change the target temperature.

With the second entity (from the last image), I change the temp. with the input number (or numberbox card) to the desired temp. When that happens, automation kicks in.

image

`alias: 4heat input number change
description: ""
mode: single
triggers:

  • entity_id: input_number.4heat_boiler_target_temp
    trigger: state
    conditions:
  • condition: numeric_state
    entity_id: input_number.4heat_boiler_target_temp
    above: "40"
    below: "80"
    actions:
  • data:
    entity_id: sensor.stove_boiler_target
    data_template:
    value: "{{ states('input_number.4heat_boiler_target_temp')|int }}"
    action: 4heat.set_value
    `
    And if you change the target temp. from the controller, you would have to have this automation also to update the input number.

image

`alias: 4heat target temp change
description: ""
mode: single
triggers:

  • entity_id: sensor.stove_boiler_target
    trigger: state
    conditions:
  • condition: numeric_state
    entity_id: sensor.stove_boiler_target
    above: "40"
    below: "80"
    actions:
  • data_template:
    value: "{{ states('sensor.stove_boiler_target')|int }}"
    target:
    entity_id: input_number.4heat_boiler_target_temp
    action: input_number.set_value
    `

The third entity (from the last image) equalizes the target with the current stove temperature. so the stove will enter modulation. (this is the script from my first message.

image

`type: entities
entities:

  • entity: switch.stove_state
    icon: mdi:stove
  • entity: input_number.4heat_boiler_target_temp
    type: custom:numberbox-card
    name: "Set Stove target temp:"
    max_entity: 80
    max: 80
    min: 40
    step: 5
  • entity: script.set_4_heat_target_temp_to_4_heat_water_temp
    name: Target Water Temp`

@Stanojoski
Copy link

for a start, you can try it with simple input_number created in the helpers created in settings / devices and services / helpers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants