KmanOz / KmanSonoff

Firmware for ESP8266 based itead Sonoff switches for use with HomeAssistant / mqtt
MIT License
282 stars 39 forks source link

Deactivate LEDs #8

Open TribuneX opened 6 years ago

TribuneX commented 6 years ago

Reopen the issue here, since the old repo is deprecated

Hi,

the firmware works really well. However, I wonder if it is possible to deactivate the blue and green LEDs when Sonoff is switched on. I don't want to have them on while the plug is turned on.

Can this be achieved with playing with: digitalWrite(LED, HIGH);?

KmanOz commented 6 years ago

yes you could experiment with that for sure.

KmanOz commented 6 years ago

Actually I have just got my hands on a S20 and understand the issue. I will look at doing something in the next version upgrade. Never had on hand to know :)

TribuneX commented 6 years ago

Thanks! I am waiting for some new S20 to test my edits. The LEDs of the S20 are a sort of christmas lights on their own.

KmanOz commented 6 years ago

It's a bit silly having a circular ring that gets lit by 2 different colour LEDS. 1st time owning and programming one so I will put a fix in next ver.

TribuneX commented 6 years ago

Any update on this?