Closed rahulprajapati22 closed 3 years ago
?
how to change fan speed to esp to server
Excuse me, but I still don't understand your question. Can you please explain in detail?
sir fan speed to control alexa to esp show to serial monitor Fan speed changed to 1 ...2 ...3 than i try to change to fan speed change in esp manual change on code like set fan speed 2 show change on server and alexa app
Ah, you want to send the speed to the server. I think I have now understood your question.
It depends on which SinricPro device you are using:
For detailed information, see the manual SinricProFan SinricProFanUS
sendRangeValueEvent() give me any example
sendRangeValueEvent(speed);
sry sir it not works Can you please explain in detail with example ?
What does not work?
Can you show the relevant code and serial debug log please?
Code example is simple sendRangeVaueEvent()
SinricProFanUS &myFan = SinricPro[FAN_ID]; myFan.sendRangeValueEvent(speed);
On Wed, 5 May 2021 at 7:09 PM Boris Jäger @.***> wrote:
What does not work? Can you show the relevant code and serial debug log please? Code example is simple sendRangeVaueEvent()
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sinricpro/esp8266-esp32-sdk/issues/184#issuecomment-832636597, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZR6SIUOFGDGFHKJIVDTMEYQPANCNFSM44ENX6CA .
myFan.sendRangeValueEvent(1);
delay(2000);
myFan.sendRangeValueEvent(2);
delay(2000);
myFan.sendRangeValueEvent(3);
delay(2000);
```not working
change on server device online and offline continue
Don't use delay. The events are queued and will be send in next loop() round when SinricPro.handle() is called.
ok thank done
This issue has gone quiet. Spooky quiet. We currently close issues after 14 days of inactivity. It’s been at least 7 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. As a friendly reminder, the best way to fix this or any other problem is to provide a detailed error description including a serial log. Thanks for being a part of the SinricPro community!
Hey again! It’s been 14 days since anything happened on this issue, so our friendly robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m HUMAN_EMOTION_SORRY
. Please feel free to comment on this issue or create a new one if you need anything else. As a friendly reminder, the best way to fix this or any other problem is to provide a detailed error description including a serial log. Thanks again for being a part of the SinricPro community!
how possible control fan speed esp ????