/esphome-shelly-cloudline

ESPHome configuration to drive an AC Infinity Cloudline fan with a Shelly RGBW2

MIT LicenseMIT

esphome-shelly-cloudline

ESPHome configuration to drive an AC Infinity Cloudline S3 fan via a Shelly RGBW-2. Though the fan only puts out 10V instead of 12V, this is still enough to power the Shelly and a few LEDs. There are 3 versions of the config:

  • Basic:
    • This is a basic config that just requires hooking the Shelly up to the molex connector.
    • Thanks to unrepentantgeek for figuring out how to do this, and coming up with the initial config.
  • 3-LED with button:
    • This version uses 3 separate single-color LEDs that will light in sequence to indicate the fan speed.
  • RGB LEDs with button:
    • This version uses 3 RGB LEDs (common anode!) and changes the color of the LEDs based on the fan speed. This allows those of us with bad eyesight to identify the fan speed from a distance.
    • This is the version I made and that you see in my photos. However, it's a very tight squeeze to get everything to fit. If I were to do this again I would just use the 3-LED config and use one each of red/green/blue LEDs.

Photo of this device next to a 6in Cloudline fan

3D Printable Enclosure

There are 3 versions of the enclosure for this project available for download at Printables. The basic version with no button can be printed in a single color, but you will probably need a multi-color printer for the rest.

If you would like to try your hand at modifying the models fit your own printing needs, you can find all 3 versions in a single document at Onshape.

Additional parts

Instructions

For the basic setup, you just need to connect the first 3 wires from the molex to DC, GND, and W (or you can edit the config and use a different PWM):

Photo of this device showing the basic 3 wires needed for it to work

For the RGB and button setups, you will need to follow the Shelly wiring diagrams for both the button and the LED setup you are using. It's most likely the last one of their examples that looks that looks like this:

Screenshot of Shelly wiring diagram that most likely lines up with this project

  • Remember that the Shelly is designed for RGB strips with a common anode, so you will need to use the correct kind of RGB LEDs and/or hook single-color LEDs up "backwards" to how most of us are used to using them.
  • When calculating resistor values, remember that the fan puts out 10V, not the more customary 12V.

Flashing Shelly with ESPHome

There doesn't seem to be a way to use the official Shelly firmware to control the PWM outputs in the way that the fan needs, so you will need to re-flash it with ESPHome (and one of the config files in this repository).

Here is a great tutorial for how to do that.

External References

Other users have attempted similar, however the design here using a Shelly is preferred both for its ease of setup and electrical safety.