Setting up a dashboard with Raspberry Pi
How to set up and share a dashboard from RecMan BI with Raspberry Pi
- 1. Fundamentals
- 2. CRM
- 3. Projects
- 4. Job postings
- 5. Candidate / Employee base
- 6. Staffing
- 7. RecMan BI
- 8. Email, Calendar and SMS
- 9. Sales
- 10. Inquiries
- 11. Economy
- 12. Admin & System setup
- 13. Security
- 14. Export
- 15. API
- 16. mScript - Merge tags
- 17. For candidates and employees
- 18. Tips & tricks
In this guide, we cover an example setup of how to set up a TV dashboard using a Raspberry Pi 4 unit.
- 1x TV to use as a dashboard
- 1x Raspberry Pi 4
- Raspberry Pi power supply
- Micro SD card (minimum 8GB)
- Micro-HDMI to HDMI cable
How to set up Raspberry Pi 4
When obtaining a Raspberry Pi, you install the Operative System (OS) on the Micro SD card, and while you can buy a pre-installed OS, we cover how to install a fresh OS which can be useful in case system files get corrupted somewhere.
Installing the Raspberry Pi Operative System
- Download the Raspberry Pi Imager and download the recommended Raspberry PI OS (32-bit). For this install, we use version 1.7.2. and install the Debian Bullseye Port (released 04/04/2022).
- Available from https://www.raspberrypi.com/software/.
- In advanced options, you can set the 'hostname,' which will be displayed in the local network. We also set the username and password, which will be used to log in to the user as well as to configure a wireless LAN connection.
- Once the OS is installed, insert the SD card into the Raspberry Pi and power it up. To connect to it, you can use Micro-HDMI to HDMI and USB peripherals. Alternatively, you can use SSH to connect to it remotely from your computer, we do not cover this, however. When you get to the booted desktop, proceed to the next step.
- Make sure all updates are installed, or go to the terminal and type sudo apt update.
Now the Raspberry Pi should be ready for use.
Connect remotely using VNC Viewer
Another popular method to access Raspberry Pi is VNC Viewer. To use it, you first have to enable the VNC server on the Raspberry Pi. Go to the terminal and type: sudo raspi-config
Go to I3 Interface Options -> I3 VNC Enable/disable graphical remote access using RealVNC.
VNC Server should now be available in the taskbar with a connectivity address which can be inputted in VNC Viewer along with the username and password. You can also check that the Signature and catchphrase match when you establish the connection.
Open the terminal and write sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
Here we want to disable the screensaver and make the Pi boot directly to the BI dashboard. Enter the code to the bottom of the file:
@xset s off
@xset s noblank
@/usr/bin/chromium-browser --kiosk https://bi.recman.no/tv/?chromeless=1
To save, press ^O to Write Out and Enter to Save. You can exit with ^X.
That's it! When the Raspberry Pi is rebooted, it should be immediately directed to the BI dashboard website.
1. Daily reboot
To have the Raspberry Pi reboot daily, it can be scheduled from the terminal using sudo crontab -e followed by inputting 1.
If you add 0 6 * * * /sbin/shutdown -r now at the bottom, the Raspberry Pi should be scheduled to reboot at 6 in the morning.
2. Auto Refresh Plus chromium extension
For certain applications, it can be useful to refresh the page regularly to update information. The Super Auto Refresh extension can be installed to do this, specifying an update interval in seconds.
Optional steps to tweak the appearance
Right-click the desktop and go to 'Desktop preferences.'
- Set 'Defaults' to large screens.
- Set taskbar color to black.
- Set text color to white (for visibility).
- Disable the trashcan on the desktop.
- Set a new desktop picture.
- Open Chromium browser and go to Settings -> Appearance -> disable 'Use System title bar and borders.'
- Go to the Chrome web store and download the "Just Black" theme for a darker browser to match the desktop.
To troubleshoot common issues when it comes to HDMI, such as flickering or poor signal, a common fix is to edit the config.txt file. This can be accessed from the terminal using sudo nano /boot/config.txt
Here you can enable a few options by removing the #.
- Enables a "safe mode," which increases HDMI compatibility.
- Makes the Raspberry PI output an HDMI signal regardless of whether an HDMI is connected or not.
For more detailed information, you can also consult the Raspberry Pi Documentation for the HDMI modes online.