Hello,
I am new to chirpstack and I am trying to setup the following installation :
- Raspberry PI 3B (will be replace with rpi5 as soon as available)
- Waveshare SX1303 LoRaWAN gateway hat
- Chirpstack Gateway OS 4.6.2 (does 4.7 already support rpi5 btw ?)
I am a bit lost in the different configurations and especially how to change log level for the concentratord. But I have been following the getting started guide and have made the setup from the web GUI. The reflecting config file are :
/etc/config/chirpstack-concentratord
config global
option chipset 'sx1302'
option enabled '1'
config sx1301
option model 'imst_ic880a'
option region 'EU868'
option channel_plan 'eu868'
option gateway_id 'b827ebfffe7e10e4'
option antenna_gain '2'
config sx1302
option model 'waveshare_sx1302_lorawan_gateway_hat'
option region 'EU868'
option channel_plan 'eu868'
option gnss '1'
option antenna_gain '2'
config 2g4
option model 'semtech_sx1280z3dsfgw1'
option region 'ISM2400'
option channel_plan 'ism2400'
option antenna_gain '2'
/var/etc/chirpstack-concentratord/concentratord.toml
[concentratord]
log_level="INFO"
log_to_syslog=true
stats_interval="30s"
disable_crc_filter=false
[concentratord.api]
[gateway]
lorawan_public=true
model="waveshare_sx1302_lorawan_gateway_hat"
region="EU868"
model_flags=["GNSS",]
antenna_gain=2
The problem I have is that the location of my gateway is not updated on the chirpstack server interface.
I have tried to take a look at the log in the openwrt web gui and with logread over ssh but I can’t see anything about gnss.
Here is the log when i restart the concentratord from the openwrt web interface
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Configuring reset pin, dev: /dev/gpiochip0, pin: 23
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Configuring sx1302 power enable pin, dev: /dev/gpiochip0, pin: 18
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Starting Concentratord SX1302 (version: 4.4.6, docs: https://www.chirpstack.io/docs/chirpstack-concentratord/)
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Enabling concentrator power
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Triggering sx130x reset
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Setting i2c device path, path: /dev/i2c-1
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Setting i2c temperature sensor address, address: 57
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Setting board configuration, lorawan_public: true, clock_source: 0, com_type: Spi, com_path: /dev/spidev0.0
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Setting up fine timestamp, enable: false
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Setting up concentrator channels
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Configuring radio, radio: 0, enabled: true, center_freq: 867500000, type: SX1250
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Configuring radio, radio: 1, enabled: true, center_freq: 868500000, type: SX1250
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Setting up concentrator channels
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Configuring multi-SF LoRa channel, channel: 0, enabled: true, freq: 868100000, rf_chain: 1, if_freq: -400000
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Configuring multi-SF LoRa channel, channel: 1, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Configuring multi-SF LoRa channel, channel: 2, enabled: true, freq: 868500000, rf_chain: 1, if_freq: 0
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Configuring multi-SF LoRa channel, channel: 3, enabled: true, freq: 867100000, rf_chain: 0, if_freq: -400000
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Configuring multi-SF LoRa channel, channel: 4, enabled: true, freq: 867300000, rf_chain: 0, if_freq: -200000
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Configuring multi-SF LoRa channel, channel: 5, enabled: true, freq: 867500000, rf_chain: 0, if_freq: 0
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Configuring multi-SF LoRa channel, channel: 6, enabled: true, freq: 867700000, rf_chain: 0, if_freq: 200000
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Configuring multi-SF LoRa channel, channel: 7, enabled: true, freq: 867900000, rf_chain: 0, if_freq: 400000
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Configuring Std LoRa channel, enabled: true, freq: 868300000, rf_chain: 1, if_freq: -200000
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Configuring FSK channel, enabled: true, freq: 868800000, rf_chain: 1, if_freq: 300000
Tue Feb 25 08:24:24 2025 user.info chirpstack-concentratord-sx1302[3736]: Starting the concentrator
Tue Feb 25 08:24:27 2025 user.info chirpstack-concentratord-sx1302[3736]: Gateway ID retrieved, gateway_id: "0016c001f15d63ea"
Tue Feb 25 08:24:27 2025 user.info chirpstack-concentratord-sx1302[3736]: Initializing JIT queue, capacity: 32
Tue Feb 25 08:24:27 2025 user.info chirpstack-concentratord-sx1302[3736]: Creating socket for publishing events, bind: ipc:///tmp/concentratord_event
Tue Feb 25 08:24:27 2025 user.info chirpstack-concentratord-sx1302[3736]: Creating socket for receiving commands, bind: ipc:///tmp/concentratord_command
How can I change the log level of concentratord ? Can I just modify the log_level in /var/etc/chirpstack-concentratord/concentratord.toml ? How to debug the gnss support and make sure it works properly ?
Best regards