Skip to content

pyfunc/meshpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

41 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”· MeshPi

Zero-Touch Raspberry Pi Fleet Management

Python PyPI Downloads CI Status Coverage License Code Style

πŸš€ Configure WiFi, SSH, users, hardware peripherals, and manage devices through encrypted mesh networking

Install β€’ Quick Start β€’ Features β€’ Docs β€’ PyPI


πŸ—οΈ Architektura Systemu

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                           πŸš€ MESHPI FLEET MANAGEMENT                            β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   GRUPY RPi     │───▢│   PROFILE HW    │───▢│   INSTALACJA    │───▢│   MONITORING    β”‚
β”‚                 β”‚    β”‚                 β”‚    β”‚                 β”‚    β”‚                 β”‚
β”‚ β€’ office_sensorsβ”‚    β”‚ β€’ OS + Drivers  β”‚    β”‚ β€’ Pakiety       β”‚    β”‚ β€’ Prometheus    β”‚
β”‚ β€’ warehouse_autoβ”‚    β”‚ β€’ Biblioteki    β”‚    β”‚ β€’ ModuΕ‚y        β”‚    β”‚ β€’ Grafana       β”‚
β”‚ β€’ lab_gpio      β”‚    β”‚ β€’ Konfiguracja  β”‚    β”‚ β€’ Uprawnienia   β”‚    β”‚ β€’ Alerting      β”‚
β”‚ β€’ home_automationβ”‚   β”‚                 β”‚    β”‚                 β”‚    β”‚ β€’ Audit Logs    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚                       β”‚                       β”‚                       β”‚
         β–Ό                       β–Ό                       β–Ό                       β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   LOGIKA        β”‚    β”‚   KONFIGURACJA  β”‚    β”‚   DEPLOYMENT    β”‚    β”‚   OBSERWOWALNOΕšΔ†β”‚
β”‚                 β”‚    β”‚                 β”‚    β”‚                 β”‚    β”‚                 β”‚
β”‚ β€’ Logiczne      β”‚    β”‚ β€’ YAML profiles β”‚    β”‚ β€’ SSH Remote    β”‚    β”‚ β€’ Real-time     β”‚
β”‚ β€’ Zbiory        β”‚    β”‚ β€’ Kategorie     β”‚    β”‚ β€’ Batch Install β”‚    β”‚ β€’ Historical    β”‚
β”‚ β€’ Przeznaczenie β”‚    β”‚ β€’ Tagi          β”‚    β”‚ β€’ OTA Updates   β”‚    β”‚ β€’ Alerting      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                           πŸ”₯ FLOW PRACY MESHPI                                   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  PLAN   │───▢│ KONFIG  │───▢│ WYBΓ“R   │───▢│ INSTAL  │───▢│ MONITOR β”‚
β”‚         β”‚    β”‚         β”‚    β”‚         β”‚    β”‚         β”‚    β”‚         β”‚
β”‚ Grupy   β”‚    β”‚ UrzΔ…dz. β”‚    β”‚ Profile β”‚    β”‚ Pakiety β”‚    β”‚ Metryki β”‚
β”‚ Profile β”‚    β”‚ SSH     β”‚    β”‚ Hardwareβ”‚    β”‚ ModuΕ‚y  β”‚    β”‚ Alerty  β”‚
│ Scenariz│    │ Sieć    │    │ Drivers │    │ Uprawn. │    │ Logs    │
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                         🏒 TYPOWE WDROΕ»ENIE - BIURO                             β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  HOST PC        β”‚ ──▢  meshpi host (port 7422)
β”‚ 192.168.1.10   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
         β–Ό SSH + ENCRYPTION
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   RPi #1        β”‚    β”‚   RPi #2        β”‚    β”‚   RPi #3        β”‚
β”‚ 192.168.1.100   β”‚    β”‚ 192.168.1.101   β”‚    β”‚ 192.168.1.102   β”‚
β”‚                 β”‚    β”‚                 β”‚    β”‚                 β”‚
β”‚ β€’ BME280 Sensor β”‚    β”‚ β€’ BME280 Sensor β”‚    β”‚ β€’ BME280 Sensor β”‚
β”‚ β€’ OLED Display  β”‚    β”‚ β€’ OLED Display  β”‚    β”‚ β€’ OLED Display  β”‚
β”‚ β€’ WiFi Config   β”‚    β”‚ β€’ WiFi Config  β”‚    β”‚ β€’ WiFi Config  β”‚
β”‚ β€’ SSH Keys      β”‚    β”‚ β€’ SSH Keys     β”‚    β”‚ β€’ SSH Keys     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚                       β”‚                       β”‚
         β–Ό                       β–Ό                       β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                         πŸ“Š PROMETHEUS + GRAFANA                                 β”‚
