somakeit / smib

1 stars 0 forks source link

SMIBHID UI design #167

Open sjefferson99 opened 1 week ago

sjefferson99 commented 1 week ago

A way to leverage the impending RFID scanner and accommodate hours in space ahead of the rotary dial code landing, with (hopefully) intuitive design. Rotary dial can land to supplement this to prevent so much button pushing. We can log who does what and see which is more popular/improve each.

Design principle: Ensure the old way of working works as expected as far as is possible, so new features are features, not a change to how you must use it.

If you press space open and the space is closed, the space state changes to open. If the space is already open, no change is made, but visual feedback to confirm already open (Flash green LED, message on display). If you press the space open button again with ~2 seconds, a counter starts at 1 hour and increments for each additional press (requires display). After leaving for ~2 seconds, SMIB will post that the space is open for that number of hours. If the space state is closed it will change to open. If you press the close button while incrementing the counter, but before the final 2 seconds causes the event to post, it will cancel the operation. Also prevent new input for ~2 seconds to ensure a cancelling user doesn't go on to close the space if already open (Display "Cancelling...". If the closed button is pressed and the space is open, the normal message and space state change occurs. If the space state is closed then nothing happens except visual feedback to state space already closed (Flash red LED, show message on display).

RFID option: All works as above, except: If you scan your RFID tag first, you are posting that YOU are entering or leaving the space. If you scan your tag and press space open, SMIB will post that you are now in the space (optionally for X hours as above). If the space state is closed it will change to open. If you scan your tag and press space closed, SMIB will state that you are leaving the space. The space state will remain unchanged. You will need to press the space closed button again to close the space, this can happen immediately, so flow can be scan tag, press space closed button twice to leave and close space.

sam57719 commented 1 week ago

Sounds good!! Dial will be good eventually

On Sun, 30 Jun 2024, 09:37 Stephen Jefferson, @.***> wrote:

A way to leverage the impending RFID scanner and accommodate hours in space ahead of the rotary dial code landing, with (hopefully) intuitive design. Rotary dial can land to supplement this to prevent so much button pushing. We can log who does what and see which is more popular/improve each.

Design principle: Ensure the old way of working works as expected as far as is possible, so new features are features, not a change to how you must use it.

If you press space open and the space is closed, the space state changes to open. If the space is already open, no change is made, but visual feedback to confirm already open (Flash green LED, message on display). If you press the space open button again with ~2 seconds, a counter starts at 1 hour and increments for each additional press (requires display). After leaving for ~2 seconds, SMIB will post that the space is open for that number of hours. If the space state is closed it will change to open. If you press the close button while incrementing the counter, but before the final 2 seconds causes the event to post, it will cancel the operation. Also prevent new input for ~2 seconds to ensure a cancelling user doesn't go on to close the space if already open (Display "Cancelling...". If the closed button is pressed and the space is open, the normal message and space state change occurs. If the space state is closed then nothing happens except visual feedback to state space already closed (Flash red LED, show message on display).

RFID option: All works as above, except: If you scan your RFID tag first, you are posting that YOU are entering or leaving the space. If you scan your tag and press space open, SMIB will post that you are now in the space (optionally for X hours as above). If the space state is closed it will change to open. If you scan your tag and press space closed, SMIB will state that you are leaving the space. The space state will remain unchanged. You will need to press the space closed button again to close the space, this can happen immediately, so flow can be scan tag, press space closed button twice to leave and close space.

— Reply to this email directly, view it on GitHub https://github.com/somakeit/smib/issues/167, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJZWKRX2Z2J5JVRHB4JQ4BTZJ67WFAVCNFSM6AAAAABKD5HOASVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4DEMJVGA2DONQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>