Skip to content

This ansible role installs piVCCU on Raspberry Pi OS.

License

Notifications You must be signed in to change notification settings

devconsole-de/ansible-role-pivccu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.