snaptec / openWB

openWB - die modulare Wallbox
https://openwb.de
GNU General Public License v3.0
341 stars 205 forks source link

Show PIN pad as default; Unlock screen with RFID (only for Cards & Colors themes) #2807

Open Fluxxo opened 6 months ago

Fluxxo commented 6 months ago

I've implemented some UX features I found handy in day2day handling of the OpenWB:

1) The themes "cards" and "colors" showed a modal dialog that a pin is required for unlocking. One would always need to hit the rather tiny lock icon to use a locked display to show the number pad. The changed behaviour is that the PIN pad displays by default whenever an action is used requiring an unlocked screen.

2) Additionally, the "success" feedback (flashing background in green) was reduced from 1000ms to 250ms, avoiding an unnecessary delay after successful input

3) The PIN pad will submit automatically after the fourth digit is entered, avoiding the need to tap the "enter" button, reducing necessary user interactions for quicker usage.

4) Users can now unlock the screen by presenting their RFID token. The screen locks automatically after the configured time. To achieve this:

5) Also added a debug statement with values for Hausverbrauch calculation. Not necessarily related to this PR but still helpful I find.