projects:arlec_smart_fans:overview
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:arlec_smart_fans:overview [2023/10/30 08:04] – tjhowse | projects:arlec_smart_fans:overview [2023/11/01 04:57] (current) – tjhowse | ||
---|---|---|---|
Line 2: | Line 2: | ||
====== Smart fan ====== | ====== Smart fan ====== | ||
- | I bought an Arlec smart fan. It has a WR4 wifi module inside, | + | I bought an Arlec smart fan. It has a WR4 wifi module inside, based on an RTL8710BN. These are now supported by esphome. |
https:// | https:// | ||
Line 11: | Line 11: | ||
https:// | https:// | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
{{: | {{: | ||
Line 17: | Line 21: | ||
{{: | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | < | ||
+ | esphome: | ||
+ | name: fan-1 | ||
+ | friendly_name: | ||
+ | |||
+ | rtl87xx: | ||
+ | board: generic-rtl8710bn-2mb-788k | ||
+ | |||
+ | # Enable Home Assistant API | ||
+ | api: | ||
+ | encryption: | ||
+ | key: "< | ||
+ | |||
+ | ota: | ||
+ | password: "< | ||
+ | |||
+ | wifi: | ||
+ | ssid: !secret wifi_ssid_2 | ||
+ | password: !secret wifi_password_2 | ||
+ | |||
+ | uart: | ||
+ | rx_pin: GPIO18 | ||
+ | tx_pin: GPIO23 | ||
+ | baud_rate: 9600 | ||
+ | tuya: | ||
+ | |||
+ | fan: | ||
+ | - platform: " | ||
+ | name: " | ||
+ | switch_datapoint: | ||
+ | speed_datapoint: | ||
+ | direction_datapoint: | ||
+ | speed_count: | ||
+ | |||
+ | |||
+ | light: | ||
+ | - platform: " | ||
+ | name: " | ||
+ | switch_datapoint: | ||
+ | dimmer_datapoint: | ||
+ | min_value: 0 | ||
+ | max_value: 100 | ||
+ | color_temperature_datapoint: | ||
+ | color_temperature_max_value: | ||
+ | cold_white_color_temperature: | ||
+ | warm_white_color_temperature: | ||
+ | </ | ||
+ | |||
+ | Initial flashing done with a USB-TTL serial adaptor using the wiring diagram shown above and ltchiptool. I took a backup of the stock firmware with < | ||
+ | |||
+ | Works mostly perfectly. OTA updates via wifi only work occasionally, | ||
+ |
projects/arlec_smart_fans/overview.1698653063.txt.gz · Last modified: 2023/10/30 08:04 by tjhowse