KPN Things Developer Manual
↩ All Documentation
  • Welcome to the Things Developer Manual
  • Concepts
    • Overview
    • Uplink communication
    • Downlink communication
    • SenML
      • Upcoming Changes in KPN SenML
    • Management data model
    • Location data
    • API access ✨
  • Devices
    • Introduction to Devices
    • Supported developer kits
    • Supported device types
    • KPN Things devices
    • Device SDK
  • Connectivity
    • Introduction to Connectivity
    • KPN Things LoRa
    • KPN Things M2M
      • Firmware over the air 💎
    • Internet ✨
  • Processing
    • Introduction to Processing
    • ThingsML
    • Common measurements list
    • DIY Decoder 🔜
    • Merger 💎
    • Built-in decoders
  • Destinations
    • Introduction to Destinations
    • Azure Event Hub
    • Azure IoT Hub
    • Cumulocity environment
    • HTTPS endpoint
    • MQTT broker
  • 📗Additional resources
    • Things Portal Manual
    • Getting started
    • Contact Support
Powered by GitBook
On this page
  • Connect an Azure IoT Hub
  • What does the connection do?
  • Where to find the required configuration values in the Azure Portal?
  • Hostname
  • SAS key name and SAS key
  • How to create an Azure IoT Hub
  1. Destinations

Azure IoT Hub

Connect an Azure IoT Hub

The following parameters are available to connect your Azure IoT Hub:

Parameter

Description

Example value

name

*

The name of the destination

My IoT Hub

description

Description of the destination

IoT Hub with all my devices

hostName

*

Host name of your IoT Hub

hubName.azure-devices.net

sasKeyName

*

The access policy name for KPN Things to use to connect to your IoT Hub

sasKey

*†

The primary key of the access policy for KPN Things to use

*) required value †) secret value, not returned by our API's

What does the connection do?

  • KPN Things will register new devices in the IoT hub when IoT data is forwarded for devices that are not yet in the IoT Hub.

  • KPN Things will forward all IoT data as telemetry in the IoT Hub from devices linked to the destination.

In the future we plan to support downlink communication using Cloud-to-Device communication in the IoT Hub, and we plan to support device twin synchronization between KPN Things and the IoT Hub.

Where to find the required configuration values in the Azure Portal?

Hostname

You can find the hostname on the overview page of your IoT Hub, as highlighted in the screenshot below:

SAS key name and SAS key

  • Registry write

  • Service connect

  • Device connect

After creation of your policy, you can find the SAS key name and SAS key in the

How to create an Azure IoT Hub

For now, a Basic tier will be sufficient for a working connection with KPN Things. Later, we will introduce downlink and device twin functionality to the connection and for that the Standard tier is required.

PreviousAzure Event HubNextCumulocity environment

Last updated 4 years ago

For the key name and key you need to create a for your IoT Hub. Make sure you enable all permissions for the Policy you create for KPN Things, since all permissions are required:

If you do not yet know how to create an Azure IoT Hub, head on over to the Microsoft documentation on how to create an Azure IoT Hub. You can try one for free using the !

Shared access policy
Azure free account
Use the Azure portal to create an IoT Hubdocsmsft
Logo