helium application

@mpous


This has a build error in the gateway service. The echos in the beginning of the build don’t show the ARGs so I believe the environment variables are not getting passed and therefore it doesn’t remove teh _ from one of the .json config files. I can probably fix it if I get some direction.
Step 1/33 : FROM raspbian/stretch as builder
 ---> 82ca4d7b3224
Step 2/33 : ARG LORA_REGION
 ---> Running in ae315a72c75f
Removing intermediate container ae315a72c75f
 ---> b7b6d1dc1227
Step 3/33 : ARG LORA_UDP
 ---> Running in a8ca73f31dbe
Removing intermediate container a8ca73f31dbe
 ---> d12ab5be0f4e
Step 4/33 : ARG SPI_SPEED
 ---> Running in 4dd56aea8233
Removing intermediate container 4dd56aea8233
 ---> a03d367c34b0
Step 5/33 : ARG PIN_RESET
 ---> Running in 890a8cf143d3
Removing intermediate container 890a8cf143d3
 ---> b7ddac895685
Step 6/33 : ARG MINER_URL
 ---> Running in 989753e7724a
Removing intermediate container 989753e7724a
 ---> 2c533dbffef7
Step 7/33 : ARG MODEL
 ---> Running in e7631b969547
Removing intermediate container e7631b969547
 ---> 395d3f60c2bb
Step 8/33 : RUN echo "Choosen region =>" $LORA_REGION
 ---> Running in 001079f52f00
Choosen region =>
Removing intermediate container 001079f52f00
 ---> 4bbc4ea755b6
Step 9/33 : RUN echo "Choosen LoRa UDP port => " $LORA_UDP
 ---> Running in 725a6a98e8a0
Choosen LoRa UDP port => 
Removing intermediate container 725a6a98e8a0
 ---> dea6cf7a3962
Step 10/33 : RUN echo "Choosen SPI_SPEED =>" $SPI_SPEED
 ---> Running in 772f1d708da7
Choosen SPI_SPEED =>
Removing intermediate container 772f1d708da7
 ---> 9189dda90028
Step 11/33 : RUN echo "Choosen PIN reset =>" $PIN_RESET
 ---> Running in b362601845d2
Choosen PIN reset =>
Removing intermediate container b362601845d2
 ---> 9fc64ae58ac3
Step 12/33 : RUN echo "Choosen URL miner =>" $MINER_URL
 ---> Running in d67fe07f479a
Choosen URL miner =>
Removing intermediate container d67fe07f479a
 ---> 997a2c10ac1c
Step 13/33 : RUN echo "Choosen RAK MODEL =>" $MODEL
 ---> Running in 4691a55c2097
Choosen RAK MODEL =>
Removing intermediate container 4691a55c2097
 ---> fc4397053e0e
Step 14/33 : RUN apt-get update && apt-get install -y git build-essential wget
 ---> Running in 30764cdf8911
Get:1 http://archive.raspbian.org/raspbian stretch InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
Get:3 http://archive.raspbian.org/raspbian stretch/rpi Sources [1097 B]
Get:4 http://archive.raspbian.org/raspbian stretch/contrib Sources [88.1 kB]
Get:5 http://archive.raspberrypi.org/debian stretch/main armhf Packages [192 kB]
Get:6 http://archive.raspbian.org/raspbian stretch/firmware Sources [677 B]
Get:7 http://archive.raspbian.org/raspbian stretch/main Sources [12.3 MB]
Get:8 http://archive.raspbian.org/raspbian stretch/non-free Sources [148 kB]
Get:9 http://archive.raspbian.org/raspbian stretch/rpi armhf Packages [1299 B]
Get:10 http://archive.raspbian.org/raspbian stretch/main armhf Packages [16.4 MB]
Get:11 http://archive.raspbian.org/raspbian stretch/firmware armhf Packages [1201 B]
Get:12 http://archive.raspbian.org/raspbian stretch/non-free armhf Packages [120 kB]
Get:13 http://archive.raspbian.org/raspbian stretch/contrib armhf Packages [66.2 kB]
Fetched 29.4 MB in 4s (7055 kB/s)
Reading package lists...

REMOVED LOG ENTRIES

