|
| 1 | +# PowerPulse Kiosk Mode |
| 2 | + |
| 3 | +This document provides detailed information about the PowerPulse Kiosk Mode feature, which allows you to display UPS monitoring information on dedicated screens without requiring authentication. |
| 4 | + |
| 5 | +## Table of Contents |
| 6 | + |
| 7 | +- [Overview](#overview) |
| 8 | +- [Accessing Kiosk Mode](#accessing-kiosk-mode) |
| 9 | +- [URL Parameters](#url-parameters) |
| 10 | +- [View Modes](#view-modes) |
| 11 | +- [Setting Up a Dedicated Display](#setting-up-a-dedicated-display) |
| 12 | +- [Security Considerations](#security-considerations) |
| 13 | +- [Troubleshooting](#troubleshooting) |
| 14 | + |
| 15 | +## Overview |
| 16 | + |
| 17 | +Kiosk Mode is designed for displaying UPS monitoring information on dedicated screens in server rooms, network operations centers (NOCs), or other locations where you want to have a continuous display of UPS status. Key features include: |
| 18 | + |
| 19 | +- **No Authentication Required**: Accessible without logging in |
| 20 | +- **Auto-rotation**: Automatically cycles through UPS systems |
| 21 | +- **Multi-view Mode**: Display all UPS systems at once |
| 22 | +- **Dark Theme**: Easy on the eyes for continuous display |
| 23 | +- **Responsive Design**: Works on various screen sizes |
| 24 | +- **No Session Timeout**: Runs continuously without logging out |
| 25 | +- **URL Parameters**: Customize the display via URL parameters |
| 26 | + |
| 27 | +## Accessing Kiosk Mode |
| 28 | + |
| 29 | +Kiosk Mode is accessible via the `/kiosk` URL path. For example: |
| 30 | + |
| 31 | +``` |
| 32 | +http://your-powerpulse-server/kiosk |
| 33 | +``` |
| 34 | + |
| 35 | +By default, this will display all UPS systems in single-view mode with auto-rotation. |
| 36 | + |
| 37 | +## URL Parameters |
| 38 | + |
| 39 | +You can customize the Kiosk Mode display using the following URL parameters: |
| 40 | + |
| 41 | +### Multi-view Mode |
| 42 | + |
| 43 | +To enable multi-view mode (displaying all UPS systems at once): |
| 44 | + |
| 45 | +``` |
| 46 | +http://your-powerpulse-server/kiosk?multi=true |
| 47 | +``` |
| 48 | + |
| 49 | +To switch back to single-view mode: |
| 50 | + |
| 51 | +``` |
| 52 | +http://your-powerpulse-server/kiosk?multi=false |
| 53 | +``` |
| 54 | + |
| 55 | +### UPS Selection |
| 56 | + |
| 57 | +To display only specific UPS systems, use the `ups` parameter with a comma-separated list of UPS IDs: |
| 58 | + |
| 59 | +``` |
| 60 | +http://your-powerpulse-server/kiosk?ups=1,3,5 |
| 61 | +``` |
| 62 | + |
| 63 | +This will only display UPS systems with IDs 1, 3, and 5. |
| 64 | + |
| 65 | +### Combining Parameters |
| 66 | + |
| 67 | +You can combine parameters to customize the display further: |
| 68 | + |
| 69 | +``` |
| 70 | +http://your-powerpulse-server/kiosk?multi=true&ups=1,3,5 |
| 71 | +``` |
| 72 | + |
| 73 | +This will display UPS systems with IDs 1, 3, and 5 in multi-view mode. |
| 74 | + |
| 75 | +## View Modes |
| 76 | + |
| 77 | +### Single-view Mode |
| 78 | + |
| 79 | +In single-view mode, Kiosk Mode displays one UPS system at a time and automatically rotates between them every 10 seconds. This mode provides detailed information about each UPS system, including: |
| 80 | + |
| 81 | +- Battery charge percentage |
| 82 | +- Runtime remaining |
| 83 | +- Load percentage |
| 84 | +- Input/output voltage |
| 85 | +- Battery voltage |
| 86 | +- Temperature (if available) |
| 87 | + |
| 88 | +You can manually navigate between UPS systems using the dots at the bottom of the screen. |
| 89 | + |
| 90 | +### Multi-view Mode |
| 91 | + |
| 92 | +In multi-view mode, Kiosk Mode displays all UPS systems at once in a grid layout. This mode provides a summary of each UPS system, including: |
| 93 | + |
| 94 | +- Battery charge percentage |
| 95 | +- Runtime remaining |
| 96 | +- Load percentage |
| 97 | +- Input/output voltage (if available) |
| 98 | + |
| 99 | +You can toggle between single-view and multi-view modes using the button in the top-right corner of the screen. |
| 100 | + |
| 101 | +## Setting Up a Dedicated Display |
| 102 | + |
| 103 | +For optimal use of Kiosk Mode on a dedicated display: |
| 104 | + |
| 105 | +1. **Use a dedicated device**: A Raspberry Pi, small form-factor PC, or smart TV with a web browser works well |
| 106 | +2. **Set up auto-start**: Configure the browser to start automatically and load the Kiosk Mode URL |
| 107 | +3. **Disable screen saver and power saving**: Ensure the display stays on continuously |
| 108 | +4. **Use full-screen mode**: Configure the browser to run in full-screen mode (F11 in most browsers) |
| 109 | +5. **Disable browser UI**: Hide address bar, tabs, and other browser UI elements |
| 110 | +6. **Consider display rotation**: For portrait displays, consider using CSS to rotate the display |
| 111 | + |
| 112 | +### Example: Setting up Kiosk Mode on a Raspberry Pi |
| 113 | + |
| 114 | +1. Install Raspberry Pi OS |
| 115 | +2. Install Chromium browser |
| 116 | +3. Create an autostart file: |
| 117 | + ``` |
| 118 | + mkdir -p ~/.config/autostart |
| 119 | + nano ~/.config/autostart/kiosk.desktop |
| 120 | + ``` |
| 121 | +4. Add the following content: |
| 122 | + ``` |
| 123 | + [Desktop Entry] |
| 124 | + Type=Application |
| 125 | + Name=PowerPulse Kiosk |
| 126 | + Exec=chromium-browser --noerrdialogs --disable-infobars --kiosk http://your-powerpulse-server/kiosk |
| 127 | + ``` |
| 128 | +5. Save and reboot |
| 129 | + |
| 130 | +## Security Considerations |
| 131 | + |
| 132 | +While Kiosk Mode does not require authentication, it only provides read-only access to UPS status information. No sensitive configuration data or user information is exposed through Kiosk Mode. |
| 133 | + |
| 134 | +However, you should consider the following security aspects: |
| 135 | + |
| 136 | +- Kiosk Mode is designed for use on internal networks |
| 137 | +- If your PowerPulse instance is exposed to the internet, consider using a reverse proxy with IP restrictions for the `/kiosk` path |
| 138 | +- The data shown in Kiosk Mode is the same as what authenticated users see on the dashboard |
| 139 | +- No administrative actions can be performed through Kiosk Mode |
| 140 | + |
| 141 | +## Troubleshooting |
| 142 | + |
| 143 | +### Kiosk Mode Not Loading |
| 144 | + |
| 145 | +If Kiosk Mode is not loading: |
| 146 | + |
| 147 | +1. Verify that the PowerPulse server is running |
| 148 | +2. Check that you can access the main PowerPulse login page |
| 149 | +3. Verify that the URL is correct (http://your-powerpulse-server/kiosk) |
| 150 | +4. Check browser console for any JavaScript errors |
| 151 | +5. Ensure your browser supports modern JavaScript features |
| 152 | + |
| 153 | +### UPS Systems Not Showing |
| 154 | + |
| 155 | +If UPS systems are not showing in Kiosk Mode: |
| 156 | + |
| 157 | +1. Verify that UPS systems are configured in PowerPulse |
| 158 | +2. Check that the NUT server is running and accessible |
| 159 | +3. Verify that UPS systems are visible in the main dashboard when logged in |
| 160 | +4. If using the `ups` parameter, ensure the UPS IDs are correct |
| 161 | + |
| 162 | +### Auto-rotation Not Working |
| 163 | + |
| 164 | +If auto-rotation is not working in single-view mode: |
| 165 | + |
| 166 | +1. Ensure you have more than one UPS system configured |
| 167 | +2. Check that you are not in multi-view mode |
| 168 | +3. Verify that JavaScript is enabled in your browser |
| 169 | +4. Check browser console for any errors |
| 170 | + |
| 171 | +### Display Issues |
| 172 | + |
| 173 | +If you experience display issues: |
| 174 | + |
| 175 | +1. Try a different browser |
| 176 | +2. Ensure your browser is up to date |
| 177 | +3. Check that JavaScript is enabled |
| 178 | +4. Try clearing browser cache and cookies |
| 179 | +5. Adjust the browser zoom level if needed |
0 commit comments