GDSC-HSU / gateway

[Top 3] 2022 Solution Challenge an IoT apporch include Flutter & embedded devices, network protocol, solving/helping covid-19 situation
MIT License
23 stars 9 forks source link

[Docs] Organization able to monitor device status (online ,offline) #17

Closed truonghoangduy closed 2 years ago

truonghoangduy commented 2 years ago

EPIC :

An organization able to monitor device status (online , offline)

Description :

As devices (mobile_app) are working organizations want to check the device connection status. So that they could identify in real-time does the device is still functional (online) or has been shut down (offline).

19 After doing research we are using MQTT for this feature.


Ex meaning for suggestion, you could delare your own impl if you not cool with it fill free to notify me

Ex: Firestore collection

var device_connection = firestore.col("device-status").col("device-id").{}

Ex: Stored object

status: offline|online
timespan: int "Based on this we could know what time does the device has been in those statuses"
DangCao1999 commented 2 years ago

the status will be 0|1 not offline|online