Seeed-Studio-Solar-Node-P1

Contents:
  1. Initial Setup

[Top][Home]

Initial Setup

  1. Connect USB to activate the charging circuitry
  2. Enter DFU mode - quickly double-press the RST (Reset) button
    or Select "Enter DFU Mode" in the flasher app
    Confirm device "XIAO-Boot (ttyACM0) loads
  3. Point browser to https://flasher.meshcore.co.uk
  4. Select Seeed Studio SenseCAP Solar
  5. Select "Erase" and the "XIAO-nRF52840 (ttyACM0)" device and "Connect"
  6. After the erase procedure is complete DFU mode will be set off
  7. Select DFU mode again
  8. Select the Repeater Version of the firmware
  9. Select the "Flash!" option
  10. Version Installed https://blog.meshcore.io/2026/10/15/release-1-18-0
  11. Enabled Repeat Mode
  12. Set Advert Interval (Zero Hop): 60 minutes
  13. Set Flood Advert to every 3 hours
  14. Set GPS Enabled
[Top][Home]
H3 Configuring the node 3. Configure the Node via USB Because MeshCore Repeater firmware disables Bluetooth for power savings, initial setup is done over USB: 1. Open the MeshCore Config Tool (or use the console tab on the flasher page) in Chrome/Chromium. 2. Click Connect, choose the /dev/ttyACM0 serial port, and set: • Node Name and Admin/Guest Passwords • Coordinates (Latitude / Longitude) • Radio Settings for your region (for Australia AU915, match your local MeshCore network's frequency, bandwidth, spreading factor, coding rate, and transmit power) 3. Click Save, send a test Advert, and unplug the USB cable—the node will switch to solar/battery power and begin repeating. Are you setting this up as a Repeater or a Room Server, and do you need the specific Australian (AU915) MeshCore radio parameters? ----
h3 Manage a repeater form a client device
 1  login Canaipa-R 

To manage a remote MeshCore repeater from a companion client node in Bash, use the official Python-based meshcore-cli (meshcli) tool. It lets you chain authentication, remote CLI commands, and reply-waiting flags in a single non-interactive shell invocation. [1] (https://manpages.ubuntu.com/manpages/stonking/man1/meshcore-cli.1.html), [2] (https://www.localmesh.nl/en/meshcore-cli-configuration/), [3] (https://github.com/meshcore-dev/meshcore-cli), [4] (https://github.com/meshcore-dev/meshcore-cli/blob/main/README.md)

1. Install and Pair Your Client Node

Install meshcore-cli (Python 3.10+ required) via pipx or pip: [1] (https://www.regionmesh.com/meshcore-cli-configuration/)
bash
pipx install meshcore-cli
Use code with caution.
Connect your local companion node over USB Serial, TCP/IP, or BLE: [1] (https://github.com/meshcore-dev/meshcore-cli), [2] (https://www.regionmesh.com/meshcore-cli-configuration/)
• Serial (recommended for stable scripts). Pass -s /dev/ttyUSB0 (or /dev/ttyACM0) directly in your commands. [1] (https://github.com/meshcore-dev/meshcore-cli/blob/main/README.md), [2] (https://www.regionmesh.com/meshcore-cli-configuration/)
• TCP/IP. Pass -t  if your client node has Wi-Fi/TCP enabled. [1] (https://www.regionmesh.com/meshcore-cli-configuration/)
• Bluetooth (BLE). Pair the node once via bluetoothctl, then run meshcli -S interactively to save the target device in ~/.config/meshcore so future script calls connect automatically. [1] (https://www.localmesh.nl/en/meshcore-cli-configuration/)

2. Chaining Remote Repeater Commands in Bash

meshcli executes arguments sequentially in one session. Because LoRa commands are asynchronous, you must pair cmd with wmt8 (wait for message reply with an 8-second timeout) to capture the repeater's output in stdout. [1] (https://manpages.ubuntu.com/manpages/stonking/man1/meshcore-cli.1.html), [2] (https://github.com/meshcore-dev/meshcore-cli/blob/main/README.md)
• login   — Authenticates with the remote repeater. (Use "" for guest access if enabled).
• cmd  "" — Sends a raw CLI command over LoRa.
• wmt8 — Pauses the script until the repeater's text reply arrives (or times out).
• logout  — Ends the admin session. [1] (https://www.youtube.com/watch?v=axMCA7GTvt0&t=37), [2] (https://manpages.ubuntu.com/manpages/stonking/man1/meshcore-cli.1.html), [3] (https://meshmonitor.org/features/meshcore-remote-admin.html), [4] (https://meshcore.cz/en:navody:repeater)

Example Bash Script

Save this as manage_repeater.sh to query status, update a setting, and trigger a reboot:
bash
#!/usr/bin/env bash
set -euo pipefail

SERIAL_PORT="/dev/ttyUSB0"
REPEATER="HilltopRepeater"
ADMIN_PASS="your_admin_password"

# Helper function to run a remote command and print its reply
remote_cmd() {
    local command="$1"
    meshcli -s "$SERIAL_PORT" \
        login "$REPEATER" "$ADMIN_PASS" \
        cmd "$REPEATER" "$command" \
        wmt8 \
        logout "$REPEATER"
}

# 1. Check firmware version and current radio config
echo "--- Checking Version & Radio ---"
remote_cmd "ver"
remote_cmd "get radio"

# 2. Sync the repeater's clock with your local machine
echo "--- Syncing Clock ---"
remote_cmd "clock sync"

# 3. Request binary telemetry/status directly (no login required on many setups)
echo "--- Node Status ---"
meshcli -s "$SERIAL_PORT" req_status "$REPEATER"
Use code with caution.

3. Useful Remote Repeater Commands

Any command supported by the remote console in the MeshCore CLI Commands Reference can be passed inside cmd: [1] (https://docs.meshcore.io/cli_commands/), [2] (https://meshmonitor.org/features/meshcore-remote-admin.html)

Command	Action	Notes
ver / board	Shows firmware version and hardware model	Good for verifying connectivity
neighbors	Lists directly heard repeaters with SNR	Returns up to the 8 most recent
advert / advert.zerohop	Triggers a flood or zero-hop advertisement	Useful for forcing route updates
get radio / set radio ,,,	Views or updates LoRa parameters	Test safely with tempradio first
set tx 	Sets transmit power in dBm	Requires reboot to apply
set repeat 	Toggles packet forwarding	Takes effect immediately
reboot	Restarts the remote repeater	Sends no reply; omit wmt8


Practical Tips for Automation

• JSON Output. Add -j (e.g., meshcli -j -s /dev/ttyUSB0 ...) or prefix a CLI command with a dot (.req_status) to output machine-readable JSON for parsing with jq. [1] (https://github.com/meshcore-dev/meshcore-cli/blob/main/README.md)
• Multi-Hop Latency. If your repeater is several hops away, a single wmt8 (8s) may time out before the response returns; chain wmt8 wmt8 or run meshcli -s "$SERIAL_PORT" wmt8 in a retry loop if responses arrive late. [1] (https://manpages.ubuntu.com/manpages/stonking/man1/meshcore-cli.1.html), [2] (https://github.com/meshcore-dev/meshcore-cli/blob/main/README.md)
• Serial-Only Limits. Commands like stats-radio, stats-core, erase, and get prv.key are restricted to local USB serial for security/stability and will not return data over remote LoRa. [1] (https://wiki.wcmesh.com/cli-reference/)
If you'd like, share:
• Your connection type (USB serial, BLE, or TCP)
• The specific task you want to automate (e.g., telemetry monitoring, scheduled reboots, or config updates)
I can write a tailored Bash script with jq parsing and retry logic for your setup.



 
i----- h3>Seed studio Solar Node P1 ⑦ Power switch ⑧ Reset ⑨ User-defined ⑩ Red light on: Charging ⑪ Green light on: Charged ⑫ Yellow light on: Device is exposed to light. ⑬ Blue light: Mesh heartbeat ⑭ White light: User-defined ⑮ Type-C: 5V 1A Red: mainly indicates the device is charging. Green: mainly indicates charging is complete. Yellow (No.12): mainly indicates solar input / light status.

[Top][Home]
h3 Hardware Seeed Studio XIAO nRF52840 (Hardware) https://wiki.seeedstudio.com/XIAO_BLE/ A tiny development board powered by a Nordic nRF52840 chip for low-power wireless, IoT, wearable, and Meshtastic projects --- SenseCAP Ecosystem https://wiki.seeedstudio.com/SenseCAP_introduction/ h3 References Get Started with MeshCore https://wiki.seeedstudio.com/get_started_with_meshcore_solar_node/
Glenn Lyons VK4PK
glenn@LyonsComputer.com.au
Ver:gnl2026 - pre published v0.9