-
Notifications
You must be signed in to change notification settings - Fork 77
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
[Question] Edge activity information is not showing on a dashboard widget assigned to Edge instance #48
Comments
Hello @akseerali at the moment this is not possible, because activity events for edge entity is not pushed to the rule engine. As a result - you cannot push them to the edge from cloud using 'push to edge' rule node. But this could be easily added to next 3.5 release. This release is planned in next 1-2 months. Please let me know if you are using open-source version of cloud and edge - then I can provide you what should be changed to achieve this by building custom deb or docker images from sources. |
Thanks for the information. |
hi @akseerali unfortunately I cannot provide you instructions for ThingsBoard PE Edge. |
Thanks. I am looking forward to release 3.5. |
Is there any method to set the delay for the edge connectivity/disconnectivity events? We have also set an alarm to notify the cloud dashboard in case of a disconnectivity event, which generates alarms quite often. Is there a method to set up a delay for edge connectivity events similar to the Devices at TB Platform? We will be waiting for your kind response. Thanks |
Could you please provide more details on "set up a delay for edge connectivity events similar to the Devices at TB Platform". Regarding delay for edge connectivity events - we don't have anything at the moment out of the box. |
Thank you for the reply. Regarding the query, I mean a configurable timeout option for the edge-connected/disconnected events. For example, we set the edge disconnectivity timeout to be 5 minutes, and the edge suddenly disconnects/connects. In that case, the cloud should change the edge status to "disconnected/connected" based on the configuration time. |
I suppose you can play around with keep alive parameters of gRPC connectivity between Edge and Cloud and increase default values to avoid getting disconnect/connect events quite often. On the server side you can tune next parameters EDGES_RPC_CLIENT_MAX_KEEP_ALIVE_TIME_SEC, EDGES_RPC_KEEP_ALIVE_TIME_SEC, EDGES_RPC_KEEP_ALIVE_TIMEOUT_SEC. Here are the details on these parameters.
In the same time you'll need to modify Edge (gRPC client) parameters CLOUD_RPC_KEEP_ALIVE_TIME_SEC and CLOUD_RPC_KEEP_ALIVE_TIMEOUT_SEC to fit next server side values. Here are the details on these parameters.
|
Thank you for the detailed information. We don't have a server, as the edge is directly connected to the cloud.
|
hi @akseerali , Could you please double check your previous question. |
I have just updated my previous query. |
Hi @akseerali, I'm not sure why you set CLOUD_RPC_TIMEOUT, as this parameter is only responsible for setting the timeout in seconds for channel termination and will not affect disconnection behavior. Could you please set the following parameters on the Edge side for testing and let me know your results if it improves the situation: Thank you. |
Thank you for the information. Here is a scenario of what we are trying to do |
Component
Description
Normally, the Thingsboard status can be monitoring on both the Cloud and Edge. While at Cloud, it can be monitored either by clicking on the Edge name and by creating a widget with the help of alias, on Edge it be monitored by clicking on "Edge Status" from the left menu of screen.
In our case, I am trying to use a widget for the Edge connectivity status on a dashboard for the following reasons:
Issue
The widget option is only working on the Cloud server, not on Edge. Please see the below attached screenshots:
screenshot taken from Cloud server
screenshot taken from local Edge
Question
Is there any way to show the Edge status on edge dashboard? I have tried to observe the Edge activity events from Edge rule chains; however, so far I am unable to find a solution.
Environment
The text was updated successfully, but these errors were encountered: