Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- layout: page
- title: "Azure IoT"
- description: "Offers support for Azure IoT integration with Homeassistant."
- date: 2017-10-22 14:18
- sidebar: true
- comments: false
- sharing: true
- footer: true
- logo: home-assistant.png
- ha_category: "Other"
- ---
- The Azure IoT platform is an integration with Azure IoT Hub for homeasistant
- To add Azure IoT to your installation, add the following to your `configuration.yaml` file:
- ```yaml
- # Example configuration.yaml entry
- azureiot:
- host: <azure-iot-host>
- devices:
- <azure-iot-device-name>:
- auth_key: <auth-key>
- include:
- - <sensors>
- <another-azure-iot-device-name>:
- auth_key: <auth-key>
- include:
- - <sensors>
- ```
- Configuration variables:
- - **azure-iot-host** : Name of your Azure IoT Hub host (without .azure-devices.net)
- - **azure-iot-device-name** : Name of your Azure IoT Hub device.
- - **auth-key**: The authentication key for the device.
- - **sensors** array (*Optional*): The sensor values you want to send to the Azure IoT hub. Note, not specifying any sensors will send all event changes to Azure IoT
- A full configuration example can be found below:
- ```yaml
- # Example configuration.yaml entry
- azureiot:
- host: myazureiothub
- devices:
- hass_device_1:
- auth_key: ABC1230ABC1230ABC1230ABC1230ABC1230ABC12300=
- include:
- - sun.sun
- - sensor.dht_sensor_temperature
- - sensor.yr_temperature
- hass_device_2:
- auth_key: ABC1230ABC1230ABC1230ABC1230ABC1230ABC12300=
- include:
- - group.phones
- - group.computers
- ```
Add Comment
Please, Sign In to add comment