mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-05-29 21:59:43 +00:00
Update Authentication system for 0.90 upgrade - #523
This commit is contained in:
parent
4e13836c94
commit
418213d3ee
@ -21,7 +21,11 @@ homeassistant:
|
|||||||
auth_providers:
|
auth_providers:
|
||||||
- type: homeassistant
|
- type: homeassistant
|
||||||
- type: legacy_api_password
|
- type: legacy_api_password
|
||||||
|
api_password: !secret http_password
|
||||||
- type: trusted_networks
|
- type: trusted_networks
|
||||||
|
trusted_networks:
|
||||||
|
- 192.168.10.0/24
|
||||||
|
- !secret external_ip
|
||||||
|
|
||||||
#Note: The influxdb runs along side the HA DB. It does not replace it. influxdb is used to grab data for Grafana.
|
#Note: The influxdb runs along side the HA DB. It does not replace it. influxdb is used to grab data for Grafana.
|
||||||
influxdb:
|
influxdb:
|
||||||
@ -73,12 +77,8 @@ cloud:
|
|||||||
http:
|
http:
|
||||||
base_url: !secret http_base_url
|
base_url: !secret http_base_url
|
||||||
# server_port: !secret http_port
|
# server_port: !secret http_port
|
||||||
api_password: !secret http_api_password
|
|
||||||
ssl_certificate: !secret ssl_certificate
|
ssl_certificate: !secret ssl_certificate
|
||||||
ssl_key: !secret ssl_key
|
ssl_key: !secret ssl_key
|
||||||
trusted_networks:
|
|
||||||
- 192.168.10.0/24
|
|
||||||
- !secret external_ip
|
|
||||||
ip_ban_enabled: True
|
ip_ban_enabled: True
|
||||||
login_attempts_threshold: 3
|
login_attempts_threshold: 3
|
||||||
|
|
||||||
|
@ -10,6 +10,16 @@
|
|||||||
#
|
#
|
||||||
# hidden: False
|
# hidden: False
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
|
camera:
|
||||||
|
- platform: synology
|
||||||
|
url: !secret synology_url
|
||||||
|
username: !secret synology_username
|
||||||
|
password: !secret synology_password
|
||||||
|
timeout: 15
|
||||||
|
verify_ssl: False
|
||||||
|
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: rest
|
- platform: rest
|
||||||
name: "CAMERA1 Motion Sensor"
|
name: "CAMERA1 Motion Sensor"
|
||||||
@ -46,43 +56,4 @@ binary_sensor:
|
|||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
# Motion Sensors added to other motion sensors in group yaml
|
# Motion Sensors added to other motion sensors in group yaml
|
||||||
|
#-------------------------------------------
|
||||||
##############################################################################
|
|
||||||
### Automations - Detect when things are not right. Like any Good Watchdog.
|
|
||||||
##############################################################################
|
|
||||||
#automation:
|
|
||||||
#Tweets pushed out to twitter.
|
|
||||||
# automation:
|
|
||||||
# - alias: Someone on the MC server!
|
|
||||||
# trigger:
|
|
||||||
# - platform: state
|
|
||||||
# entity_id: sensor.bear_stone
|
|
||||||
#
|
|
||||||
# action:
|
|
||||||
# - service: light.turn_on
|
|
||||||
# entity_id: light.justin_go
|
|
||||||
# data_template:
|
|
||||||
# color_name: >
|
|
||||||
# {% if states.sensor.bear_stone.state|int == 1 %}
|
|
||||||
# gold
|
|
||||||
# {% elif states.sensor.bear_stone.state|int == 2 %}
|
|
||||||
# green
|
|
||||||
# {% elif states.sensor.bear_stone.state|int == 3 %}
|
|
||||||
# blue
|
|
||||||
# {% else %}
|
|
||||||
# red
|
|
||||||
# {% endif %}
|
|
||||||
#
|
|
||||||
# - service_template: >
|
|
||||||
# {% if states.sensor.bear_stone.state|int > 0 %}
|
|
||||||
# light.turn_on
|
|
||||||
# {% else %}
|
|
||||||
# light.turn_off
|
|
||||||
# {% endif %}
|
|
||||||
# entity_id: light.justin_go
|
|
||||||
#
|
|
||||||
# - service: light.turn_on
|
|
||||||
# entity_id:
|
|
||||||
# - light.justin_go
|
|
||||||
# data:
|
|
||||||
# flash: short
|
|
||||||
|
@ -8,10 +8,4 @@
|
|||||||
#
|
#
|
||||||
# "sensor.staceys_iphone_*":
|
# "sensor.staceys_iphone_*":
|
||||||
|
|
||||||
camera:
|
# Moved to FOSCAM package
|
||||||
- platform: synology
|
|
||||||
url: !secret synology_url
|
|
||||||
username: !secret synology_username
|
|
||||||
password: !secret synology_password
|
|
||||||
timeout: 15
|
|
||||||
verify_ssl: False
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
homeassistant_latitude: 000.0000000
|
homeassistant_latitude: 000.0000000
|
||||||
homeassistant_longitude: 000.0000000
|
homeassistant_longitude: 000.0000000
|
||||||
homeassistant_elevation: 00
|
homeassistant_elevation: 00
|
||||||
http_api_password: password
|
http_password: password
|
||||||
http_port: 80
|
http_port: 80
|
||||||
external_ip: 10.10.10.10
|
external_ip: 10.10.10.10
|
||||||
server_port: 8123
|
server_port: 8123
|
||||||
|
Loading…
x
Reference in New Issue
Block a user