-
Notifications
You must be signed in to change notification settings - Fork 463
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
Offline detection status / event #7221
Comments
@emilm The goal of edgehub is to hide the connectivity issues/status from the modules/devices so by purpose, a module cannot know that the upstream connection is lost. What is your use case? |
Hello! I understand that, but when you write software that behaves differently when offline, it poses a problem. As an example you have a system that receives data that tells how the system should behave. If you are offline it should behave differently because there are cases you don't periodically expect the incoming data but it should still behave differently if it's offline. I know it sounds kind of vague but I have to explain it this way because I would break NDA otherwise. Please let me know if there is a way to query any of the services for this information. Right now I have to "ping" a REST endpoint, and set it as online if I get a response or that I receive incoming data such as a direct method. |
@emilm sorry, but unfortunately, there is way to query the services like that at this time. I can bring this up internally as a formal ask though it might take time even if it is decided to implement such a feature. |
Closing issue due to staleness, please reopen if further action is needed. |
Is there a way to detect if a module lost connection to the Internet (remote hub) yet? iot edge does know itself, but I think it should expose that information so I can act on it.
The text was updated successfully, but these errors were encountered: