Crates.io | gpio-mqtt-bridge |
lib.rs | gpio-mqtt-bridge |
version | 0.2.0 |
source | src |
created_at | 2021-09-24 03:12:31.352713 |
updated_at | 2021-09-24 03:12:31.352713 |
description | A command line tool for the raspberry pi for receiving events on GPIO pins and relaying messages to MQTT |
homepage | https://github.com/graysonarts/rust-gpio-mqtt-bridge |
repository | https://github.com/graysonarts/rust-gpio-mqtt-bridge |
max_upload_size | |
id | 455721 |
size | 57,512 |
Follow these instructions to setup rust to cross compile from windows to raspberry pi.
CTRL_HOST
to the hostname of your raspberry pi. If not set, we default to "raspberry". It can also be an IP address.CTRL_USER
to the username of your main user on your pi. If not set, we default to pi
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.
Same as running, but use the deploy script
We use conventional commits and conventional comments
More details coming later.