β”‚                                                                                 β”‚
β”‚ β€’ CPU/Memory/Temperature Metrics                                                β”‚
β”‚ β€’ Sensor Data (temp/humidity/pressure)                                          β”‚
β”‚ β€’ Device Status & Health                                                        β”‚
β”‚ β€’ Alert Rules (offline, high temp, low memory)                                  β”‚
β”‚ β€’ Historical Data & Trends                                                      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“‹ Overview

MeshPi eliminates the manual work of configuring Raspberry Pi devices from factory defaults. Whether deploying one device or an entire fleet, MeshPi handles:

  • πŸ“Ά WiFi credentials - No monitor/keyboard needed
  • πŸ” SSH keys - Secure remote access out of the box
  • πŸ‘€ User accounts - Create users, set passwords
  • 🌍 Locale & timezone - Regional settings applied automatically
  • πŸ”§ Hardware peripherals - 49+ profiles for displays, sensors, GPIO devices
  • πŸ“Š Real-time monitoring - CPU, memory, temperature, network status
  • πŸ€– LLM-powered management - Natural language fleet commands

All secured with RSA-2048 + AES-256-GCM encryption. No credentials ever travel in plaintext.


⚑ Quick Start

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                           πŸš€ QUICK START FLOW                                   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   HOST PC       β”‚         β”‚   MESHPI HOST   β”‚         β”‚ CLIENT RPi      β”‚
β”‚                 β”‚         β”‚                 β”‚         β”‚                 β”‚
β”‚ β€’ Install MeshPiβ”‚ ──▢     β”‚ β€’ Config Wizard β”‚ ──▢     β”‚ β€’ Scan & Join   β”‚
β”‚ β€’ Run Config    β”‚         β”‚ β€’ Start Service β”‚         β”‚ β€’ Auto-Setup    β”‚
β”‚ β€’ Start Host    β”‚         β”‚ β€’ Port 7422     β”‚         β”‚ β€’ Reboot Ready  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
# Install
pip install meshpi

# On HOST machine (your PC or a dedicated RPi)
meshpi config    # Interactive configuration wizard
meshpi host      # Start the host service

# On each CLIENT Raspberry Pi (fresh from factory)
meshpi scan      # Auto-discovers host, configures itself, reboots

🎯 Done! Your Raspberry Pi is now configured and ready.


πŸ“± Client Setup (Raspberry Pi)

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                         πŸ“± RASPBERRY PI SETUP FLOW                              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  FACTORY RPi    │───▢│  CONNECT NET    │───▢│  UPDATE SYSTEM  │───▢│  SCAN & JOIN    β”‚
β”‚                 β”‚    β”‚                 β”‚    β”‚                 β”‚    β”‚                 β”‚
β”‚ β€’ Fresh OS      β”‚    β”‚ β€’ WiFi/Network  β”‚    β”‚ β€’ apt update    β”‚    β”‚ β€’ meshpi scan   β”‚
β”‚ β€’ Default Configβ”‚    β”‚ β€’ Internet      β”‚    β”‚ β€’ apt upgrade   β”‚    β”‚ β€’ Auto-discover β”‚
β”‚ β€’ No Config     β”‚    β”‚ β€’ Access        β”‚    β”‚ β€’ reboot        β”‚    β”‚ β€’ Auto-setup    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ”§ Prerequisites Setup

Before running meshpi scan on your Raspberry Pi, follow these steps:

1. Connect to Internet

# Connect to WiFi using desktop interface or command line
sudo raspi-config
# Navigate to Network Options β†’ Wi-Fi β†’ Enter SSID and password

2. Update System

# Update package lists and upgrade system packages
sudo apt update && sudo apt upgrade -y

# Reboot after updates
sudo reboot

3. Install Python pip

# Install pip if not already installed
sudo apt install python3-pip python3-venv -y

