Skip to content

A raspberry PI bridge between GPIO input pins and MQTT messages

License

Notifications You must be signed in to change notification settings

graysonarts/rust-gpio-mqtt-bridge

Repository files navigation

GitHub Workflow Status GitHub issues GitHub license Requires.io Gitmoji

All Contributors

Cross-Compile on Windows

Follow these instructions to setup rust to cross compile from windows to raspberry pi.

Running

  1. set the environment variable CTRL_HOST to the hostname of your raspberry pi. If not set, we default to "raspberry". It can also be an IP address.
  2. set the environment variable CTRL_USER to the username of your main user on your pi. If not set, we default to pi
  3. run run.bat or run.sh

This runs the debug version, so it's not optimized. It will build, scp the file over, and then run it. Make sure you can ssh into your pi without needing to type in a password by either using a ssh key agent or having an unencrypted ssh key.

Deployment

Same as running, but use the deploy script

CONTRIBUTING

We use conventional commits and conventional comments

More details coming later.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Grayson Hay

💻 📖

This project follows the all-contributors specification. Contributions of any kind welcome!

About

A raspberry PI bridge between GPIO input pins and MQTT messages

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published