Resilience Theatre

Personal projects for resilience

User Tools

Site Tools


edgemap:configuration

Edgemap configuration

Quick notes how you should configure Edgemap instance running on RaspberryPi4.

First boot flowchart

Bellow is quickly drawn flowchart which shows how you bring freshly burned Edgemap MicroSD up and running.

Edgemap identity

You have to configure TLS certificate and CA certificate for edgemap on network. This is required for https ,TLS secured websockets and video conference to work. I really don't like TLS and would preferably do without but it's required for video conference to work with webRTC.

Meshtastic port

To find out what port your device is using with Edgemap, you can use 'dmesg' command.

First unplug Meshtastic radio. Then plug it in and give command:

# dmesg
...
[254101.489795] usb 1-1.4: cp210x converter now attached to ttyUSB0
...

You should see 'attached' message with port identification. Use this port to configure radio:

# nano /opt/edgemap/meshpipe/meshtastic.env 

And change port:

MESHTASTIC_PORT="/dev/ttyUSB0"

I've found out that device brands define following ports:

LilyGo: /dev/ttyUSB0
Heltec: /dev/ttyACM0

GPS port

You can identify locally connected GPS port with same method and change it at:

# nano /etc/default/gpsd
DEVICES="/dev/ttyUSB1"
edgemap/configuration.txt · Last modified: 2024/08/17 12:01 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki