Skip to content

Sensor does not respond to sleep request #3

Description

@Hobohome

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) :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions