Guest User

Untitled

a guest
Oct 22nd, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. ---
  2. layout: page
  3. title: "Azure IoT"
  4. description: "Offers support for Azure IoT integration with Homeassistant."
  5. date: 2017-10-22 14:18
  6. sidebar: true
  7. comments: false
  8. sharing: true
  9. footer: true
  10. logo: home-assistant.png
  11. ha_category: "Other"
  12. ---
  13.  
  14. The Azure IoT platform is an integration with Azure IoT Hub for homeasistant
  15.  
  16. To add Azure IoT to your installation, add the following to your `configuration.yaml` file:
  17.  
  18. ```yaml
  19. # Example configuration.yaml entry
  20. azureiot:
  21. host: <azure-iot-host>
  22. devices:
  23. <azure-iot-device-name>:
  24. auth_key: <auth-key>
  25. include:
  26. - <sensors>
  27. <another-azure-iot-device-name>:
  28. auth_key: <auth-key>
  29. include:
  30. - <sensors>
  31. ```
  32.  
  33. Configuration variables:
  34.  
  35. - **azure-iot-host** : Name of your Azure IoT Hub host (without .azure-devices.net)
  36. - **azure-iot-device-name** : Name of your Azure IoT Hub device.
  37. - **auth-key**: The authentication key for the device.
  38. - **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
  39.  
  40. A full configuration example can be found below:
  41.  
  42. ```yaml
  43. # Example configuration.yaml entry
  44. azureiot:
  45. host: myazureiothub
  46. devices:
  47. hass_device_1:
  48. auth_key: ABC1230ABC1230ABC1230ABC1230ABC1230ABC12300=
  49. include:
  50. - sun.sun
  51. - sensor.dht_sensor_temperature
  52. - sensor.yr_temperature
  53. hass_device_2:
  54. auth_key: ABC1230ABC1230ABC1230ABC1230ABC1230ABC12300=
  55. include:
  56. - group.phones
  57. - group.computers
  58. ```
Add Comment
Please, Sign In to add comment