ESP-MQTT-JSON-Multisensor icon indicating copy to clipboard operation
ESP-MQTT-JSON-Multisensor copied to clipboard

Blue light on sensor startup

Open sjorsjes opened this issue 6 years ago • 3 comments

I've got 7 BRUH multisensors up and running and I love them and I have 0 problems with them so far!

The only thing that bothers me is that I can't get rid of the blue light. It lights up when I'm connecting it to power but also on, which feels, random times. I could not find anything about this in the code so I was hoping you could push me in the right direction. I noticed some people in the youtube comments have the same issues.

Thanks and keep up the awesome work!

sjorsjes avatar Sep 26 '17 09:09 sjorsjes

I had the same issue, I added this to the code to make it go away

void setup() {

Serial.begin(115200);

pinMode(PIRPIN, INPUT); pinMode(DHTPIN, INPUT); pinMode(LDRPIN, INPUT);

//new code to turn LED on then off analogWrite(redPin, 1); analogWrite(greenPin, 1); analogWrite(bluePin, 1); analogWrite(redPin, 0); analogWrite(greenPin, 0); analogWrite(bluePin, 0);

delay(10);

VegasIOT avatar Sep 26 '17 14:09 VegasIOT

Withdrawn.

mr-sneezy avatar Apr 26 '18 12:04 mr-sneezy

You can also stop it by moving the Blue LED leg from D3 to D4 and changing the code to match.

I like the affect as it lets me know if there is an issue with Hassio or MQTT that I need to look into.

BertrumUK avatar Nov 05 '18 12:11 BertrumUK