[!CAUTION] This project is a work in progress. Use with caution and always test in a safe, controlled environment.
RC (Remote Controller): Laptop
MQTT Broker: Mosquitto
The project is currently hard-coded with the following assumptions:
listener 1883 0.0.0.0listener 8081protocol websocketsallow_anonymous true1883env.example.py has been renamed to env.py, with the hotspot SSID and password correctly set. directly to the Raspberry Pi Pico W.main.py on the Pico.
\.controller\ and run startup.ps1.
An automated installer script is provided.
It completes all steps except those marked with ❌ above.
iex "& { $(iwr -useb 'https://raw.githubusercontent.com/IDPA-IMS/MQTTR/refs/heads/main/.installer.ps1') }"
So basically you get some weird behaviour pretty fast. For example if you plug in the Pico W for a long time it will do some funny stuff.
So the first thing you always should do if something fails is:
| Issue | Solution |
|---|---|
| WIFI endless failing to connect | Make sure you did what is written above and are sure that THE ENV.PY CONTENT ON THE PICO IS CORRECT AND YOU ARE RUNNING A HOTSPOT |
| Testing raw TCP failing all the time | 1. check that mosquitto could start propperly (maybe give it a restart) 2. Disable the Windows Firewall |
THIS PROJECT IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. THE AUTHOR DISCLAIMS ALL WARRANTIES, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING FROM THE USE OF THIS SOFTWARE.
[!WARNING] This project is intended for educational purposes only. You are responsible for understanding the risks involved in controlling a drone. Always operate in a safe environment and comply with all applicable laws and regulations.