Skip to content

jcfromsiberia/sensor-vision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sensor Vision


TUI Client for TeamViewer IoT MQTT API for managing IoT Sensors and Metrics on target device.

Requires TeamViewer IoT Agent installed and IoT Monitoring setting enabled.

Currently, the only way to get binaries is building the app on the host machine.

Note

That's a pet project with the only goal: to gain experience with the modern Rust.

The app design is too far from perfection, I just wanted to feel the async programming spirit.

Dependencies


Building


Just building

cargo build

you find binaries in ./target

Installation

For current user

cargo install --git https://github.com/jcfromsiberia/sensor-vision.git --force

System-wide

sudo cargo install --git https://github.com/jcfromsiberia/sensor-vision.git --force --root=/usr/local

Usage

The app can manage single MQTT client, and it requires exising clientCert.crt (along with privkey.pem) in the working directory to start. The instructions how to get clientCert.crt can be found here.

The app exposes the way to cut this corner by requesting and storing the certificate for you. However, it requires certificate request file csr.pem to be located in the current directory. Generate a new CSR or use the existing one to get the new certificate:

openssl req -nodes -new -newkey rsa:2048 -sha256 -out csr.pem
sensor-vision --new

If you already have the certificate, start the app in the respective directory with no args.

sensor-vision

Screenshots

Screen1 Screen2

About

TeamViewer Sensor TUI client app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages