Homex.Config (homex v0.1.0)

View Source
  • :device (keyword/0) - If no device configuration is given the identifiers and name will be set to the hostname of the device running Homex and will fall back to "homex device" when hostname is not available The default value is [].

    • :identifiers

    • :name

    • :manufacturer

    • :model

    • :serial_number

    • :sw_version

    • :hw_version

  • :origin (non-empty keyword/0) - The default value is [name: "homex"].

    • :name (String.t/0) - The name of the application that is the origin of the discovered MQTT item. The default value is "homex".

    • :sw_version (String.t/0) - Software version of the application that supplies the discovered MQTT item

    • :support_url (String.t/0) - Support URL of the application that supplies the discovered MQTT item

  • :discovery_prefix (String.t/0) - if changed in Homeassistant you also need to change it here to enable autodiscovery. The default works for a standard installation The default value is "homeassistant".

  • :entities (list of atom/0) - The default value is [].

  • :broker (keyword/0) - The default value is [].

    • :host (String.t/0) - host of the MQTT broker The default value is "localhost".

    • :port (integer/0) - port of the MQTT broker The default value is 1883.

    • :username (String.t/0) - username for the MQTT broker

    • :password (String.t/0) - passwort for the MQTT broker