OpenGarage / OpenGarage-Firmware

OpenGarage: open-source WiFi-enabled garage door opener
https://opengarage.io
GNU General Public License v3.0
300 stars 103 forks source link

Feature Request: Multiple Device Key Types #59

Closed smcpeck closed 4 years ago

smcpeck commented 4 years ago

Just installed OG today and must say that I love it.

It would be great to have an option where I can basically create multiple device keys with different access levels.

Admin Key: Allows to change settings on OG and perform basic operation. User Key: Only allows open/close of the door.

Currently, if I give the device key to a guest/tenant, they have the ability to really go in and goof things up. It would be nice to avoid that.

If I'm missing something, I'd be delighted. Also happy to help out and throw up a PR if this would be a quick change on the code side -- I'm somewhat capable even though I have only toyed lightly with an Arduino and haven't touched C++ in 15-20 years. πŸ˜†

Cheers!

idxman01 commented 4 years ago

I would have them use the Blynk app or integrate it into another platform like Home Assistant. From there they won’t need to have the key.

smcpeck commented 4 years ago

Thanks, @idxman01, I'll goof around with that a bit. I enjoyed avoiding Blynk altogether, but can see how that might help my situation.

I saw that there's a new alpha app out that uses the OTC tokens, too... maybe that would fit the bill once it is fully ready. πŸ€”

Thanks again for the suggestion! πŸ‘

smcpeck commented 4 years ago

FYI - Blynk app has been fitting the bill here for now. I'd still like to see a more native solution to this use case as the Blynk app is a little clunky/intimidating for non-technical folks.