iFan03 Tasmota with Alexa

Hi All,

I like to integrate my iFAN03 device with Alexa. However no succes

My Configration is as below

configration.yaml

cloud:
fan:
  - platform: mqtt  
    name: "hfan"
    command_topic: "hfan/cmnd/FanSpeed"
    speed_command_topic: "hfan/cmnd/FanSpeed"    
    state_topic: "hfan/stat/RESULT"
    speed_state_topic: "hfan/stat/RESULT"
    state_value_template: >
      {% if value_json.FanSpeed is defined %}
        {% if value_json.FanSpeed == 0 -%}0{%- elif value_json.FanSpeed > 0 -%}4{%- endif %}
      {% else %}
        {% if states.hfan.state == 'off' -%}0{%- elif states.hfan.state == 'on' -%}4{%- endif %}
      {% endif %}
    speed_value_template: "{{ value_json.FanSpeed }}"
    availability_topic: hfan/tele/LWT
    payload_off: "0"
    payload_on: "4"
    payload_low_speed: "1"
    payload_medium_speed: "2"
    payload_high_speed: "3"
    payload_available: Online
    payload_not_available: Offline
    speeds:
      - off
      - low
      - medium
      - high

I try both ways

  1. Hue Bridge : in this Alexa app detect 4 switch … but I can’t change speed of fan.
  2. Home Assistant Cloud : in this alexa app successfully detect hfan as fan … but still I can’t control fan speed using voice commands. I can switch off the fan … but thats it. Can’t switch it on using voice.
1 Like

I have an iFan03 and use HA cloud and voice controls work fine for me to control the fan speeds.

what phrases have you tried?

I say “set the bedroom fan to medium” and it works.

1 Like

Thanks … It is working

1 Like