RavenSystem / esp-homekit-devices

Advanced firmware to add native Apple HomeKit and custom configurations, compatible with any SoC based on ESP32, ESP32-S, ESP32-C and ESP8266 series. (Shelly, Sonoff, Electrodragon, Tuya...)
Other
2.72k stars 357 forks source link

Magichome json template RGB #1603

Closed dicker182 closed 2 years ago

dicker182 commented 2 years ago

Good day, I am trying to get an working template. The one I found works only with color blue and brightness control. Red and green are dark.

{"c":{"b":[{"g":0,"t":5}]},"a":[{"t":30,"g":[15,13,12,14],"b":[{"g":0}]}]}

Hope you could help

maccoylton commented 2 years ago

Different variants of that controller use different GPIO's, I have three controllers I use currently and two variants

Red:14, Green:5, Blue:12, White:13 Red:12, Green:5, Blue:13, White:15

dicker182 commented 2 years ago

Thank so far

So I have to do try and error with this for numbers? [15,13,12,14] Sry, but I am totaly a noob with this templates.