![zwave ceiling fan control zwave ceiling fan control](https://i5.walmartimages.com/asr/63421f7f-8e59-4215-b6cb-57a0cb414fd1_1.60da73b8fcfa62f34ac6f49d9df43feb.jpeg)
- #Zwave ceiling fan control how to#
- #Zwave ceiling fan control update#
- #Zwave ceiling fan control code#
#Zwave ceiling fan control code#
Of course, you can do the same thing writing your own Arduino or MicroPython code if you prefer those frameworks.
#Zwave ceiling fan control update#
The over the air update feature built into the software means you can flash updates to devices without having to plug them into your computer. Not only is it really easy to get started, but it creates a very robust connection with Home Assistant that takes into all the edge cases that come with embedded programming. I’ve been starting to use esphome lately and have been really been impressed with the software. you can find the installation instructions in their documentation. Once you’ve got it hooked up, it’s time for the software side. Finally, I’m using pin 14 for data communication.
You can tie GND to any GND pin on the ESP8266 and the 5V line must go the VIN pin on the ESP8266. The DHT22 comes with 3 wires: GND, 5V, and data.
![zwave ceiling fan control zwave ceiling fan control](https://www.govets.com/media/catalog/product/cache/4d14faf73cabeb1d26916740a51bd54f/a/b/ab29f2f2947c25586fa84fb442e87b1864f9cce1bc705a32d5e793b335f60b8c.jpeg)
Hooking up the DHT22 to the ESP8266 is very straightforward. On the software side, I’ll be using esphome to create the firmware and communicate with Home Assistant. I love this combination for building cheap WiFi enabled temperature sensors for my home. A cheap but very robust solution is using an ESP8266 NodeMCU with a DHT22 sensor. Everything from Z-Wave multisensors, ZigBee solutions, and of course DIY alternatives. There are plenty of ways to read temperature data from a room and get it into Home Assistant. If you’ve already got a way to get the temperature of a room in Home Assistant, go ahead and skip over this section.
#Zwave ceiling fan control how to#
If you don’t already have real-time temperature data for the room you want to cool down, this article starts with a mini-tutorial on how to create a cheap WiFi temperature sensor using an ESP8266 NodeMCU, a DHT22 sensor, and esphome. If you’re looking at hooking up your ceiling fan to Home Assistant in the first place, check out my article on Convert Your Pull-Chain Ceiling Fan to Z-Wave using the GE Z-Wave Smart Fan Controller. Today’s article will be looking at automating a multi-speed smart fan to automatically cool a room using Home Assistant. Wouldn’t it be great if you could automatically start to cool it down when it reached a certain temperature? Even better, shouldn’t it start at a low speed and ramp up as the room got hotter and hotter. It’s far away from its thermostat and doesn’t get good circulation. The office in my house just doesn’t cool down as fast as the rest of the house.