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

Appropriately compute "time_until_next_measurement" #4

Closed
amotl opened this issue Jun 7, 2019 · 2 comments
Closed

Appropriately compute "time_until_next_measurement" #4

amotl opened this issue Jun 7, 2019 · 2 comments

Comments

@amotl amotl changed the title Appropriately compute time_until_next_measurement Appropriately compute "time_until_next_measurement" Jun 7, 2019
@ClemensGruber
Copy link
Contributor

Currently I get with

# Measurement interval in seconds.
'interval': 60.0,

# Whether to use deep sleep between measurement cycles.
'deepsleep': True,

this time stamps:

2019-06-16T19:49:26.048675Z,-0.006
2019-06-16T19:50:00.340812Z,-0.007
2019-06-16T19:50:32.196479Z,-0.008
2019-06-16T19:51:04.122271Z,-0.009
2019-06-16T19:51:35.983008Z,-0.011
2019-06-16T19:52:07.791818Z,-0.008
2019-06-16T19:53:03.541236Z,-0.004
2019-06-16T19:53:35.201671Z,-0.005
2019-06-16T19:54:06.938297Z,-0.006
2019-06-16T19:54:39.002306Z,-0.006
2019-06-16T19:55:10.585772Z,-0.006
2019-06-16T19:55:42.178011Z,-0.008

@amotl
Copy link
Member Author

amotl commented Jun 16, 2019

Thanks, @ClemensGruber. That's the reason for having this issue here, see also
https://github.com/hiveeyes/hiveeyes-micropython-firmware/blob/3844b93e6c088703b9b446e2ce136ff244b8bff4/settings.example.py#L7-L8

Pull requests or suggestions welcome, otherwise this might arrive with one of the next commits.

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

No branches or pull requests

2 participants