backup 20240718
This commit is contained in:
@@ -1 +1 @@
|
||||
2024.4.1
|
||||
2024.7.2
|
||||
542
automations.yaml
542
automations.yaml
@@ -131,7 +131,7 @@
|
||||
input:
|
||||
no_motion_wait: input_number.beweging_toilet_timer
|
||||
target_off_entity: light.lamp_wc_beneden
|
||||
motion_sensor: binary_sensor.beweging_toilet_occupancy
|
||||
motion_sensor: binary_sensor.beweging_toilet_bezetting
|
||||
target_entity: scene.wc_aan
|
||||
- id: '1660507765057'
|
||||
alias: woonkamer - alles uit - sfeer schakelaar
|
||||
@@ -168,6 +168,10 @@
|
||||
entity_id: scene.kerst_uit
|
||||
data: {}
|
||||
enabled: false
|
||||
- type: turn_off
|
||||
device_id: b3ccc72bafb4fc06b08c8b774b8c1eac
|
||||
entity_id: 53b5c8400059ece988735ad8e17fe7a5
|
||||
domain: switch
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
@@ -182,6 +186,10 @@
|
||||
device_id: 1281186f8b90c2b00053decdf33a6d72
|
||||
entity_id: light.lamp_aanrecht
|
||||
domain: light
|
||||
- service: script.tuin_nacht
|
||||
data: {}
|
||||
- service: script.bed_time_clean
|
||||
data: {}
|
||||
mode: single
|
||||
- id: '1661238732633'
|
||||
alias: Tuin - alles uit in de ochtend
|
||||
@@ -206,30 +214,9 @@
|
||||
condition:
|
||||
- condition: or
|
||||
conditions:
|
||||
- alias: After Sunset
|
||||
condition: time
|
||||
before: 07:45:00
|
||||
weekday:
|
||||
- sun
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
- sat
|
||||
after: 07:00:00
|
||||
- alias: After Sunset
|
||||
condition: time
|
||||
before: '22:00:00'
|
||||
weekday:
|
||||
- sun
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
- sat
|
||||
after: '18:00:00'
|
||||
- condition: sun
|
||||
after: sunset
|
||||
before: sunrise
|
||||
- condition: device
|
||||
type: is_off
|
||||
device_id: 497536ba6a270af14bbc9594502c79f9
|
||||
@@ -265,13 +252,7 @@
|
||||
- light.lamp_bank
|
||||
attribute: brightness
|
||||
id: Helderheid
|
||||
condition:
|
||||
- condition: device
|
||||
device_id: e114f1eb7daa22b88511d015df1f12f7
|
||||
domain: select
|
||||
entity_id: select.harmony_hub_activities
|
||||
type: selected_option
|
||||
option: power_off
|
||||
condition: []
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
@@ -279,29 +260,26 @@
|
||||
id:
|
||||
- Lamp gaat aan
|
||||
sequence:
|
||||
- type: turn_on
|
||||
device_id: 3d18e796f75575f85a7289ecc8f5847c
|
||||
entity_id: 7c6e8f4df48141fbf793f6950c5cca44
|
||||
domain: light
|
||||
brightness_pct: 30
|
||||
- type: turn_on
|
||||
device_id: 84d66e5b8bf8a78c3a1bf8fe0dcccf7d
|
||||
entity_id: 10d3e1053f8475aa6370bef50d1540bf
|
||||
domain: light
|
||||
brightness_pct: 30
|
||||
- service: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
brightness_pct: 22
|
||||
target:
|
||||
entity_id:
|
||||
- light.lamp_bank
|
||||
- light.lamp_dressoir
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id:
|
||||
- Lamp gaat uit
|
||||
sequence:
|
||||
- type: turn_off
|
||||
device_id: 3d18e796f75575f85a7289ecc8f5847c
|
||||
entity_id: 7c6e8f4df48141fbf793f6950c5cca44
|
||||
domain: light
|
||||
- type: turn_off
|
||||
device_id: 84d66e5b8bf8a78c3a1bf8fe0dcccf7d
|
||||
entity_id: 10d3e1053f8475aa6370bef50d1540bf
|
||||
domain: light
|
||||
- service: light.turn_off
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
entity_id:
|
||||
- light.lamp_bank
|
||||
- light.lamp_dressoir
|
||||
mode: single
|
||||
- id: '1673030409002'
|
||||
alias: Hal - voordeur deurbel [BP]
|
||||
@@ -313,35 +291,6 @@
|
||||
- binary_sensor.voordeur_doorbell
|
||||
cooldown: 29
|
||||
notify_target_app: notify.notify
|
||||
- id: '1675520145446'
|
||||
alias: Zolder - knoppen bureau willem (BP)
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: Bekkie/robb-smart-8-switch-ROBB-ROB_200-007-0.yaml
|
||||
input:
|
||||
remote: 7ed6c466f25f5b6aa59d9975cefc9e53
|
||||
on_button_1_short:
|
||||
- service: scene.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id: scene.werken_op_zolder
|
||||
off_button_1_short:
|
||||
- service: scene.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id: scene.klaar_met_werken_op_zolder
|
||||
on_button_2_short:
|
||||
- device_id: 53a4e48d13f3f94e7ca1ffe0557ac135
|
||||
domain: climate
|
||||
entity_id: climate.airco_4
|
||||
type: set_hvac_mode
|
||||
hvac_mode: heat_cool
|
||||
off_button_2_short:
|
||||
- device_id: 53a4e48d13f3f94e7ca1ffe0557ac135
|
||||
domain: climate
|
||||
entity_id: climate.airco_4
|
||||
type: set_hvac_mode
|
||||
hvac_mode: 'off'
|
||||
- id: '1676053221891'
|
||||
alias: Tuin - verlichting sunset
|
||||
description: ''
|
||||
@@ -412,7 +361,7 @@
|
||||
trigger:
|
||||
- platform: sun
|
||||
event: sunrise
|
||||
offset: '1:00:00'
|
||||
offset: '2:00:00'
|
||||
condition: []
|
||||
action:
|
||||
- service: scene.turn_on
|
||||
@@ -437,28 +386,6 @@
|
||||
my_icon: '21256'
|
||||
show_rainbow: false
|
||||
switch_to_app: false
|
||||
- id: '1683882275516'
|
||||
alias: awtrix_sensor_pm2.5
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: smarthomejunkie/awtrix_create_sensor_app.yaml
|
||||
input:
|
||||
awtrix_displays:
|
||||
- 67e70125afc1a1b1530a8a4bbc86d830
|
||||
toggle_helper: input_boolean.awtrix_power_sensor_toggle
|
||||
my_icon: '2718'
|
||||
push_icon: '1'
|
||||
my_sensor: sensor.aqs_woonkamer2_co2
|
||||
- id: '1683882676954'
|
||||
alias: awtrix_stock_batt_toggle
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: smarthomejunkie/awtrix_toggle_stock_app.yaml
|
||||
input:
|
||||
stock_app: Battery
|
||||
awtrix_displays:
|
||||
- 67e70125afc1a1b1530a8a4bbc86d830
|
||||
toggle_helper: input_boolean.awtrix_stock_batt_toggle
|
||||
- id: '1685739271048'
|
||||
alias: Woonkamer - display aan
|
||||
description: ''
|
||||
@@ -596,9 +523,9 @@
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
seconds: 15
|
||||
attribute: Raw value
|
||||
to: '7'
|
||||
seconds: 0
|
||||
to: Ready
|
||||
from: Running
|
||||
condition: []
|
||||
action:
|
||||
- if:
|
||||
@@ -632,49 +559,12 @@
|
||||
path: Blackshome/sensor-light.yaml
|
||||
input:
|
||||
motion_trigger:
|
||||
- binary_sensor.beweging_garage_occupancy
|
||||
- binary_sensor.beweging_garage_beweging
|
||||
include_bypass: []
|
||||
include_ambient: ambient_enabled
|
||||
include_sun: sun_disabled
|
||||
light_switch:
|
||||
entity_id: switch.lamp_tuin_en_garage_l2
|
||||
- id: '1691953933835'
|
||||
alias: Slaapkamer I&W - knoppen bed willen [BP]
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: Drafted/aqara-buttons-all-in-one-zigbee2mqtt.yaml
|
||||
input:
|
||||
action_sensor: sensor.knoppen_bed_willem_action
|
||||
single_left_action:
|
||||
- service: light.toggle
|
||||
data:
|
||||
color_temp: 153
|
||||
brightness_pct: 20
|
||||
target:
|
||||
entity_id: light.hvac_ir_rgb_slaapkamer_neopixel_light
|
||||
single_right_action:
|
||||
- service: light.toggle
|
||||
data:
|
||||
color_temp: 500
|
||||
brightness_pct: 12
|
||||
target:
|
||||
entity_id: light.lamp_bed_willem
|
||||
double_left_action:
|
||||
- service: light.toggle
|
||||
data:
|
||||
color_temp: 153
|
||||
brightness_pct: 100
|
||||
target:
|
||||
entity_id: light.hvac_ir_rgb_slaapkamer_neopixel_light
|
||||
double_right_action:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id:
|
||||
- light.lamp_bed_willem
|
||||
data:
|
||||
color_temp: 500
|
||||
brightness_step_pct: 25
|
||||
triple_right_action: []
|
||||
entity_id: light.lamp_garage
|
||||
- id: '1693231308249'
|
||||
alias: Tuin - speelhuisje contact WLED verloren
|
||||
description: ''
|
||||
@@ -914,20 +804,6 @@
|
||||
my_sensor: weather.forecast_home
|
||||
my_text: het blijft droog
|
||||
switch_to_app: true
|
||||
- id: '1695061873005'
|
||||
alias: awtrix_moodlight_app
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: smarthomejunkie/awtrix_moodlight.yaml
|
||||
input:
|
||||
awtrix_displays:
|
||||
- 67e70125afc1a1b1530a8a4bbc86d830
|
||||
toggle_helper: input_boolean.awtrix_moodlight_toggle
|
||||
moodlight_color:
|
||||
- 196
|
||||
- 188
|
||||
- 0
|
||||
brightness: 67
|
||||
- id: '1698444876761'
|
||||
alias: 'Badkamer - vloer volgt radiator '
|
||||
description: ''
|
||||
@@ -1029,140 +905,6 @@
|
||||
addon: a0d7b954_ssh
|
||||
input: /config/config_backup.sh
|
||||
mode: single
|
||||
- id: '1701204274791'
|
||||
alias: slaapkamer tim - knoppen (2)
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: arrow_left_click
|
||||
discovery_id: 0x003c84fffe32c0c0 action_arrow_left_click
|
||||
id: arrow_left_click
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: arrow_right_click
|
||||
discovery_id: 0x003c84fffe32c0c0 action_arrow_right_click
|
||||
id: arrow_right_click
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: 'off'
|
||||
discovery_id: 0x003c84fffe32c0c0 action_off
|
||||
id: off_action
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: 'on'
|
||||
discovery_id: 0x003c84fffe32c0c0 action_on
|
||||
id: on_action
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: brightness_move_up
|
||||
discovery_id: 0x003c84fffe32c0c0 action_brightness_move_up
|
||||
id: brightness_move_up
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 85799733aa5b0fcebd56bc35541afd1a
|
||||
type: action
|
||||
subtype: brightness_move_down
|
||||
discovery_id: 0x003c84fffe32c0c0 action_brightness_move_down
|
||||
id: brightness_move_down
|
||||
condition: []
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: arrow_right_click
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
data:
|
||||
color_temp: '{% if state_attr("light.rgb_slaapkamer_tim","color_temp") is
|
||||
none %} 454 {% elif state_attr("light.rgb_slaapkamer_tim","color_temp")|int
|
||||
> 350 %} 333 {% elif state_attr("light.rgb_slaapkamer_tim","color_temp")|int
|
||||
> 332 %} 285 {% elif state_attr("light.rgb_slaapkamer_tim","color_temp")|int
|
||||
> 284 %} 244 {% else %} 370 {% endif %}
|
||||
|
||||
'
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: off_action
|
||||
sequence:
|
||||
- type: turn_off
|
||||
device_id: f8152ddb8405d3417a0141746a3c3ce0
|
||||
entity_id: 5419855a4d17f478a45d515e8f9d87d9
|
||||
domain: light
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: arrow_left_click
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
rgb_color:
|
||||
- '{{ (range(0, 255)|random) }}'
|
||||
- '{{ (range(0, 255)|random) }}'
|
||||
- '{{ (range(0, 255)|random) }}'
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: on_action
|
||||
sequence:
|
||||
- type: turn_on
|
||||
device_id: f8152ddb8405d3417a0141746a3c3ce0
|
||||
entity_id: 5419855a4d17f478a45d515e8f9d87d9
|
||||
domain: light
|
||||
brightness_pct: 25
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: brightness_move_up
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
data:
|
||||
brightness: '{% if state_attr("light.rgb_slaapkamer_tim","brightness") is
|
||||
none %} 8 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 9 %} 16 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 17 %} 32 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 33 %} 64 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 65 %} 128 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 129 %} 160 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 161 %} 192 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 193 %} 224 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 225 %} 255 {% else %} 10 {% endif %}
|
||||
|
||||
'
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: brightness_move_down
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
data:
|
||||
brightness: '{% if state_attr("light.rgb_slaapkamer_tim_light","brightness")
|
||||
is none %} 32 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 254 %} 224 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 223 %} 192 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 191 %} 160 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 159 %} 128 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 127 %} 64 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 63 %} 32 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 31 %} 16 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 15 %} 8 {% else %} 128 {% endif %}
|
||||
|
||||
'
|
||||
mode: single
|
||||
- id: '1701930524468'
|
||||
alias: kerst aan
|
||||
description: ''
|
||||
@@ -1231,6 +973,11 @@
|
||||
target:
|
||||
device_id: 64af8393a844e43d5762a88a1fb2bd56
|
||||
data: {}
|
||||
- service: switch.turn_on
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
device_id: b3ccc72bafb4fc06b08c8b774b8c1eac
|
||||
mode: single
|
||||
- id: '1709379869844'
|
||||
alias: awtrix - disable stock temperature
|
||||
@@ -1270,8 +1017,8 @@
|
||||
input:
|
||||
awtrix_displays:
|
||||
- 64af8393a844e43d5762a88a1fb2bd56
|
||||
toggle_helper: input_boolean.awtrix_power_sensor_toggle
|
||||
my_sensor: sensor.ikea_particles_humidity
|
||||
toggle_helper: input_boolean.awtrix_rain_app_toggle
|
||||
my_sensor: sensor.temperatuur_eetkamer_luchtvochtigheid
|
||||
my_icon: '2423'
|
||||
push_icon: '0'
|
||||
- id: '1709406299707'
|
||||
@@ -1354,31 +1101,206 @@
|
||||
- 118
|
||||
- 187
|
||||
- 64
|
||||
- id: '1712383832600'
|
||||
alias: Unifi - mailboxcam auto ir
|
||||
- id: '1714228798185'
|
||||
alias: slaapkamer-tim - slaaptrainer
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '20:00:00'
|
||||
at: input_datetime.slaap_timer_tim
|
||||
condition: []
|
||||
action:
|
||||
- device_id: 2025ba7cc40315fb7a2a617c6264c1e3
|
||||
domain: select
|
||||
entity_id: 66bf6ef0a15b50ee5ae1004f889a73e1
|
||||
type: select_option
|
||||
option: Auto
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.slaaptrainer_slaaptrainer_leds
|
||||
data:
|
||||
effect: Wipe In-green
|
||||
brightness_pct: 16
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 15
|
||||
seconds: 0
|
||||
milliseconds: 0
|
||||
- alias: leds green
|
||||
service: light.turn_on
|
||||
target:
|
||||
entity_id: light.slaaptrainer_slaaptrainer_leds
|
||||
data:
|
||||
color_name: green
|
||||
brightness_pct: 16
|
||||
mode: single
|
||||
- id: '1712383876532'
|
||||
alias: Unifi - mailboxcam - manual ir
|
||||
- id: '1714229441278'
|
||||
alias: slaap-trainer tim - bedtijd
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: 07:15:00
|
||||
at: input_datetime.slaap_timer_tim_bed_tijd
|
||||
condition: []
|
||||
action:
|
||||
- device_id: 2025ba7cc40315fb7a2a617c6264c1e3
|
||||
domain: select
|
||||
entity_id: 66bf6ef0a15b50ee5ae1004f889a73e1
|
||||
type: select_option
|
||||
option: Always Disable
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.slaaptrainer_slaaptrainer_leds
|
||||
data:
|
||||
brightness_pct: 16
|
||||
effect: star-orange
|
||||
mode: single
|
||||
- id: '1714576638857'
|
||||
alias: 'assist: zolder alles uit'
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: conversation
|
||||
command: zet alles uit op zolder
|
||||
condition: []
|
||||
action:
|
||||
- service: scene.turn_on
|
||||
target:
|
||||
entity_id: scene.klaar_met_werken_op_zolder
|
||||
data: {}
|
||||
mode: single
|
||||
- id: '1717256139118'
|
||||
alias: '[BP ZHA] knoppen Tim'
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: EPMatt/ikea_e2001_e2002.yaml
|
||||
input:
|
||||
integration: ZHA
|
||||
controller_device: 90d420a2a2a3b98201fca84e124bad73
|
||||
helper_last_controller_event: input_text.bp_last_knoppen_slaapkamer_tim_action
|
||||
action_button_right_short:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
data:
|
||||
rgb_color:
|
||||
- '{{ (range(0, 255)|random) }}'
|
||||
- '{{ (range(0, 255)|random) }}'
|
||||
- '{{ (range(0, 255)|random) }}'
|
||||
action_button_left_long:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
data:
|
||||
brightness: '{% if state_attr("light.rgb_slaapkamer_tim","brightness") is
|
||||
none %} 8 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 9 %} 16 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 17 %} 32 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 33 %} 64 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 65 %} 128 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 129 %} 160 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 161 %} 192 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 193 %} 224 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
|
||||
< 225 %} 255 {% else %} 10 {% endif %}
|
||||
|
||||
'
|
||||
action_button_left_short:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
data:
|
||||
color_temp: '{% if state_attr("light.rgb_slaapkamer_tim","color_temp") is
|
||||
none %} 454 {% elif state_attr("light.rgb_slaapkamer_tim","color_temp")|int
|
||||
> 350 %} 333 {% elif state_attr("light.rgb_slaapkamer_tim","color_temp")|int
|
||||
> 332 %} 285 {% elif state_attr("light.rgb_slaapkamer_tim","color_temp")|int
|
||||
> 284 %} 244 {% else %} 370 {% endif %}
|
||||
|
||||
'
|
||||
action_button_right_long:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
data:
|
||||
brightness: '{% if state_attr("light.rgb_slaapkamer_tim_light","brightness")
|
||||
is none %} 32 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 254 %} 224 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 223 %} 192 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 191 %} 160 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 159 %} 128 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 127 %} 64 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 63 %} 32 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 31 %} 16 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
|
||||
> 15 %} 8 {% else %} 128 {% endif %}
|
||||
|
||||
'
|
||||
action_button_up_short:
|
||||
- service: light.turn_on
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
action_button_down_short:
|
||||
- service: light.turn_off
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
entity_id: light.rgb_slaapkamer_tim
|
||||
- service: automation.trigger
|
||||
metadata: {}
|
||||
data:
|
||||
skip_condition: true
|
||||
target:
|
||||
entity_id: automation.slaap_trainer_tim_bedtijd
|
||||
- id: '1717308990858'
|
||||
alias: '[BP ZHA] knoppen bed willem'
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: andordavoti/zha-aqara-wireless-switch-WXKG02LM.yaml
|
||||
input:
|
||||
aqara_mini_switch: 61c4022b7cb861ed4c60ea3b7336baa9
|
||||
button_single_press_left:
|
||||
- service: light.toggle
|
||||
metadata: {}
|
||||
data:
|
||||
brightness_pct: 35
|
||||
color_temp: 153
|
||||
target:
|
||||
entity_id: light.hvac_ir_rgb_slaapkamer_neopixel_light
|
||||
button_single_press_right:
|
||||
- service: light.toggle
|
||||
metadata: {}
|
||||
data:
|
||||
brightness_pct: 15
|
||||
kelvin: 2000
|
||||
target:
|
||||
device_id: bfdb32c651d6c4a4301613f69523ce68
|
||||
button_double_press_left:
|
||||
- service: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
color_temp: 153
|
||||
brightness_pct: 100
|
||||
target:
|
||||
entity_id: light.hvac_ir_rgb_slaapkamer_neopixel_light
|
||||
button_long_press_left:
|
||||
- service: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
color_temp: 153
|
||||
brightness_step_pct: 29
|
||||
target:
|
||||
entity_id: light.hvac_ir_rgb_slaapkamer_neopixel_light
|
||||
button_double_press_right:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
device_id:
|
||||
- bfdb32c651d6c4a4301613f69523ce68
|
||||
data:
|
||||
kelvin: 2000
|
||||
brightness_pct: 100
|
||||
button_long_press_right:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.lamp_bed_willem_licht
|
||||
data:
|
||||
kelvin: 2000
|
||||
brightness_step_pct: 20
|
||||
button_single_press_both:
|
||||
- device_id: cc0db2acf0bb2018d46ad2ffd2f89df1
|
||||
domain: cover
|
||||
entity_id: 50a2b15de13d2e3f2d7e26c302ccd3ff
|
||||
type: set_position
|
||||
position: 100
|
||||
button_long_press_both:
|
||||
- device_id: cc0db2acf0bb2018d46ad2ffd2f89df1
|
||||
domain: cover
|
||||
entity_id: 50a2b15de13d2e3f2d7e26c302ccd3ff
|
||||
type: set_position
|
||||
position: 0
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
template:
|
||||
- sensor:
|
||||
- unique_id: ha_uptime_phrase
|
||||
name: Ha uptime phrase
|
||||
icon: mdi:history
|
||||
state: >-
|
||||
{%- set up = now().timestamp()-as_timestamp(states('sensor.uptime')) %}
|
||||
|
||||
{%- macro phrase(name,divisor,mod=None) %}
|
||||
{%- set value = ((up//divisor) % (mod if mod else divisor))|int %}
|
||||
{%- set end = 's' if value > 1 else '' %}
|
||||
{{- '{} {}{}'.format(value,name,end) if value|int > 0 else ''}}
|
||||
{%- endmacro %}
|
||||
|
||||
{%- set values = [phrase('week',60*60*24*7),
|
||||
phrase('day',60*60*24,7),
|
||||
phrase('hour',60*60,24),
|
||||
phrase('min',60),
|
||||
phrase('sec',1,60)]
|
||||
|select('!=','')|list %}
|
||||
{{values[:-1]|join(', ') ~ ' and ' ~ values[-1] if values|length > 1 else
|
||||
values|first}}
|
||||
@@ -1,176 +0,0 @@
|
||||
# mqtt:
|
||||
# sensor:
|
||||
# - name: "zigbee2mqtt"
|
||||
# state_topic: "zigbee2mqtt/bridge/state"
|
||||
|
||||
# Input select for Zigbee2MQTT debug level
|
||||
input_select:
|
||||
zigbee2mqtt_log_level:
|
||||
name: Zigbee2MQTT Log Level
|
||||
options:
|
||||
- debug
|
||||
- info
|
||||
- warn
|
||||
- error
|
||||
initial: info
|
||||
icon: mdi:format-list-bulleted
|
||||
|
||||
# Input number for joining time remaining (in minutes)
|
||||
input_number:
|
||||
zigbee2mqtt_join_minutes:
|
||||
name: "Zigbee2MQTT join minutes"
|
||||
initial: 2
|
||||
min: 1
|
||||
max: 5
|
||||
step: 1
|
||||
mode: slider
|
||||
|
||||
# Input text to input Zigbee2MQTT friendly_name for scripts
|
||||
input_text:
|
||||
zigbee2mqtt_old_name:
|
||||
name: Zigbee2MQTT Old Name
|
||||
initial: ""
|
||||
zigbee2mqtt_new_name:
|
||||
name: Zigbee2MQTT New Name
|
||||
initial: ""
|
||||
zigbee2mqtt_remove:
|
||||
name: Zigbee2MQTT Remove
|
||||
initial: ""
|
||||
|
||||
# Input boolean to set the force remove flag for devices
|
||||
input_boolean:
|
||||
zigbee2mqtt_force_remove:
|
||||
name: Zigbee2MQTT Force Remove
|
||||
initial: false
|
||||
icon: mdi:alert-remove
|
||||
|
||||
# Scripts for renaming & removing devices
|
||||
script:
|
||||
zigbee2mqtt_rename:
|
||||
alias: Zigbee2MQTT Rename
|
||||
sequence:
|
||||
service: mqtt.publish
|
||||
data_template:
|
||||
topic: zigbee2mqtt/bridge/request/device/rename
|
||||
payload_template: >-
|
||||
{
|
||||
"from": "{{ states.input_text.zigbee2mqtt_old_name.state | string }}",
|
||||
"to": "{{ states.input_text.zigbee2mqtt_new_name.state | string }}"
|
||||
}
|
||||
zigbee2mqtt_remove:
|
||||
alias: Zigbee2MQTT Remove
|
||||
sequence:
|
||||
service: mqtt.publish
|
||||
data_template:
|
||||
topic: zigbee2mqtt/bridge/request/device/remove
|
||||
payload_template: >-
|
||||
{
|
||||
"id": "{{ states.input_text.zigbee2mqtt_remove.state | string }}",
|
||||
"force": {% if states.input_boolean.zigbee2mqtt_force_remove.state == "off" %}false{% else %}true{% endif %}
|
||||
}
|
||||
|
||||
# Timer for joining time remaining (254 sec)
|
||||
timer:
|
||||
zigbee_permit_join:
|
||||
name: Time remaining
|
||||
duration: 254
|
||||
|
||||
mqtt:
|
||||
sensor:
|
||||
# Sensor for monitoring the bridge state
|
||||
- name: Zigbee2MQTT Bridge state
|
||||
unique_id: zigbee2mqtt_bridge_state_sensor
|
||||
state_topic: "zigbee2mqtt/bridge/state"
|
||||
icon: mdi:router-wireless
|
||||
# Sensor for Showing the Zigbee2MQTT Version
|
||||
- name: Zigbee2MQTT Version
|
||||
unique_id: zigbee2mqtt_version_sensor
|
||||
state_topic: "zigbee2mqtt/bridge/info"
|
||||
value_template: "{{ value_json.version }}"
|
||||
icon: mdi:zigbee
|
||||
# Sensor for Showing the Coordinator Version
|
||||
- name: Zigbee2MQTT Coordinator Version
|
||||
unique_id: zigbee2mqtt_coordinator_version_sensor
|
||||
state_topic: "zigbee2mqtt/bridge/info"
|
||||
value_template: "{{ value_json.coordinator.meta.revision }}"
|
||||
icon: mdi:chip
|
||||
- name: Zigbee2mqtt Networkmap
|
||||
unique_id: zigbee2mqtt_networkmap_sensor
|
||||
# if you change base_topic of Zigbee2mqtt, change state_topic accordingly
|
||||
state_topic: zigbee2mqtt/bridge/networkmap/raw
|
||||
value_template: >-
|
||||
{{ now().strftime('%Y-%m-%d %H:%M:%S') }}
|
||||
# again, if you change base_topic of Zigbee2mqtt, change json_attributes_topic accordingly
|
||||
json_attributes_topic: zigbee2mqtt/bridge/networkmap/raw
|
||||
# Sensor for monitoring the bridge state
|
||||
# - name: Zwave2MQTT Bridge state
|
||||
# unique_id: zwave2mqtt_bridge_state_sensor
|
||||
# state_topic: "zigbee2mqtt/bridge/state"
|
||||
# icon: mdi:router-wireless
|
||||
# Switch for enabling joining
|
||||
switch:
|
||||
- name: "Zigbee2MQTT Main join"
|
||||
unique_id: zigbee2mqtt_main_join_switch
|
||||
state_topic: "zigbee2mqtt/bridge/info"
|
||||
value_template: "{{ value_json.permit_join | lower }}"
|
||||
command_topic: "zigbee2mqtt/bridge/request/permit_join"
|
||||
payload_on: "true"
|
||||
payload_off: "false"
|
||||
|
||||
automation:
|
||||
# Automation for sending MQTT message on input select change
|
||||
- alias: Zigbee2MQTT Log Level
|
||||
initial_state: "on"
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_select.zigbee2mqtt_log_level
|
||||
action:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
payload_template: "{{ states('input_select.zigbee2mqtt_log_level') }}"
|
||||
topic: zigbee2mqtt/bridge/request/config/log_level
|
||||
# Automation to start timer when enable join is turned on
|
||||
- id: zigbee_join_enabled
|
||||
alias: Zigbee Join Enabled
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: switch.zigbee2mqtt_main_join
|
||||
to: "on"
|
||||
action:
|
||||
service: timer.start
|
||||
entity_id: timer.zigbee_permit_join
|
||||
data_template:
|
||||
duration: "{{ '00:0%i:00' % (states('input_number.zigbee2mqtt_join_minutes') | int ) }}"
|
||||
# Automation to stop timer when switch turned off and turn off switch when timer finished
|
||||
- id: zigbee_join_disabled
|
||||
alias: Zigbee Join Disabled
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: timer.finished
|
||||
event_data:
|
||||
entity_id: timer.zigbee_permit_join
|
||||
- platform: state
|
||||
entity_id: switch.zigbee2mqtt_main_join
|
||||
to: "off"
|
||||
action:
|
||||
- service: timer.cancel
|
||||
data:
|
||||
entity_id: timer.zigbee_permit_join
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.zigbee2mqtt_main_join
|
||||
- id: "zigbee2mqtt_create_notification_on_successful_interview"
|
||||
alias: Zigbee Device Joined Notification
|
||||
trigger:
|
||||
platform: mqtt
|
||||
topic: "zigbee2mqtt/bridge/event"
|
||||
condition:
|
||||
condition: template
|
||||
value_template: '{{trigger.payload_json.type == "device_interview" and trigger.payload_json.data.status == "successful" and trigger.payload_json.data.supported}}'
|
||||
action:
|
||||
- service: persistent_notification.create
|
||||
data_template:
|
||||
title: Device joined the Zigbee2MQTT network
|
||||
message: "Name: {{trigger.payload_json.data.friendly_name}},
|
||||
Vendor: {{trigger.payload_json.data.definition.vendor}},
|
||||
Model: {{trigger.payload_json.data.definition.model}},
|
||||
Description: {{trigger.payload_json.data.definition.description}}"
|
||||
@@ -1,27 +0,0 @@
|
||||
timer:
|
||||
wasdroger_delayed_job_completion_timer:
|
||||
name: wasdroger - Delayed Job Completion Timer
|
||||
duration: "00:15:00" # <- Notice the time here. Leave as it is (15 min)
|
||||
restore: true
|
||||
icon: mdi:tumble-dryer
|
||||
|
||||
input_boolean:
|
||||
wasdroger_job_cycle:
|
||||
name: wasdroger - Job Cycle
|
||||
icon: mdi:tumble-dryer
|
||||
|
||||
wasdroger_automation_self_trigger:
|
||||
name: wasdroger - Automation Self-trigger
|
||||
icon: mdi:tumble-dryer
|
||||
|
||||
input_select:
|
||||
wasdroger_state_machine:
|
||||
name: wasdroger - State Machine
|
||||
options:
|
||||
- unplugged
|
||||
- idle
|
||||
- paused
|
||||
- detached_overload
|
||||
- job_ongoing
|
||||
- job_completed
|
||||
icon: mdi:tumble-dryer
|
||||
@@ -1,9 +0,0 @@
|
||||
zha:
|
||||
zigpy_config:
|
||||
ota:
|
||||
ikea_provider: true # Auto update Trådfri devices
|
||||
ledvance_provider: true # Auto update LEDVANCE/OSRAM devices
|
||||
salus_provider: true # Auto update SALUS/Computime devices
|
||||
inovelli_provider: true # Auto update INOVELLI devices
|
||||
thirdreality_provider: true # Auto update 3REALITY devices
|
||||
#otau_directory: /path/to/your/ota/folder # Utilize .ota files to update everything else
|
||||
@@ -2,6 +2,13 @@
|
||||
trigger:
|
||||
platform: time_pattern
|
||||
minutes: "/1"
|
||||
action:
|
||||
- service: weather.get_forecasts
|
||||
data:
|
||||
type: daily
|
||||
target:
|
||||
entity_id: weather.forecast_home
|
||||
response_variable: daily
|
||||
sensor:
|
||||
- name: ttgo Display Data
|
||||
unique_id: ttgo_display_data
|
||||
@@ -10,18 +17,12 @@ sensor:
|
||||
state: "OK"
|
||||
attributes:
|
||||
temperature: >
|
||||
{{ state_attr('weather.forecast_home', 'temperature') | round }}
|
||||
{{ daily["weather.forecast_home"].forecast[0].temperature | round }}
|
||||
temperature_unit: >
|
||||
{{ state_attr('weather.forecast_home', 'temperature_unit')}}
|
||||
wind_speed: >
|
||||
{{ state_attr('weather.forecast_home', 'wind_speed')}}
|
||||
{{ daily["weather.forecast_home"].forecast[0].wind_speed }}
|
||||
weather_condition_0: >
|
||||
{{ state_attr('weather.forecast_home', 'forecast')[0].condition }}
|
||||
{{ daily["weather.forecast_home"].forecast[0].condition }}
|
||||
netto_power: >
|
||||
{{ states('sensor.dsmr_reading_electricity_currently_delivered') * 1000}}
|
||||
|
||||
# humidity: 98
|
||||
# pressure: 991.4
|
||||
# pressure_unit: hPa
|
||||
# wind_bearing: 75
|
||||
# wind_speed: 15.8
|
||||
{{ states('sensor.dsmr_reading_electricity_currently_delivered')}}
|
||||
@@ -38,12 +38,13 @@ fan:
|
||||
restore_mode: RESTORE_DEFAULT_ON
|
||||
|
||||
# Example configuration entry
|
||||
dallas:
|
||||
- pin: ${pin_temp}
|
||||
one_wire:
|
||||
- platform: gpio
|
||||
pin: ${pin_temp}
|
||||
|
||||
# Individual sensors
|
||||
sensor:
|
||||
- platform: dallas
|
||||
- platform: dallas_temp
|
||||
address: 0x59800000081fd028
|
||||
name: "Radiataor Temperature"
|
||||
id: radtemperature
|
||||
|
||||
@@ -1,165 +0,0 @@
|
||||
substitutions:
|
||||
device_name: "blinds-speelkamer"
|
||||
friendly_name: "blinds speelkamer"
|
||||
comment: "esp32c3, motor, encoder"
|
||||
location: "speelkamer"
|
||||
api_password: !secret blinds_api
|
||||
ota_password: !secret ota_password
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
gateway: !secret ip_gateway
|
||||
subnet: !secret ip_subnet
|
||||
ip: !secret blinds_ip
|
||||
update_interval: 30s
|
||||
pin_mot1: GPIO3
|
||||
pin_mot2: GPIO2
|
||||
pin_enc1: GPIO7
|
||||
pin_enc2: GPIO8
|
||||
pin_sw1: GPIO9
|
||||
pin_sw2: GPIO10
|
||||
|
||||
packages:
|
||||
board: !include boards/esp32-C3.yaml
|
||||
device_base: !include common/common.yaml
|
||||
connection: !include common/wifi.yaml
|
||||
logger: !include templates/logger.yaml
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
id: endstop1
|
||||
name: endstop1
|
||||
pin:
|
||||
number: ${pin_sw1}
|
||||
mode:
|
||||
input: true
|
||||
pullup: true
|
||||
inverted: true
|
||||
on_press:
|
||||
then:
|
||||
- sensor.rotary_encoder.set_value:
|
||||
id: encoder1
|
||||
value: 0
|
||||
- platform: gpio
|
||||
id: endstop2
|
||||
name: endstop2
|
||||
pin:
|
||||
number: ${pin_sw2}
|
||||
mode:
|
||||
input: true
|
||||
pullup: true
|
||||
inverted: true
|
||||
|
||||
|
||||
|
||||
globals:
|
||||
- id: min_tilt
|
||||
type: int
|
||||
restore_value: true
|
||||
initial_value: "0"
|
||||
- id: max_tilt
|
||||
type: int
|
||||
restore_value: true
|
||||
initial_value: "2328"
|
||||
|
||||
script:
|
||||
- id: tilt_left
|
||||
then:
|
||||
- switch.turn_off: positive
|
||||
- switch.turn_on: negative
|
||||
- id: tilt_right
|
||||
then:
|
||||
- switch.turn_off: negative
|
||||
- switch.turn_on: positive
|
||||
- id: tilt_stop
|
||||
then:
|
||||
- switch.turn_off: negative
|
||||
- switch.turn_off: positive
|
||||
|
||||
|
||||
sensor:
|
||||
- platform: rotary_encoder
|
||||
name: "Rotary Encoder"
|
||||
id: 'encoder1'
|
||||
pin_a: ${pin_enc1}
|
||||
pin_b: ${pin_enc2}
|
||||
publish_initial_value: True
|
||||
#restore_mode: RESTORE_DEFAULT_ZERO
|
||||
# on_value:
|
||||
# then:
|
||||
# - lambda: |-
|
||||
# id(blind).position = x / (id(max_tilt)-id(min_tilt));
|
||||
# id(blind).publish_state();
|
||||
|
||||
|
||||
# Exposed switches.
|
||||
switch:
|
||||
- platform: template
|
||||
id: resetc
|
||||
name: Reset count
|
||||
turn_on_action:
|
||||
then:
|
||||
- sensor.rotary_encoder.set_value:
|
||||
id: encoder1
|
||||
value: 0
|
||||
- switch.turn_off: resetc
|
||||
- platform: restart
|
||||
name: restart
|
||||
- platform: output
|
||||
name: "shade1"
|
||||
output: 'shade1'
|
||||
internal: true
|
||||
id: negative
|
||||
- platform: output
|
||||
name: "shade2"
|
||||
output: 'shade2'
|
||||
internal: true
|
||||
id: positive
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
id: 'shade1'
|
||||
pin: ${pin_mot1}
|
||||
- platform: gpio
|
||||
id: 'shade2'
|
||||
pin: ${pin_mot2}
|
||||
|
||||
cover:
|
||||
- platform: endstop
|
||||
device_class: blind
|
||||
name: "speelkamer blind"
|
||||
#optimistic: TRUE
|
||||
id: blind
|
||||
#has_position: true
|
||||
# lambda: |-
|
||||
# if(id(endstop1).state & id(blind).current_operation == CoverOperation::COVER_OPERATION_CLOSING)
|
||||
# {
|
||||
# id(tilt_stop).execute();
|
||||
# return COVER_CLOSED;
|
||||
# }
|
||||
# else if(id(endstop2).state & id(blind).current_operation == CoverOperation::COVER_OPERATION_OPENING)
|
||||
# {
|
||||
# id(tilt_stop).execute();
|
||||
# return COVER_OPEN;
|
||||
# }
|
||||
# return {};
|
||||
|
||||
open_endstop: endstop2
|
||||
open_duration: 5s
|
||||
close_endstop: endstop1
|
||||
close_duration: 5s
|
||||
stop_action:
|
||||
then:
|
||||
- script.execute: tilt_stop
|
||||
|
||||
open_action:
|
||||
then:
|
||||
- script.execute: tilt_right
|
||||
|
||||
close_action:
|
||||
then:
|
||||
- script.execute: tilt_left
|
||||
|
||||
# on_open:
|
||||
# - logger.log: "Cover is Open!"
|
||||
# on_closed:
|
||||
# - logger.log: "Cover is Closed!"
|
||||
5
esphome/boards/esp32-S3a.yaml
Executable file
5
esphome/boards/esp32-S3a.yaml
Executable file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
esp32:
|
||||
board: esp32-s3-devkitc-1
|
||||
framework:
|
||||
type: arduino
|
||||
38
esphome/boards/esp32s3box.yaml
Normal file
38
esphome/boards/esp32s3box.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
esp32:
|
||||
board: esp32s3box
|
||||
flash_size: 16MB
|
||||
framework:
|
||||
type: esp-idf
|
||||
version: 4.4.6
|
||||
sdkconfig_options:
|
||||
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: "y"
|
||||
CONFIG_ESP32S3_DATA_CACHE_64KB: "y"
|
||||
CONFIG_ESP32S3_DATA_CACHE_LINE_64B: "y"
|
||||
CONFIG_AUDIO_BOARD_CUSTOM: "y"
|
||||
CONFIG_ESP32_S3_BOX_3_BOARD: "y"
|
||||
components:
|
||||
- name: esp32_s3_box_3_board
|
||||
source: github://jesserockz/esp32-s3-box-3-board@main
|
||||
refresh: 0s
|
||||
# components:
|
||||
# - name: esp32_s3_box_3_board
|
||||
# source: github://X-Ryl669/esp32-s3-box-3-board@main
|
||||
# refresh: 0s
|
||||
psram:
|
||||
mode: octal
|
||||
speed: 80MHz
|
||||
|
||||
external_components:
|
||||
- source: github://pr#5230
|
||||
components: esp_adf
|
||||
refresh: 0s
|
||||
# - source: github://X-Ryl669/esphome@esp-adf-take2 #pr#5230
|
||||
# components: [esp_adf]
|
||||
# refresh: 0s
|
||||
# - source: github://X-Ryl669/esphome@at581x
|
||||
# components: at581x
|
||||
# refresh: 0s
|
||||
# - source: github://pr#5894 #5198
|
||||
# components: [ahtxx]
|
||||
# refresh: 60s
|
||||
@@ -1,45 +1,37 @@
|
||||
# ESPHome code for the LilyGO TTGO Display
|
||||
# Copyright 2023 by Smart Home Junkie
|
||||
#
|
||||
# Visit my website at https://www.smarthomejunkie.net
|
||||
# Watch the tutorial for this display and code at https://youtu.be/LJCeelAzlS0
|
||||
|
||||
substitutions:
|
||||
esp_name: "ttgo-display"
|
||||
device_name: "ttgo-display"
|
||||
friendly_name: "ttgo-display"
|
||||
comment: "esp32, display, distance"
|
||||
api_password: !secret ttgo-t-display_api
|
||||
ota_password: !secret ota_password
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
gateway: !secret ip_gateway
|
||||
subnet: !secret ip_subnet
|
||||
ip: !secret ttgo-t-display_ip
|
||||
pin_sda: GPIO21
|
||||
pin_scl: GPIO22
|
||||
pin_but0: GPIO0
|
||||
pin_but1: GPIO35
|
||||
pin_spi_clk: GPIO18
|
||||
pin_spi_mosi: GPIO19
|
||||
pin_lcd_bl: GPIO4
|
||||
pin_lcd_cs: GPIO5
|
||||
pin_lcd_dc: GPIO16
|
||||
pin_lcd_rst: GPIO23
|
||||
|
||||
esphome:
|
||||
name: ${esp_name}
|
||||
comment: ${esp_name}
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
encryption:
|
||||
key: !secret ttgo
|
||||
|
||||
# Define board type
|
||||
esp32:
|
||||
board: esp32dev
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
ota:
|
||||
password: !secret aqs1_ota_passwoord
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_ssid
|
||||
password: !secret wifi_password
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
ap:
|
||||
ssid: ${esp_name} fallback
|
||||
password: !secret fallback_password
|
||||
|
||||
captive_portal:
|
||||
packages:
|
||||
board: !include boards/esp32_wroom_arduino.yaml
|
||||
device_base: !include common/common.yaml
|
||||
connection: !include common/wifi.yaml
|
||||
logger: !include templates/logger.yaml
|
||||
time: !include templates/time.yaml
|
||||
|
||||
spi:
|
||||
clk_pin: GPIO18
|
||||
mosi_pin: GPIO19
|
||||
clk_pin: ${pin_spi_clk}
|
||||
mosi_pin: ${pin_spi_mosi}
|
||||
|
||||
# Define the rotate variable. This indicates if the pages should be rotated or not
|
||||
globals:
|
||||
@@ -47,16 +39,12 @@ globals:
|
||||
type: boolean
|
||||
initial_value: "true"
|
||||
|
||||
# Define time sensor
|
||||
time:
|
||||
- platform: homeassistant
|
||||
id: esptime
|
||||
|
||||
# Define binary sensors
|
||||
binary_sensor:
|
||||
- platform: gpio # Short Press button 0
|
||||
pin:
|
||||
number: GPIO0
|
||||
number: ${pin_but0}
|
||||
inverted: true
|
||||
mode:
|
||||
input: true
|
||||
@@ -69,31 +57,9 @@ binary_sensor:
|
||||
then:
|
||||
- display.page.show_previous: my_display
|
||||
- component.update: my_display
|
||||
- platform: gpio # Long Press button 0
|
||||
pin:
|
||||
number: GPIO0
|
||||
inverted: true
|
||||
id: button_2
|
||||
on_click:
|
||||
min_length: 1001ms
|
||||
max_length: 5000ms
|
||||
then:
|
||||
- switch.toggle: backlight
|
||||
- platform: gpio # Short Press button 1
|
||||
pin:
|
||||
number: GPIO35
|
||||
inverted: true
|
||||
name: "Short Press Button 1"
|
||||
id: short_press_button_1
|
||||
on_click:
|
||||
min_length: 1ms
|
||||
max_length: 1000ms
|
||||
then:
|
||||
- display.page.show_next: my_display
|
||||
- component.update: my_display
|
||||
- platform: gpio # Long Press button 1
|
||||
pin:
|
||||
number: GPIO35
|
||||
number: ${pin_but1}
|
||||
inverted: true
|
||||
name: "Long Press Button 1"
|
||||
id: long_press_button_1
|
||||
@@ -114,28 +80,9 @@ binary_sensor:
|
||||
id: rotate
|
||||
value: "true"
|
||||
|
||||
# Allow dimmable control of the backlight (pin GPIO4) - Currently not working
|
||||
output:
|
||||
- platform: ledc
|
||||
pin: GPIO4
|
||||
id: gpio4
|
||||
|
||||
light:
|
||||
- platform: monochromatic
|
||||
output: gpio4
|
||||
name: "Backlight"
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
pin: GPIO4
|
||||
id: backlight
|
||||
internal: true
|
||||
|
||||
# Define all the numeric sensors used
|
||||
sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.subscriptions_short
|
||||
id: subscriptions
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.views
|
||||
id: views
|
||||
@@ -144,17 +91,11 @@ sensor:
|
||||
attribute: netto_power
|
||||
id: nettopower
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.Temperatuur_Zolder_Werkkamer
|
||||
entity_id: sensor.esp32_s2_aqs_ikea_temperature
|
||||
id: office_temperature
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.humidity_zolder_werkkamer
|
||||
entity_id: sensor.esp32_s2_aqs_ikea_humidity
|
||||
id: office_humidity
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.office_multi_sensor_pressure
|
||||
id: office_pressure
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.office_light_sensor
|
||||
id: office_light_sensor
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.ttgo_display_data
|
||||
attribute: temperature
|
||||
@@ -164,7 +105,7 @@ sensor:
|
||||
attribute: wind_speed
|
||||
id: wind_speed
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.bitcoin
|
||||
entity_id: sensor.exchange_rate_1_btc
|
||||
id: bitcoin
|
||||
|
||||
# Define all the string sensors used
|
||||
@@ -274,7 +215,7 @@ graph:
|
||||
duration: 4h
|
||||
width: 220
|
||||
height: 90
|
||||
x_grid: 1h
|
||||
x_grid: 1min
|
||||
y_grid: 5
|
||||
min_range: 5
|
||||
max_range: 35
|
||||
@@ -286,31 +227,31 @@ graph:
|
||||
duration: 4h
|
||||
width: 220
|
||||
height: 90
|
||||
x_grid: 1h
|
||||
x_grid: 1min
|
||||
y_grid: 25
|
||||
min_range: 1
|
||||
max_range: 100
|
||||
min_value: 1
|
||||
max_value: 100
|
||||
color: BLUE
|
||||
- id: office_pressure_graph
|
||||
sensor: office_pressure
|
||||
- id: power_graph
|
||||
sensor: nettopower
|
||||
duration: 4h
|
||||
width: 220
|
||||
height: 90
|
||||
x_grid: 1h
|
||||
x_grid: 15min
|
||||
y_grid: 100.0
|
||||
color: YELLOW
|
||||
- id: office_light_sensor_graph
|
||||
duration: 4h
|
||||
width: 220
|
||||
height: 90
|
||||
x_grid: 1h
|
||||
traces:
|
||||
- sensor: office_light_sensor
|
||||
color: ORANGE
|
||||
line_type: SOLID
|
||||
line_thickness: 5
|
||||
# - id: office_light_sensor_graph
|
||||
# duration: 4h
|
||||
# width: 220
|
||||
# height: 90
|
||||
# x_grid: 1h
|
||||
# traces:
|
||||
# - sensor: office_light_sensor
|
||||
# color: ORANGE
|
||||
# line_type: SOLID
|
||||
# line_thickness: 5
|
||||
|
||||
# Define qr code locations
|
||||
qr_code:
|
||||
@@ -321,51 +262,28 @@ qr_code:
|
||||
display:
|
||||
- platform: st7789v
|
||||
model: TTGO_TDISPLAY_135x240
|
||||
backlight_pin: GPIO4
|
||||
cs_pin: GPIO5
|
||||
dc_pin: GPIO16
|
||||
reset_pin: GPIO23
|
||||
backlight_pin: ${pin_lcd_bl}
|
||||
cs_pin: ${pin_lcd_cs}
|
||||
dc_pin: ${pin_lcd_dc}
|
||||
reset_pin: ${pin_lcd_rst}
|
||||
rotation: 90°
|
||||
update_interval: 1s
|
||||
id: my_display
|
||||
pages: # Define the pages
|
||||
# - id: showintro
|
||||
# lambda: |-
|
||||
# it.image(0, 10, id(logo));
|
||||
# it.printf(135, 10, id(latoblack), WHITE, "SMART");
|
||||
# it.printf(140, 50, id(latoblack), WHITE, "HOME");
|
||||
# it.printf(130, 90, id(latoblack), WHITE, "JUNKIE");
|
||||
- id: showtime
|
||||
lambda: |-
|
||||
it.strftime(45, 20, id(latoblack), "%d-%m-%Y", id(esptime).now());
|
||||
it.strftime(25, 55, id(latoblackheading1), "%H:%M:%S", id(esptime).now());
|
||||
# - id: showsubscribers
|
||||
# lambda: |-
|
||||
# it.printf(0,0,id(latoblack), WHITE, "SUBSCRIBERS");
|
||||
# it.image(0, 40, id(youtube_image));
|
||||
# if (id(subscriptions).has_state()) {
|
||||
# it.printf(95, 60, id(latoblack), WHITE, "%.1fK", id(subscriptions).state);
|
||||
# } else {
|
||||
# it.printf(95, 65, id(lato), WHITE, "LOADING...");
|
||||
# }
|
||||
# - id: showviews
|
||||
# lambda: |-
|
||||
# it.printf(0,0,id(latoblack), WHITE, "VIEWS");
|
||||
# it.image(0, 40, id(youtube_image));
|
||||
# if (id(views).has_state()) {
|
||||
# it.printf(95, 60, id(latoblack), WHITE, "%.0f", id(views).state);
|
||||
# } else {
|
||||
# it.printf(95, 65, id(lato), WHITE, "LOADING...");
|
||||
# }
|
||||
it.strftime(45, 20, id(latoblack), "%d-%m-%Y", id(homeassistant_time).now());
|
||||
it.strftime(25, 55, id(latoblackheading1), "%H:%M:%S", id(homeassistant_time).now());
|
||||
|
||||
- id: shownettopower
|
||||
lambda: |-
|
||||
it.printf(0,0,id(latoblack), WHITE, "NETTO POWER");
|
||||
it.image(0, 40, id(electricity_image));
|
||||
if (id(nettopower).has_state()) {
|
||||
if (id(nettopower).state > -1000) {
|
||||
it.printf(95, 60, id(latoblack), WHITE, "%.0f Watt", id(nettopower).state);
|
||||
it.printf(95, 60, id(latoblack), WHITE, "%.2f kWh", id(nettopower).state);
|
||||
} else {
|
||||
it.printf(95, 60, id(latobold), WHITE, "%.0f Watt", id(nettopower).state);
|
||||
it.printf(95, 60, id(latobold), WHITE, "%.2f kWh", id(nettopower).state);
|
||||
}
|
||||
} else {
|
||||
it.printf(95, 65, id(lato), WHITE, "LOADING...");
|
||||
@@ -397,15 +315,15 @@ display:
|
||||
it.printf(0,0,id(latoblack), WHITE, "HUMIDITY");
|
||||
it.printf(80, 65, id(lato), WHITE, "LOADING...");
|
||||
}
|
||||
# - id: show_office_pressure_graph
|
||||
# lambda: |-
|
||||
# if (id(office_pressure).has_state()) {
|
||||
# it.printf(0,0,id(latoblack), WHITE, "PRS: %.0f hPA", id(office_pressure).state);
|
||||
# it.graph(10, 40, id(office_pressure_graph));
|
||||
# } else {
|
||||
# it.printf(0,0,id(latoblack), WHITE, "PRESSURE");
|
||||
# it.printf(80, 65, id(lato), WHITE, "LOADING...");
|
||||
# }
|
||||
- id: show_nettopower_graph
|
||||
lambda: |-
|
||||
if (id(nettopower).has_state()) {
|
||||
it.printf(0,0,id(latoblack), WHITE, "power: %.2f Kwh", id(nettopower).state);
|
||||
it.graph(10, 40, id(power_graph));
|
||||
} else {
|
||||
it.printf(0,0,id(latoblack), WHITE, "PRESSURE");
|
||||
it.printf(80, 65, id(lato), WHITE, "LOADING...");
|
||||
}
|
||||
# - id: show_office_light_sensor_graph
|
||||
# lambda: |-
|
||||
# if (id(office_light_sensor).has_state()) {
|
||||
|
||||
39
esphome/cfg_experimental/ep1-woonkamer.yaml
Executable file
39
esphome/cfg_experimental/ep1-woonkamer.yaml
Executable file
@@ -0,0 +1,39 @@
|
||||
substitutions:
|
||||
name: ${device_name}
|
||||
device_name: "ep1_woonkamer"
|
||||
location: "woonkamer"
|
||||
comment: "esp32, mmwave, pir"
|
||||
friendly_name: "ep1_woonkamer"
|
||||
project_name: "Everything Smart Technology.Everything Presence One"
|
||||
project_version: "1.1.3"
|
||||
temperature_offset: "-3"
|
||||
humidity_offset: "5"
|
||||
temperature_update_interval: "60s"
|
||||
illuminance_update_interval: "30s"
|
||||
pir_delay_off: "10s"
|
||||
occupancy_delay_off: "15s"
|
||||
hidden_ssid: "false"
|
||||
factory_reset_disabled: "true"
|
||||
uart_target_output_disabled: "true"
|
||||
uart_presence_output_disabled: "true"
|
||||
api_password: !secret ep1_woonkamer_api
|
||||
ota_password: !secret ota_password
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
gateway: !secret ip_gateway
|
||||
subnet: !secret ip_subnet
|
||||
ip: !secret ep1_woonkamer_ip
|
||||
pin_sda: GPIO26
|
||||
pin_scl: GPIO25
|
||||
pin_status: GPIO32
|
||||
|
||||
packages:
|
||||
board: !include boards/esp32_wroom_arduino.yaml
|
||||
device_base: !include common/common.yaml
|
||||
connection: !include common/wifi.yaml
|
||||
logger: !include templates/logger.yaml
|
||||
i2c: !include interfaces/i2c_a.yaml
|
||||
sensor_base: !include sensors/sen0395_base.yaml
|
||||
sensor: !include sensors/sen0395.yaml
|
||||
|
||||
#improv_serial:
|
||||
@@ -33,8 +33,8 @@ substitutions:
|
||||
pin_encode_a: GPIO02
|
||||
pin_encode_b: GPIO01
|
||||
pin_encode_btn: GPIO00
|
||||
pin_sda: GPIO44
|
||||
pin_scl: GPIO43
|
||||
pin_sda: GPIO18
|
||||
pin_scl: GPIO8
|
||||
pin_lcd_bl: GPIO15
|
||||
pin_lcd_dc: GPIO13
|
||||
pin_lcd_cs: GPIO10
|
||||
@@ -51,15 +51,12 @@ packages:
|
||||
connection: !include common/wifi.yaml
|
||||
logger: !include templates/logger.yaml
|
||||
backlight: !include templates/backlight.yaml
|
||||
#i2c: !include interfaces/i2c_a.yaml
|
||||
#lightsens: !include sensors/light_tsl2591.yaml
|
||||
i2c: !include interfaces/i2c_a.yaml
|
||||
encoder: !include sensors/encoder.yaml
|
||||
|
||||
esphome:
|
||||
name: ${device_name}
|
||||
platformio_options:
|
||||
# build_flags: |-
|
||||
# -DARDUINO_USB_CDC_ON_BOOT=1 -DLV_CONF_INCLUDE_SIMPLE
|
||||
board_build.mcu: esp32s3
|
||||
board_build.name: "LilyGO T-Embed ESP32-S3"
|
||||
board_build.upload.flash_size: "16MB"
|
||||
@@ -68,10 +65,10 @@ esphome:
|
||||
on_boot:
|
||||
priority: 800
|
||||
then:
|
||||
# - lambda: |-
|
||||
# id(disp).enable();
|
||||
# id(disp).transfer_byte(0x11);
|
||||
# id(disp).disable();
|
||||
- lambda: |-
|
||||
id(disp).enable();
|
||||
id(disp).transfer_byte(0x11);
|
||||
id(disp).disable();
|
||||
- switch.turn_on: power_on
|
||||
|
||||
button:
|
||||
@@ -107,9 +104,9 @@ switch:
|
||||
id: power_on
|
||||
|
||||
|
||||
# time:
|
||||
# - platform: homeassistant
|
||||
# id: home_time
|
||||
time:
|
||||
- platform: homeassistant
|
||||
id: home_time
|
||||
|
||||
voice_assistant:
|
||||
id: va
|
||||
@@ -132,47 +129,59 @@ micro_wake_word:
|
||||
model: okay_nabu
|
||||
|
||||
|
||||
spi:
|
||||
id: ledbus
|
||||
mosi_pin: ${pin_led_data}
|
||||
clk_pin: ${pin_led_clk}
|
||||
|
||||
light:
|
||||
- platform: spi_led_strip
|
||||
num_leds: 30
|
||||
spi_id: "ledbus"
|
||||
color_correct: [80%, 60%, 100%]
|
||||
id: rgb_led
|
||||
name: "RGB LED Strip"
|
||||
data_rate: 1MHz
|
||||
|
||||
# font:
|
||||
# - file: "gfonts://Roboto"
|
||||
# id: roboto
|
||||
# size: 96
|
||||
|
||||
# spi:
|
||||
# - id: spi_display
|
||||
# clk_pin: ${pin_lcd_clk}
|
||||
# mosi_pin: ${pin_lcd_mosi}
|
||||
# id: ledbus
|
||||
# mosi_pin: ${pin_led_data}
|
||||
# clk_pin: ${pin_led_clk}
|
||||
|
||||
# display:
|
||||
# - platform: st7789v
|
||||
# model: CUSTOM
|
||||
# eightbitcolor: False
|
||||
# rotation: 270
|
||||
# width: 170
|
||||
# height: 320
|
||||
# offset_width: 0
|
||||
# offset_height: 35
|
||||
# #backlight_pin: ${pin_lcd_bl}
|
||||
# cs_pin: ${pin_lcd_cs}
|
||||
# dc_pin: ${pin_lcd_dc}
|
||||
# reset_pin: ${pin_lcd_res}
|
||||
# update_interval: 5s
|
||||
# id: disp
|
||||
# lambda: |-
|
||||
# it.strftime(10, 20, id(roboto), "%H:%M", id(home_time).now());
|
||||
external_components:
|
||||
# - source:
|
||||
# type: local
|
||||
# path: components
|
||||
- source: github://rpatel3001/esphome@es7210
|
||||
components: [ es7210 ]
|
||||
|
||||
|
||||
# light:
|
||||
# - platform: spi_led_strip
|
||||
# num_leds: 30
|
||||
# spi_id: "ledbus"
|
||||
# color_correct: [80%, 60%, 100%]
|
||||
# id: rgb_led
|
||||
# name: "RGB LED Strip"
|
||||
# data_rate: 1MHz
|
||||
|
||||
font:
|
||||
- file: "gfonts://Roboto"
|
||||
id: roboto
|
||||
size: 96
|
||||
|
||||
spi:
|
||||
- id: spi_display
|
||||
clk_pin: ${pin_lcd_clk}
|
||||
mosi_pin: ${pin_lcd_mosi}
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
model: st7789V
|
||||
dimensions:
|
||||
height: 170
|
||||
width: 320
|
||||
offset_height: 35
|
||||
offset_width: 0
|
||||
transform:
|
||||
swap_xy: true
|
||||
mirror_x: false
|
||||
mirror_y: true
|
||||
color_order: bgr
|
||||
data_rate: 80MHz
|
||||
cs_pin: ${pin_lcd_cs}
|
||||
dc_pin: ${pin_lcd_dc}
|
||||
reset_pin: ${pin_lcd_res}
|
||||
update_interval: 5s
|
||||
id: disp
|
||||
lambda: |-
|
||||
it.strftime(10, 20, id(roboto), "%H:%M", id(home_time).now());
|
||||
//it.line(0, 0, 50, 50);
|
||||
|
||||
|
||||
76
esphome/cfg_experimental/tuya-plug-001.yaml
Normal file
76
esphome/cfg_experimental/tuya-plug-001.yaml
Normal file
@@ -0,0 +1,76 @@
|
||||
|
||||
substitutions:
|
||||
device_name: "tuyaplug001"
|
||||
friendly_name: "tuya plug 001"
|
||||
comment: "eps-02S, tuya-hack"
|
||||
location: "zolder"
|
||||
api_password: !secret tuya_plug_api
|
||||
ota_password: !secret ota_password
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
gateway: !secret ip_gateway
|
||||
subnet: !secret ip_subnet
|
||||
ip: !secret tuya_plug_001_ip
|
||||
pin_relay: GPIO14
|
||||
pin_button: GPIO1
|
||||
pin_status: GPIO13
|
||||
pin_cf: GPIO05
|
||||
pin_cf1: GPIO04
|
||||
pin_sel: GPIO12
|
||||
|
||||
|
||||
|
||||
packages:
|
||||
board: !include boards/esp01.yaml
|
||||
connection: !include common/wifi.yaml
|
||||
device_base: !include common/common.yaml
|
||||
status: !include templates/status.yaml
|
||||
logger: !include templates/nologger.yaml
|
||||
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin:
|
||||
number: ${pin_button}
|
||||
mode:
|
||||
input: true
|
||||
pullup: true
|
||||
inverted: true
|
||||
name: "Button"
|
||||
on_press:
|
||||
- switch.toggle: relay
|
||||
|
||||
switch:
|
||||
# the power relay
|
||||
- platform: gpio
|
||||
id: relay
|
||||
pin: ${pin_relay}
|
||||
name: '${device_name}'
|
||||
restore_mode: RESTORE_DEFAULT_ON # attempt to restore state on start and defaults to OFF if failed
|
||||
icon: mdi:power-socket-de
|
||||
|
||||
sensor:
|
||||
- platform: hlw8012
|
||||
model: BL0937 # note that the model must be specified to use special calculation parameters
|
||||
current_resistor: 0.001 # adjust it according to the actual resistor value on board
|
||||
voltage_divider: 2012 # (2008.1K)/998 = 2004, adjust it according to the actual resistor values on board
|
||||
sel_pin:
|
||||
number: ${pin_sel}
|
||||
inverted: true # the logic of BL0937 is opposite from HLW8012
|
||||
cf_pin: ${pin_cf}
|
||||
cf1_pin: ${pin_cf1}
|
||||
current:
|
||||
name: '${device_name} Current'
|
||||
voltage:
|
||||
name: '${device_name} Voltage'
|
||||
power:
|
||||
name: '${device_name} Power'
|
||||
energy:
|
||||
name: '${device_name} Energy'
|
||||
# convert to kWh
|
||||
filters:
|
||||
- multiply: 0.001
|
||||
unit_of_measurement: 'kWh'
|
||||
accuracy_decimals: 4
|
||||
update_interval: 10s
|
||||
change_mode_every: 3
|
||||
2
esphome/plant-sensor-2.yaml → esphome/cfg_offline/plant-sensor-2.yaml
Executable file → Normal file
2
esphome/plant-sensor-2.yaml → esphome/cfg_offline/plant-sensor-2.yaml
Executable file → Normal file
@@ -42,7 +42,7 @@ packages:
|
||||
connection: !include common/wifi.yaml
|
||||
i2c: !include interfaces/i2c_a.yaml
|
||||
logger: !include templates/nologger.yaml
|
||||
deepsleep: !include common/deepsleep_wakepin.yaml
|
||||
#deepsleep: !include common/deepsleep_wakepin.yaml
|
||||
time: !include templates/time.yaml
|
||||
#sensors
|
||||
plantsensors: !include sensors/plantsensors.yaml
|
||||
@@ -78,6 +78,6 @@ zeroconf:
|
||||
txt:
|
||||
version: 1.0
|
||||
name: TubesZB
|
||||
radio_type: ezsp
|
||||
radio_type: ember
|
||||
baud_rate: 115200
|
||||
data_flow_control: software
|
||||
1178
esphome/color/COLOR_CSS
Normal file
1178
esphome/color/COLOR_CSS
Normal file
File diff suppressed because it is too large
Load Diff
10
esphome/color/COLOR_CSS_ALICEBLUE
Normal file
10
esphome/color/COLOR_CSS_ALICEBLUE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #f0f8ff
|
||||
# 240,248,255
|
||||
- id: COLOR_CSS_ALICEBLUE
|
||||
red: 0.9412
|
||||
green: 0.9725
|
||||
blue: 1.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_ANTIQUEWHITE
Normal file
10
esphome/color/COLOR_CSS_ANTIQUEWHITE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #faebd7
|
||||
# 250,235,215
|
||||
- id: COLOR_CSS_ANTIQUEWHITE
|
||||
red: 0.9804
|
||||
green: 0.9216
|
||||
blue: 0.8431
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_AQUA
Normal file
10
esphome/color/COLOR_CSS_AQUA
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #00ffff
|
||||
# 0,255,255
|
||||
- id: COLOR_CSS_AQUA
|
||||
red: 0.0000
|
||||
green: 1.0000
|
||||
blue: 1.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_AQUAMARINE
Normal file
10
esphome/color/COLOR_CSS_AQUAMARINE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #7fffd4
|
||||
# 127,255,212
|
||||
- id: COLOR_CSS_AQUAMARINE
|
||||
red: 0.4980
|
||||
green: 1.0000
|
||||
blue: 0.8314
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_AZURE
Normal file
10
esphome/color/COLOR_CSS_AZURE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #f0ffff
|
||||
# 240,255,255
|
||||
- id: COLOR_CSS_AZURE
|
||||
red: 0.9412
|
||||
green: 1.0000
|
||||
blue: 1.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_BEIGE
Normal file
10
esphome/color/COLOR_CSS_BEIGE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #f5f5dc
|
||||
# 245,245,220
|
||||
- id: COLOR_CSS_BEIGE
|
||||
red: 0.9608
|
||||
green: 0.9608
|
||||
blue: 0.8627
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_BISQUE
Normal file
10
esphome/color/COLOR_CSS_BISQUE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #ffe4c4
|
||||
# 255,228,196
|
||||
- id: COLOR_CSS_BISQUE
|
||||
red: 1.0000
|
||||
green: 0.8941
|
||||
blue: 0.7686
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_BLACK
Normal file
10
esphome/color/COLOR_CSS_BLACK
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #000000
|
||||
# 0,0,0
|
||||
- id: COLOR_CSS_BLACK
|
||||
red: 0.0000
|
||||
green: 0.0000
|
||||
blue: 0.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_BLANCHEDALMOND
Normal file
10
esphome/color/COLOR_CSS_BLANCHEDALMOND
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #ffebcd
|
||||
# 255,235,205
|
||||
- id: COLOR_CSS_BLANCHEDALMOND
|
||||
red: 1.0000
|
||||
green: 0.9216
|
||||
blue: 0.8039
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_BLUE
Normal file
10
esphome/color/COLOR_CSS_BLUE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #0000ff
|
||||
# 0,0,255
|
||||
- id: COLOR_CSS_BLUE
|
||||
red: 0.0000
|
||||
green: 0.0000
|
||||
blue: 1.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_BLUEVIOLET
Normal file
10
esphome/color/COLOR_CSS_BLUEVIOLET
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #8a2be2
|
||||
# 138,43,226
|
||||
- id: COLOR_CSS_BLUEVIOLET
|
||||
red: 0.5412
|
||||
green: 0.1686
|
||||
blue: 0.8863
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_BROWN
Normal file
10
esphome/color/COLOR_CSS_BROWN
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #a52a2a
|
||||
# 165,42,42
|
||||
- id: COLOR_CSS_BROWN
|
||||
red: 0.6471
|
||||
green: 0.1647
|
||||
blue: 0.1647
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_BURLYWOOD
Normal file
10
esphome/color/COLOR_CSS_BURLYWOOD
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #deb887
|
||||
# 222,184,135
|
||||
- id: COLOR_CSS_BURLYWOOD
|
||||
red: 0.8706
|
||||
green: 0.7216
|
||||
blue: 0.5294
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_CADETBLUE
Normal file
10
esphome/color/COLOR_CSS_CADETBLUE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #5f9ea0
|
||||
# 95,158,160
|
||||
- id: COLOR_CSS_CADETBLUE
|
||||
red: 0.3725
|
||||
green: 0.6196
|
||||
blue: 0.6275
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_CHARTREUSE
Normal file
10
esphome/color/COLOR_CSS_CHARTREUSE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #7fff00
|
||||
# 127,255,0
|
||||
- id: COLOR_CSS_CHARTREUSE
|
||||
red: 0.4980
|
||||
green: 1.0000
|
||||
blue: 0.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_CHOCOLATE
Normal file
10
esphome/color/COLOR_CSS_CHOCOLATE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #d2691e
|
||||
# 210,105,30
|
||||
- id: COLOR_CSS_CHOCOLATE
|
||||
red: 0.8235
|
||||
green: 0.4118
|
||||
blue: 0.1176
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_CORAL
Normal file
10
esphome/color/COLOR_CSS_CORAL
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #ff7f50
|
||||
# 255,127,80
|
||||
- id: COLOR_CSS_CORAL
|
||||
red: 1.0000
|
||||
green: 0.4980
|
||||
blue: 0.3137
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_CORNFLOWERBLUE
Normal file
10
esphome/color/COLOR_CSS_CORNFLOWERBLUE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #6495ed
|
||||
# 100,149,237
|
||||
- id: COLOR_CSS_CORNFLOWERBLUE
|
||||
red: 0.3922
|
||||
green: 0.5843
|
||||
blue: 0.9294
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_CORNSILK
Normal file
10
esphome/color/COLOR_CSS_CORNSILK
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #fff8dc
|
||||
# 255,248,220
|
||||
- id: COLOR_CSS_CORNSILK
|
||||
red: 1.0000
|
||||
green: 0.9725
|
||||
blue: 0.8627
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_CRIMSON
Normal file
10
esphome/color/COLOR_CSS_CRIMSON
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #dc143c
|
||||
# 220,20,60
|
||||
- id: COLOR_CSS_CRIMSON
|
||||
red: 0.8627
|
||||
green: 0.0784
|
||||
blue: 0.2353
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_CYAN
Normal file
10
esphome/color/COLOR_CSS_CYAN
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #00ffff
|
||||
# 0,255,255
|
||||
- id: COLOR_CSS_CYAN
|
||||
red: 0.0000
|
||||
green: 1.0000
|
||||
blue: 1.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKBLUE
Normal file
10
esphome/color/COLOR_CSS_DARKBLUE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #00008b
|
||||
# 0,0,139
|
||||
- id: COLOR_CSS_DARKBLUE
|
||||
red: 0.0000
|
||||
green: 0.0000
|
||||
blue: 0.5451
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKCYAN
Normal file
10
esphome/color/COLOR_CSS_DARKCYAN
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #008b8b
|
||||
# 0,139,139
|
||||
- id: COLOR_CSS_DARKCYAN
|
||||
red: 0.0000
|
||||
green: 0.5451
|
||||
blue: 0.5451
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKGOLDENROD
Normal file
10
esphome/color/COLOR_CSS_DARKGOLDENROD
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #b8860b
|
||||
# 184,134,11
|
||||
- id: COLOR_CSS_DARKGOLDENROD
|
||||
red: 0.7216
|
||||
green: 0.5255
|
||||
blue: 0.0431
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKGRAY
Normal file
10
esphome/color/COLOR_CSS_DARKGRAY
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #a9a9a9
|
||||
# 169,169,169
|
||||
- id: COLOR_CSS_DARKGRAY
|
||||
red: 0.6627
|
||||
green: 0.6627
|
||||
blue: 0.6627
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKGREEN
Normal file
10
esphome/color/COLOR_CSS_DARKGREEN
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #006400
|
||||
# 0,100,0
|
||||
- id: COLOR_CSS_DARKGREEN
|
||||
red: 0.0000
|
||||
green: 0.3922
|
||||
blue: 0.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKGREY
Normal file
10
esphome/color/COLOR_CSS_DARKGREY
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #a9a9a9
|
||||
# 169,169,169
|
||||
- id: COLOR_CSS_DARKGREY
|
||||
red: 0.6627
|
||||
green: 0.6627
|
||||
blue: 0.6627
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKKHAKI
Normal file
10
esphome/color/COLOR_CSS_DARKKHAKI
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #bdb76b
|
||||
# 189,183,107
|
||||
- id: COLOR_CSS_DARKKHAKI
|
||||
red: 0.7412
|
||||
green: 0.7176
|
||||
blue: 0.4196
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKMAGENTA
Normal file
10
esphome/color/COLOR_CSS_DARKMAGENTA
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #8b008b
|
||||
# 139,0,139
|
||||
- id: COLOR_CSS_DARKMAGENTA
|
||||
red: 0.5451
|
||||
green: 0.0000
|
||||
blue: 0.5451
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKOLIVEGREEN
Normal file
10
esphome/color/COLOR_CSS_DARKOLIVEGREEN
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #556b2f
|
||||
# 85,107,47
|
||||
- id: COLOR_CSS_DARKOLIVEGREEN
|
||||
red: 0.3333
|
||||
green: 0.4196
|
||||
blue: 0.1843
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKORANGE
Normal file
10
esphome/color/COLOR_CSS_DARKORANGE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #ff8c00
|
||||
# 255,140,0
|
||||
- id: COLOR_CSS_DARKORANGE
|
||||
red: 1.0000
|
||||
green: 0.5490
|
||||
blue: 0.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKORCHID
Normal file
10
esphome/color/COLOR_CSS_DARKORCHID
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #9932cc
|
||||
# 153,50,204
|
||||
- id: COLOR_CSS_DARKORCHID
|
||||
red: 0.6000
|
||||
green: 0.1961
|
||||
blue: 0.8000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKRED
Normal file
10
esphome/color/COLOR_CSS_DARKRED
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #8b0000
|
||||
# 139,0,0
|
||||
- id: COLOR_CSS_DARKRED
|
||||
red: 0.5451
|
||||
green: 0.0000
|
||||
blue: 0.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKSALMON
Normal file
10
esphome/color/COLOR_CSS_DARKSALMON
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #e9967a
|
||||
# 233,150,122
|
||||
- id: COLOR_CSS_DARKSALMON
|
||||
red: 0.9137
|
||||
green: 0.5882
|
||||
blue: 0.4784
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKSEAGREEN
Normal file
10
esphome/color/COLOR_CSS_DARKSEAGREEN
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #8fbc8f
|
||||
# 143,188,143
|
||||
- id: COLOR_CSS_DARKSEAGREEN
|
||||
red: 0.5608
|
||||
green: 0.7373
|
||||
blue: 0.5608
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKSLATEBLUE
Normal file
10
esphome/color/COLOR_CSS_DARKSLATEBLUE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #483d8b
|
||||
# 72,61,139
|
||||
- id: COLOR_CSS_DARKSLATEBLUE
|
||||
red: 0.2824
|
||||
green: 0.2392
|
||||
blue: 0.5451
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKSLATEGRAY
Normal file
10
esphome/color/COLOR_CSS_DARKSLATEGRAY
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #2f4f4f
|
||||
# 47,79,79
|
||||
- id: COLOR_CSS_DARKSLATEGRAY
|
||||
red: 0.1843
|
||||
green: 0.3098
|
||||
blue: 0.3098
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKSLATEGREY
Normal file
10
esphome/color/COLOR_CSS_DARKSLATEGREY
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #2f4f4f
|
||||
# 47,79,79
|
||||
- id: COLOR_CSS_DARKSLATEGREY
|
||||
red: 0.1843
|
||||
green: 0.3098
|
||||
blue: 0.3098
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKTURQUOISE
Normal file
10
esphome/color/COLOR_CSS_DARKTURQUOISE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #00ced1
|
||||
# 0,206,209
|
||||
- id: COLOR_CSS_DARKTURQUOISE
|
||||
red: 0.0000
|
||||
green: 0.8078
|
||||
blue: 0.8196
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DARKVIOLET
Normal file
10
esphome/color/COLOR_CSS_DARKVIOLET
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #9400d3
|
||||
# 148,0,211
|
||||
- id: COLOR_CSS_DARKVIOLET
|
||||
red: 0.5804
|
||||
green: 0.0000
|
||||
blue: 0.8275
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DEEPPINK
Normal file
10
esphome/color/COLOR_CSS_DEEPPINK
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #ff1493
|
||||
# 255,20,147
|
||||
- id: COLOR_CSS_DEEPPINK
|
||||
red: 1.0000
|
||||
green: 0.0784
|
||||
blue: 0.5765
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DEEPSKYBLUE
Normal file
10
esphome/color/COLOR_CSS_DEEPSKYBLUE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #00bfff
|
||||
# 0,191,255
|
||||
- id: COLOR_CSS_DEEPSKYBLUE
|
||||
red: 0.0000
|
||||
green: 0.7490
|
||||
blue: 1.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DIMGRAY
Normal file
10
esphome/color/COLOR_CSS_DIMGRAY
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #696969
|
||||
# 105,105,105
|
||||
- id: COLOR_CSS_DIMGRAY
|
||||
red: 0.4118
|
||||
green: 0.4118
|
||||
blue: 0.4118
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DIMGREY
Normal file
10
esphome/color/COLOR_CSS_DIMGREY
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #696969
|
||||
# 105,105,105
|
||||
- id: COLOR_CSS_DIMGREY
|
||||
red: 0.4118
|
||||
green: 0.4118
|
||||
blue: 0.4118
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_DODGERBLUE
Normal file
10
esphome/color/COLOR_CSS_DODGERBLUE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #1e90ff
|
||||
# 30,144,255
|
||||
- id: COLOR_CSS_DODGERBLUE
|
||||
red: 0.1176
|
||||
green: 0.5647
|
||||
blue: 1.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_FIREBRICK
Normal file
10
esphome/color/COLOR_CSS_FIREBRICK
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #b22222
|
||||
# 178,34,34
|
||||
- id: COLOR_CSS_FIREBRICK
|
||||
red: 0.6980
|
||||
green: 0.1333
|
||||
blue: 0.1333
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_FLORALWHITE
Normal file
10
esphome/color/COLOR_CSS_FLORALWHITE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #fffaf0
|
||||
# 255,250,240
|
||||
- id: COLOR_CSS_FLORALWHITE
|
||||
red: 1.0000
|
||||
green: 0.9804
|
||||
blue: 0.9412
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_FORESTGREEN
Normal file
10
esphome/color/COLOR_CSS_FORESTGREEN
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #228b22
|
||||
# 34,139,34
|
||||
- id: COLOR_CSS_FORESTGREEN
|
||||
red: 0.1333
|
||||
green: 0.5451
|
||||
blue: 0.1333
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_FUCHSIA
Normal file
10
esphome/color/COLOR_CSS_FUCHSIA
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #ff00ff
|
||||
# 255,0,255
|
||||
- id: COLOR_CSS_FUCHSIA
|
||||
red: 1.0000
|
||||
green: 0.0000
|
||||
blue: 1.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_GAINSBORO
Normal file
10
esphome/color/COLOR_CSS_GAINSBORO
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #dcdcdc
|
||||
# 220,220,220
|
||||
- id: COLOR_CSS_GAINSBORO
|
||||
red: 0.8627
|
||||
green: 0.8627
|
||||
blue: 0.8627
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_GHOSTWHITE
Normal file
10
esphome/color/COLOR_CSS_GHOSTWHITE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #f8f8ff
|
||||
# 248,248,255
|
||||
- id: COLOR_CSS_GHOSTWHITE
|
||||
red: 0.9725
|
||||
green: 0.9725
|
||||
blue: 1.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_GOLD
Normal file
10
esphome/color/COLOR_CSS_GOLD
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #ffd700
|
||||
# 255,215,0
|
||||
- id: COLOR_CSS_GOLD
|
||||
red: 1.0000
|
||||
green: 0.8431
|
||||
blue: 0.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_GOLDENROD
Normal file
10
esphome/color/COLOR_CSS_GOLDENROD
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #daa520
|
||||
# 218,165,32
|
||||
- id: COLOR_CSS_GOLDENROD
|
||||
red: 0.8549
|
||||
green: 0.6471
|
||||
blue: 0.1255
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_GRAY
Normal file
10
esphome/color/COLOR_CSS_GRAY
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #808080
|
||||
# 128,128,128
|
||||
- id: COLOR_CSS_GRAY
|
||||
red: 0.5020
|
||||
green: 0.5020
|
||||
blue: 0.5020
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_GREEN
Normal file
10
esphome/color/COLOR_CSS_GREEN
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #008000
|
||||
# 0,128,0
|
||||
- id: COLOR_CSS_GREEN
|
||||
red: 0.0000
|
||||
green: 0.5020
|
||||
blue: 0.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_GREENYELLOW
Normal file
10
esphome/color/COLOR_CSS_GREENYELLOW
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #adff2f
|
||||
# 173,255,47
|
||||
- id: COLOR_CSS_GREENYELLOW
|
||||
red: 0.6784
|
||||
green: 1.0000
|
||||
blue: 0.1843
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_GREY
Normal file
10
esphome/color/COLOR_CSS_GREY
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #808080
|
||||
# 128,128,128
|
||||
- id: COLOR_CSS_GREY
|
||||
red: 0.5020
|
||||
green: 0.5020
|
||||
blue: 0.5020
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_HONEYDEW
Normal file
10
esphome/color/COLOR_CSS_HONEYDEW
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #f0fff0
|
||||
# 240,255,240
|
||||
- id: COLOR_CSS_HONEYDEW
|
||||
red: 0.9412
|
||||
green: 1.0000
|
||||
blue: 0.9412
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_HOTPINK
Normal file
10
esphome/color/COLOR_CSS_HOTPINK
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #ff69b4
|
||||
# 255,105,180
|
||||
- id: COLOR_CSS_HOTPINK
|
||||
red: 1.0000
|
||||
green: 0.4118
|
||||
blue: 0.7059
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_INDIANRED
Normal file
10
esphome/color/COLOR_CSS_INDIANRED
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #cd5c5c
|
||||
# 205,92,92
|
||||
- id: COLOR_CSS_INDIANRED
|
||||
red: 0.8039
|
||||
green: 0.3608
|
||||
blue: 0.3608
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_INDIGO
Normal file
10
esphome/color/COLOR_CSS_INDIGO
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #4b0082
|
||||
# 75,0,130
|
||||
- id: COLOR_CSS_INDIGO
|
||||
red: 0.2941
|
||||
green: 0.0000
|
||||
blue: 0.5098
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_IVORY
Normal file
10
esphome/color/COLOR_CSS_IVORY
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #fffff0
|
||||
# 255,255,240
|
||||
- id: COLOR_CSS_IVORY
|
||||
red: 1.0000
|
||||
green: 1.0000
|
||||
blue: 0.9412
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_KHAKI
Normal file
10
esphome/color/COLOR_CSS_KHAKI
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #f0e68c
|
||||
# 240,230,140
|
||||
- id: COLOR_CSS_KHAKI
|
||||
red: 0.9412
|
||||
green: 0.9020
|
||||
blue: 0.5490
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LAVENDER
Normal file
10
esphome/color/COLOR_CSS_LAVENDER
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #e6e6fa
|
||||
# 230,230,250
|
||||
- id: COLOR_CSS_LAVENDER
|
||||
red: 0.9020
|
||||
green: 0.9020
|
||||
blue: 0.9804
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LAVENDERBLUSH
Normal file
10
esphome/color/COLOR_CSS_LAVENDERBLUSH
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #fff0f5
|
||||
# 255,240,245
|
||||
- id: COLOR_CSS_LAVENDERBLUSH
|
||||
red: 1.0000
|
||||
green: 0.9412
|
||||
blue: 0.9608
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LAWNGREEN
Normal file
10
esphome/color/COLOR_CSS_LAWNGREEN
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #7cfc00
|
||||
# 124,252,0
|
||||
- id: COLOR_CSS_LAWNGREEN
|
||||
red: 0.4863
|
||||
green: 0.9882
|
||||
blue: 0.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LEMONCHIFFON
Normal file
10
esphome/color/COLOR_CSS_LEMONCHIFFON
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #fffacd
|
||||
# 255,250,205
|
||||
- id: COLOR_CSS_LEMONCHIFFON
|
||||
red: 1.0000
|
||||
green: 0.9804
|
||||
blue: 0.8039
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LIGHTBLUE
Normal file
10
esphome/color/COLOR_CSS_LIGHTBLUE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #add8e6
|
||||
# 173,216,230
|
||||
- id: COLOR_CSS_LIGHTBLUE
|
||||
red: 0.6784
|
||||
green: 0.8471
|
||||
blue: 0.9020
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LIGHTCORAL
Normal file
10
esphome/color/COLOR_CSS_LIGHTCORAL
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #f08080
|
||||
# 240,128,128
|
||||
- id: COLOR_CSS_LIGHTCORAL
|
||||
red: 0.9412
|
||||
green: 0.5020
|
||||
blue: 0.5020
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LIGHTCYAN
Normal file
10
esphome/color/COLOR_CSS_LIGHTCYAN
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #e0ffff
|
||||
# 224,255,255
|
||||
- id: COLOR_CSS_LIGHTCYAN
|
||||
red: 0.8784
|
||||
green: 1.0000
|
||||
blue: 1.0000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LIGHTGOLDENRODYELLOW
Normal file
10
esphome/color/COLOR_CSS_LIGHTGOLDENRODYELLOW
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #fafad2
|
||||
# 250,250,210
|
||||
- id: COLOR_CSS_LIGHTGOLDENRODYELLOW
|
||||
red: 0.9804
|
||||
green: 0.9804
|
||||
blue: 0.8235
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LIGHTGRAY
Normal file
10
esphome/color/COLOR_CSS_LIGHTGRAY
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #d3d3d3
|
||||
# 211,211,211
|
||||
- id: COLOR_CSS_LIGHTGRAY
|
||||
red: 0.8275
|
||||
green: 0.8275
|
||||
blue: 0.8275
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LIGHTGREEN
Normal file
10
esphome/color/COLOR_CSS_LIGHTGREEN
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #90ee90
|
||||
# 144,238,144
|
||||
- id: COLOR_CSS_LIGHTGREEN
|
||||
red: 0.5647
|
||||
green: 0.9333
|
||||
blue: 0.5647
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LIGHTGREY
Normal file
10
esphome/color/COLOR_CSS_LIGHTGREY
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #d3d3d3
|
||||
# 211,211,211
|
||||
- id: COLOR_CSS_LIGHTGREY
|
||||
red: 0.8275
|
||||
green: 0.8275
|
||||
blue: 0.8275
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LIGHTPINK
Normal file
10
esphome/color/COLOR_CSS_LIGHTPINK
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #ffb6c1
|
||||
# 255,182,193
|
||||
- id: COLOR_CSS_LIGHTPINK
|
||||
red: 1.0000
|
||||
green: 0.7137
|
||||
blue: 0.7569
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LIGHTSALMON
Normal file
10
esphome/color/COLOR_CSS_LIGHTSALMON
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #ffa07a
|
||||
# 255,160,122
|
||||
- id: COLOR_CSS_LIGHTSALMON
|
||||
red: 1.0000
|
||||
green: 0.6275
|
||||
blue: 0.4784
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LIGHTSEAGREEN
Normal file
10
esphome/color/COLOR_CSS_LIGHTSEAGREEN
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #20b2aa
|
||||
# 32,178,170
|
||||
- id: COLOR_CSS_LIGHTSEAGREEN
|
||||
red: 0.1255
|
||||
green: 0.6980
|
||||
blue: 0.6667
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LIGHTSKYBLUE
Normal file
10
esphome/color/COLOR_CSS_LIGHTSKYBLUE
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #87cefa
|
||||
# 135,206,250
|
||||
- id: COLOR_CSS_LIGHTSKYBLUE
|
||||
red: 0.5294
|
||||
green: 0.8078
|
||||
blue: 0.9804
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LIGHTSLATEGRAY
Normal file
10
esphome/color/COLOR_CSS_LIGHTSLATEGRAY
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #778899
|
||||
# 119,136,153
|
||||
- id: COLOR_CSS_LIGHTSLATEGRAY
|
||||
red: 0.4667
|
||||
green: 0.5333
|
||||
blue: 0.6000
|
||||
white: 0.0000
|
||||
10
esphome/color/COLOR_CSS_LIGHTSLATEGREY
Normal file
10
esphome/color/COLOR_CSS_LIGHTSLATEGREY
Normal file
@@ -0,0 +1,10 @@
|
||||
color:
|
||||
# name and values from https://www.w3.org/wiki/CSS/Properties/color/keywords
|
||||
|
||||
# #778899
|
||||
# 119,136,153
|
||||
- id: COLOR_CSS_LIGHTSLATEGREY
|
||||
red: 0.4667
|
||||
green: 0.5333
|
||||
blue: 0.6000
|
||||
white: 0.0000
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user