Fellas, sorry if posted in wrong category, but need help.
I was searching for steps on how to add modal window, found several topics related to this, but could not find where to add this, exact steps. I’m working with latest version of OH2 and still using it by modifying demo files in openhab-conf folder accessed through windows explorer.
I have implemented group, where several switches for home alarm present. Those are working fine, but now want to implement password modal window, so when security system armed it pops up modal window with password request to allow to disarm and take control over OH2.
Being said that i think I need actually 2 things:
- Implement setting like 4 digit password, so OH saves them in the system somewhere like in database or so, but simply can send them to controller to store in EEPROM, that is not big deal
- Implement modal window with text field for setting password and modal screen lock so when it popped it does not go off till correct password entered, and if OH2 opened on other device/browser it would still hangs on title screen…
Has anyone done this already?