somakeit / smib

1 stars 0 forks source link

Capture which smibhid did the thing into the database #169

Open sjefferson99 opened 4 days ago

sjefferson99 commented 4 days ago

Extends #118 to log in the database and not just the logs. @sam57719 Captured so we don't lose it, but you will want to add thoughts on what you are logging in the db and how.

sam57719 commented 4 days ago

Open to any and all ideas for logging and tracking of things

Currently only storing current state, and eventually data for the poll plugin.

We could track usage of the smibhid devices for certain events e.g. how many times space open/closed used by which door. Could also store the most recent device to trigger the space_open/close alongside the state