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

Enhancement ? Floor Temp driven #27

Closed
IanAdd opened this issue Jul 1, 2020 · 4 comments
Closed

Enhancement ? Floor Temp driven #27

IanAdd opened this issue Jul 1, 2020 · 4 comments

Comments

@IanAdd
Copy link

IanAdd commented Jul 1, 2020

Is it possible to control the BHT-002GBLW, which has the floor temp sensor, so that it operates the relay operation based upon whether the floor temp has reached the target temperature ?

@Bl00d-B0b
Copy link

Hello,

yes, you can do it. check thermostat documentation:

gimtoji.pdf

Code 4.

Edward

@IanAdd
Copy link
Author

IanAdd commented Jul 24, 2020

Sorted, here is my solution.

climate:
  - platform: mqtt
    name: OZ_Ensuite_Thermostat
    availability_topic: "oz_ensuite/tele/LWT"
    payload_available: "Online"
    payload_not_available: "Offline"
    action_topic: "oz_ensuite/stat/things/thermostat/properties"
#    action_template: "{{value_json.action}}"
    action_template: >
      {% if (value_json.targetTemperature|float <= value_json.floorTemperature|float) and value_json.action == 'heating' %}
        idle
      {% else %}
       {{value_json.action}}
      {%endif%}
    temperature_command_topic: "oz_ensuite/cmnd/things/thermostat/properties/targetTemperature"
    temperature_state_topic: "oz_ensuite/stat/things/thermostat/properties"
    temperature_state_template: "{{value_json.targetTemperature}}"
    # set current temp to temp of floor sensor not room temp
    current_temperature_topic: "oz_ensuite/stat/things/thermostat/properties"
    current_temperature_template: "{{value_json.floorTemperature}}"
    away_mode_command_topic: "oz_ensuite/cmnd/things/thermostat/properties/ecoMode"
    away_mode_state_topic: "oz_ensuite/stat/things/thermostat/properties"
    away_mode_state_template: "{{value_json.ecoMode}}"
    mode_command_topic: "oz_ensuite/cmnd/things/thermostat/properties/mode"
    mode_state_topic: "oz_ensuite/stat/things/thermostat/properties"
    mode_state_template: "{{value_json.mode}}"
    payload_on: "true"
    payload_off: "false"
    modes: [ "heat", "auto","idle", "off" ]
    min_temp: 5
    max_temp: 35
    temp_step: 0.5
    precision: 0.5

@Bl00d-B0b
Copy link

Hello,

I use openhab, and I can implement the same. but still I assume it's easy to implement in next release.

Ed

@fashberg
Copy link
Owner

fashberg commented Aug 2, 2020

Original Question how to enable external Sensor is answered.
Showing calculated action: idle state is handled also in #26

So i will close

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

3 participants