Having a lot of fun with Balena on my Rasp Pi 4 and it’s great the amount of projects etc that are out there.
So I come across the LoRa WAN Gateway + Basic station, I have a HAT on my “Pi” and a SX1301 LoRa concentrator, however they are not RAK but a Nebra Hat + Lora.
Been speaking with a very good Friend, (Salman) and he mentions that I would need to know the following:
We need to check the pin compatibility with the SPI bus and make sure that we are using the correct one defined in HAT and the software we are using
So in the mean time I’m looking for the schematics so I can find out the pins, what actually does this do to Balena when you change the device variables?
And would this project work if I get the settings? or is just RAK HATS?
The only errors that I see at the moment on Balena are the following :
basicstation 2022-10-08 13:05:37.275 [TCE:VERB] Connecting to MUXS...
basicstation 2022-10-08 13:05:37.437 [AIO:ERRO] [3] WS upgrade failed with HTTP status code: 401
basicstation 2022-10-08 13:05:37.437 [AIO:DEBU] [3] WS connection shutdown...
basicstation 2022-10-08 13:05:37.438 [TCE:VERB] Connection to MUXS closed in state 3
basicstation 2022-10-08 13:05:37.438 [TCE:INFO] INFOS reconnect backoff 10s (retry 1)
Is it worth pursuing this project, I have “Air Spy” on my PC and I have a couple of faulty SX1301’s and a one that works so I was thinking of running “Air Spy” and actually be able to see if packets are getting transmitted from the failed LoRa.
The error basicstation Killing process 41 is really strange. Actually it means that the concentrator doesn’t start.
Could you please confirm what is the GW_RESET_GPIO of the LoRa concentrator that you are using?
Could you please share the Device Variables you have on balenaCloud?
@Wayne2022 i havent’ found the documentation on the Nebra webpage that says that the RESET PIN is the 22 on the SX1301. I only found for the SX1302/3. Could you please share the documentation?
Hi @mpous Thanks for the help so far. OK found something out, when I remove the HAT with the LoRa on it, then the error log is identical, so there’s no difference between it when the HAT’s fitted or not to the Rasp Pi, should I be seeing a different error? I presume that the HAT isn’t working or talking to the Rasp Pi. (I have the schematics I can DM them to you if you like?)