[Fiware-tech-help] FiWare IoT Agent with LoRaServer.io

max.reble at walter-tecyard.com max.reble at walter-tecyard.com
Wed Jul 31 13:25:32 CEST 2019


Hey you,

 

I’m working on a small business in Kiel and we are currently implementing
some IoT devices with LoRaWAN in some cities and facilities. So far we build
up our own backup with Grafana, InfluxDB and some self-written code. Then a
friend of mine showed me FiWare and I am realy impressed but also a little
bit overwhelmed. 

 

Is there a step by step tutorial for a newb to get the IoT Agent work with
loraserver.io? I issue a lot of problems which seems not to be documented
(it took me like one hour to find out what I have to insert in the
“provider” json field if I don’t want to use TTN but loraserver.io (it was
“loraserver.io” ;P) 

 

What I got so far: 

Docker-compose build:
<https://github.com/Atos-Research-and-Innovation/IoTagent-LoRaWAN>
https://github.com/Atos-Research-and-Innovation/IoTagent-LoRaWAN

When I try to follow this
<https://fiware-lorawan.readthedocs.io/en/latest/users_manual/index.html>
tutorial and do a DEVICE PROVISIONING I always get a “curl: (52) Empty reply
from server” error. When I expose also port 4041 and use the 4041 port
instead of the 4061 I don’t get that error anymore but when I execute this:

 

curl localhost:1026/v2/entities/LORA-N-003 -s -S -H 'Accept:
application/json' --header 'fiware-service: smartgondor' --header
'fiware-servicepath: /gardens' | python -mjson.tool

 

I always get this:

 

{

    "description": "The requested entity has not been found. Check type and
id",

    "error": "NotFound"

} 

 

I tried it also with my own sensor but I don’t know what the AppEUI should
be?



 

{

  "devices": [

    {

      "device_id": "MaxDeviceClimateSensor19",

      "entity_name": "MaxDeviceClimateSensor19",

      "entity_type": "LoraDevice",

      "timezone": "America/Santiago",

      "attributes": [

        {

          "object_id": "bp0",

          "name": "Temperature",

          "type": "Number"

        },

        {

          "object_id": "di3",

          "name": "Lumix",

          "type": "Number"

        },

        {

          "object_id": "do4",

          "name": "Pressure",

          "type": "Number"

        },  

        {

          "object_id": "rh2",

          "name": "Humidity",

          "type": "Number"

        }      

      ],

      "internal_attributes": {

        "lorawan": {

          "application_server": {

            "host": "alpha",

            "provider": "loraserver.io"

          },

          "dev_eui": "1901000000000000",

          "app_eui": "0123456789ABCDEF",

          "application_id": "5",

          "application_key": "33333333333333333333333333333344"

        }

      }

    }

  ]

}

 

I also get the curl error from above when I try this.

 

 

Thanks in advance,

Max

______________________________

Entwicklungsleitung IT

WALTER TECYARD GmbH & Co. KG

Projensdorfer Strasse 324

24106 Kiel, Germany

Tel.:                 +49 (0) 431 3058 - 272

Fax.:                +49 (0) 431 3058 - 151

E-mail:             <mailto:max.reble at walter-tecyard.com>
max.reble at walter-tecyard.com

Internet:           <https://walter-tecyard.com> https://walter-tecyard.com

 

====================================================

WALTERTECYARD GmbH & Co. KG

Sitz Kiel, AG Kiel HRA 6211

UST-Id. Nr.:  DE 262003206

Komplementärin: WTY Verwaltungs GmbH      

Sitz Kiel, AG Kiel HRB 20147

Geschäftsführung: Dr. Angelika Eule, Dr. Axel Leybold, M.Sc. Benedikt
Winkelmann

=====================================================

Diese E-Mail einschließlich ihrer Anhänge ist vertraulich und daher allein
für den Gebrauch durch den vorgesehenen Empfänger bestimmt. Dritten ist das
Lesen, Verteilen oder Weiterleiten dieser E-Mail nur mit ausdrücklicher
Zustimmung erlaubt. Wir bitten, eine fehlgeleitete E-Mail unverzüglich
vollständig zu löschen und uns eine Nachricht zukommen zu lassen. Sofern
diese E-Mail oder ihre Anhänge Informationen enthalten, die erkennbar von
Dritten stammen, übernimmt WALTER TECYARD keine Haftung für diese.
Insbesondere macht sich WALTER TECYARD diese Informationen nicht zu Eigen.

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20190731/d0e48d80/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 36685 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20190731/d0e48d80/attachment-0001.png>


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy