Good evening everyone.
Recently I started playing around with LoraWAN technology to the point where I bought myself just for the test an Elecrow LR1302 Pi Hat in order to use it as a gateway on a RPI 3B. I tried the officially provided packet forwarder from the manufacturer which works fine except one issue, but later I wanted to try the chirpstack OS and I stumbled upon the exact same issue.
The issue is when I enable the GPSS antenae and check the data from the port I see that the gps module is working fine(/dev/ttyAMA0):
The problem is that, the packets I get on the chirpstack web ui is dated back in 1999:
Another issue is that my gateway on the web ui is not located correctly on the map:
Also I am for some reason unable to read the temperature sensor on the module(something I managed to do with the semtech packet fwd):
Mon Jun 3 19:46:44 2024 user.err chirpstack-concentratord-sx1302[1631]: Get concentrator temperature error, error: lgw_get_temperature failed
This is the pin schematics:
Current log:
Mon Jun 3 20:07:14 2024 user.info chirpstack-mqtt-forwarder[2135]: Received gateway stats
Mon Jun 3 20:07:14 2024 user.info chirpstack-mqtt-forwarder[2135]: Sending gateway stats event, topic: eu868/gateway/0016c001f1057493/event/stats
Mon Jun 3 20:07:44 2024 user.err chirpstack-concentratord-sx1302[1631]: Get concentrator temperature error, error: lgw_get_temperature failed
Mon Jun 3 20:07:44 2024 user.info chirpstack-concentratord-sx1302[1631]: Duty-cyle stats: [label: P, freq_min: 869400000, freq_max: 869650000, dc_max: 10.00%] - current_dc: 0.09%
Mon Jun 3 20:07:44 2024 user.info chirpstack-concentratord-sx1302[1631]: Publishing stats event, rx_received: 0, rx_received_ok: 0, tx_received: 0, tx_emitted: 0
Mon Jun 3 20:07:44 2024 user.info chirpstack-mqtt-forwarder[2135]: Received gateway stats
Mon Jun 3 20:07:44 2024 user.info chirpstack-mqtt-forwarder[2135]: Sending gateway stats event, topic: eu868/gateway/0016c001f1057493/event/stats
Mon Jun 3 20:07:53 2024 user.info chirpstack-concentratord-sx1302[1631]: Enqueueing packet on pps, downlink_id: 3978437013, counter_us: 3975768865, current_counter_us: 3970748868
Mon Jun 3 20:07:53 2024 user.info chirpstack-concentratord-sx1302[1631]: Item tracked, band: [label: P, freq_min: 869400000, freq_max: 869650000, dc_max: 10.00%], freq: 869525000, tx_power_eirp: 14, start_counter_us: 3975768865, end_counter_us: 3975880865, duration: 112ms
Mon Jun 3 20:07:53 2024 user.info chirpstack-concentratord-sx1302[1631]: Beacon enqueued, beacon_time_gps_epoch: 1401469696s
Mon Jun 3 20:07:58 2024 user.info chirpstack-concentratord-sx1302[1631]: Scheduled packet for TX, downlink_id: 3978437013, count_us: 3975768865, freq: 869525000, bw: 125000, mod: LoRa, dr: SF9
Mon Jun 3 20:08:14 2024 user.err chirpstack-concentratord-sx1302[1631]: Get concentrator temperature error, error: lgw_get_temperature failed
Mon Jun 3 20:08:14 2024 user.info chirpstack-concentratord-sx1302[1631]: Duty-cyle stats: [label: P, freq_min: 869400000, freq_max: 869650000, dc_max: 10.00%] - current_dc: 0.09%
Mon Jun 3 20:08:14 2024 user.info chirpstack-concentratord-sx1302[1631]: Publishing stats event, rx_received: 0, rx_received_ok: 0, tx_received: 0, tx_emitted: 1
Mon Jun 3 20:08:14 2024 user.info chirpstack-mqtt-forwarder[2135]: Received gateway stats
Mon Jun 3 20:08:14 2024 user.info chirpstack-mqtt-forwarder[2135]: Sending gateway stats event, topic: eu868/gateway/0016c001f1057493/event/stats
Mon Jun 3 20:08:32 2024 daemon.err uwsgi[1031]: Mon Jun 3 20:08:32 2024 - [emperor] bringing back instance /etc/uwsgi/vassals/luci-webui.ini to on-demand mode
Mon Jun 3 20:08:32 2024 daemon.err uwsgi[1031]: Mon Jun 3 20:08:32 2024 - [emperor] curse the uwsgi instance /etc/uwsgi/vassals/luci-webui.ini (pid: 2714)
Mon Jun 3 20:08:34 2024 daemon.err uwsgi[1031]: [uwsgi-emperor] /etc/uwsgi/vassals/luci-webui.ini → back to “on demand” mode, waiting for connections on socket “/var/run//luci-webui.socket” …
Mon Jun 3 20:08:44 2024 user.err chirpstack-concentratord-sx1302[1631]: Get concentrator temperature error, error: lgw_get_temperature failed
Mon Jun 3 20:08:44 2024 user.info chirpstack-concentratord-sx1302[1631]: Duty-cyle stats: [label: P, freq_min: 869400000, freq_max: 869650000, dc_max: 10.00%] - current_dc: 0.09%
Mon Jun 3 20:08:44 2024 user.info chirpstack-concentratord-sx1302[1631]: Publishing stats event, rx_received: 0, rx_received_ok: 0, tx_received: 0, tx_emitted: 0
Mon Jun 3 20:08:44 2024 user.info chirpstack-mqtt-forwarder[2135]: Received gateway stats
Mon Jun 3 20:08:44 2024 user.info chirpstack-mqtt-forwarder[2135]: Sending gateway stats event, topic: eu868/gateway/0016c001f1057493/event/stats
Mon Jun 3 20:09:14 2024 user.err chirpstack-concentratord-sx1302[1631]: Get concentrator temperature error, error: lgw_get_temperature failed
Mon Jun 3 20:09:14 2024 user.info chirpstack-concentratord-sx1302[1631]: Duty-cyle stats: [label: P, freq_min: 869400000, freq_max: 869650000, dc_max: 10.00%] - current_dc: 0.09%
Mon Jun 3 20:09:14 2024 user.info chirpstack-concentratord-sx1302[1631]: Publishing stats event, rx_received: 0, rx_received_ok: 0, tx_received: 0, tx_emitted: 0
Mon Jun 3 20:09:14 2024 user.info chirpstack-mqtt-forwarder[2135]: Received gateway stats
Mon Jun 3 20:09:14 2024 user.info chirpstack-mqtt-forwarder[2135]: Sending gateway stats event, topic: eu868/gateway/0016c001f1057493/event/stats
Mon Jun 3 20:09:44 2024 user.err chirpstack-concentratord-sx1302[1631]: Get concentrator temperature error, error: lgw_get_temperature failed
Mon Jun 3 20:09:44 2024 user.info chirpstack-concentratord-sx1302[1631]: Duty-cyle stats: [label: P, freq_min: 869400000, freq_max: 869650000, dc_max: 10.00%] - current_dc: 0.09%
Mon Jun 3 20:09:44 2024 user.info chirpstack-concentratord-sx1302[1631]: Publishing stats event, rx_received: 0, rx_received_ok: 0, tx_received: 0, tx_emitted: 0
Mon Jun 3 20:09:44 2024 user.info chirpstack-mqtt-forwarder[2135]: Received gateway stats
Mon Jun 3 20:09:44 2024 user.info chirpstack-mqtt-forwarder[2135]: Sending gateway stats event, topic: eu868/gateway/0016c001f1057493/event/stats
Mon Jun 3 20:09:55 2024 daemon.notice wpa_supplicant[763]: phy0-sta0: RSN: Group rekeying completed with c8:7f:54:41:05:d8 [GTK=CCMP]
Mon Jun 3 20:10:02 2024 user.info chirpstack-concentratord-sx1302[1631]: Enqueueing packet on pps, downlink_id: 3192620498, counter_us: 4103768716, current_counter_us: 4099749891
Mon Jun 3 20:10:02 2024 user.info chirpstack-concentratord-sx1302[1631]: Item tracked, band: [label: P, freq_min: 869400000, freq_max: 869650000, dc_max: 10.00%], freq: 869525000, tx_power_eirp: 14, start_counter_us: 4103768716, end_counter_us: 4103880716, duration: 112ms
Mon Jun 3 20:10:02 2024 user.info chirpstack-concentratord-sx1302[1631]: Beacon enqueued, beacon_time_gps_epoch: 1401469824s
Mon Jun 3 20:10:06 2024 user.info chirpstack-concentratord-sx1302[1631]: Scheduled packet for TX, downlink_id: 3192620498, count_us: 4103768716, freq: 869525000, bw: 125000, mod: LoRa, dr: SF9
Mon Jun 3 20:10:14 2024 user.err chirpstack-concentratord-sx1302[1631]: Get concentrator temperature error, error: lgw_get_temperature failed
Mon Jun 3 20:10:14 2024 user.info chirpstack-concentratord-sx1302[1631]: Duty-cyle stats: [label: P, freq_min: 869400000, freq_max: 869650000, dc_max: 10.00%] - current_dc: 0.09%
Mon Jun 3 20:10:14 2024 user.info chirpstack-concentratord-sx1302[1631]: Publishing stats event, rx_received: 0, rx_received_ok: 0, tx_received: 0, tx_emitted: 1
Mon Jun 3 20:10:14 2024 user.info chirpstack-mqtt-forwarder[2135]: Received gateway stats
Mon Jun 3 20:10:14 2024 user.info chirpstack-mqtt-forwarder[2135]: Sending gateway stats event, topic: eu868/gateway/0016c001f1057493/event/stats
Mon Jun 3 20:10:44 2024 user.err chirpstack-concentratord-sx1302[1631]: Get concentrator temperature error, error: lgw_get_temperature failed
Mon Jun 3 20:10:44 2024 user.info chirpstack-concentratord-sx1302[1631]: Duty-cyle stats: [label: P, freq_min: 869400000, freq_max: 869650000, dc_max: 10.00%] - current_dc: 0.09%
Mon Jun 3 20:10:44 2024 user.info chirpstack-concentratord-sx1302[1631]: Publishing stats event, rx_received: 0, rx_received_ok: 0, tx_received: 0, tx_emitted: 0
Mon Jun 3 20:10:44 2024 user.info chirpstack-mqtt-forwarder[2135]: Received gateway stats
Mon Jun 3 20:10:44 2024 user.info chirpstack-mqtt-forwarder[2135]: Sending gateway stats event, topic: eu868/gateway/0016c001f1057493/event/stats
Mon Jun 3 20:11:14 2024 user.err chirpstack-concentratord-sx1302[1631]: Get concentrator temperature error, error: lgw_get_temperature failed
Mon Jun 3 20:11:14 2024 user.info chirpstack-concentratord-sx1302[1631]: Duty-cyle stats: [label: P, freq_min: 869400000, freq_max: 869650000, dc_max: 10.00%] - current_dc: 0.09%
Mon Jun 3 20:11:14 2024 user.info chirpstack-concentratord-sx1302[1631]: Publishing stats event, rx_received: 0, rx_received_ok: 0, tx_received: 0, tx_emitted: 0
Mon Jun 3 20:11:14 2024 user.info chirpstack-mqtt-forwarder[2135]: Received gateway stats
Mon Jun 3 20:11:14 2024 user.info chirpstack-mqtt-forwarder[2135]: Sending gateway stats event, topic: eu868/gateway/0016c001f1057493/event/stats
Mon Jun 3 20:11:44 2024 user.err chirpstack-concentratord-sx1302[1631]: Get concentrator temperature error, error: lgw_get_temperature failed
Mon Jun 3 20:11:44 2024 user.info chirpstack-concentratord-sx1302[1631]: Duty-cyle stats: [label: P, freq_min: 869400000, freq_max: 869650000, dc_max: 10.00%] - current_dc: 0.09%
Mon Jun 3 20:11:44 2024 user.info chirpstack-concentratord-sx1302[1631]: Publishing stats event, rx_received: 0, rx_received_ok: 0, tx_received: 0, tx_emitted: 0
Mon Jun 3 20:11:44 2024 user.info chirpstack-mqtt-forwarder[2135]: Received gateway stats
Mon Jun 3 20:11:44 2024 user.info chirpstack-mqtt-forwarder[2135]: Sending gateway stats event, topic: eu868/gateway/0016c001f1057493/event/stats
Mon Jun 3 20:11:59 2024 user.info chirpstack-concentratord-sx1302[1631]: Frame received, uplink_id: 2477470463, count_us: 4216158669, freq: 867500000, bw: 125000, mod: LoRa, dr: SF12, ftime_received: false, ftime_ns: 0
Mon Jun 3 20:11:59 2024 user.info chirpstack-mqtt-forwarder[2135]: Received uplink frame, uplink_id: 2477470463
Mon Jun 3 20:11:59 2024 user.info chirpstack-mqtt-forwarder[2135]: Sending uplink event, uplink_id: 2477470463, topic: eu868/gateway/0016c001f1057493/event/up
Mon Jun 3 20:12:10 2024 user.info chirpstack-concentratord-sx1302[1631]: Enqueueing packet on pps, downlink_id: 3255431510, counter_us: 4231768566, current_counter_us: 4227750452
Mon Jun 3 20:12:10 2024 user.info chirpstack-concentratord-sx1302[1631]: Item tracked, band: [label: P, freq_min: 869400000, freq_max: 869650000, dc_max: 10.00%], freq: 869525000, tx_power_eirp: 14, start_counter_us: 4231768566, end_counter_us: 4231880566, duration: 112ms
Mon Jun 3 20:12:10 2024 user.info chirpstack-concentratord-sx1302[1631]: Beacon enqueued, beacon_time_gps_epoch: 1401469952s
Mon Jun 3 20:12:14 2024 user.err chirpstack-concentratord-sx1302[1631]: Get concentrator temperature error, error: lgw_get_temperature failed
Mon Jun 3 20:12:14 2024 user.info chirpstack-concentratord-sx1302[1631]: Duty-cyle stats: [label: P, freq_min: 869400000, freq_max: 869650000, dc_max: 10.00%] - current_dc: 0.09%
Mon Jun 3 20:12:14 2024 user.info chirpstack-concentratord-sx1302[1631]: Publishing stats event, rx_received: 1, rx_received_ok: 1, tx_received: 0, tx_emitted: 0
Mon Jun 3 20:12:14 2024 user.info chirpstack-mqtt-forwarder[2135]: Received gateway stats
Mon Jun 3 20:12:14 2024 user.info chirpstack-mqtt-forwarder[2135]: Sending gateway stats event, topic: eu868/gateway/0016c001f1057493/event/stats
Mon Jun 3 20:12:14 2024 user.info chirpstack-concentratord-sx1302[1631]: Scheduled packet for TX, downlink_id: 3255431510, count_us: 4231768566, freq: 869525000, bw: 125000, mod: LoRa, dr: SF9
Mon Jun 3 20:12:32 2024 daemon.err uwsgi[1031]: *** has_emperor mode detected (fd: 7) ***
Mon Jun 3 20:12:32 2024 daemon.err uwsgi[1031]: [uWSGI] getting INI configuration from /etc/uwsgi/vassals/luci-webui.ini
Mon Jun 3 20:12:32 2024 daemon.err uwsgi[1031]: Mon Jun 3 20:12:32 2024 - [emperor] vassal /etc/uwsgi/vassals/luci-webui.ini has been spawned
Mon Jun 3 20:12:32 2024 daemon.err uwsgi[1031]: Mon Jun 3 20:12:32 2024 - [emperor] vassal /etc/uwsgi/vassals/luci-webui.ini is ready to accept requests
Mon Jun 3 20:12:33 2024 daemon.err uwsgi[1031]: Mon Jun 3 20:12:33 2024 - [emperor] vassal /etc/uwsgi/vassals/luci-webui.ini is now loyal
Mon Jun 3 20:12:34 2024 daemon.err uwsgi[1031]: *** has_emperor mode detected (fd: 8) ***
Mon Jun 3 20:12:34 2024 daemon.err uwsgi[1031]: [uWSGI] getting INI configuration from /etc/uwsgi/vassals/luci-cgi_io.ini
Mon Jun 3 20:12:34 2024 daemon.err uwsgi[1031]: Mon Jun 3 20:12:34 2024 - [emperor] vassal /etc/uwsgi/vassals/luci-cgi_io.ini has been spawned
Mon Jun 3 20:12:34 2024 daemon.err uwsgi[1031]: Mon Jun 3 20:12:34 2024 - [emperor] vassal /etc/uwsgi/vassals/luci-cgi_io.ini is ready to accept requests