Since it took me some time to find a solution to the problem that my Raspberry Pi Gateway couldn't connect to the Adafruit RFM69HCW module, I wanted to share my solution here with everyone to save others the loss of time.
I followed exactly the instructions in this tutorial:
I used MySensors version 2.3.0.
During my attempts to narrow down the error, I was able following these instructions: http://www.kittley.com/2018/04/05/blog-rfm69-pi/ to confirm that my hardware is working.
The main difference between the two tutorials concerns the RESET pin of the Adafruit RFM69HCW module.
The MySensor manual does not use the RESET pin. Without really understanding what I am doing, I modified the configure file via pattern recognition and created the possibility to pass the RESET pin to the program.
For this I had to add two lines to the configure file:
--my-rfm69-rst-pin=<PIN> Pin number to use for RFM69 Chip-Select.
Simply search for my-rfm69-cs-pin and add the respective line afterwards.
--my-rfm69-cs-pin=<PIN> Pin number to use for RFM69 Chip-Select.
--my-rfm69-rst-pin=<PIN> Pin number to use for RFM69 Chip Select.
I have made my pin assignment according to the instructions of Jacob Kittley (http://www.kittley.com/2018/04/05/blog-rfm69-pi/ )
The call for configure is for an MQTT gateway:
./configure --my-transport=rfm69 --my-rfm69-frequency=915 --my-is-rfm69hw --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1 --my-rfm69-irq-pin=18 --my-rfm69-cs-pin=24 --my-rfm69-rst-pin=29
It would be good to include these hints in the MySensors tutorial. But I don't know how to do that.
Translated with www.DeepL.com/Translator