Skip to content

yushi3/local-console

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Console

An offline tool to interact with IMX500-equipped smart cameras and develop applications for them. This software provides the following functionalities:

  • Connection configuration
  • Streaming control
  • WASM Module deployment
  • AI model deployment
  • Camera firmware update

Prerequisites

Ensure the following dependencies are installed on your system and added to your PATH environment variable:

Ensure these programs are added to your system's PATH environment variable.

Installation

The installation procedure depends on your machine. The details for each supported OS are outlined below.

Tip

Make sure your machine has working Internet access, as all variants of the installation procedure will require downloading third-party dependencies.

Windows

You should execute the local-console-setup-*.exe installer, as your regular (i.e. non-admin) user. For the installer to download the system dependencies, the installer will attempt to run a shell script as an Administrator, causing Windows' UAC to prompt for your permission to do so. Once the system dependencies are installed, another shell script will be executed as your user, installing the Local Console in your user account.

Linux

Please note that Local Console for Linux is not actively tested/verified.

Currently, there is no stand-alone installer as there is for Windows. Hence, after fulfilling the prerequisites, perform the following steps:

Create a Python virtual environment:

$ python3.11 -m venv lcenv
$ . lcenv/bin/activate

Install Local Console using the provided Python wheel local_console-*-py3-none-any.whl:

(lcenv)$ pip install ./local_console-*-py3-none-any.whl

Or from the repository:

(lcenv)$ pip install -e local-console

The Local Console has been installed. To use it, either run the local-console command with the lcenv virtualenv activated, or use the absolute path to the local-console binary located in the bin subdirectory at the location of the lcenv virtualenv.

Mosquitto

By default, the mosquitto service runs on port 1883. You can check its status with:

systemctl status mosquitto.service

Make sure that its installation did not enable a running instance, by doing:

sudo systemctl disable mosquitto.service
sudo systemctl stop mosquitto.service

If you've installed mosquitto through the Snap package manager (recommended for Ubuntu services by the official webpage), then you will need to disable the service from the snap services

Check with:

sudo snap services mosquitto

And disable if needed:

sudo snap stop mosquitto
sudo snap disable mosquitto

This action is only necessary once after installing the software.

OSX

Please note that Local Console for OSX is not actively tested/verified.

The procedure is the same as for Linux.

Usage

Ensure the lcenv virtual environment is activated.

Backend

Display help information:

(lcenv)$ local-console --help

UI

Check its README.

Logs

Logs from both the GUI and the backend are available at $USERDATA/local-console/logs/main.log.

  • On Windows: $USERDATA is %APPDATA%
  • On Linux: $USERDATA is $HOME/.config

Guidelines

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 56.3%
  • TypeScript 32.8%
  • HTML 4.3%
  • SCSS 3.7%
  • PowerShell 1.7%
  • JavaScript 0.7%
  • Other 0.5%