AVM recently introduced a new smart radiator FRITZ DECT 302. Is someone already working on the Home Assistant integration of the new device similar to the earlier versions 300 and 301?
I never digged too deep into HA but from what I see the the miracle surely lies with the
/config/.storage/core.* files.
I played a bit with these for testing purpuses only and added an entry similar to the DECT 200 devices I got by utilizing the “entry_id” from the core.config_entries file matching my fritzbox which I used to create a slightly modified entry in core.device_registry with the following changes against the DECT 200 entry.
a randomly created “id” and th number within “identifiers” as listed for the AVM 302 on the fritzbox.
And well I also changed the “model” to “FRITZ!DECT 302” and used “name” “TRV sofa”
Where I got stuck was the core.entity_registry file since I wasn’t sure about what to add here.
So I simply copied one of the temperature entries from a DECT!200 so it matches the IDs and names, But after having fired up HA I think by now that I did way too much since not only the 1 TRV I tried to see if I can get this involked is recognised by HA but also the other ones.
Not to mention that all the entities for all the 302 devices connected to the fritzbox do appear within HA.
Looks to me if I only needed to define it manually within the core.device_registy, the rest is done by HA-magic.
Correct? Anyone in here willing to enlighten me why it was that easy? And since it was … any idea if it’s more but a 1-liner in the existing fritzbox smarthome integration to make the 302 devices being recognised automatically?
Or did all of that simply happen because I rebooted the HA host?
I also would appreciate full support of this device in HA
I would like to control switches depending on the current status of the DECT302 in order to be able to switch other devices on or off. To do this, however, I would need to be informed about status changes such as mode changes etc. and be able to read out the current mode. I wonder why this information is available in OpenHAB but not in the Home Assistant.
@samo9999 you’re asking for support on how to create an automation in HA and make use of the different available triggers. In your case just use the entity state trigger, select the climate entity of your thermostat and choose the wanted attribute.
Anyway, your question should go to the Configuration section of this forum.
@syt6ss the dect 302 should work out of the box, since its interface (api) is the same as of the 301.
I’ve tried to use the entity state trigger, but I can’t find the attribute for e.g. boostactive or boostactiveendtime:
2024-10-28 12:28:54.590 DEBUG (SyncWorker_1) [pyfritzhome.devicetypes.fritzhomeentitybase] b'<device identifier="13979 0792005" id="18" functionbitmask="320" fwversion="05.18" manufacturer="AVM" productname="FRITZ!DECT 302"><present>1</present><txbusy>0</txbusy><name>FRITZ!DECT 302 #1</name><battery>90</battery><batterylow>0</batterylow><temperature><celsius>210</celsius><offset>0</offset></temperature><hkr><tist>42</tist><tsoll>40</tsoll><absenk>36</absenk><komfort>40</komfort><lock>0</lock><devicelock>0</devicelock><errorcode>0</errorcode><windowopenactiv>0</windowopenactiv><windowopenactiveendtime>0</windowopenactiveendtime><boostactive>1</boostactive><boostactiveendtime>1730119398</boostactiveendtime><batterylow>0</batterylow><battery>90</battery><nextchange><endperiod>1730588400</endperiod><tchange>40</tchange></nextchange><summeractive>0</summeractive><holidayactive>0</holidayactive><adaptiveHeatingActive>0</adaptiveHeatingActive><adaptiveHeatingRunning>0</adaptiveHeatingRunning></hkr></device>'
Only the following attributes seems to be available:
trigger:
id: '0003'
idx: '1'
alias: null
platform: state
entity_id: climate.fritz_dect_302_1
from_state:
entity_id: climate.fritz_dect_302_1
state: heat
attributes:
hvac_modes:
- heat
- 'off'
min_temp: 8
max_temp: 28
preset_modes:
- eco
- comfort
current_temperature: 20.5
temperature: 20
preset_mode: comfort
battery_low: false
battery_level: 90
holiday_mode: false
summer_mode: false
window_open: false
friendly_name: 'FRITZ!DECT 302 #1'
supported_features: 17
last_changed: '2024-10-28T05:59:24.888006+00:00'
last_updated: '2024-10-28T15:35:54.661756+00:00'
context:
id: 01JB9W9YH56T36JW12Q9N13WY7
parent_id: null
user_id: null**strong text**