PiMesh MMX

Your own ready-made image

Instead of setting up a Pi by hand, build an image in your account that boots already set up for you.

Build one

  1. Sign up and log in. If your callsign has a DMR ID on RadioID, your account is ready straight away. Otherwise an admin approves it first.
  2. Under My account, press New node and choose:
  3. DMR ID and ending. The portal looks up your DMR ID from your callsign. Every node needs its own ending, so the first is usually 01 (234500101) and the next 02. Endings already used by your other nodes aren't offered.
  4. Modem. With the Repeater Builder STM32-DVM v4 you can also have FM, SvxLink and AllStar. Every other modem is digital only, because the Pi has no analog audio of its own.
  5. Simplex or duplex and the frequencies.
  6. Modes, and the SvxReflector if you use SvxLink. You're registered on the reflector automatically.
  7. DMR networks. Tick the ones you want and number them, with 1 tried first. For each, list the talkgroups to send there: 91 2350 for BrandMeister, 23450 23451 for YorksDMR, and so on. YorksDMR and IPSC2 networks also take static talkgroups. For BrandMeister, enter your hotspot security password from BrandMeister SelfCare, and optionally your BrandMeister API key.
  8. Press Save, then fill in Build the image:
  9. Your Wi-Fi name and password. Leave these empty for a wired network.
  10. Optionally a dashboard password (otherwise you choose one at first login).
  11. Optionally an SSH key.

The Wi-Fi password is turned into a key inside the image and isn't kept on the server. 4. Building takes a few minutes. Then download the .img.xz. The link works once, and the image is deleted from the server after the download, or after 48 hours if you don't download it. If the download fails, build again.

Flash and boot

Write the .img.xz to a micro SD card (8 GB or more) with Raspberry Pi Imager (Choose OS › Use custom) or balenaEtcher. In Imager, don't apply any OS customisation, because the image already has your settings. Put the card in the Pi and power it up. The first boot takes a few minutes and restarts once. After that, open http://<callsign>-01.local/, or find the Pi's address on your router.

The node then links itself to your account. My account shows it as online.

Change things later

  • On the node: use its dashboard as normal.
  • From your account: open the node, change what you need, and press Save and send to node. The node picks it up within 5 minutes and shows "applied". This replaces the node's radio, mode and DMR network settings, including any changes made on its dashboard since. Wi-Fi and SSH can only be changed on the node.
  • Save on its own keeps the change for your next image without touching the node.

More nodes

Open a node and press Copy for another node. The copy gets the next free DMR ID ending (02, 03, ...). Check its frequency, then build its image.

A new image for the same node gives it a new key, so an older card for that node stops linking to your account.

Nodes that go away

A node that hasn't checked in for a year is taken off the node list. It stays in your account marked "removed". Press Re-add if it comes back. Remove deletes it from your account and frees its DMR ID ending.

For admins

Images are built from one base image. To make one, run image/build.sh with BASE=1 (see docs/base-image.md) and power the Pi off. Then put that card in your PC and, under Admin › Images, press Make an upload link. Paste the line it gives you into PowerShell (Admin) on Windows or a terminal on Linux, and pick the card from the list. The card is read, compressed and streamed straight to the server, and the server shrinks it, so you don't need PiShrink. You can still upload a ready .img.xz on the same page, or copy one with scp into the server's base/incoming folder and press Look for new images. The server unpacks it once and checks that it has a boot partition. Each build copies only the boot partition, adds the member's pimm-setup.toml, and compresses the whole image.

Allow about three times the base image's unpacked size in free disk space (for example 12 GB for a 4 GB image). That covers the unpacked base plus a few finished downloads waiting to be collected.

The SvxReflector sign-up API is set on the same page. When a member picks SvxLink, the portal POSTs a small JSON body (with {callsign}, {email} and other placeholders) to your URL, with an optional bearer token. It reads the password from the reply field you name, for example password or data.auth_key. Without a URL, the reflector's shared key from SvxReflectors is used.