Setting up git (1:2.11.0-3+deb9u7) ...

Processing triggers for libc-bin (2.24-11+deb9u3) ...

Removing intermediate container 30764cdf8911
 ---> f7a6bfe21feb
Step 15/33 : WORKDIR /build
 ---> Running in 118604172d57
Removing intermediate container 118604172d57
 ---> f60c4667100f
Step 16/33 : RUN git clone https://github.com/Lora-net/lora_gateway.git
 ---> Running in 841215265af0
Cloning into 'lora_gateway'...

Removing intermediate container 841215265af0
 ---> daff16408dbc
Step 17/33 : COPY loragw_spi.native.c /build/lora_gateway/libloragw/src/
 ---> c67d3be5fd28
Step 18/33 : RUN if [ -z "$SPI_SPEED" ] ; then echo SPI_SPEED has not been set, resuming... ; else sed -i -e "s/2000000/$SPI_SPEED/g" /build/lora_gateway/libloragw/src/loragw_spi.native.c ; fi
 ---> Running in 83231524c05c
SPI_SPEED has not been set, resuming...
Removing intermediate container 83231524c05c
 ---> 6bfafa586c0d
Step 19/33 : RUN git clone https://github.com/Lora-net/packet_forwarder.git
 ---> Running in fcc9e8a5b5a6
Cloning into 'packet_forwarder'...

Removing intermediate container fcc9e8a5b5a6
 ---> a52d13089136
Step 20/33 : COPY lora_pkt_fwd.c /build/packet_forwarder/lora_pkt_fwd/src
 ---> e063ef11eeb8
Step 21/33 : COPY global_conf_US.json .
 ---> 79a45662dc94
Step 22/33 : COPY global_conf_EU.json .
 ---> fa21655d571f
Step 23/33 : RUN if [ "$LORA_REGION" = "EU868" ] ; then echo EU config detected && mv global_conf_EU.json global_conf.json ; fi
 ---> Running in 8df86e873e4d
Removing intermediate container 8df86e873e4d
 ---> b4c091b9cc76
Step 24/33 : RUN if [ "$LORA_REGION" = "US915" ] ; then echo US config detected && mv global_conf_US.json global_conf.json ; fi
 ---> Running in 91e9d022a426
Removing intermediate container 91e9d022a426
 ---> 3efc1c0264d4
Step 25/33 : RUN if [ -z "$MINER_URL" ] ; then echo MINER_URL has not been set, resuming... ; else sed -i -e "s/helium-miner/$MINER_URL/g" global_conf.json ; fi
 ---> Running in b09a18e2b88c
MINER_URL has not been set, resuming...
Removing intermediate container b09a18e2b88c
 ---> f89844205228
Step 26/33 : RUN if [ -z "$LORA_UDP" ] ; then echo LORA_UDP has not been set, resuming... ; else sed -i -e "s/1680/$LORA_UDP/g" global_conf.json ; fi
 ---> Running in 65fe1fb9b650
LORA_UDP has not been set, resuming...
Removing intermediate container 65fe1fb9b650
 ---> 1b36dcab1529
Step 27/33 : RUN rm -rf /build/packet_forwarder/lora_pkt_fwd/global_conf.json && cp global_conf.json /build/packet_forwarder/lora_pkt_fwd
 ---> Running in 5c37836e37b9
cp: cannot stat 'global_conf.json': No such file or directory

Removing intermediate container 5c37836e37b9
The command '/bin/sh -c rm -rf /build/packet_forwarder/lora_pkt_fwd/global_conf.json && cp global_conf.json /build/packet_forwarder/lora_pkt_fwd' returned a non-zero code: 1

Hello @nikolarobottesla thank you for reporting! apologizes because this is a WIP repository.

I’m working on making a repo compatible with Raspberry Pi 3/4 on RAK 2245 (sax_1301) and RAK2287 (sax_1302) and i’m still working on this.

Would you like to collaborate?

BTW @nikolarobottesla what LoRa concentrator do you use?

my hardware: (pi4 + RAK2245 concentrator) x2
Yes I would like to collaborate. It looks like the repository’s goal is to integrate a helium miner with a LoRaWAN Gateway on a single edge device. That is what I want as well.

