Mqtt fan. MQTT client to control a PWM fan from a raspberry pi A simple python script to control a fan from Home Assistant. I’ve tested both of the code configs below on the iFan03 but they should also work on the iFan02 as long as the topics are the same. . x does not work with the old style I used earlier. The newer version of MQTT fan in 2021. Fill in the yellow sections with the appropriate info. To use an MQTT fan in your installation, add a MQTT device as a subentry, or add the following to your configuration. Apr 9, 2021 · For anyone that is trying to configure their iFan03/02 MQTT fans using the newest fan controls here are the ways I have configured mine. yaml file, restart Home Assistant to apply the changes. Jun 17, 2023 · First, make sure you set up your MQTT section by clicking Configuration -> Configure MQTT. After changing the configuration. With the fan domain you can create components that appear as fans in the Home Assistant frontend. Apr 10, 2021 · I have multiple MQTT operated fans and it worked (still works but will be deprecated soon) well. yaml file. A fan can be switched on or off, optionally has a speed between 1 and the maximum supported speed of the fan, and can have an oscillation and direction output. Give the switch a descriptive name in the "Topic" so you can tell what it is among all the other MQTT stuff you have. 4. vdqaaotuvwjijuuradksebmwwazwiiaycoqqteyqhgbklienwykwqmpybk