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

Reported device state may not be correct #1

Open
danesparza opened this issue Jun 14, 2017 · 1 comment
Open

Reported device state may not be correct #1

danesparza opened this issue Jun 14, 2017 · 1 comment
Labels

Comments

@danesparza
Copy link
Owner

If the appliance monitor is stopped while the appliance is still running and then started again while it's not running, /system/state will report that it's running (even though it's not).

On startup, we need to sanity check the most recent /activity and probably ensure that it's set to not running.

@danesparza danesparza added the bug label Jun 14, 2017
@danesparza
Copy link
Owner Author

If it's currently running, and the most recent activity was 'started', and the activity was within 3 hours - don't log a new 'started' activity. Just use the old one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant