ESPEasy Mega 2.0 and SDS011 sleep/wake time

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Ostrymiecz
New user
Posts: 2
Joined: 16 Mar 2018, 07:18

ESPEasy Mega 2.0 and SDS011 sleep/wake time

#1 Post by Ostrymiecz » 16 Mar 2018, 07:26

Currently ESPEasy Mega 2.0-dev version has an option for SDS dust sensors to make them go sleep for certain amount of time. The sensor wakes up for 30 seconds and then goes to sleep for entered amount of time again and again. Would it be possible to add another text field, but this time for wake time? I would like to extend 30 seconds to 60, but this value is hardcoded. I think that 30 seconds is a little to short for PM 2.5/10 readouts to stabilise.

User avatar
budman1758
Normal user
Posts: 301
Joined: 15 Apr 2017, 05:13
Location: Riverside CA USA

Re: ESPEasy Mega 2.0 and SDS011 sleep/wake time

#2 Post by budman1758 » 17 Mar 2018, 00:45

You can post an issue on Github for this. Best place to start for feature requests such as this.
https://github.com/letscontrolit/ESPEasy/issues
"The glass is twice as big as it needs to be".

Ostrymiecz
New user
Posts: 2
Joined: 16 Mar 2018, 07:18

Re: ESPEasy Mega 2.0 and SDS011 sleep/wake time

#3 Post by Ostrymiecz » 17 Mar 2018, 08:32

Got it. Thank You.

Axel1966
New user
Posts: 1
Joined: 02 Apr 2018, 19:33

Re: ESPEasy Mega 2.0 and SDS011 sleep/wake time

#4 Post by Axel1966 » 02 Apr 2018, 20:00

Hello!

The Plugin actually uses the "Set working Period" of the SDS011 Module.
In this Module the 30 seconds are hardcoded. See the attached PDF on Chapter 5.

To do this in this Way, a Timer runs on the ESP-Easy and a second independent timer runs on the SDS.
They are not syncronized.
So the SDS wait in Sleepmode, wake up and start the Fan, after 30 seconds the SDS send Data.
But it in not shure, that the ESP-Easy read the Data, because the ESP-Plugin is at this Time inactive, maybe.

This is actually my Problem.

But I can not fix the Problem in the Plugin, I have not enough experience in this.

I think, the Problem can be solved in this way:

The Plugin don't use the "Working Period" of the SDS.
The Plugin use the direct Control of "Work" and "Sleep" Mode. See the attached PDF on Chapter 4.

In this Case there are no two unsynced Machines, and the Possibility to config the Fantime before Datasend is given too.

But I am new in Github and I dont know the Way to publish this issue on Github.

I can not attach the file, here the link:

https://cdn.sparkfun.com/assets/parts/1 ... l_V1.3.pdf

Excuse my english, my german is much better ;-)

Can you help me?

With regards, Axel

sisamiwe
Normal user
Posts: 14
Joined: 30 Jan 2018, 11:52

Re: ESPEasy Mega 2.0 and SDS011 sleep/wake time

#5 Post by sisamiwe » 09 Apr 2018, 19:18

Hi,

also in the current MEGA implementation, the sleep is not stable.
The sensor does work for 30s but the following sleep is also just 30s independent from the time set in the plugin.

Does someone else also has this issue?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESPEasy Mega 2.0 and SDS011 sleep/wake time

#6 Post by TD-er » 09 Apr 2018, 23:05

The sleep time you can set in the plugin is saved to the sensor itself.
So the sensor is then active for 30 seconds and will sleep for the set time.
N.B. this is the sleep time of the sensor page, not the sleep/wake time of deepsleep setting of ESPeasy.

It is working very stable here since the last day of 2017, when I wanted to measure the impact of the fireworks :)

water
Normal user
Posts: 10
Joined: 29 Jul 2018, 19:42

Re: ESPEasy Mega 2.0 and SDS011 sleep/wake time

#7 Post by water » 30 Jul 2018, 23:41

TD-er wrote: 09 Apr 2018, 23:05 The sleep time you can set in the plugin is saved to the sensor itself.
So the sensor is then active for 30 seconds and will sleep for the set time.
N.B. this is the sleep time of the sensor page, not the sleep/wake time of deepsleep setting of ESPeasy.

It is working very stable here since the last day of 2017, when I wanted to measure the impact of the fireworks :)
For how many seconds/minutes do you let your device sleep? The sds011 can clogg up when it runs long periods :) Im curious what would be best practice for nice results without any periodic maintanance

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESPEasy Mega 2.0 and SDS011 sleep/wake time

#8 Post by TD-er » 01 Aug 2018, 21:59

water wrote: 30 Jul 2018, 23:41
TD-er wrote: 09 Apr 2018, 23:05 The sleep time you can set in the plugin is saved to the sensor itself.
So the sensor is then active for 30 seconds and will sleep for the set time.
N.B. this is the sleep time of the sensor page, not the sleep/wake time of deepsleep setting of ESPeasy.

It is working very stable here since the last day of 2017, when I wanted to measure the impact of the fireworks :)
For how many seconds/minutes do you let your device sleep? The sds011 can clogg up when it runs long periods :) Im curious what would be best practice for nice results without any periodic maintanance
Mine runs with the "Sleep time" set to 5 minutes.
And it detected the BBQ just fine, running for 7 months now. It has endured below -10C and Above +35C just fine.

water
Normal user
Posts: 10
Joined: 29 Jul 2018, 19:42

Re: ESPEasy Mega 2.0 and SDS011 sleep/wake time

#9 Post by water » 23 Aug 2018, 19:08

TD-er wrote: 01 Aug 2018, 21:59
water wrote: 30 Jul 2018, 23:41
TD-er wrote: 09 Apr 2018, 23:05 The sleep time you can set in the plugin is saved to the sensor itself.
So the sensor is then active for 30 seconds and will sleep for the set time.
N.B. this is the sleep time of the sensor page, not the sleep/wake time of deepsleep setting of ESPeasy.

It is working very stable here since the last day of 2017, when I wanted to measure the impact of the fireworks :)
For how many seconds/minutes do you let your device sleep? The sds011 can clogg up when it runs long periods :) Im curious what would be best practice for nice results without any periodic maintanance
Mine runs with the "Sleep time" set to 5 minutes.
And it detected the BBQ just fine, running for 7 months now. It has endured below -10C and Above +35C just fine.
Thanks, and what is your setting at Interval?

For some reason I receive every 5 minutes data, but sometimes also after 10 minutes.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESPEasy Mega 2.0 and SDS011 sleep/wake time

#10 Post by TD-er » 24 Aug 2018, 15:52

The interval can be low like 30 seconds.
The sensor will only give samples when a new one is captured.

water
Normal user
Posts: 10
Joined: 29 Jul 2018, 19:42

Re: ESPEasy Mega 2.0 and SDS011 sleep/wake time

#11 Post by water » 27 Aug 2018, 10:35


Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests