installed latest Gateway OS but I’m unable to reset with reset pin could someone explain exactly where I need to change it, I tried both file etc/default/chirpstack-concentratord
raspberrypi0-wifi:$ cat /etc/default/chirpstack-concentratord
# reset the LoRa concentrator on Concentratord start
# reset pin
# concentratord version
raspberrypi0-wifi:/etc/chirpstack-concentratord/sx1301$ cat /etc/chirpstack-concentratord/sx1301/global.toml
# Concentratord configuration.
# Log level.
# Valid options are:
# * TRACE
# * DEBUG
# * INFO
# * WARN
# * ERROR
# * OFF
# Log to syslog.
# When set to true, log messages are being written to syslog instead of stdout.
# Statistics interval.
# Configuration for the (ZeroMQ based) API.
# Event PUB socket bind.
# Command REP socket bind.
# LoRa gateway configuration.
# Antenna gain (dB).
# Public LoRaWAN network.
# Gateway vendor / model.
# This configures various vendor and model specific settings like the min / max
# frequency, TX gain table.
# Gateway vendor / model flags.
# Gateway ID.
# Reset pin.
# Note: most model configurations come with a pre-defined reset_pin, in which
# case the setting below will be ignored.
and the log show me always pin 5
ug 12 18:38:27 raspberrypi0-wifi user.err chirpstack-gateway-bridge: time="2020-08-12T18:38:27Z" level=error msg="backend/concentratord: event socket dial error" error="dial event api url error: zmq4: could not dial to \"ipc:///tmp/concentratord_event\": dial unix /tmp/co
Aug 12 18:38:27 raspberrypi0-wifi user.err monit: 'chirpstack-concentratord' process is not running
Aug 12 18:38:27 raspberrypi0-wifi user.info monit: 'chirpstack-concentratord' trying to restart
Aug 12 18:38:27 raspberrypi0-wifi user.info monit: 'chirpstack-concentratord' start: '/etc/init.d/chirpstack-concentratord start'
Aug 12 18:38:28 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301: Configuring reset pin, pin: 5
Aug 12 18:38:28 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301: Starting Concentratord SX1301 (version: 3.0.0-test.11, docs: https://www.chirpstack.io/concentratord/)
Aug 12 18:38:28 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301: Triggering concentrator reset
Aug 12 18:38:28 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301: Setting spi device path, spidev_path: /dev/spidev0.0
Aug 12 18:38:28 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301: Setting board configuration, lorawan_public: true, clock_source: 1
I tried to setup an IC880a to try, same thing, this is driving me mad anywhere I change it just does nothing
The Concentratord comes with many shields pre-configured, which automatically sets the reset pin. There is a “generic” configuration which allows you to set the reset pin, eg.:
For the non “generic” boards, the reset pin is (currently) fixed, e.g.:
Could you create a feature-request for this in the Concentratord repo? Maybe it makes sense to always allow a reset_pin overwrite in case of the RAK shield. This should be fairly easy to implement, if you would like to create a pull-request, that would be great
Not sure how to do that, my guess was to PR this file to add my shields (got 3 including this ic880a one or just change this script with the generic entry, easier to understand for me, fastest way. What do you think?
I’m happy to do it too when I have time I would like to avoid using the “generic” profile. Each shield (iC880A, RAK…) has its own calibration values to make sure that the gateway emits at the requested tx power.