somakeit / smib

1 stars 0 forks source link

Fob reader tells SMIBHID who you are #100

Open sjefferson99 opened 1 month ago

sjefferson99 commented 1 month ago

Add a fob reader to SMIBHID to allow you to easily say who you are. Would enable features like, announce space open as myself, not smib bot.

sam57719 commented 1 month ago

Brain Dump

Would need to link to the HMS or have the fob I'd kept against slack profile.

For smib to post as another user, the user would need to follow the oauth journey to authenticate their account with the app.

If somehow we could determine the slack username/userid from the fob, then we could have smib post using their picture and name? Or just tag user in space open messgae

Could do by email address, verify the FOB with HMS and then return email address, match email address to one in slack and use that user.

sjefferson99 commented 1 month ago

Would also be another way to prevent button spam or accidental pressing instead of door open. Fob must be in keyholders list (HMS or local) before button does the thing. Or even just must identify who you are before button does the thing.

sam57719 commented 1 month ago

Need to work out HMS api for the vending machine anyway. Will post a message in the itweb channel when I remember

sjefferson99 commented 1 month ago

Created #124 as a pre req to get SMIBHID core functionality in. This issue can explore what the tag can store and how it can be used as per discussion ideas above.

sjefferson99 commented 1 week ago

Would also be another way to prevent button spam or accidental pressing instead of door open. Fob must be in keyholders list (HMS or local) before button does the thing. Or even just must identify who you are before button does the thing.

Made #167 to capture how rfid would work with space state.