-
Notifications
You must be signed in to change notification settings - Fork 0
Widget PIN Security
Igor Gladkov edited this page Feb 26, 2016
·
1 revision
Some widgets can be secured by a PIN, which is supplied by a server configuration. This is not intended to provide security against access to a server, rather a reasonable way to prevent easy access to a widget.
PIN code is configured in a sitemap using sha-256 base64 hash of the PIN code. Hash can be generated in many ways such as this online hash generator. The client will hash PIN code provided by a user and compare it against master PIN code from the server without transmitting raw PIN code. This ensures that PIN code is never sent in clear text.
Frame label="Lights {widget:light-switch}" {
Switch item=Lights
Text label="{item:pin} [A6xnQhbz4Vx2HuGl4lXwZ5U2I8iziLRFnhP5eNfIRvQ]"
}
- Sitemaps
-
Widgets
- Binary Sensor
- Button
- Calendar
- Camera
- Clock
- Clock Square
- Door Sensor
- Energy
- Garage Door
- Gauge
- Gauge Group
- Light Switch
- Light Dimmer
- Light Color
- Light Color Advanced
- Light Temperature
- Linear Gauge Group
- Image
- Mode
- Motion Sensor
- Music
- Outlet
- Room
- Room View
- Scene
- Switch
- Temperature
- Text
- Voice Command
- Water Sensor
- Weather
- Weather Advanced
- Weather Forecast
- Weight
- Window Blinds
- Window Sensor
- Widget Sizes
- Widget Icons
- Widget Units
- Widget PIN Security