Update Authentication system for 0.90 upgrade - #523

This commit is contained in:
ccostan 2019-03-20 17:04:15 -04:00
parent 4e13836c94
commit 418213d3ee
4 changed files with 17 additions and 52 deletions

View File

@ -21,7 +21,11 @@ homeassistant:
auth_providers:
- type: homeassistant
- type: legacy_api_password
api_password: !secret http_password
- 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.
influxdb:
@ -73,12 +77,8 @@ cloud:
http:
base_url: !secret http_base_url
# server_port: !secret http_port
api_password: !secret http_api_password
ssl_certificate: !secret ssl_certificate
ssl_key: !secret ssl_key
trusted_networks:
- 192.168.10.0/24
- !secret external_ip
ip_ban_enabled: True
login_attempts_threshold: 3

View File

@ -10,6 +10,16 @@
#
# hidden: False
#-------------------------------------------
camera:
- platform: synology
url: !secret synology_url
username: !secret synology_username
password: !secret synology_password
timeout: 15
verify_ssl: False
binary_sensor:
- platform: rest
name: "CAMERA1 Motion Sensor"
@ -46,43 +56,4 @@ binary_sensor:
{%- endif -%}
#-------------------------------------------
# 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
#-------------------------------------------

View File

@ -8,10 +8,4 @@
#
# "sensor.staceys_iphone_*":
camera:
- platform: synology
url: !secret synology_url
username: !secret synology_username
password: !secret synology_password
timeout: 15
verify_ssl: False
# Moved to FOSCAM package

View File

@ -1,7 +1,7 @@
homeassistant_latitude: 000.0000000
homeassistant_longitude: 000.0000000
homeassistant_elevation: 00
http_api_password: password
http_password: password
http_port: 80
external_ip: 10.10.10.10
server_port: 8123