Skip to content

iFan04 "power on state" support #1735

@zacharee

Description

@zacharee

Here's the debug log for the iFan04:

2026-02-19 16:30:42 [D] SysInfo: {'installation_type': 'Home Assistant Container', 'version': '2026.2.2', 'dev': False, 'hassio': False, 'virtualenv': False, 'python_version': '3.13.11', 'docker': True, 'arch': 'x86_64', 'timezone': 'America/New_York', 'os_name': 'Linux', 'os_version': '6.12.41+', 'user': 'root', 'container_arch': 'amd64', 'sonoff_version': '3.9.3 (7c75c46)'}
2026-02-19 16:30:44 [D] 1 devices loaded from Cloud
2026-02-19 16:30:44 [D] 100268abbb UIID 0034 | {'version': 8, 'only_device': {'ota': 'success'}, 'TZ': 'America/New_York', 'sledOnline': 'off', 'configure': [{'startup': 'on', 'outlet': 0}, {'startup': 'off', 'outlet': 1}, {'startup': 'stay', 'outlet': 2}, {'startup': 'stay', 'outlet': 3}], 'fwVersion': '3.6.1', 'init': 1, 'rssi': -61, 'switches': [{'switch': 'off', 'outlet': 0}, {'switch': 'off', 'outlet': 1}, {'switch': 'off', 'outlet': 2}, {'switch': 'off', 'outlet': 3}]}
2026-02-19 16:30:44 [D] AUTO mode start
2026-02-19 16:30:45 [D] CLOUD change state old=None, new=True
2026-02-19 16:30:45 [D] Add 4 entities
2026-02-19 16:30:46 [D] 100268abbb <= Local3 | 192.168.1.106:8081 | {'light': 'off', 'fan': 'off', 'speed': 1, 'startup_light': 'on', 'startup_fan': 'off', 'sledOnline': 'off'} | 2

In the app, I have the light's (outlet 0) mode set to "on" and the fan's (outlet 1) set to "off". I'm guessing outlets 2 and 3 are the other speeds of the fan and it only pays attention to outlet 1's power on mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions