This might just be my sensor, but the fan remains on after the pms.sleep() instruction is issued.
As a workaround, I connected the hardware sleep pin of the sensor (pin3) to a spare IO pin on the D1, then pull this pin low when the sensor needs to sleep.
This stops the fan and I can see the current draw drop to a few milliamps until it is restarted.
I did check that the issued serial command was being sent by the D1 - it just seems to be ignored by the PMS5003?? I note that in the video we see the (very cool wifi) power supply drop the current output, but did the fan stop?
Great project BTW - I love it (wifie hates it as I have Openhab reminding her to turn on the kitchen extractor fan when cooking) :-)
This might just be my sensor, but the fan remains on after the pms.sleep() instruction is issued.
As a workaround, I connected the hardware sleep pin of the sensor (pin3) to a spare IO pin on the D1, then pull this pin low when the sensor needs to sleep.
This stops the fan and I can see the current draw drop to a few milliamps until it is restarted.
I did check that the issued serial command was being sent by the D1 - it just seems to be ignored by the PMS5003?? I note that in the video we see the (very cool wifi) power supply drop the current output, but did the fan stop?
Great project BTW - I love it (wifie hates it as I have Openhab reminding her to turn on the kitchen extractor fan when cooking) :-)