02.03 β MeshMonitor Installation (Native)
Purpose
MeshMonitor is the single source of truth for:
- node state
- packets
- positions
- integrations (Discord, MQTT consumers, etc.)
This setup uses a native install, not Docker. I did try the Proxmox LXC option provided by the developer, but it was an abysmal failure for me, never could get it to work, so I opted for native install.
Install Dependencies
Ensure Node.js and npm are installed (Node 18+ recommended).
Install MeshMonitor
git clone https://github.com/Yeraze/meshmonitor.git
cd meshmonitor
npm install
npm run build
npm run build:server
systemd Service
Create /etc/systemd/system/meshmonitor.service:
[Unit]
Description=MeshMonitor
After=network.target
[Service]
ExecStart=/usr/bin/node /root/meshmonitor/dist/server/server.js
Restart=always
User=root
Environment=NODE_ENV=production
[Install]
WantedBy=multi-user.target
Enable and start:
systemctl daemon-reload
systemctl enable --now meshmonitor