python
python copied to clipboard
The Python CLI and API for talking to Meshtastic devices
I've spent too much time troubleshooting an issue, where position_precision was set to 0, and was not being shown in the --info output.
Problem: Missing fields are omitted. Solution: This fix sets the flag `always_print_fields_with_no_presence` in the invocation of the protobuff method `MessageToJson` will display the missing fields. see: MessageToJson https://github.com/protocolbuffers/protobuf/blob/6b36eb633ccc9c585ed1ead117fca91702814027/python/google/protobuf/json_format.py#L82 see: issue...
Hello, ifconfig is obsolete on Linux and should be replaced by ip. On some Linux distributions, ifconfig is no longer (pre)installed. ``` $ sudo meshtastic --tunnel Connected to radio INFO...
I have two devices in the same network. Both have the same `admin` channel setup. Running the `meshtastic` CLI version `2.2.17`, on Arch, installed via AUR. When running the `--get...
To specify a node, we currently use an exclamation mark, which has other effects in bash. It would be ideal to also allow nodes to be specified by their numeric...
1. static ip, gateway, subnet dns are set 2. config settings yaml file exported via cli command 3. importing settings through cli: `meshtastic --configure settings.yaml` EXPECTED: config settings imported ACTUAL...
### Category Other ### Hardware Rak4631 ### Firmware Version 2.2.21.7f7c5cb ### Description I run Meshtastic on RAK4631 with Ethernet (RAK13800) and PoE (RAK13800) modules, connected to a PoE switch over...
I have a Heltec LoRa v3 board and I believe I've destroyed the ipex connector on the supplied mini antenna by exceeding the number of mating cycles over the last...
 In the former command, I'm able to see the GPS data for the extant node. In the latter, I get a simple text version of some of the data....
in` remote_hardware.py` in `onGPIOreceive(...):` change line: ` f'Received RemoteHardware type={hw["type"]}, gpio_value={gpioValue} value={value}'` to ` f'Received Remote_Hardware type={hw["type"]}, mask=0x{int(interface.mask):x} value=0x{int(value):x}'` Example output at `gpio-wrb` **Writing GPIO mask 0x2000 with value 0x2000...