Giter Club home page Giter Club logo

ansible-role-pivccu's Introduction

Role Name: pivccu

This role installs the piVCCU® project from Alexander Reinert. It is a project to install the original Homematic CCU2 / CCU3 firmware inside virtualized container (lxc) on ARM based single board computers. You can find the project at https://github.com/alexreinert/piVCCU/ .

Requirements

It is designed for ARM based single board computers like the RaspberryPi. Currently this role is tested on a Raspberry Pi 3 Model B with the HM-MOD-RPI-PCB connected via GPIO. You can find further prerequisites here.

Installation

ansible-galaxy install devconsole.pivccu

Role Variables

default variables in defaults/main.yml:

Variable Value
pivccu_apt_key 'https://www.pivccu.de/piVCCU/public.key'
pivccu_repo_url 'https://www.pivccu.de/piVCCU'
pivccu_apt_suite 'stable' # 'testing' as alternative

variables in vars/main.yml:

Variable Value
pivccu_pkg 'pivccu3' # 'pivccu' for CCU version 2
pivccu_hw_hb_rf_eth 'false' # HM-MOD-RPI-PCB/RPI-RF-MOD via Ethernet
pivccu_create_backup_job 'true'
pivccu_backup_path '/var/backups'
bridge_interface_method 'dhcp' # 'static' (needs IP configuration - s.b.)
bridge_ip "192.168.2.100"
bridge_netmask "255.255.255.0"
bridge_gateway "192.168.2.1"
bridge_nameserver ["192.168.2.1","8.8.8.8"]

When bridge_interface_method is set to static, you maybe have to adjust these additional variables for templating the network bridge interface configuration in /etc/network/interfaces.

  • bridge_ip
  • bridge_netmask # like 255.255.255.0
  • bridge_gateway
  • bridge_nameserver(s) (optional list with max. 2 IPs)

Dependencies

None.

Example Playbook

  - hosts: pi-ccu
    remote_user: pi
    become: true
    roles:
    - devconsole.pivccu
    vars:
      bridge_interface_method: "static"
      bridge_ip: "192.168.2.100"
      bridge_netmask: "255.255.255.0"
      bridge_gateway: "192.168.2.1"

License

Apache-2.0

Author Information

This role was created in 2021 by Daniel Boggasch.

ansible-role-pivccu's People

Contributors

dabo-devconsole avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.