# Screen Lock for Dashboard 2.0

**URL:** <https://discourse.nodered.org/t/screen-lock-for-dashboard-2-0/97255>\
**Category:** Share Your Projects\
**Tags:** dashboard-2\
**Created:** [25 May 2025 01:58 UTC](https://discourse.nodered.org/t/screen-lock-for-dashboard-2-0/97255 "2025-05-25T01:58:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgjgh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cgjgh/32/99867_2.png) [@cgjgh](https://discourse.nodered.org/u/cgjgh)\
**Post date:** [25 May 2025 01:58 UTC](https://discourse.nodered.org/t/screen-lock-for-dashboard-2-0/97255/1 "2025-05-25T01:58:05Z")

</div>

Sharing a project designed for an HMI/Kiosk application using Dashboard 2.0 with an autolocking screen lock, to gauge interest and see if others have needed something similar. Will consider opening a PR and merging if there's demand.  
This isn't meant to fully replace authentication, but is more than adequate for non-internet-exposed kiosks and HMIs. Features include configurable PIN code access and auto-lock timeout settings, all adjustable within the dashboard config.  
 ![Screenlock](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/1/f183e98497361dff12508c8bc1fb7fc0a311c43b.gif)

 ![Settings](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/0/80ae9e28d8b7ae75cd2be91b2595ca659505d6bc.png)

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [25 May 2025 08:18 UTC](https://discourse.nodered.org/t/screen-lock-for-dashboard-2-0/97255/2 "2025-05-25T08:18:23Z")

</div>

This is excellent!

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [25 May 2025 08:47 UTC](https://discourse.nodered.org/t/screen-lock-for-dashboard-2-0/97255/3 "2025-05-25T08:47:47Z")

</div>

@cgjgh Nice!

Is it responsive?  
A lot of us access our dashboards on different devices, with different screen sizes. How does the same demo look, for example, on a phone or tablet.

---

<div class="post-metadata">

**Author:** ![MyRandomThoughts](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myrandomthoughts/32/41085_2.png) [@MyRandomThoughts](https://discourse.nodered.org/u/MyRandomThoughts)\
**Post date:** [25 May 2025 14:15 UTC](https://discourse.nodered.org/t/screen-lock-for-dashboard-2-0/97255/4 "2025-05-25T14:15:01Z")

</div>

Good idea, however I think entered numbers should not be shown. Use an asterisk symbol (`*`) instead.

---

<div class="post-metadata">

**Author:** ![cgjgh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cgjgh/32/99867_2.png) [@cgjgh](https://discourse.nodered.org/u/cgjgh)\
**Post date:** [25 May 2025 21:28 UTC](https://discourse.nodered.org/t/screen-lock-for-dashboard-2-0/97255/5 "2025-05-25T21:28:25Z")

</div>

@Paul-Reed Yes, it's fully responsive.

---

<div class="post-metadata">

**Author:** ![AllanOricil](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/allanoricil/32/106911_2.png) [@AllanOricil](https://discourse.nodered.org/u/AllanOricil)\
**Post date:** [25 May 2025 23:58 UTC](https://discourse.nodered.org/t/screen-lock-for-dashboard-2-0/97255/6 "2025-05-25T23:58:34Z")

</div>

Really cool.

When is the MFA version comming out? Dashboard admins could register their device on the editor, and then register their secret in their phones or any other mfa device.

And what about the Passkey one?

I recommend my [esp32-mfa-authenticator](https://github.com/AllanOricil/esp32-mfa-authenticator) for the nerds.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [26 May 2025 06:59 UTC](https://discourse.nodered.org/t/screen-lock-for-dashboard-2-0/97255/7 "2025-05-26T06:59:26Z")

</div>

> [@AllanOricil](#):
>
> I recommend my [esp32-mfa-authenticator](https://github.com/AllanOricil/esp32-mfa-authenticator) for the nerds.

that thing is awesome 😃