I forked your repo and was able to successfully build the gateway locally and pushed those changes. However it seems the balena.io env variables are not available during the build phase so it still doesn’t build through balena.io.

Hello Nicola! yes, the goal of the repo is to enable any DIY (rpi + lora concentrator) to create a helium hotspot with the miner inside and open it to the community. Feel free to create a branch.

Right now i’m still testing several things. BTW i’m using this repo as original --> https://github.com/PastaGringo/balenaos-helium-gtw and mixing with the sx1302_hal to enable 2245 and 2287 concentrators work together.

Let’s stay connected

I’ve done a bunch of experimenting trying to get the ‘build-variables’ to work but have had no luck. The only change you should grab is the addition of the .template extension to the gateway docker file which makes the 1st from statement work.

:frowning:

image

FYI, each RUN command is it’s own shell starting in the WORKDIR so the way you are trying to change directory to build the image won’t work

Hey! thank you for your message! i have been busy last week but i will try to commit what i’m working on! I cleaned the Dockerfile inspired by another user who created a different balena repo for 2287! I will keep you updated!

I still haven’t gotten the rak2245 to actually work. It compiles but I think the global_config.json isn’t right. However the error in the logs isn’t useful. After the error the service and you get the same log again.

04.10.20 15:16:56 (-0500) <loragtwpktfwd> Using MODEL: RAK2245
04.10.20 15:16:56 (-0500) <loragtwpktfwd> *** Beacon Packet Forwarder for Lora Gateway ***
04.10.20 15:16:56 (-0500) <loragtwpktfwd> Version: 4.0.1
04.10.20 15:16:56 (-0500) <loragtwpktfwd> *** Lora concentrator HAL library version info ***
04.10.20 15:16:56 (-0500) <loragtwpktfwd> Version: 5.0.1;
04.10.20 15:16:56 (-0500) <loragtwpktfwd> ***
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Little endian host
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: found global configuration file global_conf.json, parsing it
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: lorawan_public 1, clksrc 1
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: no configuration for LBT
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: antenna_gain 0 dBi
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Configuring TX LUT with 16 indexes
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: radio 0 enabled (type SX1257), center frequency 904300000, RSSI offset -166.000000, tx enabled 1, tx_notch_freq 0
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: radio 1 enabled (type SX1257), center frequency 905000000, RSSI offset -166.000000, tx enabled 0, tx_notch_freq 0
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora multi-SF channel 0>  radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora multi-SF channel 1>  radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora multi-SF channel 2>  radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora multi-SF channel 3>  radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora multi-SF channel 4>  radio 1, IF -300000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora multi-SF channel 5>  radio 1, IF -100000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora multi-SF channel 6>  radio 1, IF 100000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora multi-SF channel 7>  radio 1, IF 300000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora std channel> radio 0, IF 300000 Hz, 500000 Hz bw, SF 8
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: FSK channel 8 disabled
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: gateway MAC address is configured to 0000000000000000
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: server hostname or IP address is configured to "127.0.0.1"
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: upstream port is configured to "1680"
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: downstream port is configured to "1680"
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: downstream keep-alive interval is configured to 10 seconds
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: statistics display interval is configured to 30 seconds
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: upstream PUSH_DATA time-out is configured to 100 ms
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: packets received with a valid CRC will be forwarded
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: packets received with a CRC error will NOT be forwarded
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: packets received with no CRC will NOT be forwarded
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: GPS serial port path is configured to "/dev/ttyAMA0"
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: found local configuration file local_conf.json, parsing it
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: redefined parameters will overwrite global parameters
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: local_conf.json does not contain a JSON object named SX1301_conf
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: gateway MAC address is configured to AA555A0000000101
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: packets received with a valid CRC will be forwarded
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: packets received with a CRC error will NOT be forwarded
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: packets received with no CRC will NOT be forwarded
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: [main] TTY port /dev/ttyAMA0 open for GPS synchronization
04.10.20 15:16:56 (-0500) <loragtwpktfwd> ERROR: [main] failed to start the concentrator
04.10.20 15:16:57 (-0500) Service exited 'loragtwpktfwd sha256:a8c902d5252ffea03c94489dfc16271440d7d2de5406b0763281f2338e037818'
04.10.20 15:17:11 (-0500) Restarting service 'loragtwpktfwd sha256:a8c902d5252ffea03c94489dfc16271440d7d2de5406b0763281f2338e037818'
04.10.20 15:16:56 (-0500) <loragtwpktfwd> Using MODEL: RAK2245
04.10.20 15:16:56 (-0500) <loragtwpktfwd> *** Beacon Packet Forwarder for Lora Gateway ***
04.10.20 15:16:56 (-0500) <loragtwpktfwd> Version: 4.0.1
04.10.20 15:16:56 (-0500) <loragtwpktfwd> *** Lora concentrator HAL library version info ***
04.10.20 15:16:56 (-0500) <loragtwpktfwd> Version: 5.0.1;
04.10.20 15:16:56 (-0500) <loragtwpktfwd> ***
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Little endian host
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: found global configuration file global_conf.json, parsing it
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: lorawan_public 1, clksrc 1
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: no configuration for LBT
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: antenna_gain 0 dBi
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Configuring TX LUT with 16 indexes
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: radio 0 enabled (type SX1257), center frequency 904300000, RSSI offset -166.000000, tx enabled 1, tx_notch_freq 0
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: radio 1 enabled (type SX1257), center frequency 905000000, RSSI offset -166.000000, tx enabled 0, tx_notch_freq 0
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora multi-SF channel 0>  radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora multi-SF channel 1>  radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora multi-SF channel 2>  radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora multi-SF channel 3>  radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora multi-SF channel 4>  radio 1, IF -300000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora multi-SF channel 5>  radio 1, IF -100000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora multi-SF channel 6>  radio 1, IF 100000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora multi-SF channel 7>  radio 1, IF 300000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: Lora std channel> radio 0, IF 300000 Hz, 500000 Hz bw, SF 8
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: FSK channel 8 disabled
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: gateway MAC address is configured to 0000000000000000
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: server hostname or IP address is configured to "127.0.0.1"
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: upstream port is configured to "1680"
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: downstream port is configured to "1680"
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: downstream keep-alive interval is configured to 10 seconds
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: statistics display interval is configured to 30 seconds
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: upstream PUSH_DATA time-out is configured to 100 ms
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: packets received with a valid CRC will be forwarded
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: packets received with a CRC error will NOT be forwarded
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: packets received with no CRC will NOT be forwarded
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: GPS serial port path is configured to "/dev/ttyAMA0"
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: found local configuration file local_conf.json, parsing it
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: redefined parameters will overwrite global parameters
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: local_conf.json does not contain a JSON object named SX1301_conf
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: gateway MAC address is configured to AA555A0000000101
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: packets received with a valid CRC will be forwarded
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: packets received with a CRC error will NOT be forwarded
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: packets received with no CRC will NOT be forwarded
04.10.20 15:16:56 (-0500) <loragtwpktfwd> INFO: [main] TTY port /dev/ttyAMA0 open for GPS synchronization
04.10.20 15:16:56 (-0500) <loragtwpktfwd> ERROR: [main] failed to start the concentrator

