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

Mechanism to see which components are online #17

Open
oxivanisher opened this issue Jan 6, 2019 · 1 comment
Open

Mechanism to see which components are online #17

oxivanisher opened this issue Jan 6, 2019 · 1 comment

Comments

@oxivanisher
Copy link
Collaborator

Should there be a mechanism to see, which components are online?
It could make use of the following things:

  • MQTT LWT
  • some method to know when a component last communicated to find out if it hangs
@oxivanisher
Copy link
Collaborator Author

Since LWT is already enough, there is probably no need for an additional mechanism.
The LWT is currently not used. I implemented something similar by myself for the LED strips, but in the end i removed this completely. It is better to have old strips around, than to loose still required ones. Also a new way of defining the mqtt client identifier in the d1ws2812mqtt project helped a lot, since strips will get the same id once they return.

The question remains for the other components. With use of LWT, it is very simple to implement this and might be displayed at the same place as the tracker name in #33 .

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

1 participant