Hi all,
I am total new to loraserver.
And yes, I already have searched this forum and google for hours, but none of the suggested solutions worked for me…
The LoRa-Server keeps getting me the following error, when executing “journalctl -f -n 100 -u loraserver”:
—start—
Mai 07 18:52:05 LoRa-Server loraserver[5766]: time=“2019-05-07T18:52:05+02:00” level=info msg=“gateway/mqtt: uplink frame received”
Mai 07 18:52:05 LoRa-Server loraserver[5766]: time=“2019-05-07T18:52:05+02:00” level=warning msg=“get device-sessions for dev_addr error: object does not exist” dev_addr=00151a2a dev_eui=0059ac0000151a2a
Mai 07 18:52:05 LoRa-Server loraserver[5766]: time=“2019-05-07T18:52:05+02:00” level=error msg=“processing uplink frame error” data_base64=“QCoaFQCAAAABHsyT7spz/FujTeKFKgM66ZdsWv0=” error=“get device-session error: device-session does not exist or invalid fcnt or mic”
—end—
This is the ourput from the packet-forwarder:
—start—
Packet RSSI: -50, RSSI: -88, SNR: 11, Length: 29
rxpk update: {“rxpk”:[{“tmst”:158033890,“chan”:0,“rfch”:0,“freq”:868.100000,“stat”:1,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“lsnr”:11,“rssi”:-50,“size”:29,“data”:“QCoaFQCAAAABHsyT7spz/FujTeKFKgM66ZdsWv0=”}]}
—end—
This is seen via mosquitto:
—start—
gateway/b827ebffffac0041/rx {“rxInfo”:{“mac”:“b827ebffffac0041”,“timestamp”:158033890,“frequency”:868100000,“channel”:0,“rfChain”:0,“crcStatus”:1,“codeRate”:“4/5”,“rssi”:-50,“loRaSNR”:11,“size”:29,“dataRate”:{“modulation”:“LORA”,“spreadFactor”:12,“bandwidth”:125},“board”:0,“antenna”:0},“phyPayload”:“QCoaFQCAAAABHsyT7spz/FujTeKFKgM66ZdsWv0=”}
—end—
My Setup:
- a RPi 3 B+
- installed loraserver all-in-one as described in https://www.loraserver.io/guides/debian-ubuntu/ (because Raspbian is a debian variant)
- Seeedstudio Dragino LoRa GPS Hat
- single-channel packet forwarder: https://github.com/tftelkamp/single_chan_pkt_fwd
- as a device: ITALKS MCS1608 FULL SENSOR LORA (https://www.ime.de/shop/IoT-LoRa-Sigfox/LoRa-Sensoren/ITalks-110517-Sensor-MCS1608-Full-LoRa-Multisensor-Temp-Luftfeuchtigkeit-Luftdruck-3D-Beschleunigungsmesser-GPS-3D-Magnetometer-I-O::197163.html)
I followed all and every trouble-shooting I can find at loraserver.io. All seems to be all right, except above error message. Inside the Web-UI I can see the “UnconfirmedDataUp” - Frames (under Gateway).
I already double-, tripple- and quadrupel-checked DevEUI, LSB/MSB, upper-case/lower-case.
The device does exist with the correct DevEUI in my applocation and the App-Key for OTAA is correct.
I also disabled the fcnt for that device.
So I am totally clueless at the moment and any help is very much welcome…
Greets
Thomas