User Tools

Site Tools


projects:arlec_smart_fans:overview

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:arlec_smart_fans:overview [2023/10/30 11:20] tjhowseprojects: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, supposedly based on an RTL8710BN. These are now supported by esphome.+I bought an Arlec smart fan. It has a WR4 wifi module inside, based on an RTL8710BN. These are now supported by esphome.
  
 https://docs.libretiny.eu/docs/platform/realtek-ambz/#flashing https://docs.libretiny.eu/docs/platform/realtek-ambz/#flashing
Line 13: Line 13:
  
 {{:projects:arlec_smart_fans:pasted:20231030-112019.jpeg}} {{:projects:arlec_smart_fans:pasted:20231030-112019.jpeg}}
 +
 +{{:projects:arlec_smart_fans:pasted:20231030-112042.png}}
  
 {{:projects:arlec_smart_fans:pasted:20231030-033719.jpeg}} {{:projects:arlec_smart_fans:pasted:20231030-033719.jpeg}}
Line 19: Line 21:
  
 {{:projects:arlec_smart_fans:pasted:20231030-080423.png}} {{:projects:arlec_smart_fans:pasted:20231030-080423.png}}
 +
 +{{:projects:arlec_smart_fans:pasted:20231101-045735.png}}
  
 <code> <code>
Line 67: Line 71:
     warm_white_color_temperature: 400 mireds     warm_white_color_temperature: 400 mireds
 </code> </code>
 +
 +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 <code>ltchiptool flash read ambz stock.bin</code> then I used esphome to generate the uf2 file and flashed it using <code>ltchiptool flash write <filename>.uf2</code>
 +
 + Works mostly perfectly. OTA updates via wifi only work occasionally, perhaps inside a 30-60 second window after the RTL chip powers on. It takes a fair bit of bouncing the power and retrying the connection to get it to stick.
 +
projects/arlec_smart_fans/overview.1698664821.txt.gz · Last modified: 2023/10/30 11:20 by tjhowse