Skip to content

Sleeping Z-Uno and DHT sensors #102

Description

@michapr

Issue is not easy to describe...

Following steps:

-exlude Z-Uno (to be sure...)
-Upload this sketch without the delays in line 28,36
-Device will not go into sleep mode (LED is blinking)
-including the device in Z-Way -> ZWay show sleeping device. Changing wake-up, all seems to be ok, but device will never wakeup and change values. LED is still blinking

-exlude Z-Uno
-Upload this sketch with the delays in line 28,36
->LED will (in most cases) still blink - Z-Uno is not sleeping
-Make factory reset - upload same sketch with the delays in line 28,36 again
-> Z-Uno will go into sleep mode
-including the device in Z-Way, set wake-up - all seems to work fine, values will be changed after wake-up.

-edit sketch - as sample change delay from 2000 to 3000 seconds, upload sketch (rescue mode)
-> Z-uno will not go into sleep more
-> exclude, factory reset, upload - Z-Uno will go into sleep

If Z-uno will go into sleep mode, you can not upload changed sketch more (rescue mode of course) - Z-Uno will not go into sleep more, only after factory reset.

Strange issue, I hope you understand. It is reproducable.
ZUno2DHT22a.zip

First issue seems to be that DHT sensors are not ready. Changing any values in lib only didn't help.

Without DHT sensor lib (with fixed values) all is working as expected

Michael

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions