Information: mongoDB

17 views
Skip to first unread message

sebastien...@gmail.com

unread,
Apr 17, 2019, 4:06:20 AM4/17/19
to LoRaWAN Server Users
Hello,

I have a question about data save in mongo database.
My configuration is:
- Rapsberry pi 3 b+ with Ubuntu server 18.04 for arm
- IC880a
- MongoDB shell version v3.6.3
- MongoDB server version: 3.6.3

I used "Handler" and  "Connectors" to record data in this database. Informations saved are "deveui", "data", "datetime".

I have this type of record in the mongo database:

[
       {
                "data" : "60AE610D4612B2AE0000",
                "deveui" : "000175C54167656E",
                "type" : "Up",
                "formatDate" : "2019-04-17 07:57:59"
        },
        {
                "data" : "00AD3B0E2E12ADC3C30E",
                "type" : "Up",
                "formatDate" : "2019-04-17 08:03:08"
        }
]


Sometimes, I have a record in database without "deveui" information. Why?

It's problematic for me, because I am doing lot of statistics on these datas. So If I have incomplete data, I can't worked correctly.

Thank you in advance for your answers.

Regards,

Sébastien Carobbio

Petr Gotthard

unread,
Apr 17, 2019, 4:16:24 AM4/17/19
to sebastien...@gmail.com, LoRaWAN Server Users
Hello.

I suspect you have an ABP (non OTAA) device that has no DevEUI. Add the DevAddr to the list of fields. This will uniquely identify the device that sent the frame.

Petr

Odesláno ze Samsung Mobile


-------- Původní zpráva --------
Datum:17. 04. 2019 10:06 (GMT+01:00)
Komu: LoRaWAN Server Users
Předmět: Information: mongoDB
--
You received this message because you are subscribed to the Google Groups "LoRaWAN Server Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lorawan-serve...@googlegroups.com.
To post to this group, send email to lorawan...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lorawan-server/94355152-84b3-49ca-828a-cdd1ac208c1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

sebastien...@gmail.com

unread,
Apr 17, 2019, 4:42:46 AM4/17/19
to LoRaWAN Server Users
OK. Thank you for your help.

All my devices are activated by OTAA.

If the devaddr are correctly recorded in database, I could used it to identify devices.

I test this solution during a day and I do a feedback.

Have a nice day.

Le mercredi 17 avril 2019 10:16:24 UTC+2, Petr Gotthard a écrit :
Hello.

I suspect you have an ABP (non OTAA) device that has no DevEUI. Add the DevAddr to the list of fields. This will uniquely identify the device that sent the frame.

Petr

Odesláno ze Samsung Mobile


-------- Původní zpráva --------
To unsubscribe from this group and stop receiving emails from it, send an email to lorawan...@googlegroups.com.

sebastien...@gmail.com

unread,
Apr 18, 2019, 2:39:10 AM4/18/19
to LoRaWAN Server Users
Hello,

The modification of informations recorded works perfectly.


Thank you for your help.

Sébastien Carobbio
Reply all
Reply to author
Forward
0 new messages