philips lights
This commit is contained in:
@@ -2,4 +2,5 @@ bath_light:
|
|||||||
name: Свет (ванна)
|
name: Свет (ванна)
|
||||||
control: hidden
|
control: hidden
|
||||||
entities:
|
entities:
|
||||||
- light.bath
|
- light.bath
|
||||||
|
- light.philips_led
|
||||||
@@ -5,4 +5,5 @@
|
|||||||
- sensor.temperature_158d00012d9ad7
|
- sensor.temperature_158d00012d9ad7
|
||||||
- sensor.humidity_158d00012d9ad7
|
- sensor.humidity_158d00012d9ad7
|
||||||
- light.bath
|
- light.bath
|
||||||
|
- light.philips_led
|
||||||
- sensor.airfresher_remain
|
- sensor.airfresher_remain
|
||||||
@@ -5,3 +5,8 @@
|
|||||||
payload_on: "ON"
|
payload_on: "ON"
|
||||||
payload_off: "OFF"
|
payload_off: "OFF"
|
||||||
optimistic: false
|
optimistic: false
|
||||||
|
|
||||||
|
- platform: xiaomi_miio
|
||||||
|
name: bath_led
|
||||||
|
host: !secret philips_downlight_ip
|
||||||
|
token: !secret philips_downlight_token
|
||||||
@@ -1,5 +1,12 @@
|
|||||||
- platform: broadlink
|
- platform: mqtt
|
||||||
host: 192.168.1.63
|
name: kitchen_mini_light
|
||||||
mac: 'B4430DCB6C07'
|
state_topic: "home/plug/kitchen-mini-light/status"
|
||||||
type: 'sp2'
|
command_topic: "home/plug/kitchen-mini-light/status/set"
|
||||||
friendly_name: 'kitchen_mini_light'
|
payload_on: "on"
|
||||||
|
payload_off: "off"
|
||||||
|
|
||||||
|
# - platform: broadlink
|
||||||
|
# host: 192.168.1.63
|
||||||
|
# mac: 'B4430DCB6C07'
|
||||||
|
# type: 'sp2'
|
||||||
|
# friendly_name: 'kitchen_mini_light'
|
||||||
@@ -52,6 +52,9 @@ powerstrip_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|||||||
wifi_socket_ip: xxxxxxxxx
|
wifi_socket_ip: xxxxxxxxx
|
||||||
wifi_socket_key: xxxxxxxxx
|
wifi_socket_key: xxxxxxxxx
|
||||||
|
|
||||||
|
philips_downlight_ip: xxxxxxxxx
|
||||||
|
philips_downlight_token: xxxxxxxxx
|
||||||
|
|
||||||
###################################
|
###################################
|
||||||
# NEST #
|
# NEST #
|
||||||
###################################
|
###################################
|
||||||
|
|||||||
@@ -31,6 +31,12 @@ server {
|
|||||||
#limit_conn perip 10;
|
#limit_conn perip 10;
|
||||||
|
|
||||||
#access_log off;
|
#access_log off;
|
||||||
|
location ~/.well-known/acme-challenge/(.*)\.(.*)$ {
|
||||||
|
return 200 '$1';
|
||||||
|
}
|
||||||
|
location ~/.well-known/acme-challenge/(.*)$ {
|
||||||
|
return 200 '$1';
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
real_ip_header X-Forwarded-For;
|
real_ip_header X-Forwarded-For;
|
||||||
|
|||||||
Reference in New Issue
Block a user