# \[HOW-TO\]\[Pro\] Local control for Tuya ceiling fans, plus a Summer/Winter widget – guide with Claude prompts

**URL:** <https://community.homey.app/t/how-to-pro-local-control-for-tuya-ceiling-fans-plus-a-summer-winter-widget-guide-with-claude-prompts/162461>\
**Category:** Tutorials\
**Created:** [November 19, 2026, 10:37pm UTC](https://community.homey.app/t/how-to-pro-local-control-for-tuya-ceiling-fans-plus-a-summer-winter-widget-guide-with-claude-prompts/162461 "2026-11-19T22:37:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simon\_Salvin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/simon_salvin/32/144694_2.png) [@Simon\_Salvin](https://community.homey.app/u/Simon_Salvin)\
**Post date:** [November 19, 2026, 10:37pm UTC](https://community.homey.app/t/how-to-pro-local-control-for-tuya-ceiling-fans-plus-a-summer-winter-widget-guide-with-claude-prompts/162461/1 "2026-11-19T22:37:06Z")

</div>

If you’ve got a Tuya ceiling fan and tried adding it to Homey, you might have had the same surprise I did. Homey could see the light, not a problem, but the fan itself was nowhere to be found. No speed, no direction, none of the other settings, and Home Assistant was just as bad. So our two Mantra fans ended up running through Homebridge, one more platform to look after just for two fans.

So I built a Homey app for them with Claude, completely local, no Tuya cloud and no internet needed once it’s set up. I’ve written it all up as a guide, with the Claude prompts for every stage, so you can build your own 👇

**Full guide (PDF):** [https://www.simple-pc.com/ceiling-fan-guide](https://www.simple-pc.com/ceiling-fan-guide)

 ![IMG_8825](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/e/ee38c88e43df7d57360e0f0eb51acdec5da8aed2.png)

**What you end up with**

- Each fitting as two devices, a fan and a light, so the light is a proper Homey light and joins its zone and “all lights off”
- Fan speed, Summer/Winter direction, light brightness and warm to cool white
- A Season Mode widget for the dashboard, one tap swaps every fan between Summer and Winter, and the fans remember it for the next time they start
- Flow cards to set one fan or all fans, and triggers when the season changes
- Pairing and settings in the Homey app, so if a fan is reset you just paste in the new key, no rebuild
- An optional fix for fans that switch their own light on every time the fan turns off (ours did, and it drove me mad!)

**What you need**

- Homey Pro (firmware 12.1 or newer)
- A Mac or PC with Node.js and the Homey CLI
- Claude Code
- Your fans already working in the Smart Life or Tuya Smart app
- A free Tuya developer account, used once to get each fan’s device ID and local key

The guide is written for Tuya’s local protocol 3.5, which is what our fans use, and the first stage checks what yours speaks before anything gets built.

If you’d rather not build anything, Andi’s Tuya Local app is worth a look first, it may well cover your fan already.

If you’d like the story behind it, and why I think local beats cloud in the smart home, the blog post is here: [https://www.simple-pc.com/post/keeping-the-fans-at-home-our-mantra-fan-app](https://www.simple-pc.com/post/keeping-the-fans-at-home-our-mantra-fan-app)

Any questions, or if you build one, let me know how it goes 😁
