This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Documentation & Resources

Welcome to the Bayme.sh information bazar!

1 - Overview

A quick overview over what meshtastic is and how it works

What more of an overview do people need? ChatGPT was here.

Meshtastic is an open-source project that allows people to communicate over long distances without relying on traditional cellular networks or Wi-Fi. It uses affordable devices equipped with LoRa (Long Range) technology to create a mesh network, enabling text messaging and GPS location sharing even in remote areas. Ideal for outdoor adventures, emergency situations, and local events, Meshtastic provides a simple and reliable way to stay connected when other communication methods are unavailable.

2 - FAQ's

Frequently Asked Questions
  • Q - I send messages but don’t get an ack/response?
    A - In order to get an acknowledgement from your message, there must be another node in range. Here’s a few tips to help out:

    1. Check the maps, to see if there are any nodes close to you on the map. Within a few miles at most. Remember that not all nodes are reported on the map and the nodes on the map may be old.
    2. Get as clear line of sight to other nodes as possible. In your basement is bad, on the roof is best. Lora signals don’t pass through trees and building very well, so the less stuff between you and your target, the better. At a bare minimum, put the node in a window.
    3. Consider a better antenna. If you’re using something cheap like a Lilygo T-Beam or Heltec V3, they often ship with poorly tuned antennas. Buy something from a reputable side like Rokland, or ask around for what has had good results on Amazon.
    4. Try from other locations.
  • Q - I can get messages outside/from my roof, but not in my house, what can I do?
    A - Use the mesh! Put a second node in a box outside, with a good antenna. It can be your own personal “base station” to boost the message to your carry around node.

  • Q - I see my messages on #logger, but I never get messages on my radio
    A - The messages logged in discord come from all over the Bay Area (and into Sacramento and the Central Valley). Messages are uplinked from various nodes that may be dozens of miles away from you. Additionally due the geography of the Bay Area and minimal nodes on mountain tops, message in one geographic area may not make it to you.

  • Q - Can you ELI5 Meshtastic?
    A - Imagine if walkie-talkies could talk to multiple people at once, and automatically relay your messages from one radio to another to get better range. It’s a lot like that, except its digital so you’re sending text messages…except you don’t need cell service.

3 - Getting Started

If you’ve never used Meshtastic before this is a great place to start

If you haven’t checked the Offical Meshtastic Getting Started Guide we’d reccomend you start there first.

Getting started in 5 easy steps

3.1 - Meshtastic Basics

A more detailed breakdown of meshtastic as told by ChatGPT

This was generated by ChatGPT. Someone should make sure its legit before trusting anything.

Introduction to Meshtastic

Meshtastic is an open-source project that enables long-range, low-power, mesh communication using inexpensive hardware. It is primarily designed for outdoor activities, emergency scenarios, and other use cases where traditional communication infrastructure is unavailable.

Core Components

  1. Hardware

    • LoRa Modules: Meshtastic uses LoRa (Long Range) modules, which are capable of transmitting data over several kilometers using minimal power. Commonly used modules include the TTGO T-Beam and Heltec WiFi LoRa 32.
    • Microcontrollers: These modules are typically integrated with microcontrollers that handle data processing and communication.
  2. Firmware

    • The Meshtastic firmware is installed on the LoRa modules, enabling them to form a mesh network. This firmware manages the routing of messages, device configurations, and network management.
  3. Mobile Applications

    • Meshtastic App: Available for both Android and iOS, the Meshtastic app allows users to configure their devices, send messages, and visualize the mesh network. It connects to the LoRa modules via Bluetooth.
    • Web Interface: There is also a web interface that provides similar functionalities through a web browser.

How Meshtastic Works

  1. Mesh Network Formation

    • Node Deployment: Each LoRa module acts as a node in the network. When powered on, these nodes automatically connect to nearby nodes, forming a mesh network.
    • Self-Healing and Scalability: The network is self-healing, meaning it can dynamically re-route messages if a node goes offline. This makes the network robust and scalable, capable of handling numerous nodes.
  2. Communication

    • Message Routing: When a message is sent from one node, it is propagated through the mesh network. Nodes relay the message until it reaches its destination.
    • Encryption: Messages are encrypted to ensure privacy and security within the network.
  3. Range and Power Efficiency

    • Long Range: The LoRa technology enables communication over distances up to several kilometers, depending on the environment and antenna configuration.
    • Low Power Consumption: Meshtastic is designed to operate on low power, making it suitable for battery-powered devices and long-term deployments.

Use Cases

  1. Outdoor Adventures

    • Hikers, campers, and outdoor enthusiasts can use Meshtastic to stay connected in areas without cellular coverage.
  2. Emergency Situations

    • Meshtastic can be crucial in disaster scenarios where traditional communication infrastructure is damaged or unavailable.
  3. Community Networks

    • Local communities can set up their own mesh networks for events, festivals, or local communication needs.

Getting Started

  1. Hardware Setup

    • Purchase compatible LoRa modules and flash them with the Meshtastic firmware following the official guides.
  2. Configuration

    • Use the Meshtastic mobile app or web interface to configure your nodes, set up encryption keys, and manage network settings.
  3. Deployment

    • Deploy the nodes in the desired area and start communicating through the mesh network.

Conclusion

Meshtastic provides a versatile and robust solution for long-range, low-power communication. Its open-source nature and community support make it an accessible and practical tool for various scenarios where traditional communication methods are impractical.