I’m getting an error in the balena dashboard logs and the service just restarts after the error. I haven’t figured out how to debug it yet.

04.10.20 15:17:11 (-0500) Using MODEL: RAK2245
04.10.20 15:17:11 (-0500) *** Beacon Packet Forwarder for Lora Gateway ***
04.10.20 15:17:11 (-0500) Version: 4.0.1
04.10.20 15:17:11 (-0500) *** Lora concentrator HAL library version info ***
04.10.20 15:17:11 (-0500) Version: 5.0.1;
04.10.20 15:17:11 (-0500) ***
04.10.20 15:17:11 (-0500) INFO: Little endian host
04.10.20 15:17:11 (-0500) INFO: found global configuration file global_conf.json, parsing it
04.10.20 15:17:11 (-0500) INFO: global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
04.10.20 15:17:11 (-0500) INFO: lorawan_public 1, clksrc 1
04.10.20 15:17:11 (-0500) INFO: no configuration for LBT
04.10.20 15:17:11 (-0500) INFO: antenna_gain 0 dBi
04.10.20 15:17:11 (-0500) INFO: Configuring TX LUT with 16 indexes
04.10.20 15:17:11 (-0500) INFO: radio 0 enabled (type SX1257), center frequency 904300000, RSSI offset -166.000000, tx enabled 1, tx_notch_freq 0
04.10.20 15:17:11 (-0500) INFO: radio 1 enabled (type SX1257), center frequency 905000000, RSSI offset -166.000000, tx enabled 0, tx_notch_freq 0
04.10.20 15:17:11 (-0500) INFO: Lora multi-SF channel 0> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:17:11 (-0500) INFO: Lora multi-SF channel 1> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:17:11 (-0500) INFO: Lora multi-SF channel 2> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:17:11 (-0500) INFO: Lora multi-SF channel 3> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:17:11 (-0500) INFO: Lora multi-SF channel 4> radio 1, IF -300000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:17:11 (-0500) INFO: Lora multi-SF channel 5> radio 1, IF -100000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:17:11 (-0500) INFO: Lora multi-SF channel 6> radio 1, IF 100000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:17:11 (-0500) INFO: Lora multi-SF channel 7> radio 1, IF 300000 Hz, 125 kHz bw, SF 7 to 12
04.10.20 15:17:11 (-0500) INFO: Lora std channel> radio 0, IF 300000 Hz, 500000 Hz bw, SF 8
04.10.20 15:17:11 (-0500) INFO: FSK channel 8 disabled
04.10.20 15:17:11 (-0500) INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
04.10.20 15:17:11 (-0500) INFO: gateway MAC address is configured to 0000000000000000
04.10.20 15:17:11 (-0500) INFO: server hostname or IP address is configured to “127.0.0.1”
04.10.20 15:17:11 (-0500) INFO: upstream port is configured to “1680”
04.10.20 15:17:11 (-0500) INFO: downstream port is configured to “1680”
04.10.20 15:17:11 (-0500) INFO: downstream keep-alive interval is configured to 10 seconds
04.10.20 15:17:11 (-0500) INFO: statistics display interval is configured to 30 seconds
04.10.20 15:17:11 (-0500) INFO: upstream PUSH_DATA time-out is configured to 100 ms
04.10.20 15:17:11 (-0500) INFO: packets received with a valid CRC will be forwarded
04.10.20 15:17:11 (-0500) INFO: packets received with a CRC error will NOT be forwarded
04.10.20 15:17:11 (-0500) INFO: packets received with no CRC will NOT be forwarded
04.10.20 15:17:11 (-0500) INFO: GPS serial port path is configured to “/dev/ttyAMA0”
04.10.20 15:17:11 (-0500) INFO: found local configuration file local_conf.json, parsing it
04.10.20 15:17:11 (-0500) INFO: redefined parameters will overwrite global parameters
04.10.20 15:17:11 (-0500) INFO: local_conf.json does not contain a JSON object named SX1301_conf
04.10.20 15:17:11 (-0500) INFO: local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
04.10.20 15:17:11 (-0500) INFO: gateway MAC address is configured to AA555A0000000101
04.10.20 15:17:11 (-0500) INFO: packets received with a valid CRC will be forwarded
04.10.20 15:17:11 (-0500) INFO: packets received with a CRC error will NOT be forwarded
04.10.20 15:17:11 (-0500) INFO: packets received with no CRC will NOT be forwarded
04.10.20 15:17:11 (-0500) INFO: [main] TTY port /dev/ttyAMA0 open for GPS synchronization
04.10.20 15:17:11 (-0500) ERROR: [main] failed to start the concentrator

what’s your LoRa region @nikolarobottesla ?

My region is US915. Regarding my last post these are the changes I made to the global_config. I made them because I don’t have a local_config

Hey! thanks for your reply! Feel free to use this repo that works for RAK2245 + US configuration! --> https://github.com/just4give/helium-dyi-hotspot-balena-pi4

i’m mixing this repo with others in order to have one unique repo that simplifies regions and different lora concentrators!

let’s stay connected