Anko HEGSM40 Fan (HEGSM40)
Anko HEGSM40

Available from:


Install method:

GPIO #Component
GPIO00 None
GPIO01 None
GPIO02 None
GPIO03 None
GPIO04 None
GPIO05 None
GPIO09 None
GPIO10 None
GPIO12 None
GPIO13 Tuya Rx
GPIO14 None
GPIO15 Tuya Tx
GPIO16 None
Configuration (old format, will be converted to new template when applied)
{"NAME":"Anko HEGSM40","GPIO":[0,0,0,0,0,0,0,0,0,108,0,107,0],"FLAG":0,"BASE":54}
WARNING: New Tuya devices have replaced their Wi-Fi module with one incompatible with Tasmota!!!
Tuya-Convert might not be possible for this device since the template was added (2020-02-20).

The MCU uses has the following functionality mapped to various DpIds:

  • Power is on DpId1, and works by default via the POWER1 command.
  • Fan oscillation is an Enum on DpId 4.
  • Fan speed is an Enum on DpId 3 with values ranging from 0 to 7 inclusive. Add 1 to the DpId 3 value to get the speed that is reported on the front of the fan.
  • The operating modes are an Enum on DpId 2. The “normal” mode is value 0, “nature” mode is value 1, and “sleep” mode is value 2.
  • The timer setting is an Enum on DpId 6.