Closed filgiuff closed 5 years ago
Some questions to try to understand where is the problem:
Connected to MQTT server
?New message in topic
?1) Yes. There is it.
...
iotagent-lora_1 | {"timestamp":"2019-05-07T15:13:48.535Z","level":"info","message":"Connected to MQTT server"}
iotagent-lora_1 | {"timestamp":"2019-05-07T15:13:48.536Z","level":"info","message":"Application started."}
...
2) No. There isnt't this line on the agent log.
Could you please share the raw message as it is sent by the device (Base64)?
here it is
01670110027329EC046503FA038807FDD800BEE10000C8
I checked the payload and the IoT agent is able to process it correctly. Therefore the error must be in the connection between the TTN server and the IoT Agent.
The problem was that the device_id
used in the device provisioning did not match the actual device_id
used by TTN.
The problem was that the value of "device_id" on the provisioning payload must be the same of the TTN server. Now I have the correct value. Thanks
I've registered a real device on The things network , it sends measures and I see them on the app server TTN:
I've tried to do the provisioning of this device on the IoTagent-LoRaWAN:
it creates the entity on Orion and the Mqtt topic is subscribed correctly:
But the value of the measure is empty