Crates.io | qbutton-pi |
lib.rs | qbutton-pi |
version | 0.1.0 |
source | src |
created_at | 2024-04-07 16:55:01.990079 |
updated_at | 2024-04-07 16:55:01.990079 |
description | Service to send Google Assistant commands in response to 433 MHz RF codes. |
homepage | |
repository | https://github.com/qwandor/qbutton-pi |
max_upload_size | |
id | 1199313 |
size | 86,934 |
qButton Pi is a version of qButton which runs on a Raspberry Pi. It uses an attached CC1101 radio module to listen to 433 MHz RF button codes, and maps them to commands to send to Google Assistant via its API.
For example, pushing one button could be configured to send the command "bedroom lights on" and pushing another could send "bedroom lights off".
The recommended way to install qButton Pi is from the Debian package. The latest release can be found on the GitHub releases page.
You can also build it yourself with cargo deb
. In the root of this repository:
$ cargo install cargo-deb
$ cargo deb
$ dpkg -i target/debian/qbutton-pi_*.deb
Edit /etc/qbutton-pi.toml
to fill in your Google Assistant credentials, and then add commands to
the list. See logs for unhandled button IDs. You'll need to restart the qbutton-pi
service after
editing the config for it to take effect.
This is not an officially supported Google product.
Licensed under the Apache License, Version 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0).
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.