Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hannseman/ansible-deconz
This role will setup and configure a headless deCONZ installation.
https://github.com/hannseman/ansible-deconz
ansible ansible-role deconz home-automation raspberry-pi zigbee
Last synced: 2 months ago
JSON representation
This role will setup and configure a headless deCONZ installation.
- Host: GitHub
- URL: https://github.com/hannseman/ansible-deconz
- Owner: hannseman
- License: mit
- Created: 2018-10-07T19:19:29.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-09-23T23:23:13.000Z (over 3 years ago)
- Last Synced: 2024-10-04T15:22:23.678Z (3 months ago)
- Topics: ansible, ansible-role, deconz, home-automation, raspberry-pi, zigbee
- Language: Makefile
- Size: 9.77 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-deconz
[![Ansible Role](https://img.shields.io/ansible/role/30394.svg)](https://galaxy.ansible.com/hannseman/deconz)
[![Build Status](https://travis-ci.com/hannseman/ansible-deconz.svg?branch=master)](https://travis-ci.com/hannseman/ansible-deconz)This role will setup and configure a headless [deCONZ](https://github.com/dresden-elektronik/deconz-rest-plugin/) installation.
Additional configuration needs to be made to allow the serial port to communicate with the RaspBee adapter as described on the [deCONZ documenation](https://github.com/dresden-elektronik/deconz-rest-plugin/#software-requirements).
This configuration is out of scope for this role but by using the role [hannseman.raspbian](https://github.com/hannseman/ansible-raspbian) one can configure this quite easily.
Setting the following variables for that role will enable serial communication:```yaml
rpi_boot_config:
enable_uart: 1
rpi_cmdline_config:
serial: 1
```## Variables
```yaml
# The user that if running deCOnZ
deconz_user: deconz
# Home directory of the above configured user
deconz_dir: /var/deconz
# WiringPI version - http://wiringpi.com
deconz_wiringpi_version: "2.50"
deconz_wiringpi_deb_url: "https://archive.raspberrypi.org/debian/pool/main/w/wiringpi/wiringpi_{{ deconz_wiringpi_version }}_armhf.deb"
# deCONZ version - https://github.com/dresden-elektronik/deconz-rest-plugin/releases
deconz_version: "2.05.71"
deconz_deb_url: "http://deconz.dresden-elektronik.de/raspbian/beta/deconz-{{ deconz_version }}-qt5.deb"
# Path to deCONZ binary
deconz_bin: /usr/bin/deCONZ
# Port to run the deCONZ web GUI on
deconz_http_port: 8080
# Port to run the deCONZ websocket on
deconz_websocket_port: 8088
```## Example Playbook
```yaml
- hosts: servers
roles:
- hannseman.deconz
vars:
deconz_wiringpi_version: 2.46
deconz_version: 2.05.39
deconz_http_port: 8080
deconz_websocket_port: 8088
```