Skip to main content

VCU Pro Web UI

Project description

VCU Pro User Interface

System PyPI - Python Version PyPI Build Status

Introduction

A minimal Web user interface for the VCU Pro automotive gateway. It displays important status information and allows basic maintenance actions. Written in python, based on bottle webserver.

Features

  • Display of most important system information
    • System date/time, load, temperature
    • Mobile link information (registration state, signal strength, bearer information)
  • Determine GSM cell location, including geographic position (uses OpenCellId and OpenStreetMap)
  • Execute test ping over mobile network
  • Create TCP service for u-Center GNSS tool
  • Restart GSM modem
  • Restart system (not yet implemented)

Preview

Info

Requirements

  • VCU Pro Hardware with developer image installed
  • Python 3.7+

Quickstart

  1. Install the module with pip install vcu-ui
  2. Start webserver from shell vcu-ui-start
  3. Open the website with your browser 10.42.0.1

Run from Python

from vcuui.server import run_server

run_server(port=80)

Installation as systemd service

Create the following service file vcu-ui.service in /usr/lib/systemd/system/vcu-ui.service. The service file is also available on Github

[Unit]
Description=VCU Pro Minimal WebUI
 
[Service]
Type=simple
ExecStart=/usr/bin/vcu-ui-start
PIDFile=/run/vcu-ui.pid
 
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
RestartSec=10
 
[Install]
WantedBy=multi-user.target

Manage the service with the following systemd commands.

systemctl daemon-reload     # Tell systemd to search for new services
systemctl enable vcu-ui     # Enable service for next startup

systemctl start vcu-ui      # Start service right now

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vcu-ui, version 0.1.15
Filename, size File type Python version Upload date Hashes
Filename, size vcu-ui-0.1.15.tar.gz (12.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page