Smart fan control via RF cloning remote, relays, NodeMCU, ESPHome, Home Assistant!
I managed to automate a non-smart fan using some spare parts from a previous project. This was a fairly simple task with good results!
First I cloned my existing fan remote using a cheap eBay cloning remote (433MHz). Next, I took the remote control board and wired it up to a 4-way relay board. Next, I configured a NodeMCU with ESPHome so that it controlled the relay board via GPIO outputs. Finally, I setup the ESPHome device in Home Assistant so it presents itself as a fan. This was achieved using the "Template Fan" feature of Home Assistant. I boxed everything up neatly and power it all with a 12V 1.5A wall wart. I'm certain there is a simpler and easier way to do it but you can't beat the value of using up spare parts on a weekend ;)
---
ESPHome device code: https://pastebin.com/SAXmDeVi
Sample fan script: https://pastebin.com/e1RFrLL7
Template Fan configuration code: https://pastebin.com/gGUGmCsV
Видео Smart fan control via RF cloning remote, relays, NodeMCU, ESPHome, Home Assistant! канала Gareth Oakes
First I cloned my existing fan remote using a cheap eBay cloning remote (433MHz). Next, I took the remote control board and wired it up to a 4-way relay board. Next, I configured a NodeMCU with ESPHome so that it controlled the relay board via GPIO outputs. Finally, I setup the ESPHome device in Home Assistant so it presents itself as a fan. This was achieved using the "Template Fan" feature of Home Assistant. I boxed everything up neatly and power it all with a 12V 1.5A wall wart. I'm certain there is a simpler and easier way to do it but you can't beat the value of using up spare parts on a weekend ;)
---
ESPHome device code: https://pastebin.com/SAXmDeVi
Sample fan script: https://pastebin.com/e1RFrLL7
Template Fan configuration code: https://pastebin.com/gGUGmCsV
Видео Smart fan control via RF cloning remote, relays, NodeMCU, ESPHome, Home Assistant! канала Gareth Oakes
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Setup Redback integration for Home AssistantDeta Smart Quad Switch 6904HA - how to flash ESPHome or TasmotaSonoff S26 R2 - how to flash ESPHome or TasmotaReview of Intel Celeron J4125 pfSense appliance (1090NP-12 motherboard)Daikin Airbase install (BRP15B61 Wireless LAN adapter)Daikin Airbase app review (Android)PIR occupancy sensors using NodeMCU, ESPHome, and Home AssistantVW Golf MK5 Head Unit Radio Replacement RCN210Daikin BRC1E63 installationRCN210 test of fresh installation in VW Golf MK5