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

電源オン直後のセンサーからデータを読み取ると全てのメトリックの値が 0 として記録されてしまう #16

Open
3 tasks
dynamis opened this issue Sep 6, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dynamis
Copy link
Contributor

dynamis commented Sep 6, 2019

Pi0 以外から給電、Pi0 よりもあとにセンサーに電源を入れた場合、タイミング悪くセンサーの電源投入後まもなく読み取った時に一度だけセンサーの値が 7 つともすべて 0 として記録されることがある。次回以降の計測ではちゃんと値が取れる。

  • 修正されるまでは既知の問題として記載して、全部 0 が記録されている場合はフィルタして分析するようお願いする。

  • 全ての値が 0 であった場合は計測エラーとして記録しない

  • 単に記録しないだけでなく数秒開けてリトライするとなお良い (例えば 5 秒まってから 3 回目までリトライ、次の計測は予定通りの時間に)

@dynamis dynamis changed the title 時々全てのメトリックの値が 0 になることがある 電源オン直後のセンサーからデータを読み取ると全てのメトリックの値が 0 として記録されてしまう Sep 6, 2019
@dynamis dynamis added the bug Something isn't working label Sep 18, 2019
@kou029w kou029w assigned kou029w and unassigned takashinishio Oct 25, 2019
@kou029w
Copy link
Contributor

kou029w commented Oct 25, 2019

今のコードで再現するか未検証

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants