Closed Yillnet closed 3 months ago
You can do it in the setup()
….
void setup() { pinMode(RELAY_PIN, OUTPUT);
// connect to WiFi
// setup sinric pro
// set the pin to low digitalWrite(RELAY_PIN, LOW); }
loop() { …. }
On Sat, 9 Mar 2024 at 6:03 PM Yillmer @.***> wrote:
What has to be modified in the code so that the relay starts in a low state when it is energized and the internet is connected
— Reply to this email directly, view it on GitHub https://github.com/sinricpro/esp8266-esp32-sdk/issues/370, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZTCIJBLQ2GL2SWDXMLYXLT7NAVCNFSM6AAAAABEOATZS6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3TOMJYGE3TGOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
You can do it in the setup() #define RELAY_PIN 16 …. void setup() { pinMode(RELAY_PIN, OUTPUT); // connect to WiFi // setup sinric pro // set the pin to low digitalWrite(RELAY_PIN, LOW); } loop() { …. } … On Sat, 9 Mar 2024 at 6:03 PM Yillmer @.> wrote: What has to be modified in the code so that the relay starts in a low state when it is energized and the internet is connected — Reply to this email directly, view it on GitHub <#370>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZTCIJBLQ2GL2SWDXMLYXLT7NAVCNFSM6AAAAABEOATZS6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3TOMJYGE3TGOA . You are receiving this because you are subscribed to this thread.Message ID: @.>
I already did it and it's still the same, the problem is that GPIO 0 is activated and remains at HIGH until it connects to the internet. I am using an ESP01
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!
Solved, thank you
How did you solve it?
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!
What has to be modified in the code so that the relay starts in a low state when it is energized and the internet is connected