All Projects â†’ home-assistant-ecosystem â†’ home-assistant-ansible

home-assistant-ecosystem / home-assistant-ansible

Licence: other
🎭 Ansible playbooks/role for the setup of Home Assistant.

Projects that are alternatives of or similar to home-assistant-ansible

awesome-ha-blueprints
A curated collection of automation blueprints for Home Assistant.
Stars: ✭ 258 (+437.5%)
Mutual labels:  home-automation, home-assistant
home-assistant-notebooks
📓 Sample Jupyter Notebooks to explore Home Assistant data
Stars: ✭ 49 (+2.08%)
Mutual labels:  home-automation, home-assistant
soma-ctrl
Node util for controlling SOMA smart shade via MQTT or HTTP
Stars: ✭ 19 (-60.42%)
Mutual labels:  home-automation, home-assistant
homeassistant-lightwave2
Lightwave RF custom component for Home Assistant. Requires generation 2 ("Link Plus") hub, but will control both generation 1 ("Connect Series") and generation 2 ("Smart Series") devices.
Stars: ✭ 31 (-35.42%)
Mutual labels:  home-automation, home-assistant
Tuya-v2-Supported-Devices
A collection of all of the known working Tuya v2 Devices
Stars: ✭ 30 (-37.5%)
Mutual labels:  home-automation, home-assistant
hhnl.HomeAssistantNet
No description or website provided.
Stars: ✭ 31 (-35.42%)
Mutual labels:  home-automation, home-assistant
nibeuplink
Nibe Uplink asyncronous python interface
Stars: ✭ 20 (-58.33%)
Mutual labels:  home-automation, home-assistant
ansible-role-docker-ce
Ansible role to install Docker CE on AlmaLinux/Rocky/CentOS/Fedora/RHEL(Redhat)/Ubuntu/Debian/Mint/Raspbian
Stars: ✭ 73 (+52.08%)
Mutual labels:  debian, fedora
M5Stack-Air-Quality-ESPHome
ESPHome configuration for M5Stack's PM2.5 Air Quality Kit with the PMSA003 particulate matter sensor and the SHT20 temperature and humidity sensor
Stars: ✭ 19 (-60.42%)
Mutual labels:  home-automation, home-assistant
amshan-homeassistant
Home Assistant integrasjon for strømmålere (AMS/HAN/P1). Integrasjonen støter både streaming (serieport/TCP-IP) og MQTT (Tibber Pulse, energyintelligence.se etc)
Stars: ✭ 39 (-18.75%)
Mutual labels:  home-automation, home-assistant
texecom2mqtt-hassio
Home Assistant add-on. Connect to Texecom Premier Elite alarm panels and publish updates to MQTT. Supports arming/disarming as well as zone updates and alarm events.
Stars: ✭ 15 (-68.75%)
Mutual labels:  home-automation, home-assistant
hassio
ESPHome Hass.io addon files
Stars: ✭ 175 (+264.58%)
Mutual labels:  home-automation, home-assistant
home-assistant-config
Ma configuration Home Assistant commentée en anglais et en français | My Home Assistant config with French and English comments.
Stars: ✭ 29 (-39.58%)
Mutual labels:  home-automation, home-assistant
packer-kvm
Create VM templates with Packer for usage with Libvirt/KVM virtualization : CentOS 7, CentOS 8, CentOS 8 Stream, Alma Linux, Rocky Linux, Bionic (Ubuntu 1804), Focal (Ubuntu 2004), Debian 11 (stable), Kali Linux, Fedora 33 and Fedora 34.
Stars: ✭ 99 (+106.25%)
Mutual labels:  debian, fedora
HADailySensor
Sensor for Home Assistant that gets reset at midnight
Stars: ✭ 20 (-58.33%)
Mutual labels:  home-automation, home-assistant
PXESetupWizard
PXE Setup Wizard. Netboot Debian, Ubuntu, System Rescue CD, FreeDOS and more.
Stars: ✭ 96 (+100%)
Mutual labels:  debian, fedora
homeassistant-config
My elaborate home automation configuration + scripts
Stars: ✭ 17 (-64.58%)
Mutual labels:  home-automation, home-assistant
mac-api
Command your Mac from afar
Stars: ✭ 33 (-31.25%)
Mutual labels:  home-automation, home-assistant
light-card
Lovelace light-card for home assistant
Stars: ✭ 18 (-62.5%)
Mutual labels:  home-automation, home-assistant
denonavr
Automation Library for Denon AVR receivers.
Stars: ✭ 126 (+162.5%)
Mutual labels:  home-automation, home-assistant

License: Apache

Home Assistant

This role deploys Home Assistant to a remote system.

Requirements

One requirement is to have a system with a configured instance of Ansible. This means that you have an inventory and access to the remote system via SSH with keys.

  1. Add the remote system to your Ansible's hosts (/etc/ansible/hosts) file to the group [home-assistant].
  2. For every system you want to manage, you need to have the master's SSH key in the authorized_keys file of the managed/remote system.

From the management system for the user root:

$ sudo ssh-copy-id -i /home/[your local user]/.ssh/id_rsa.pub root@[IP address of remote system]

While checking if you are able to login the remote system without password, you should check if Python and the DNF Python binding are available. If not, install them to save some time later.

$ sudo dnf -y install python python-dnf
  1. Perform a first check if Ansible works. You need to use the user root:
$ ansible home-assistant -m ping -u root -b
192.168.1.2 | success >> {
    "changed": false,
    "ping": "pong"
}

For further details about the setup of Ansible, check their documentation.

Role Variables

  • ha_venv: The location of the virtual environment. Defaults to /opt/home-assistant
  • ha_user: The user for Home Assistant. Defaults to ha.
  • ha_port: The default port which is 8123. If you change that, you will need to modify the configuration.yml file of Home Assistant.
  • pkgs: List of packages to install on the remote system.

Dependencies

There are no dependencies for this role.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: home-assistant
  roles:
     - home-assistant.home-assistant-ansible

Warning

Think first before you implement stuff from this repository. Consider the playbooks in this repository as non-generic. They were made especially for the deployment of Home Assistant and Fedora at the moment.

License

Apache 2.0

Author Information

Fabian Affolter. If you are too young to know what e-mail is, use @fabaff ;-).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].