firedog1024 / thethingsnetwork-with-azure-iot-central Goto Github PK
View Code? Open in Web Editor NEWConnecting devices on The Things Network (LoRaWAN) to Azure IoT Central
License: MIT License
Connecting devices on The Things Network (LoRaWAN) to Azure IoT Central
License: MIT License
Hi, I tried to connect TTN to Azure IoT Central with lora mini node and temperature and humidity sensor.
But I had this error message on Azure function log.
2019-09-05T11:05:04.331 [Information] [HTTP] Initiating device registration
2019-09-05T11:05:04.795 [Information] [ERROR] Unable to register device 00c66c7348845a9f: 401 - {"errorCode":401000,"trackingId":"c74c4aec-c2c6-4e58-8368-d1953fd4cc0f","message":"Unauthorized","timestampUtc":"2019-09-05T11:05:04.7628918Z"}
2019-09-05T11:05:04.796 [Information] Executed 'Functions.IoTCIntegration' (Succeeded, Id=5f3dff63-0f42-4570-846d-abe14d9b2cd9)
2019-09-05T11:05:37.239 [Information] Executing 'Functions.IoTCIntegration' (Reason='This function was programmatically called via the host APIs.', Id=aea52267-87bd-4fb5-9794-1813d309cd28)
2019-09-05T11:05:37.250 [Information] { app_id: 'lab1node',
dev_id: 'lab1device',
hardware_serial: '00C66C7348845A9F',
port: 1,
counter: 15,
payload_raw: 'SRoaYA==',
payload_fields: { Humidity: 73, Temperature: 26 },
metadata:
{ time: '2019-09-05T11:05:36.491070404Z',
frequency: 923,
modulation: 'LORA',
data_rate: 'SF10BW125',
coding_rate: '4/5',
gateways: [ [Object] ] },
downlink_url: 'https://integrations.thethingsnetwork.org/ttn-asia-se/api/v2/down/lab1node/azure_central?key=ttn-account-v2.U46GB1FPm7104jp-2pHqU-Fzyxy5Y-fbMBn_VpOkdDI' }
2019-09-05T11:05:37.251 [Information] [ERROR] Unable to register device 00c66c7348845a9f. Minimum registration timeout not yet exceeded. Please try again in 27 seconds
2019-09-05T11:05:37.251 [Information] Executed 'Functions.IoTCIntegration' (Succeeded, Id=aea52267-87bd-4fb5-9794-1813d309cd28)
2019-09-05T11:06:10.410 [Information] Executing 'Functions.IoTCIntegration' (Reason='This function was programmatically called via the host APIs.', Id=afbe3aa7-dba2-491b-a84c-c9a82337ef7c)
2019-09-05T11:06:10.431 [Information] { app_id: 'lab1node',
dev_id: 'lab1device',
hardware_serial: '00C66C7348845A9F',
port: 1,
counter: 16,
payload_raw: 'SRoaWA==',
payload_fields: { Humidity: 73, Temperature: 26 },
metadata:
{ time: '2019-09-05T11:06:09.466097557Z',
frequency: 923,
modulation: 'LORA',
data_rate: 'SF10BW125',
coding_rate: '4/5',
gateways: [ [Object] ] },
downlink_url: 'https://integrations.thethingsnetwork.org/ttn-asia-se/api/v2/down/lab1node/azure_central?key=ttn-account-v2.U46GB1FPm7104jp-2pHqU-Fzyxy5Y-fbMBn_VpOkdDI' }
"Minimum registration timeout not yet exceeded"
Do you know how to set minimum registration?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.