Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ESP8266 deep sleep and the sensor ds18b20 #1591

Merged
merged 1 commit into from
Apr 9, 2023
Merged

Add support for ESP8266 deep sleep and the sensor ds18b20 #1591

merged 1 commit into from
Apr 9, 2023

Conversation

diepeterpan
Copy link
Contributor

Description:

Add support for ESP8266 deep sleep and the sensor ds18b20. Also updated the documentation on how to use the feature and an example use case as used by me.

Further reading on deep sleep on ESP8266:
https://starbeamrainbowlabs.com/blog/article.php?article=posts%2F295-ESP-Deep-Sleep.html
https://blog.creations.de/?p=149
https://randomnerdtutorials.com/esp8266-deep-sleep-with-arduino-ide/

Jumper required when using deep sleep, e.g.

image

Checklist:

  • The pull request is done against the latest development branch
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • I accept the DCO.

@1technophile
Copy link
Owner

Thanks, could you add ESP8266_DEEP_SLEEP_IN_US into nodemcuv2-all-test

Add support for the ESP8266 deep sleep and required change for DS1820 sensor used in my project.

Allow defining DS1820_RESOLUTION and DS1820_INTERVAL_SEC in ENVIRON without editing config file.

Allow DTimeBetweenReadingmq2 Env. MACRO change without editing source config file.

Added some an example ENVIRONMENTS

Add ESP8266_DEEP_SLEEP_IN_US to nodemcuv2-all-test
@diepeterpan
Copy link
Contributor Author

Thanks, could you add ESP8266_DEEP_SLEEP_IN_US into nodemcuv2-all-test

No problem, done.

@1technophile
Copy link
Owner

Thanks

@1technophile 1technophile merged commit 4e51d9e into 1technophile:development Apr 9, 2023
DigiH pushed a commit that referenced this pull request Apr 10, 2023
Add support for the ESP8266 deep sleep and required change for DS1820 sensor used in my project.

Allow defining DS1820_RESOLUTION and DS1820_INTERVAL_SEC in ENVIRON without editing config file.

Allow DTimeBetweenReadingmq2 Env. MACRO change without editing source config file.

Added some an example ENVIRONMENTS

Add ESP8266_DEEP_SLEEP_IN_US to nodemcuv2-all-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants