ClimateNetTumoLabs / raspberry_soft

0 stars 0 forks source link

Enhance Device Monitoring Interface #20

Open eriktumosaryan opened 6 months ago

eriktumosaryan commented 6 months ago

Think about system tell will give us information about devices states, like it is broken or its working normal. We need to see that information in admin panel of the webpage.

HovhannesApinyan commented 6 months ago

@eriktumosaryan I suggest implementing a table on the website's admin panel that displays the latest data from all devices. Here’s how it can be structured for monitoring device states:

  1. Display Latest Data for Each Device: The table will list all devices and show the most recent data received from each one.

  2. Highlighting Issues:

    • If a device's table is not found in the database, highlight the entire row in red to indicate a critical issue.
    • If the latest data timestamp from a device is over an hour old, color the timestamp cell in red to signify potential connectivity or functionality problems.
    • If the data deviates significantly from expected values, the cell containing this data should be colored in red to alert administrators of potential malfunctioning or anomalies.
    • If the data for a device is None or missing, the corresponding cell should be marked in red to indicate no data is being received.
  3. Track Missing Data:

    • At the end of each row, include a count of the number of hours for which data was expected but not received. This will help in identifying how often a device fails to send data, indicating potential issues with the device's operation or data transmission.
HovhannesApinyan commented 5 months ago

Build this monitoring system utilizing AWS services like AWS IoT Core, Amazon Timestream, and Managed Grafana for visualization and analysis."

eriktumosaryan commented 4 months ago

So could you please give me the update ?