andrewdavidmackenzie / pingr

A wifi monitoring tool
MIT License
6 stars 0 forks source link

Add a DeviceID table #39

Closed andrewdavidmackenzie closed 8 months ago

andrewdavidmackenzie commented 8 months ago

Key is device_id Value is a struct with device details

andrewdavidmackenzie commented 8 months ago

Use the friendly name, if present, when showing device status in UI

andrewdavidmackenzie commented 8 months ago

KV Namespace created with name "DEVICE_DETAILS"

andrewdavidmackenzie commented 8 months ago

queue processing in worker on each status updates will create an entry for the device in this table if it doesn't yet exist, with default values, so as new devices appear, they will have default entries.

Then the UI has to edit them to assign a real friendly name.