Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 1.71 KB

File metadata and controls

50 lines (39 loc) · 1.71 KB

smarthome.smarthome

An all-in-one role to install HomeAssistant, Mosquitto, and Zigbee2MQTT.

Requirements

Role Variables

  • smarthome_network
  • smarthome_user
    • Default: { name: "{{ ansible_user }}", password: "smarthome" }
    • Description: Overrides the users for Mosquitto and Zigbee2MQTT.
    • Type: dict with keys name (str) and password (str)
    • Required: no
  • smarthome_zigbee_adapter
    • Default: ``
    • Description: Specifies the ZigBee adapter. Overrides zigbee2mqtt_adapter.
    • Type: str
    • Required: yes

Dependencies

Example Playbook

- role: "artyorsh.smarthome.smarthome"
  vars:
    smarthome_zigbee_adapter: "/dev/ttyUSB0"
    smarthome_user: { name: "smarthome", password: "changeme" }

Custom settings for individual containers

- role: "artyorsh.smarthome.smarthome"
  vars:
    smarthome_zigbee_adapter: "/dev/ttyUSB0"
    smarthome_user: { name: "smarthome", password: "changeme" }
    homeassistant_homekit_config:
      filter:
        include_entity_globs: ["light.*"]