esp-rainmaker icon indicating copy to clipboard operation
esp-rainmaker copied to clipboard

Fan dimmer not working in alexa App (MEGH-3678)

Open sonetonix-iot opened this issue 2 years ago • 18 comments

All parameters are listed in alexa App. i can control lights/switches from the alexa App,but i can't able to control dimmer/fan speed using alexa app.

sonetonix-iot avatar Jul 23 '22 10:07 sonetonix-iot

hello i am working on same project can you halp me

jamsyogendra avatar Jul 23 '22 10:07 jamsyogendra

https://github.com/espressif/esp-rainmaker/issues/139#issue-1311268564

jamsyogendra avatar Jul 23 '22 10:07 jamsyogendra

hello i am working on same project can you halp me

how you integrate the IR Remote control with this esp rain maker App

sonetonix-iot avatar Jul 23 '22 10:07 sonetonix-iot

using IR lib

jamsyogendra avatar Jul 23 '22 10:07 jamsyogendra

#include <IRremote.h>

jamsyogendra avatar Jul 23 '22 10:07 jamsyogendra

did you control IR function from ESP RAINMAKER App ?

sonetonix-iot avatar Jul 23 '22 10:07 sonetonix-iot

yes i did it also with manually feadback with manual switch and ir switch

jamsyogendra avatar Jul 23 '22 10:07 jamsyogendra

it means if you press any button in App, the user's custom IR command will illuminate right?

sonetonix-iot avatar Jul 23 '22 11:07 sonetonix-iot

yes

jamsyogendra avatar Jul 23 '22 11:07 jamsyogendra

Okay thank you

sonetonix-iot avatar Jul 23 '22 11:07 sonetonix-iot

whats about fan dimmer which technics are you using from control fan speed or control brigtness of AC.

Zerocross of relays base?

jamsyogendra avatar Jul 23 '22 11:07 jamsyogendra

both techs used ...circuit side no problem

sonetonix-iot avatar Jul 23 '22 11:07 sonetonix-iot

can you share some details about zero cross dimming method or also coding part of it bcz i getting problem from coding side i dont know how to map my dimming value on slider(esp maker app)

this part

BLYNK_WRITE(V0) { // Set to your virtual pin
outVal = param.asInt(); // Get State of Virtual Button dim_val = map(outVal, 0, 1023, 0, 100); // mapped the value for dimmer dimmer.setPower(dim_val); // Set dimmer power Blynk.virtualWrite(V1, dim_val); //sending to Blynk }

jamsyogendra avatar Jul 23 '22 11:07 jamsyogendra

what type of bulb led or incandecent

sonetonix-iot avatar Jul 23 '22 11:07 sonetonix-iot

ac bulb or we can say ac dimmer

https://www.tinytronics.nl/shop/en/robotdyn-thyristor-ac-dimmer-3.3-5v

jamsyogendra avatar Jul 23 '22 11:07 jamsyogendra

Anything solution

jamsyogendra avatar Jul 23 '22 14:07 jamsyogendra

there will be an example program, as you mentioned link. it will work

sonetonix-iot avatar Jul 25 '22 04:07 sonetonix-iot

@jamsyogendra are you able to dimming your ac fan if yes can you please share your time sync function with zero-cross detection?

fenilGhoghari avatar Apr 08 '23 05:04 fenilGhoghari