This commit is contained in:
mwiegand 2021-10-28 23:41:25 +02:00
parent 9e4163d291
commit 1825faabf6
3 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,20 @@
users = {
'homeassistant': {
'home': '/var/lib/homeassistant',
},
}
directories = {
'/var/lib/homeassistant': {
'owner': 'homeassistant',
},
'/var/lib/homeassistant/config': {
'owner': 'homeassistant',
},
'/var/lib/homeassistant/venv': {
'owner': 'homeassistant',
},
}
# https://wiki.instar.com/de/Software/Linux/Home_Assistant/

View file

@ -0,0 +1,9 @@
defaults = {
'apt': {
'packages': {
'python3-dev': {},
'python3-pip': {},
'python3-venv': {},
},
},
}

19
nodes/home.openhab.py Normal file
View file

@ -0,0 +1,19 @@
{
'hostname': '10.0.0.14',
'groups': [
'raspberry-pi',
'debian-10',
],
'bundles': [
],
'metadata': {
'id': '397d6f7f-f5bb-49ab-bdad-f1404e49d0d5',
'network': {
'internal': {
'interface': 'eth0',
'ipv4': '10.0.0.14/24',
'gateway4': '10.0.0.1',
},
},
},
}