# Verify installation
pip3 --version

4. Install MeshPi

# Install MeshPi package
pip3 install meshpi

# Or with LLM support for natural language commands
pip3 install "meshpi[llm]"

5. Run MeshPi Scan

# Discover and connect to MeshPi host
meshpi scan

πŸš€ One-Liner Installation

For experienced users, here's the complete setup in one command:

sudo apt update && sudo apt upgrade -y && sudo apt install python3-pip -y && pip3 install meshpi && meshpi scan

πŸ“‹ What Happens During Scan

When you run meshpi scan, the client will:

  1. πŸ” Discover Host - Uses mDNS to find MeshPi hosts on your network
  2. πŸ”‘ Key Exchange - Generates RSA key pair and exchanges with host
  3. πŸ” Download Config - Receives encrypted configuration
  4. βš™οΈ Apply Settings - Configures WiFi, SSH, users, locale
  5. πŸ”„ Reboot - Restarts to apply all changes

πŸ› οΈ Troubleshooting

No hosts found?

  • Ensure host machine is running meshpi host
  • Check both devices are on the same network
  • Verify firewall allows mDNS (port 5353)

Installation issues?

# Update pip to latest version
pip3 install --upgrade pip

# Install with specific version
pip3 install meshpi==0.1.14

✨ Features

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                           πŸ”₯ MESHPI FEATURE MATRIX                               β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  ENCRYPTION     β”‚    β”‚  FLEET MGMT     β”‚    β”‚  HARDWARE       β”‚    β”‚  MONITORING     β”‚
β”‚                 β”‚    β”‚                 β”‚    β”‚                 β”‚    β”‚                 β”‚
β”‚ β€’ RSA-2048      β”‚    β”‚ β€’ WebSocket     β”‚    β”‚ β€’ 49+ Profiles  β”‚    β”‚ β€’ Prometheus    β”‚
β”‚ β€’ AES-256-GCM   β”‚    β”‚ β€’ Real-time     β”‚    β”‚ β€’ Group Mgmt    β”‚    β”‚ β€’ Grafana       β”‚
β”‚ β€’ mDNS Discoveryβ”‚    β”‚ β€’ Push Updates  β”‚    β”‚ β€’ Auto-Install  β”‚    β”‚ β€’ Alerting      β”‚
β”‚ β€’ Zero-Touch    β”‚    β”‚ β€’ Remote CMD    β”‚    β”‚ β€’ Custom Config β”‚    β”‚ β€’ Audit Logs    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ” Encrypted Zero-Touch Provisioning

  • RSA-2048 key exchange + AES-256-GCM encryption
  • No shared secrets, no cleartext on the wire
  • mDNS discovery for automatic host detection

πŸ“‘ Real-Time Fleet Management

  • WebSocket-based persistent connections
  • Push config updates instantly
  • Execute shell commands remotely
  • Apply hardware profiles on-the-fly
  • Trigger reboots with delay

