This is an experiment for sending messages to a 433 MHz switch with the KaKu protocol, using a RFM69HCW connected to a Raspberry Pi.
- apt-get install python3-spidev
- apt-get install python3-rpi.gpio
- pip3 install --user paho-mqtt
Enable the SPI bus driver with raspi-config
or by adding dtparam=spi=on
to /boot/config.txt
. After rebooting, you should have /dev/spidev0.0
.