How-To Guide

Show a Live Spreadsheet on VidiMax with serve.py

Turn an Excel or CSV file into a live web page with the serve.py script, and show it on your VidiMax displays. When someone edits the spreadsheet, the screens update by themselves.

Updated October 30, 2026 5 min read Download PDF
How It Works

01How It Works

serve.py is a small Python script. It runs on a computer on your network, reads a spreadsheet, and shows it as a web page. The page re-reads the file every few seconds, so changes to the spreadsheet appear on screen by themselves.

To show it on a VidiMax display, you put that web page in a slate.

  1. Install Python on the computer that will run the script.
  2. Set up serve.py (one time only).
  3. Run serve.py with your spreadsheet.
  4. Create a VidiMax slate that shows the page.
Important

The computer running serve.py must be on the same network as the VidiMax displays, and the script must keep running. If the computer is turned off or the script is stopped, the displays can’t show the spreadsheet.

02Step 1: Install Python

serve.py needs Python 3.8 or later. To check whether it’s already installed, open Command Prompt (Windows) or Terminal (Mac/Linux) and enter:

python –version

If it shows a version such as Python 3.14.5, go to Step 2. On Mac and Linux, use python3 instead of python in all commands.

If not, install it:

  1. Go to python.org/downloads and download the latest version for your computer.
  2. Run the installer. On Windows, check Add Python to PATH before clicking Install.
  3. Close and reopen Command Prompt or Terminal, then check the version again.

03Step 2: Set Up serve.py

Do this once. It creates a virtual environment: a private folder for the Python add-on (openpyxl) that serve.py uses to read Excel files.

  1. Copy serve.py to a folder on the computer, for example C:\serve.
  2. In Command Prompt, go to that folder:
cd C:\serve
  1. Create the virtual environment:
python -m venv venv
  1. Turn it on. On Windows:
venv\Scripts\activate

On Mac or Linux:

source venv/bin/activate

The prompt now starts with (venv).

  1. Install openpyxl:
pip install openpyxl

04Step 3: Run serve.py

With the virtual environment turned on (the prompt starts with (venv)), run serve.py followed by the path to your spreadsheet:

python serve.py C:\Data\sales.xlsx

The spreadsheet can be in any folder. If its path contains spaces, put it in quotes, for example "C:\Shared Files\sales.xlsx".

serve.py shows the addresses of the page:

Serving ‘sales.xlsx’ · Local: http://localhost:8080 · Network: http://192.168.1.50:8080 · Poll interval: 2000ms

Write down the Network address, including the port (:8080). You need it for the VidiMax slate.

  • To check the page on the same computer, open http://localhost:8080 in a browser.
  • To check it from another computer on the network, open the Network address.
Windows Firewall

The first time you run serve.py, Windows may ask whether to allow Python through the firewall. Click Allow, or other devices, including the displays, can’t reach the page.

To stop serve.py, press Ctrl+C. To leave the virtual environment, enter deactivate.

Starting It Again Later

After a restart of the computer, open Command Prompt and run:

cd C:\serve
venv\Scripts\activate
python serve.py C:\Data\sales.xlsx

Supported Files

File Type Notes
.csv CSV Works while the file is open in any editor
.xlsx Excel Works while the file is open in Excel
.xlsm Excel with macros Macros are ignored; only the data is shown
.xls Old Excel (97–2003) If it doesn’t load, open it in Excel and save it as .xlsx

Options

Option Default What it does
--port <number> 8080 The port the page is served on. Change it if 8080 is already in use.
--poll <ms> 2000 (2 seconds) How often, in milliseconds, the displays re-read the spreadsheet. Use 10000 or more with 100+ displays, to reduce the load on the computer.

Examples:

To Run
Use port 9000 python serve.py data.xlsx --port 9000
Update every 10 seconds python serve.py data.csv --poll 10000
Both python serve.py data.xlsx --port 9000 --poll 10000

05Step 4: Show It on VidiMax

  1. In VidiMax, open the Slates page and click Add Template.
  2. Enter a Template Name, for example Sales Report.
  3. Set Slate Type to Message and turn on HTML Editor Mode.
  4. Copy the code below into the HTML code editor. Replace IP_ADDR:PORT with the Network address from Step 3, for example 192.168.1.50:8080.
  5. Click the Save icon at the top right.
<iframe src=”http://IP_ADDR:PORT” style=”width:100%;height:100%;border:none;”></iframe>

Paste only this line. VidiMax adds the rest of the page for you.

To test it, click the red Send icon next to the slate and send it to a display. Then change something in the spreadsheet and save it: the display updates within a few seconds.

Figure 1The red Send icon on the Slates page

To show it on a display all the time or in a slideshow, add it to the display’s Slate Configuration; see Playing a YouTube Video While a Display Is Idle, Step 3, or the VidiMax User Manual.

06Ideas for Use

Use Example
Live dashboards Production numbers, sales figures or schedules on a dedicated screen.
Office signage Room bookings, shift rosters or stock levels on wall displays. Edit the spreadsheet and the screens follow.
Meeting rooms A shared .xlsx on a network drive that anyone with Excel can update.
Several sites Run serve.py on one central computer that all sites can reach; every display shows the same address.

07Tips and Troubleshooting

  • Give the computer a static IP address. Otherwise the address can change after a restart, and the slate stops working. Ask your IT department.
  • The display is blank: check that serve.py is still running, and that you can open the Network address from another computer. If you can’t, allow Python through the Windows Firewall.
  • “python” is not recognized: Python wasn’t added to PATH. Reinstall it with Add Python to PATH checked, or use py instead of python.
  • PowerShell says running scripts is disabled when you activate the virtual environment: use Command Prompt instead, or first run Set-ExecutionPolicy -Scope Process Bypass in that PowerShell window.
  • “No module named openpyxl”: turn on the virtual environment first (the prompt must start with (venv)), then run pip install openpyxl again.
  • Port already in use: run serve.py with another port, for example --port 9000, and use that port in the slate.

Still stuck? Contact Linortek tech support or call 336-485-6199.

Still stuck? Our support team can help with setup and configuration.

support@linortek.com