WebCTRL is a trademark of Automated Logic Corporation. Any other trademarks mentioned herein are the property of their respective owners.
This project is a lightweight alternative to the autopilot add-on released by ALC. Instead of requiring installation of a separate add-on, all you need to do is add an HTML control to a regular WebCTRL graphic. It is recommended that this HTML control be used as a button, "Enter Demo Mode", on an existing graphic. When clicked, the system will begin automatically cycling through a predefined list of graphics.
If the intention is to have a monitor permanently cycling through demo mode, then I've provided a script (login.bat with login.html) to run on Windows OS that will allow a computer to automatically login to WebCTRL and enter demo mode when it starts up or reboots.
- Create an operator on your WebCTRL server with username
kiosk. You'll need to edit login.html to set the operator's password (defaultHvac1234!) and your WebCTRL server's URL (defaulthttps://www.webctrl.com/?language=en). You can use a different username, but you'll have to update autopilot.html and login.html. - Set the operator's login start location to the graphic which will contain the HTML content button. The username
kioskis hardcoded into the HTML content button so that whenever that operator first navigates to that graphic, demo mode is started automatically. Setting the operator's start location ensures that demo mode is started immediately upon login. - Ensure the operator has appropriate permissions for all the locations demo mode is meant to cycle through.
- Ensure "Do not use automatic logoff for this operator" is checked so that demo mode can continue indefinitely.
- Copy login.bat and login.html to an empty folder on a computer that you wish to use for a permanently cycling demo monitor.
- Ensure Google Chrome is installed on the computer. You may have to edit login.bat if Chrome installs to a non-standard location.
- Configure a user for automatic login to the computer: https://learn.microsoft.com/en-us/troubleshoot/windows-server/user-profiles-and-logon/turn-on-automatic-logon
- Create a shortcut to login.bat, and copy the shortcut to
%AppData%\Microsoft\Windows\Start Menu\Programs\Startupof the automatic login user. Alternatively, you can use a scheduled task to run the batch file at login. - Test functionality by restarting the computer. After restarting, the Windows user should automatically login, and a full-screen chrome window will open up logged onto your WebCTRL server in demo mode.
- Add a new HTML content control to an existing Viewbuilder graphic.
- Size the HTML content control like a button.
- Copy the contents of autopilot.html into the HTML content control.
- You are free to edit the button text or other configuration variables specified in autopilot.html. You will need to use manual commands
autopilot locationorwhereamito get the details required for specifying which locations demo mode should cycle through.