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

Feature: Remove "Connection State" and "Last status update" columns #2958

Open
Metal-Mighty opened this issue Apr 23, 2024 · 2 comments
Open
Assignees
Labels
Milestone

Comments

@Metal-Mighty
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Connection State only shows a "Connected" status when there is an open connection between the edgeHub and the IoT Hub, which is usually only the case for a few minutes. Therefore the sensor will be shown as disconnected most of the time if it only sends data every now and then (every 30min, 1h, ...). It creates confusion for the users who think the devices aren't working anymore.

Last status update is only updated when the Device Twin is updated, which isn't very helpful and creates more confusion among users.

Describe the solution you'd like
Remove the columns.

Describe alternatives you've considered
We tried making the timeouts longer before a connection is closed but it has side effects on their stability and isn't reliable.

Additional context
We are working with LoRaWAN which means that we only send data every few minutes, up to once every day, so most of our sensors are always shown as offline, which confuses non-technical users and ask us for unneeded support.

@Metal-Mighty
Copy link
Contributor Author

@kbeaugrand As discussed before, would you want to update the data from another source rather than just deleting it altogether? Since we have the ability to subscribe to incoming payloads from Azure IoT Hub, and linking them to devices (RSSI/LSNR signal quality), we could use that timestamp to update these columns.

I don't know if AWS would provide us the same ability though.

@judramos
Copy link

judramos commented Nov 12, 2024

Should use lastActivityTime field to replace the last status update and delete the connection state (in devices & gateways)

@judramos judramos self-assigned this Nov 25, 2024
judramos pushed a commit to judramos/IoT-Hub-Portal that referenced this issue Nov 29, 2024
@judramos judramos moved this from 🚧 In Progress to 💬 Ready for Review in IoT Hub Portal Nov 29, 2024
@judramos judramos linked a pull request Nov 29, 2024 that will close this issue
9 tasks
judramos pushed a commit to judramos/IoT-Hub-Portal that referenced this issue Dec 3, 2024
kbeaugrand added a commit that referenced this issue Dec 5, 2024
* Add of layerId in device twin

* #2998 Quartz migration for SendPlanningCommand

* #2856 Disable built-in device model deletion

* #3238 Update view when a device is unchecked

* 3239 Allow to delete a planning from client

* 3239 Allow to delete a planning

* 2998 Schedule commands

* #3239 Change checkboxes for layers displayed

* Merge from main

* 2516 add supportLoRaFeatures tag in template file

* #3250 Import device list using the template given

* #2985 Batch import creates ABP tags in Device Twin for OTAA-based device models

* #3251 Import device - data overwritten

* Unit tests

* Update src/IoTHub.Portal.Infrastructure/Jobs/SendPlanningCommandJob.cs

Co-authored-by: Kevin BEAUGRAND <[email protected]>

* #2958 Remove 'Connection State' and 'Last status update' columns

* #3023 startupOrder not supported in Edge Device Model schema

---------

Co-authored-by: E068097 <[email protected]>
Co-authored-by: judramos <[email protected]>
kbeaugrand added a commit that referenced this issue Dec 5, 2024
* Add of layerId in device twin

* #2998 Quartz migration for SendPlanningCommand

* #2856 Disable built-in device model deletion

* #3238 Update view when a device is unchecked

* 3239 Allow to delete a planning from client

* 3239 Allow to delete a planning

* 2998 Schedule commands

* #3239 Change checkboxes for layers displayed

* Merge from main

* 2516 add supportLoRaFeatures tag in template file

* #3250 Import device list using the template given

* #2985 Batch import creates ABP tags in Device Twin for OTAA-based device models

* #3251 Import device - data overwritten

* Unit tests

* Update src/IoTHub.Portal.Infrastructure/Jobs/SendPlanningCommandJob.cs

Co-authored-by: Kevin BEAUGRAND <[email protected]>

* #2958 Remove 'Connection State' and 'Last status update' columns

* #3023 startupOrder not supported in Edge Device Model schema

---------

Co-authored-by: E068097 <[email protected]>
Co-authored-by: judramos <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 💬 Ready for Review
Development

Successfully merging a pull request may close this issue.

2 participants