-
Notifications
You must be signed in to change notification settings - Fork 1
Labels
enhancementNew feature or requestNew feature or requestfix in prsmib-hid**NO LONGER USED** SMIBHID related code**NO LONGER USED** SMIBHID related code
Milestone
Description
Have an async poll loop store sensor data locally on the filesystem to allow local API queries to return more than latest data and also cache data not yet uploaded to SMIB.
Probably append minute readings to file to ensure data preserved on power outage, can be queried for upload if SMIB outage. Each new line is a new reading, to save reprocessing the file each minute. Can be queried by recent data API
On the hour process minute log file into new history file of min, max and average values per hour with timestamps in JSON form. This can be queried with history API
Truncate minute log file to last 60 mins or last SMIB upload timestamp, whichever is greater, up to configurable max file size limit.
Present minute and hour log on API endpoint.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfix in prsmib-hid**NO LONGER USED** SMIBHID related code**NO LONGER USED** SMIBHID related code