[Fiware-tech-help] [Help Request] Configuring IoT Agent

Pedro Martins pedro_martins94 at outlook.pt
Tue Dec 1 11:46:29 CET 2020


Dear FIWARE Tech,

So I'm currently developing a "Smart Campus" for my academic institution, but I've been stuck for a while now and I wanted to ask if it is possible for you to "give me a hand" to solve my problem.

Currently we've got a LoRaWAN network, with around 45 devices sending data with this payload: ID=D0001&T=23.5&H=60&P=101.325&CO2=1434&Rn=1220, where ID is the sensorId; T-Temperature; H - Humidity; CO2 - Carbon Dioxide; Rn - Radon.

These are the steps that I've made:

1 - Installed IoT-Agent Ultralight
2 - Configured MQTT on the config.js file with my MQTT data

config.mqtt = {
    host: 'HOST_NAME',
    port: 1883,
    protocol : `mqtt`,
    username: 'USERNAME',
    password: 'PASSWORD',
    retain: false,
    retries: 5,
    retryTime: 5,
    keepalive: 0,
    avoidLeadingSlash: false
};

3 - IoTAgent-ul (node bin/iot-agentul), getting this message: time=2020-12-01T10:44:48.197Z | lvl=INFO | corr=526cdc56-62b8-4791-b95d-f5110ca18b7e | trans=526cdc56-62b8-4791-b95d-f5110ca18b7e | op=IOTAUL.MQTT.Binding | from=n/a | srv=n/a | subsrv=n/a | msg=connected | comp=IoTAgent


What steps do I have to make next to get context from my devices? They are legacy and can't be changed.

Thank you for the help,
Pedro Martins
FIWARE Member
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20201201/2b5ca03f/attachment.html>


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