softypit / esp32_mqtt_eq3

esp32-based mqtt node to control EQ-3 BLE TRVs
146 stars 48 forks source link

LED on ESP32 #53

Open pmknowles opened 4 years ago

pmknowles commented 4 years ago

Got mine working well with 5 EQ3s so thank you. Not a programming issue but, nevertheless, would be useful. The LEDs on my ESP32s are painfully bright. It would be good to have a command to turn them off or only flash if there was an issue (loss of WifFi, MQTT or low battery on the EQ3).

softypit commented 4 years ago

Which ESP32 module are you using?

pmknowles commented 4 years ago

I think it's a Sparkfun one. It has a green and blue LED which will light the room at night!!

Regards

Phil

Sent from Outlook Mobilehttps://aka.ms/blhgte


From: paul notifications@github.com Sent: Thursday, March 5, 2020 8:02:11 PM To: softypit/esp32_mqtt_eq3 esp32_mqtt_eq3@noreply.github.com Cc: pmknowles pmknowles@outlook.com; Author author@noreply.github.com Subject: Re: [softypit/esp32_mqtt_eq3] LED on ESP32 (#53)

Which ESP32 module are you using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsoftypit%2Fesp32_mqtt_eq3%2Fissues%2F53%3Femail_source%3Dnotifications%26email_token%3DAI5KPM3ZXV45W7KUKZISDWLRGAAMHA5CNFSM4LCJ2DNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN6WKAA%23issuecomment-595420416&data=02%7C01%7C%7Cc09eaad2cfde496b651b08d7c1401832%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637190353328986894&sdata=PAooeeX9TFPWScxRmb75FkhzV5%2BLCI5kcpWEaGijzyw%3D&reserved=0, or unsubscribehttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAI5KPM5IHKU7NBOBWJDLDODRGAAMHANCNFSM4LCJ2DNA&data=02%7C01%7C%7Cc09eaad2cfde496b651b08d7c1401832%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637190353328986894&sdata=FJXLOP0UJwmz6K7ZzjvcJGwEgdUgzMDXov34uKOzeoU%3D&reserved=0.

softypit commented 4 years ago

The ESP32 boards I have seen use either gpio2 or gpio5 for an indicator LED. I believe the sparkfun boards also have an LED permanently connected to power (there may be a bridge/link you can remove to disable this). This application uses GPIO2 for a status indicator as it is based around a generic WROOM32 devkit from ebay. Check which GPIO your board uses for its second LED by looking up the schematic or hookup guide.

Regards.

Paul.