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 RGBW + IR remote control and HAA #886

Closed topzoe closed 4 years ago

topzoe commented 4 years ago

Hi, I want flash a MagicHome RGBW+IR remote (like this:https://templates.blakadder.com/magichome_ZJ-WFMN-A_RGBW.html)

Question: is it possible to keep the IR fonctionality with the IR remote control? If yes, did someone have HAA Json exemple? GPIO04 = IRrecv GPIO05 = PWM2 GPIO12 = PWM1 GPIO13 = PWM3 GPIO15 = PWM4

Thank's a lot

toshibochan commented 4 years ago

@topzoe You can use this https://github.com/maccoylton/esp-homekit-rgbw-strip Go to wiki page, have instructions for install. And you can use EVE app for setup the settings for your device. In the EVE app you can chose the gpio pins and if is RGB or RGBW.

vniehues commented 4 years ago

@toshibochan could you elaborate on how to use this? Im looking to do the exact same thing as @topzoe but i cant find the right config.json for my strip...

Thank you!

toshibochan commented 4 years ago

Maccoylton firmware can chose the gpio pins using the EVE app and If your magic home led strip is RGB or RGB + IR turn off pure white on EVE app and if is RGBW or RGBW + IR you switch on pure white on EVE app.

vniehues commented 4 years ago

nice, thank you! Do you, by any chance, know a working config for RavenCore MagicHome RGBW? I'd rather not use the IR and not flash again...

topzoe commented 4 years ago

@topzoe You can use this https://github.com/maccoylton/esp-homekit-rgbw-strip Go to wiki page, have instructions for install. And you can use EVE app for setup the settings for your device. In the EVE app you can chose the gpio pins and if is RGB or RGBW.

Thank you a lot! It works great!!! and the IR remote is ok too!!! (Don't forget the code for add the accessory is "11111111")

vniehues commented 4 years ago

@topzoe Can you tell me which pins you used for which color? Im about to flash it aswell :)

toshibochan commented 4 years ago

@vniehues Don’t change the code. You can change the gpio using the EVE app.

vniehues commented 4 years ago

@toshibochan okay thank you! I've seen you opened this Issue... Did you get that resolved?Because thats exactly my issue right now with raven. Everything else works as expected.

toshibochan commented 4 years ago

You using RGBWW or RGB led strip? If you using RGBWW you switch ON pure white on eve app. If you use RGB led strip pure white have to be off and the light will be cold white.

vniehues commented 4 years ago

@toshibochan Already found it. Thank you! :)