Tutorial on how to add Fersk Torr 20 and Fersk Torr 30 to Home Assistant
Note: I made this using Fersk Torr 20, keep in mind that your device can slightly differ (if you let me know I will update this instruction).
Follow the instructions from https://github.com/rospogrigio/localtuya to enable the integration and configure your local tuya account.
When your device is discovered you will need to configure entities for it (use default protocol version).
Use the table below to decipher the tuya api entities and configure your device.
Entity type | ID | Friendly name | Description | Inputs | Comments |
---|---|---|---|---|---|
Switch | 1 | fersk_torr_power | Turns on/off the device | ||
Select | 2 | fersk_torr_mode | Working mode of the device | 0: Auto (humidity based) 1: Laundry (continuous) |
Could be handled as switch |
Sensor | 3 | fersk_torr_current_humidity | Current humidity % | ||
Number | 4 | fersk_torr_target_humidity | Target humidity % (for Auto mode) | Manual suggests setting this to 30 - 80% with step 5 | |
Switch | 5 | fersk_torr_ionizer | Turns on/off the ionizer | ||
Select | 6 | fersk_torr_fan_speed | Fan speed | 0: High 1: Low |
Could be handled as switch |
Switch | 7 | fersk_torr_child_lock | Turns on/off the child lock | ||
Switch | 8 | fersk_torr_fan_swing | Turns on/off the fan swing | ||
Sensor | 11 | fersk_torr_status | The status of the device | 0: ok 8: tank full |
These are the ones I am aware of |
Select | 12 | fersk_torr_timer | Turns timer off or sets timer's minutes | 0: off 1-24: number of hours |
|
Sensor | 13 | fersk_torr_timer_countdown | Minutes left until device will be turned off by timer | ||
Switch | 101 | fersk_torr_inside_drying | Turns on/off the inside drying |
Status only reports numbers, to give it a little meaning you can set up a template that will map its number to descriptions.
You can use following template as an example (I named it fersk_torr_status_text
so I can distinguish it from original sensor:
{% if states.sensor.fersk_torr_status.state == '0' %}
ok
{% elif states.sensor.fersk_torr_status.state == '4' %}
defrosting
{% elif states.sensor.fersk_torr_status.state == '8' %}
tank full
{% else %}
unknown
{% endif %}
Once you've got everything configured you can set up a dashboard, here is an example:
Example JSON for it:
type: vertical-stack
title: Fersk Torr
cards:
- type: horizontal-stack
cards:
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: switch.fersk_torr_power
name: Power
icon: mdi:power
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: switch.fersk_torr_child_lock
name: Child lock
icon: mdi:account-lock
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: switch.fersk_torr_fan_swing
name: Fan swing
icon: mdi:fan-chevron-up
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: switch.fersk_torr_inside_drying
name: Inside drying
icon: mdi:weather-windy
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: switch.fersk_torr_ionizer
name: Ionizer
icon: mdi:creation
- type: entities
entities:
- entity: sensor.fersk_torr_status_text
name: Status
- entity: select.fersk_torr_mode
name: Mode
- entity: number.fersk_torr_target_humidity
name: Target humidity
icon: mdi:water-percent
- entity: sensor.fersk_torr_current_humidity
name: Current humidity
- entity: select.fersk_torr_fan_speed
name: Fan speed
icon: mdi:speedometer
- entity: select.fersk_torr_timer
name: Timer
icon: mdi:fan-clock
- entity: sensor.fersk_torr_timer_countdown
name: Timer countdown
icon: mdi:counter