voxpupuli/puppet-homeassistant

Name: puppet-homeassistant

Owner: Vox Pupuli

Description: Puppet Module for Home Assistant - home automation platform. https://home-assistant.io/

Created: 2017-02-15 19:39:20.0

Updated: 2018-05-23 06:13:20.0

Pushed: 2018-05-23 06:13:19.0

Homepage: null

Size: 67

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Puppet module for Home Assistant

Build Status Code Coverage Puppet Forge Puppet Forge - downloads Puppet Forge - endorsement Puppet Forge - scores

Description

Home Assistant is an open-source home automation platform running on Python 3. This puppet module can be used to install and configurue Home Assistant. Home assistant is installed within an python3 virtualenv environment.

Home Assistant - https://home-assistant.io/

Usage

To install and start homeassistant

ude ::homeassistant

or with a custom configuration.

s{'::homeassistant':
location_name => 'Arc de Triomphe',
latitude      => 48.8738,
longitude     => 2.2950,
elevation     => 300,
unit_system   => 'metric',
time_zone     => 'Europe/Paris'

Parameters for homeassistant class
Adding Components

Simple components with no configuration.

assistant::component{

'config',
'http',
'frontend',
'updater',
'discovery',
'conversation',
'history',
'sun',
'logbook',


Components with configuration.

assistant::component{'tts':
nfig => {'platform' => 'google'}


assistant::component{'device_tracker':
nfig => [
{'platform' => 'netgear',
 'host'     => 'router.example.org',
 'username' => 'admin',
 'password' => 'secret',
}


Multiple Instances of one Component, e.g. Switches

assistant::component{'myswitchs':
mponent => 'switch',
nfig    => [
             {'platform' => 'google',
             },
             {'platform' => 'tplink',
              'host'     => 'myplug.example.org',
              'username' => 'foo',
              'password' => 'bar',
             },
           ],


assistant::component{'otherswitches':
mponent => 'switch',
nfig    => {
platform => 'command_line',
switches => {
              'command_on'    => '/bin/echo on > /tmp/hi',
              'command_off'   => '/bin/ehco off > /tmp/hi',
              'command_state' => '/bin/grep -q on /tmp/hi',
              'friendly_name' => 'Is the file on',
            }
}


Authors

puppet-homeassistant is maintained by VoxPupuli. It was originally written by Steve Traylen.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.