πŸ”§ 49+ Hardware Profiles with Group Management

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                         πŸ› οΈ HARDWARE PROFILES CATALOG                            β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   DISPLAYS      β”‚    β”‚    SENSORS      β”‚    β”‚     MOTORS      β”‚    β”‚      HATs       β”‚
β”‚                 β”‚    β”‚                 β”‚    β”‚                 β”‚    β”‚                 β”‚
β”‚ β€’ OLED SSD1306  β”‚    β”‚ β€’ BME280        β”‚    β”‚ β€’ A4988 Stepper β”‚    β”‚ β€’ Sense HAT     β”‚
β”‚ β€’ TFT ILI9341   β”‚    β”‚ β€’ DS18B20       β”‚    β”‚ β€’ PCA9685 Servo β”‚    β”‚ β€’ PiSugar UPS   β”‚
β”‚ β€’ e-Paper       β”‚    β”‚ β€’ MPU-6050      β”‚    β”‚ β€’ DC Motors     β”‚    β”‚ β€’ RTC DS3231    β”‚
β”‚ β€’ HDMI 4K       β”‚    β”‚ β€’ INA219        β”‚    β”‚ β€’ Relays        β”‚    β”‚ β€’ Adafruit HAT  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    CAMERAS      β”‚    β”‚     AUDIO       β”‚    β”‚   NETWORKING    β”‚    β”‚      GPIO       β”‚
β”‚                 β”‚    β”‚                 β”‚    β”‚                 β”‚    β”‚                 β”‚
β”‚ β€’ RPi Camera v2 β”‚    β”‚ β€’ HiFiBerry DAC β”‚    β”‚ β€’ CAN Bus       β”‚    β”‚ β€’ Distance      β”‚
β”‚ β€’ USB UVC       β”‚    β”‚ β€’ I2S Microphoneβ”‚    β”‚ β€’ RS-485        β”‚    β”‚ β€’ Ultrasonic    β”‚
β”‚ β€’ IR NightVisionβ”‚    β”‚ β€’ PWM Speakers  β”‚    β”‚ β€’ LoRa          β”‚    β”‚ β€’ IR Sensors    β”‚
β”‚ β€’ MIPI CSI      β”‚    β”‚ β€’ Bluetooth     β”‚    β”‚ β€’ nRF24L01      β”‚    β”‚ β€’ Touch Sensors β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Category Examples
πŸ–₯️ Display OLED SSD1306, TFT ILI9341, e-Paper, HDMI 4K
πŸŽ›οΈ GPIO Steppers (A4988), relays, servos (PCA9685), distance sensors
🌑️ Sensors BME280, DS18B20, MPU-6050, INA219
πŸ“· Camera RPi Camera v2/HQ, USB UVC, IR night vision
πŸ”Š Audio HiFiBerry DAC+, I2S MEMS microphone
πŸ“‘ Networking CAN, RS-485, LoRa, nRF24L01
🎩 HATs Sense HAT, PiSugar UPS, RTC DS3231
# Quick interactive installation
meshpi hw quick-install --interactive

# Browse hardware catalog
meshpi hw catalog --category sensor --popular

# Apply to device groups
meshpi group create sensors
meshpi group add-device sensors pi@192.168.1.100
meshpi group hw-apply sensors sensor_bme280 sensor_ds18b20

# Remote management via SSH
meshpi ssh hw-apply --target pi@192.168.1.100 hat_sense
meshpi ssh hw-search oled --category display

New Features:

  • 🎯 Quick Install Wizard - Interactive hardware selection and installation
  • πŸ“‹ Hardware Catalog - Browse and filter 49+ profiles with tags
  • πŸ‘₯ Device Groups - Batch operations on multiple devices
  • πŸ”— SSH Remote Management - Control hardware on remote devices
  • 🎨 Custom Profiles - Create and share your own hardware configurations

πŸ€– LLM-Powered Agent

pip install "meshpi[llm]"

meshpi agent
> show me all online devices
> what's wrong with rpi-kitchen?
> enable OLED display on rpi-bedroom
> push new WiFi password to all devices

Works with OpenAI, Anthropic, Ollama (local), Azure, Groq, and more.

πŸ“Š Full Diagnostics

meshpi diag

Collects CPU load, memory, temperature, GPIO states, I2C scan, USB devices, WiFi signal, services, logs, and more.

πŸ“ˆ Monitoring & Observability

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                         πŸ“Š MESHPI MONITORING STACK                              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   AUDIT LOGS    β”‚    β”‚  PROMETHEUS     β”‚    β”‚   ALERT ENGINE  β”‚    β”‚   GRAFANA       β”‚
β”‚                 β”‚    β”‚                 β”‚    β”‚                 β”‚    β”‚                 β”‚
β”‚ β€’ JSONL Format  β”‚    β”‚ β€’ Metrics API   β”‚    β”‚ β€’ 9 Rules       β”‚    β”‚ β€’ Dashboards    β”‚
β”‚ β€’ Operations    β”‚    β”‚ β€’ Time Series   β”‚    β”‚ β€’ Temperature   β”‚    β”‚ β€’ Visualization β”‚
β”‚ β€’ Device Events β”‚    β”‚ β€’ Device Health β”‚    β”‚ β€’ Memory        β”‚    β”‚ β€’ Historical    β”‚
β”‚ β€’ Timestamps    β”‚    β”‚ β€’ System Stats  β”‚    β”‚ β€’ Offline       β”‚    β”‚ β€’ Alerting      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚                       β”‚                       β”‚                       β”‚
         β–Ό                       β–Ό                       β–Ό                       β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                           πŸš€ CENTRALIZED MONITORING                             β”‚
