Hello!
Same problem and trying to solve it on my Raspberry Pi 4 + RAK2245 PI HAT.
I follow the tutorial and same issue with the concentrator.
miner service is running;
packet-forwarder are running but are in loop restart because from some reason no starting
log:
packet-forwarder 2022-04-21 22:03:48,094 - [DEBUG] - main - (main.py).validate_env – /opt/pktfwd/main.py:(63) - Starting with the following ENV:
packet-forwarder VARIANT=DIY-PISLGH
packet-forwarder REGION_OVERRIDE=EU868
packet-forwarder REGION_FILEPATH=/var/pktfwd/region
packet-forwarder SX1301_REGION_CONFIGS_DIR=/opt/pktfwd/config/lora_templates_sx1301
packet-forwarder SX1302_REGION_CONFIGS_DIR=/opt/pktfwd/config/lora_templates_sx1302
packet-forwarder SENTRY_KEY=False
packet-forwarder BALENA_ID=e3087a4dc02f97bf91af6152ee5521aa
packet-forwarder BALENA_APP=data-only-hotspot
packet-forwarder DIAGNOSTICS_FILEPATH=/var/pktfwd/diagnostics
packet-forwarder AWAIT_SYSTEM_SLEEP_SECONDS=5
packet-forwarder RESET_LGW_FILEPATH=/opt/reset_lgw.sh
packet-forwarder UTIL_CHIP_ID_FILEPATH=/opt/sx1302/chip_id
packet-forwarder ROOT_DIR=/opt
packet-forwarder SX1302_LORA_PKT_FWD_FILEPATH=/opt/sx1302/lora_pkt_fwd
packet-forwarder SX1301_LORA_PKT_FWD_DIR=/opt/sx1301
packet-forwarder
packet-forwarder 2022-04-21 22:03:48,096 - [DEBUG] - pktfwd.pktfwd_app - (pktfwd_app.py).set_variant_attributes – /opt/pktfwd/pktfwd_app.py:(91) - Variant DIY-PISLGH set with reset_pin 22 and spi_bus spidev0.0
packet-forwarder 2022-04-21 22:03:48,096 - [DEBUG] - pktfwd.pktfwd_app - (pktfwd_app.py).start – /opt/pktfwd/pktfwd_app.py:(39) - STARTING PKTFWD
packet-forwarder 2022-04-21 22:03:48,097 - [DEBUG] - hm_pyhelper.miner_param - (miner_param.py).await_spi_available – /opt/pktfwd-dependencies/hm_pyhelper/miner_param.py:(217) - SPI bus spidev0.0 Configured Correctly
packet-forwarder 2022-04-21 22:03:48,098 - [DEBUG] - pktfwd.pktfwd_app - (pktfwd_app.py).prepare_to_start – /opt/pktfwd/pktfwd_app.py:(73) - Region set to EU868
packet-forwarder 2022-04-21 22:03:48,098 - [DEBUG] - pktfwd.utils - (utils.py).await_system_ready – /opt/pktfwd/utils.py:(53) - Waiting 5 seconds for systems to be ready
packet-forwarder 2022-04-21 22:03:53,104 - [DEBUG] - pktfwd.utils - (utils.py).await_system_ready – /opt/pktfwd/utils.py:(55) - System now ready
packet-forwarder 2022-04-21 22:03:53,105 - [DEBUG] - pktfwd.pktfwd_app - (pktfwd_app.py).prepare_to_start – /opt/pktfwd/pktfwd_app.py:(76) - Finished preparing pktfwd
packet-forwarder 2022-04-21 22:03:54,737 - [DEBUG] - pktfwd.utils - (utils.py).is_concentrator_sx1302 – /opt/pktfwd/utils.py:(82) - Command ‘[’/opt/sx1302/chip_id’, ‘-d’, ‘/dev/spidev0.0’]’ returned non-zero exit status 1.
packet-forwarder 2022-04-21 22:03:54,738 - [DEBUG] - pktfwd.utils - (utils.py).replace_sx1301_global_conf_with_regional – /opt/pktfwd/utils.py:(131) - Copying SX1301 global conf from /opt/pktfwd/config/lora_templates_sx1301/EU-global_conf.json to /opt/global_conf.json
packet-forwarder 2022-04-21 22:03:54,741 - [DEBUG] - pktfwd.utils - (utils.py).replace_sx1301_global_conf_with_regional – /opt/pktfwd/utils.py:(134) - Copying SX1301 local conf from /opt/pktfwd/config/lora_templates_sx1301/local_conf.json to /opt/local_conf.json
packet-forwarder CONCENTRATOR_RESET_PIN parameter not passed in, using value from the environment (val=22)
packet-forwarder CoreCell reset through GPIO22…
packet-forwarder CONCENTRATOR_RESET_PIN parameter not passed in, using value from the environment (val=22)
packet-forwarder CoreCell reset through GPIO22…
packet-forwarder *** Beacon Packet Forwarder for Lora Gateway ***
packet-forwarder Version: 4.0.1
packet-forwarder *** Lora concentrator HAL library version info ***
packet-forwarder Version: 5.0.1;
packet-forwarder ***
packet-forwarder INFO: Little endian host
packet-forwarder INFO: found global configuration file global_conf.json, parsing it
packet-forwarder INFO: global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
packet-forwarder INFO: lorawan_public 1, clksrc 1
packet-forwarder INFO: no configuration for LBT
packet-forwarder INFO: antenna_gain 0 dBi
packet-forwarder INFO: Configuring TX LUT with 16 indexes
packet-forwarder INFO: radio 0 enabled (type SX1257), center frequency 867500000, RSSI offset -158.000000, tx enabled 1, tx_notch_freq 0
packet-forwarder INFO: radio 1 enabled (type SX1257), center frequency 868500000, RSSI offset -158.000000, tx enabled 0, tx_notch_freq 0
packet-forwarder INFO: Lora multi-SF channel 0> radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12
packet-forwarder INFO: Lora multi-SF channel 1> radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12
packet-forwarder INFO: Lora multi-SF channel 2> radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12
packet-forwarder INFO: Lora multi-SF channel 3> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
packet-forwarder INFO: Lora multi-SF channel 4> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
packet-forwarder INFO: Lora multi-SF channel 5> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
packet-forwarder INFO: Lora multi-SF channel 6> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
packet-forwarder INFO: Lora multi-SF channel 7> radio 0, IF 400000 Hz, 125 kHz bw, SF 7 to 12
packet-forwarder INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7
packet-forwarder INFO: FSK channel 8 disabled
packet-forwarder INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
packet-forwarder INFO: server hostname or IP address is configured to “helium-miner”
packet-forwarder INFO: upstream port is configured to “1680”
packet-forwarder INFO: downstream port is configured to “1680”
packet-forwarder INFO: downstream keep-alive interval is configured to 10 seconds
packet-forwarder INFO: statistics display interval is configured to 30 seconds
packet-forwarder INFO: upstream PUSH_DATA time-out is configured to 100 ms
packet-forwarder INFO: packets received with a valid CRC will be forwarded
packet-forwarder INFO: packets received with a CRC error will NOT be forwarded
packet-forwarder INFO: packets received with no CRC will NOT be forwarded
packet-forwarder INFO: Reference latitude is configured to 0.000000 deg
packet-forwarder INFO: Reference longitude is configured to 0.000000 deg
packet-forwarder INFO: Reference altitude is configured to 0 meters
packet-forwarder INFO: fake GPS is enabled
packet-forwarder INFO: found local configuration file local_conf.json, parsing it
packet-forwarder INFO: redefined parameters will overwrite global parameters
packet-forwarder INFO: local_conf.json does not contain a JSON object named SX1301_conf
packet-forwarder INFO: local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
packet-forwarder INFO: server hostname or IP address is configured to “helium-miner”
packet-forwarder INFO: upstream port is configured to “1680”
packet-forwarder INFO: downstream port is configured to “1680”
packet-forwarder INFO: downstream keep-alive interval is configured to 10 seconds
packet-forwarder INFO: statistics display interval is configured to 30 seconds
packet-forwarder INFO: upstream PUSH_DATA time-out is configured to 100 ms
packet-forwarder INFO: packets received with a valid CRC will be forwarded
packet-forwarder INFO: packets received with a CRC error will NOT be forwarded
packet-forwarder INFO: packets received with no CRC will NOT be forwarded
packet-forwarder INFO: Reference latitude is configured to 0.000000 deg
packet-forwarder INFO: Reference longitude is configured to 0.000000 deg
packet-forwarder INFO: Reference altitude is configured to 0 meters
packet-forwarder INFO: fake GPS is enabled
packet-forwarder ERROR: [main] failed to start the concentrator
packet-forwarder 2022-04-21 22:04:00,515 - [WARNING] - pktfwd.utils - (utils.py).retry_start_concentrator – /opt/pktfwd/utils.py:(226) - lora_pkt_fwd stopped with code=1.
packet-forwarder 2022-04-21 22:04:00,516 - [WARNING] - pktfwd.pktfwd_app - (pktfwd_app.py).start – /opt/pktfwd/pktfwd_app.py:(59) - Shutting down concentrator.
packet-forwarder 2022-04-21 22:04:00,517 - [DEBUG] - pktfwd.pktfwd_app - (pktfwd_app.py).stop – /opt/pktfwd/pktfwd_app.py:(79) - STOPPING PKTFWD
packet-forwarder 2022-04-21 22:04:00,519 - [INFO] - main - (main.py).start – /opt/pktfwd/main.py:(106) - Stopping and cleaning up pktfwd
packet-forwarder 2022-04-21 22:04:00,520 - [DEBUG] - pktfwd.pktfwd_app - (pktfwd_app.py).stop – /opt/pktfwd/pktfwd_app.py:(79) - STOPPING PKTFWD
Is the RAK2245 SX1301 ?
because in tutorial are RAK2287 what is SX1302 and firmware from example are just for SX1302?!
I open a SenseCapM1 and concentrator are SX1302
Im trying to make this data only from 5 months and now I regret to don’t buy a RAK2287 because I see the tutorial with RAK2245 using raspbian and rak gateway…
No chance to work with that option, concentrator start, on TTN console is connecting in 30 sec but in Helium Console never connect…
Thanks!