I am looking for some clarifications around LoRaWAN and TTN. I find the existing documentation all a bit unclear and confusing.
My end goal is to have two Rasberry Pi using LoRa. One is supposed to be a node and send temperature data from a 1-wire thermometer via LoRa to my second Raspberry Pi which in turn sends the data to the TTN network.
For the gateway/concentrator I try to follow these instructions - Deploy a LoRa Basics™ Station gateway with TTN and balena.
I have a Dragino LoRa/GPS_HAT, but it is not working. This HAT is based on the SX1276/SX1278 transceiver. The docs for the Balena Basic Station mention SX1301 and SX1302.
So my first question is whether this is just a question of missing support for SX1276 in the Balena project or whether there is a requirement to have a HAT with SX1301/SX1302. I am trying to figure out whether the hardware required for a node and a gateway is conceptually different or whether I can use the same HAT (provided it is supported) for both, the node as well as the concentrator.
The RAK2245 RPi HAT seems to be really hard to get atm. Any idea whether this HAT from Waveshare would work? It seems to have the right chip.
Last but not least, I am looking for an example on how to code/setup the node. How do I send the temperature data via LoRa? Which library do I use and what does the payload look like? The documentation I can find is not coherent and things seems to even got harder with TTN’s v2 vs v3 protocol. This repo - GitHub - btemperli/LoRaPy: LoRaWAN implementation in python - is atm my best guess on what to use on the node side, but I am still at loss how to package my data. Assuming my Dragino LoRa/GPS_HAT is not suitable as a concentrator, would it work for the node?
Any help appreciated,
@mpous any ideas?