mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
update hass docs
This commit is contained in:
parent
802ab9d747
commit
10494ffc63
@ -12,10 +12,12 @@ to run on a Raspberry Pi.
|
||||
```
|
||||
~/fig/hass/
|
||||
├── data/
|
||||
│ ├── automations.yaml
|
||||
│ ├── configuration.yaml
|
||||
│ ├── device_trackers.yaml
|
||||
│ ├── groups.yaml
|
||||
│ └── known_devices.yaml
|
||||
│ ├── known_devices.yaml
|
||||
│ └── secrets.yaml
|
||||
└── docker-compose.yml
|
||||
```
|
||||
|
||||
@ -66,23 +68,36 @@ $ sudo hciconfig hci0 up
|
||||
|
||||
```yaml
|
||||
# configuration.yaml
|
||||
group: !include groups.yaml
|
||||
automation: !include automations.yaml
|
||||
device_tracker: !include device_trackers.yaml
|
||||
group: !include groups.yaml
|
||||
|
||||
mqtt:
|
||||
broker: iot.eclipse.org
|
||||
port: 8883
|
||||
certificate: auto
|
||||
username: !secret mqtt_username
|
||||
password: !secret mqtt_password
|
||||
```
|
||||
|
||||
```yaml
|
||||
# secrets.yaml
|
||||
mqtt_username: YOUR_MQTT_USERNAME
|
||||
http_password: YOUR_MQTT_PASSWORD
|
||||
```
|
||||
|
||||
```yaml
|
||||
# groups.yaml
|
||||
default_view:
|
||||
view: yes
|
||||
entities:
|
||||
- group.living_room
|
||||
- group.bedroom
|
||||
|
||||
Living Room:
|
||||
view: no
|
||||
entities:
|
||||
- device_tracker.band
|
||||
- device_tracker.iphone
|
||||
|
||||
Bedroom:
|
||||
view: no
|
||||
entities:
|
||||
@ -130,6 +145,14 @@ kevin_android:
|
||||
vendor: unknown
|
||||
```
|
||||
|
||||
## setup mosquitto
|
||||
|
||||
Use `vimagick/mosquitto:latest` with letsencrypt free certificates.
|
||||
|
||||
- https://github.com/vimagick/dockerfiles/tree/master/mosquitto
|
||||
- https://mosquitto.org/man/mosquitto-conf-5.html
|
||||
- https://github.com/vimagick/dockerfiles/tree/master/certbot
|
||||
|
||||
## setup ibeacon
|
||||
|
||||
Use `vimagick/hass:latest`, and disable bluetooth device tracker.
|
||||
|
Loading…
Reference in New Issue
Block a user