philips lights

This commit is contained in:
monster
2019-02-03 12:49:49 +03:00
parent d52f3b6e56
commit d4f68e44e7
6 changed files with 29 additions and 6 deletions
@@ -3,3 +3,4 @@ bath_light:
control: hidden
entities:
- light.bath
- light.philips_led
@@ -5,4 +5,5 @@
- sensor.temperature_158d00012d9ad7
- sensor.humidity_158d00012d9ad7
- light.bath
- light.philips_led
- sensor.airfresher_remain
@@ -5,3 +5,8 @@
payload_on: "ON"
payload_off: "OFF"
optimistic: false
- platform: xiaomi_miio
name: bath_led
host: !secret philips_downlight_ip
token: !secret philips_downlight_token
@@ -1,5 +1,12 @@
- platform: broadlink
host: 192.168.1.63
mac: 'B4430DCB6C07'
type: 'sp2'
friendly_name: 'kitchen_mini_light'
- platform: mqtt
name: kitchen_mini_light
state_topic: "home/plug/kitchen-mini-light/status"
command_topic: "home/plug/kitchen-mini-light/status/set"
payload_on: "on"
payload_off: "off"
# - platform: broadlink
# host: 192.168.1.63
# mac: 'B4430DCB6C07'
# type: 'sp2'
# friendly_name: 'kitchen_mini_light'
+3
View File
@@ -52,6 +52,9 @@ powerstrip_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
wifi_socket_ip: xxxxxxxxx
wifi_socket_key: xxxxxxxxx
philips_downlight_ip: xxxxxxxxx
philips_downlight_token: xxxxxxxxx
###################################
# NEST #
###################################
+6
View File
@@ -31,6 +31,12 @@ server {
#limit_conn perip 10;
#access_log off;
location ~/.well-known/acme-challenge/(.*)\.(.*)$ {
return 200 '$1';
}
location ~/.well-known/acme-challenge/(.*)$ {
return 200 '$1';
}
location / {
real_ip_header X-Forwarded-For;