β”‚                                                                                 β”‚
β”‚ β€’ Real-time Metrics Collection                                                  β”‚
β”‚ β€’ Historical Data Storage                                                       β”‚
β”‚ β€’ Alert Notifications                                                           β”‚
β”‚ β€’ Visual Dashboards                                                             β”‚
β”‚ β€’ Fleet Health Overview                                                         β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

MeshPi includes built-in monitoring with Prometheus metrics, alerting, and audit logging:

# View audit log
meshpi audit

# Check alert status
meshpi alerts status

# Push OTA update
meshpi ota push --image ./image.img --devices rpi-001,rpi-002

Features:

  • πŸ” Audit Logging - All fleet operations logged to JSONL
  • πŸ“Š Prometheus Metrics - CPU, memory, temperature, device count
  • 🚨 Alert Engine - 9 default rules (temperature, memory, offline, etc.)
  • πŸ”„ OTA Updates - Staged rollout with A/B partition rollback
  • πŸ“‰ Grafana Dashboards - Pre-built visualization templates

Docker Monitoring Stack:

# Start with Prometheus + Grafana
docker compose --profile monitoring up

# Access endpoints
open http://localhost:7422/metrics    # Prometheus metrics
open http://localhost:9090            # Prometheus UI
open http://localhost:3000            # Grafana (admin/meshpi)

πŸ’Ύ USB Offline Workflow

For air-gapped environments:

meshpi pendrive seed     # Client: write public key to USB
meshpi pendrive export   # Host: encrypt config to USB
meshpi pendrive apply    # Client: apply config from USB

πŸ“¦ Installation

# Core package
pip install meshpi

# With LLM agent support
pip install "meshpi[llm]"

# Development dependencies
pip install "meshpi[dev]"

# Everything
pip install "meshpi[all]"

Requirements: Python 3.9+, Linux (host), Raspberry Pi OS (client)


πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                           πŸš€ MESHPI INSTALLATION FLOW                           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   HOST PC       β”‚                     β”‚   CLIENT RPi    β”‚
β”‚                 β”‚                     β”‚                 β”‚
β”‚ meshpi config   β”‚                     β”‚ meshpi scan     β”‚
β”‚   ↓             β”‚                     β”‚   ↓             β”‚
β”‚ ~/.meshpi/      β”‚                     β”‚ mDNS discovery  β”‚
β”‚ config.env      β”‚                     β”‚   ↓             β”‚
β”‚                 β”‚                     β”‚ RSA key exchangeβ”‚
β”‚ meshpi host     │◀────────────────────│   ↓             β”‚
β”‚   ↓             β”‚   Encrypted config  β”‚ Apply settings  β”‚
β”‚ FastAPI API     │────────────────────▢│   ↓             β”‚
β”‚   ↓             β”‚                     β”‚ Reboot          β”‚
β”‚ WebSocket       β”‚                     β”‚   ↓             β”‚
β”‚   ↓             β”‚                     β”‚ Ready!          β”‚
β”‚ Dashboard       β”‚                     β”‚                 β”‚
β”‚   ↓             β”‚                     β”‚                 β”‚
β”‚ mDNS Adv        β”‚                     β”‚                 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

                            ↕ Persistent Connection
                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β”‚           MESHPI DAEMON                β”‚
                    β”‚                                        β”‚
                    β”‚ β€’ Diagnostics push (60s interval)      β”‚
                    β”‚ β€’ Real-time commands                   β”‚
                    β”‚ β€’ Status updates                       β”‚
                    β”‚ β€’ Health monitoring                    β”‚
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ› οΈ CLI Reference

Command Description
meshpi config Interactive configuration wizard
meshpi host Start host service (FastAPI + mDNS)
meshpi scan Discover hosts, download config
meshpi daemon Persistent WebSocket connection
meshpi diag Show device diagnostics
meshpi hw list List hardware profiles
meshpi hw apply <id> Apply hardware profile
meshpi agent Launch LLM management agent
meshpi info Show local keys/config state
meshpi pendrive * USB offline workflow

πŸ”§ Environment Variables

MeshPi supports extensive configuration through environment variables. Copy .env.example to .env and customize.

🐳 Docker & Deployment

# Host service
MESHPI_PORT=7422
MESHPI_BIND=0.0.0.0