3.2 - MQTT

A few more details about MQTT specifically

This is on the most advanced side of things. If you don’t know what “MQTT” is, leave it disabled. You do not need to turn MQTT to have your messages on the logger.

This is also only useful on “base station” nodes. Ones that are in a good position to pick up messages AND with a stable internet/wifi connection.

MQTT is the technology used to feed the mesh data to the internet (aka what powers the Mesh Maps, Discord Logger, etc). Setting up MQTT is totally optional and should only be done on a staticly installed node with strong and reliable internet access (like a node on your roof). If you are just using a portable node, you do not need to take any actions.

MQTT Settings

If you want to use MQTT:

  • Module Configuration > MQTT

    • MQTT Enabled: True
    • Encryption Enabled: True
    • JSON Enabled: False
      • This doesn’t work on RAK devices, only ESP32
      • Its limited and isn’t needed by the logger or meshview.
    • Map Report Enabled: Optional
    • Root Topic: msh/US/bayarea
      • EXACTLY this, the capitalization matters
    • Server Address: mqtt.bayme.sh
    • Username: meshdev
    • Password: large4cats
    • TLS Enabled: Optional
      • If you want to use TLS, it’s supported
  • Radio Configuration > Channels > 0 / Primary

    • MQTT Uplink: Enabled
    • NEVER EVER ENABLE DOWNLINK

3.3 - Recommended Hardware

General suggestions on hardware

See also Discord #resources thread

Rak Wisblock

  • Pros
    • Low power usage
    • Modular (Can easily add on gps and sensors)
    • Dedicated solar input
  • Cons
    • Requires assembly
  • Order from
    • Rak Wireless
    • Rokland
    • Etsy
    • Amazon

T Beam

  • Pros
    • Fully built with display and gps (except battery and case)
    • Reliable
    • Somewhat cheap
  • Cons
    • High power usage
    • Weird antenna placement
  • Order from
    • Lilygo
    • Rokland
    • Etsy
    • Amazon

TTGo Lora

  • Pros
    • Small form factor
    • Cheap
    • Already attached display and built in wifi and ble antenna
  • Cons
    • No gps
    • High battery usage
  • Order from
    • Lilygo
    • Rokland
    • Amazon

Wis Mesh

  • Pros
    • battery efficient
    • Integrated gps
    • Nicest form factor
    • Fully built with case
  • Cons
    • A bit expensive
  • Order from
    • Rak Wireless
    • Rokland

3.4 - Recommended Settings

We have some sane default settings that we strongly recommend you follow

Please make sure to update the firmware on your device as you get started. The easiest way to do that is to use the Web Flasher. The latest stable release, even if labeled Beta, is generally a very safe option.

In the Bay Area, we have a few recommendations for configuration:

  • LORA
    • Set region to United States (US)
    • Preset: Long Range - Fast (Default)
    • Number of hops: 3 (Default) - Please don’t turn this up.
    • Set Ignore MQTT to true to avoid forwarding MQTT traffic
  • Channels
    • 0 Primary Channel
      • Name: Blank (Default)
      • Key: AQ== (Default)
      • You may wish to turn off Positions & Location if you’re not interested in broadcasting your location
  • User
    • Long Name: Something descriptive. Ex: Your name, Discord Handle, or Ham Callsign
    • Short Name: Max of 4 characters, something unique for you and that particular radio. This will be what’s displayed in chat.
    • Licensed Operator: Do not enable unless you are a licensed Amateur Radio operators and have read Licensed Operations.
  • Device Config
    • Device Role
      • Client Mute - Best for vehicles and anytime you have more than 2 nodes in the same place. It will not relay messages.
      • Client - Recommended for a home “base stations” or your single primary node. It will relay messages it receives.
      • Router / Repeater - Don’t use this to get started. There are a lot of considerations, and caveats, to using the offical Router & Repeater roles. Remember: The Client role relays messages just fine.
      • See offical docs for full breakdown
  • Module Configuration
    • MQTT
      • If you want to be internet-connected, see MQTT - But this is for fixed position nodes, typically at home.
    • Device Telemetry
      • Device Metrics: 1 hour.
      • Sensor Metrics: 1 hour.

4 - Weekly Net

We meet regularly, how to participate

Wednesday at 5pm. On air and on Discord voice

Meshtastic Net

I will keep it open from 5-6pm for checkins so you do not have to rush. The message format will just be (LONG NAME) - (CITY YOU ARE IN) #BayMeshNet. So for example I would do Ko6cnt Base - Santa Clara #BayMeshNet.

Voice Call

Also at the same time at 5pm we will be holding a voice call in the discord voice channel. It will be more like a general purpose discussion of all things Meshtastic in the Bay.

5 - Emergency/Private Use

You think this meshtastic thing is cool, but want don’t want to join our broader net? That’s cool too!

If you are planning on using Meshtastic in the Bay Area and don’t want to participate in the broader network, or what to make sure you’re setup with your friends/family in case of an emergency, that’s cool. We’ve got some suggestions for you:

  • Don’t use Frequency Slot 0
  • Use “client” mode

6 - Licensed Operations

For those with an Amateur Radio License there is another side to Meshtastic

See the offical docs on Amateur Radio

In short, you can transmit up to 10W with high gain antennas. On the flip side you cannot join the default mesh and encryption must be (and is automatically) disabled.

7 - Other Community Resources

The community has put together other resources, such as presentations and videos.