Danfoss Ally TRV set external temperature with deconz integration

I think I was able to to set the parameter and the update said done. But when looking in the phozcon interface it still says 01.12.0008 01.12 where do you look at the version number?

Phoscon for firmware 1.18 will show you this in Devices->Sensors

Attribute Radiator Covered is there in previous firmwares but it is doing nothing at all.

Ok so i removed it and added it again now it says its on 18.

Question about the external sensor. Should i not see that as a sensor i homeassiant i only see it in deconz attribute?
But not reflecting the thermostat temp is that how it going to be?


image

HA will show you temperature on TRV. But don’t worry. External temp is working fine.
One of mine is currently at 31 but room temperature is at 22.9 so the valve is still open.
You can expose valve opening with sensor template like this

value_template: "{{ state_attr('climate.living_room_trv', 'valve')|int }}"

Tried this but did not work:

Can you please share yours?

I have it in old template sensor syntax like this

  - platform: template
    sensors:
      living_room_trv_valve:
        friendly_name: "Living room TRV valve"
        value_template: "{{ state_attr('climate.living_room_trv', 'valve')|int }}"
        unit_of_measurement: "%"
        device_class: power_factor
        icon_template: >-
            {%set val= state_attr('climate.living_room_trv', 'valve')|int %}
            {%if val < 15 %}
              hass:numeric-0-circle-outline
            {%elif val < 25 %}
              hass:numeric-1-circle-outline
            {%elif val < 45 %}
              hass:numeric-2-circle-outline
            {%elif val < 65 %}
              hass:numeric-3-circle-outline
            {%elif val < 85 %}
              hass:numeric-4-circle-outline
            {%else%}
              hass:numeric-5-circle-outline
            {%endif%}

Thank you for youre blueprint, working perfect :slight_smile:

I’m trying to get window information from deconz, is there some place to see which attributes there are available in homeassistant and ideally how to call them. How did you find out that the valve attribute was possible to call in home assistant?

Just check entity attributes in Developer tools → States.
Window open feature is avaible in deconz API but is not exposed in climate entity. You could make a rest call sensor and pull it from there but why would you want that? If you need to know whether window is actually open you’d better use window/door sensor for this. Much much more reliable :wink:

This is brilliant! So easy to setup. Thanks!

Please use this one if you have firmware 1.18 or something newer
https://community.home-assistant.io/t/danfoss-ally-1-18-set-external-temperature-to-radiator-covered-trv/380219

1 Like

Looks great. I’ll update the firmware and try it out :+1:.