# Client configuration
MESHPI_HOST_IP=localhost
MESHPI_HOST_PORT=7422
MESHPI_DEVICE_ID=meshpi-client

πŸ”§ Configuration (MESHPI_CFG_*)

Environment variables with MESHPI_CFG_ prefix are automatically converted to config.env:

# WiFi
MESHPI_CFG_WIFI_SSID="MyNetwork"
MESHPI_CFG_WIFI_PASSWORD="MyPassword"
MESHPI_CFG_WIFI_COUNTRY="PL"

# SSH
MESHPI_CFG_RPI_USER="pi"
MESHPI_CFG_RPI_PASSWORD="raspberry"
MESHPI_CFG_SSH_ENABLE="yes"

# System
MESHPI_CFG_RPI_HOSTNAME="meshpi-node"
MESHPI_CFG_RPI_TIMEZONE="Europe/Warsaw"

πŸ€– LLM Agent

# LiteLLM configuration
LITELLM_MODEL=gpt-4o-mini
LITELLM_API_KEY=sk-...
LITELLM_API_BASE=https://api.openai.com/v1

# Alternative providers
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...

πŸ“‹ Complete Reference

See .env.example for all available variables including:

  • Docker & Deployment: Port, binding, client settings
  • Configuration: SSH, WiFi, hostname, hardware interfaces
  • LLM Agent: Multiple provider support
  • Testing: Test devices, SSH keys, timeouts
  • Security: Key paths, crypto settings
  • Monitoring: Log levels, file paths

πŸ“š Standard Documentation

For standardized documentation on device groups and hardware profiles, see:


πŸ“ Repository Organization

meshpi/
β”œβ”€β”€ test/                    # Test scripts and utilities
β”‚   β”œβ”€β”€ batch-rpi-test.sh    # Batch testing for multiple RPis
β”‚   β”œβ”€β”€ test-doctor.sh       # Doctor functionality tests
β”‚   β”œβ”€β”€ test-enhanced-cli.sh # CLI feature tests
β”‚   β”œβ”€β”€ test-list.sh         # List functionality tests
β”‚   β”œβ”€β”€ test-restart.sh      # Restart functionality tests
β”‚   β”œβ”€β”€ test-ssh-host.sh     # SSH host tests
β”‚   β”œβ”€β”€ test-ssh-scan-identify.sh # SSH scan tests
β”‚   └── run-rpi-tests.sh     # Main Docker test runner
β”œβ”€β”€ scripts/                 # Tooling and utility scripts
β”‚   β”œβ”€β”€ diagnose-rpi.sh      # Comprehensive RPi diagnostics
β”‚   β”œβ”€β”€ fix-rpi-meshpi.sh    # Automated common issue fixes
β”‚   β”œβ”€β”€ monitor-repair.py    # Real-time repair status monitor (Python)
β”‚   β”œβ”€β”€ project.py           # Code analysis tool (Python)
β”‚   β”œβ”€β”€ remote-rpi-test.sh   # Remote RPi testing via SSH
β”‚   β”œβ”€β”€ rpi-service-manager.sh # Service management
β”‚   └── show-repair-status.py # Visual repair status display (Python)
β”œβ”€β”€ meshpi/                  # Core Python package
β”œβ”€β”€ docker/                  # Docker configurations
β”œβ”€β”€ docs/                    # Documentation
└── tests/                   # Unit tests

πŸ§ͺ Development

# Clone and setup
git clone https://github.com/pyfunc/meshpi.git
cd meshpi
make venv
make dev

# Run tests
make test

# Build package
make build

# Publish to PyPI
make publish

🐳 Docker

# Build image
docker build -t meshpi .

# Run host
docker run -p 7422:7422 meshpi

# Docker Compose
docker-compose up -d meshpi-host

πŸ“„ License

Apache License 2.0 - see LICENSE for details.


πŸ‘€ Author

Tom Sapletta
πŸ“§ tom@sapletta.com
🏒 Softreck - Embedded systems, IoT automation


πŸ”— Links


⬆ Back to Top

Made with ❀️ for the Raspberry Pi community

License

Apache License 2.0 - see LICENSE for details.

Author

Created by Tom Sapletta - tom@sapletta.com

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

Β 
Β 
Β 

Contributors