Differences

This shows you the differences between two versions of the page.

Link to this comparison view

magichome [09.02.2018 08:24] (current)
Pascal Suter created
Line 1: Line 1:
 +====== MagicHome RGB(WC) LED Controllers ======
 +can be purchased on Banggood and Aliexpress for just a few $ (usually around 8-15$ depending on abilities and packaging). ​
  
 +works best with the Tasmota firmware on them so they can be controlled by mqtt 
 +
 +since they change their pin-assignments alot, usually the tasmota template in ''​sonoff_template.h''​ must be adopted. ​
 +
 +here are two templates i got working on my two MagicHome devices
 +
 +Cheap RGB <​code>​
 +  { "​MagicHomeRGB", ​      // Magic Home (aka Flux-light) (ESP8266) - httpstasmota://​www.aliexpress.com/​item/​Magic-Home-Mini-RGB-RGBW-Wifi-Controller-For-Led-Strip-Panel-light-Timing-Function-16million-colors/​32686853650.html
 +     0, 0,
 +     ​GPIO_LED1_INV, ​   // GPIO02 Blue onboard LED
 +     0,
 +     ​GPIO_USER, ​       // GPIO04 IR receiver (optional)
 +     ​GPIO_PWM2, ​       // GPIO05 RGB LED Green
 +     0, 0, 0, 0, 0, 0, // Flash connection
 +     ​0, ​               // 
 +     ​GPIO_PWM3, ​       // GPIO13 RGB LED Blue
 +     ​GPIO_PWM1, ​       // GPIO14 RGB LED Red
 +     0, 0, 0
 +  },
 +</​code>​
 +
 +More expensive, large box RGBWC (Warm and cold White)<​code>​
 +{ "​MagicHome", ​      // Magic Home (aka Flux-light) (ESP8266) - httpstasmota://​www.aliexpress.com/​item/​Magic-Home-Mini-RGB-RGBW-Wifi-Controller-For-Led-Strip-Panel-light-Timing-Function-16million-colors/​32686853650.html
 +     0, 0,
 +     ​GPIO_LED1_INV, ​   // GPIO02 Blue onboard LED
 +     0,
 +     ​GPIO_USER, ​       // GPIO04 IR receiver (optional)
 +     ​GPIO_PWM5, ​       // GPIO05 Cold White
 +     0, 0, 0, 0, 0, 0, // Flash connection
 +     ​GPIO_PWM2, ​       // GPIO12 RGB LED Green
 +     ​GPIO_PWM3, ​       // GPIO13 RGB LED Blue
 +     ​GPIO_PWM1, ​       // GPIO14 RGB LED Red
 +     ​GPIO_PWM4, ​       // GPIO15 Warm White
 +     0, 0
 +  },
 +</​code>​