mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-03-03 07:14:10 +01:00
Compare commits
2 Commits
1b5ef340e4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 1badaaf232 | |||
| 5600203e6b |
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: air-office-r
|
||||
name: Office R Air
|
||||
@@ -104,7 +105,7 @@ light:
|
||||
move_interval: 100ms
|
||||
|
||||
sensor:
|
||||
# https://blissair.com/what-is-pm-2-5.htm
|
||||
# https://blissair.com/what-is-pm-2-5.htm
|
||||
- platform: pm1006
|
||||
uart_id: particle_uart
|
||||
update_interval: 20s
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: atoms3
|
||||
name: AtomS3
|
||||
@@ -118,36 +119,36 @@ canbus:
|
||||
bit_rate: 1000KBPS
|
||||
use_extended_id: true
|
||||
on_frame:
|
||||
- can_id: 0x123
|
||||
use_extended_id: true
|
||||
then:
|
||||
- lambda: |-
|
||||
std::string b(x.begin(), x.end());
|
||||
ESP_LOGD("can extended id 0x123", "%s", &b[0] );
|
||||
- can_id: 0x123
|
||||
then:
|
||||
- lambda: |-
|
||||
std::string b(x.begin(), x.end());
|
||||
ESP_LOGD("can standard id 0x123", "%s", &b[0] );
|
||||
- can_id: 0x3f1
|
||||
can_id_mask: 0x7ff
|
||||
use_extended_id: false
|
||||
then:
|
||||
- lambda: |-
|
||||
std::string b(x.begin(), x.end());
|
||||
ESP_LOGD("can id 0x03f1", "%s", &b[0] );
|
||||
- can_id: 0x108
|
||||
use_extended_id: false
|
||||
then:
|
||||
- lambda: |-
|
||||
std::string b(x.begin(), x.end());
|
||||
ESP_LOGD("can id 0x108", "%s", &b[0] );
|
||||
- can_id: 0x109
|
||||
use_extended_id: false
|
||||
then:
|
||||
- lambda: |-
|
||||
std::string b(x.begin(), x.end());
|
||||
ESP_LOGD("can id 0x109", "%s", &b[0] );
|
||||
- can_id: 0x123
|
||||
use_extended_id: true
|
||||
then:
|
||||
- lambda: |-
|
||||
std::string b(x.begin(), x.end());
|
||||
ESP_LOGD("can extended id 0x123", "%s", &b[0] );
|
||||
- can_id: 0x123
|
||||
then:
|
||||
- lambda: |-
|
||||
std::string b(x.begin(), x.end());
|
||||
ESP_LOGD("can standard id 0x123", "%s", &b[0] );
|
||||
- can_id: 0x3f1
|
||||
can_id_mask: 0x7ff
|
||||
use_extended_id: false
|
||||
then:
|
||||
- lambda: |-
|
||||
std::string b(x.begin(), x.end());
|
||||
ESP_LOGD("can id 0x03f1", "%s", &b[0] );
|
||||
- can_id: 0x108
|
||||
use_extended_id: false
|
||||
then:
|
||||
- lambda: |-
|
||||
std::string b(x.begin(), x.end());
|
||||
ESP_LOGD("can id 0x108", "%s", &b[0] );
|
||||
- can_id: 0x109
|
||||
use_extended_id: false
|
||||
then:
|
||||
- lambda: |-
|
||||
std::string b(x.begin(), x.end());
|
||||
ESP_LOGD("can id 0x109", "%s", &b[0] );
|
||||
|
||||
i2c:
|
||||
# - id: i2c_groove
|
||||
@@ -177,9 +178,9 @@ i2c:
|
||||
# - platform: gpio
|
||||
# pin: 1
|
||||
# id: hub_1
|
||||
# - platform: gpio
|
||||
# pin: 2
|
||||
# id: hub_2
|
||||
# - platform: gpio
|
||||
# pin: 2
|
||||
# id: hub_2
|
||||
|
||||
m5stack_4relay:
|
||||
id: m5stack_relay_1
|
||||
@@ -229,7 +230,7 @@ switch:
|
||||
- output.turn_off: motor_in1
|
||||
- output.turn_off: motor_in2
|
||||
|
||||
# switch:
|
||||
# switch:
|
||||
- platform: m5stack_4relay
|
||||
name: Relay 1
|
||||
id: relay_1
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: basement-2
|
||||
name_short: Basement
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: basement
|
||||
name: Basement
|
||||
@@ -40,35 +41,35 @@ binary_sensor:
|
||||
name: Light Switch
|
||||
device_class: light
|
||||
on_click:
|
||||
- min_length: 50ms
|
||||
max_length: 350ms
|
||||
then:
|
||||
- homeassistant.service:
|
||||
service: light.toggle
|
||||
data:
|
||||
entity_id: light.mcu_basement_2_light
|
||||
- min_length: 351ms
|
||||
max_length: 1000ms
|
||||
then:
|
||||
- homeassistant.service:
|
||||
service: light.toggle
|
||||
data:
|
||||
entity_id: light.exercise_room
|
||||
- min_length: 1001ms
|
||||
max_length: 10000ms
|
||||
then:
|
||||
# - homeassistant.service:
|
||||
# service: light.turn_off
|
||||
# data:
|
||||
# entity_id: light.basement_light
|
||||
- homeassistant.service:
|
||||
service: light.turn_off
|
||||
data:
|
||||
entity_id: light.exercise_room
|
||||
- homeassistant.service:
|
||||
service: light.turn_off
|
||||
data:
|
||||
entity_id: light.exercise_room_fan
|
||||
- min_length: 50ms
|
||||
max_length: 350ms
|
||||
then:
|
||||
- homeassistant.service:
|
||||
service: light.toggle
|
||||
data:
|
||||
entity_id: light.mcu_basement_2_light
|
||||
- min_length: 351ms
|
||||
max_length: 1000ms
|
||||
then:
|
||||
- homeassistant.service:
|
||||
service: light.toggle
|
||||
data:
|
||||
entity_id: light.exercise_room
|
||||
- min_length: 1001ms
|
||||
max_length: 10000ms
|
||||
then:
|
||||
# - homeassistant.service:
|
||||
# service: light.turn_off
|
||||
# data:
|
||||
# entity_id: light.basement_light
|
||||
- homeassistant.service:
|
||||
service: light.turn_off
|
||||
data:
|
||||
entity_id: light.exercise_room
|
||||
- homeassistant.service:
|
||||
service: light.turn_off
|
||||
data:
|
||||
entity_id: light.exercise_room_fan
|
||||
- platform: gpio
|
||||
pin:
|
||||
number: 10
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: bedroom-lamp-left
|
||||
name: Bedroom Lamp Left
|
||||
@@ -95,7 +96,7 @@ script:
|
||||
id: my_light_mode
|
||||
state: white
|
||||
then:
|
||||
- front_panel.turn_on_leds: [ POWER, COLOR ]
|
||||
- front_panel.turn_on_leds: [POWER, COLOR]
|
||||
- front_panel.set_level: !lambda return id(current_brightness);
|
||||
# In night light mode, turn off the front panel illumination, except
|
||||
# for the power button.
|
||||
@@ -105,7 +106,7 @@ script:
|
||||
id: my_light_mode
|
||||
state: night
|
||||
then:
|
||||
- front_panel.turn_on_leds: [ POWER ]
|
||||
- front_panel.turn_on_leds: [POWER]
|
||||
- front_panel.update_leds:
|
||||
|
||||
# If you want to control light presets from Home Assistant, then you can
|
||||
@@ -201,18 +202,18 @@ light:
|
||||
# These bindings have been setup below, using the binary_sensor for
|
||||
# the color button.
|
||||
presets:
|
||||
# rgb:
|
||||
# red: { red: 100%, green: 0%, blue: 0% }
|
||||
# green: { red: 0%, green: 100%, blue: 0% }
|
||||
# blue: { red: 0%, green: 0%, blue: 100% }
|
||||
# yellow: { red: 100%, green: 100%, blue: 0% }
|
||||
# purple: { red: 100%, green: 0%, blue: 100% }
|
||||
# randomize: { effect: Fast Random }
|
||||
# rgb:
|
||||
# red: { red: 100%, green: 0%, blue: 0% }
|
||||
# green: { red: 0%, green: 100%, blue: 0% }
|
||||
# blue: { red: 0%, green: 0%, blue: 100% }
|
||||
# yellow: { red: 100%, green: 100%, blue: 0% }
|
||||
# purple: { red: 100%, green: 0%, blue: 100% }
|
||||
# randomize: { effect: Fast Random }
|
||||
white:
|
||||
cold: { color_temperature: 153 mireds }
|
||||
chilly: { color_temperature: 275 mireds }
|
||||
luke: { color_temperature: 400 mireds }
|
||||
warm: { color_temperature: 588 mireds }
|
||||
cold: {color_temperature: 153 mireds}
|
||||
chilly: {color_temperature: 275 mireds}
|
||||
luke: {color_temperature: 400 mireds}
|
||||
warm: {color_temperature: 588 mireds}
|
||||
|
||||
# Binary sensors can be created for handling front panel touch / release
|
||||
# events. To specify what part of the front panel to look at, the "for"
|
||||
@@ -224,16 +225,16 @@ binary_sensor:
|
||||
id: my_power_button
|
||||
for: POWER_BUTTON
|
||||
on_multi_click:
|
||||
- timing:
|
||||
- ON for at most 0.8s
|
||||
then:
|
||||
- light.toggle: my_light
|
||||
- timing:
|
||||
- ON for at least 0.8s
|
||||
then:
|
||||
- light.turn_on:
|
||||
id: my_light
|
||||
brightness: 1%
|
||||
- timing:
|
||||
- ON for at most 0.8s
|
||||
then:
|
||||
- light.toggle: my_light
|
||||
- timing:
|
||||
- ON for at least 0.8s
|
||||
then:
|
||||
- light.turn_on:
|
||||
id: my_light
|
||||
brightness: 1%
|
||||
|
||||
# When tapping the color button, activate the next preset.
|
||||
# When holding the color button, activate the next preset group.
|
||||
@@ -241,17 +242,17 @@ binary_sensor:
|
||||
id: my_color_button
|
||||
for: COLOR_BUTTON
|
||||
on_multi_click:
|
||||
- timing:
|
||||
- ON for at most 0.6s
|
||||
then:
|
||||
- preset.activate:
|
||||
next: preset
|
||||
- timing:
|
||||
- ON for at least 0.6s
|
||||
then:
|
||||
- globals.set:
|
||||
id: group_control
|
||||
value: !lambda return !id(group_control);
|
||||
- timing:
|
||||
- ON for at most 0.6s
|
||||
then:
|
||||
- preset.activate:
|
||||
next: preset
|
||||
- timing:
|
||||
- ON for at least 0.6s
|
||||
then:
|
||||
- globals.set:
|
||||
id: group_control
|
||||
value: !lambda return !id(group_control);
|
||||
# - timing:
|
||||
# - ON for at least 0.6s
|
||||
# then:
|
||||
@@ -271,20 +272,20 @@ sensor:
|
||||
id: my_slider_level
|
||||
range_from: 0.02
|
||||
on_value:
|
||||
- if:
|
||||
condition:
|
||||
lambda: |-
|
||||
return id(group_control);
|
||||
then:
|
||||
- homeassistant.service:
|
||||
service: light.turn_on
|
||||
data:
|
||||
light_name: bedroom_lamp
|
||||
- if:
|
||||
condition:
|
||||
lambda: |-
|
||||
return id(group_control);
|
||||
then:
|
||||
- homeassistant.service:
|
||||
service: light.turn_on
|
||||
data:
|
||||
light_name: bedroom_lamp
|
||||
brightness: !lambda return x;
|
||||
else:
|
||||
- light.turn_on:
|
||||
id: my_light
|
||||
brightness: !lambda return x;
|
||||
else:
|
||||
- light.turn_on:
|
||||
id: my_light
|
||||
brightness: !lambda return x;
|
||||
|
||||
# This text sensor propagates the currently active light mode.
|
||||
# The possible light modes are: "off", "rgb", "white" and "night".
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: bedroom-lamp-right
|
||||
name: Bedroom Lamp Right
|
||||
@@ -92,7 +93,7 @@ script:
|
||||
id: my_light_mode
|
||||
state: white
|
||||
then:
|
||||
- front_panel.turn_on_leds: [ POWER, COLOR ]
|
||||
- front_panel.turn_on_leds: [POWER, COLOR]
|
||||
- front_panel.set_level: !lambda return id(current_brightness);
|
||||
# In night light mode, turn off the front panel illumination, except
|
||||
# for the power button.
|
||||
@@ -102,7 +103,7 @@ script:
|
||||
id: my_light_mode
|
||||
state: night
|
||||
then:
|
||||
- front_panel.turn_on_leds: [ POWER ]
|
||||
- front_panel.turn_on_leds: [POWER]
|
||||
- front_panel.update_leds:
|
||||
|
||||
# If you want to control light presets from Home Assistant, then you can
|
||||
@@ -198,18 +199,18 @@ light:
|
||||
# These bindings have been setup below, using the binary_sensor for
|
||||
# the color button.
|
||||
presets:
|
||||
# rgb:
|
||||
# red: { red: 100%, green: 0%, blue: 0% }
|
||||
# green: { red: 0%, green: 100%, blue: 0% }
|
||||
# blue: { red: 0%, green: 0%, blue: 100% }
|
||||
# yellow: { red: 100%, green: 100%, blue: 0% }
|
||||
# purple: { red: 100%, green: 0%, blue: 100% }
|
||||
# randomize: { effect: Fast Random }
|
||||
# rgb:
|
||||
# red: { red: 100%, green: 0%, blue: 0% }
|
||||
# green: { red: 0%, green: 100%, blue: 0% }
|
||||
# blue: { red: 0%, green: 0%, blue: 100% }
|
||||
# yellow: { red: 100%, green: 100%, blue: 0% }
|
||||
# purple: { red: 100%, green: 0%, blue: 100% }
|
||||
# randomize: { effect: Fast Random }
|
||||
white:
|
||||
cold: { color_temperature: 153 mireds }
|
||||
chilly: { color_temperature: 275 mireds }
|
||||
luke: { color_temperature: 400 mireds }
|
||||
warm: { color_temperature: 588 mireds }
|
||||
cold: {color_temperature: 153 mireds}
|
||||
chilly: {color_temperature: 275 mireds}
|
||||
luke: {color_temperature: 400 mireds}
|
||||
warm: {color_temperature: 588 mireds}
|
||||
|
||||
# Binary sensors can be created for handling front panel touch / release
|
||||
# events. To specify what part of the front panel to look at, the "for"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: c6-test-1
|
||||
name: C6 TEST 1
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: c6-test-2
|
||||
name: C6 TEST 2
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: cam-1
|
||||
name: Cam 1
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: can-node-1
|
||||
name: CAN Node 1
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: can-node-2
|
||||
name: CAN Node 2
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: cec-bedroom
|
||||
name: Bedroom TV
|
||||
@@ -52,11 +53,11 @@ uart:
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: a02yyuw
|
||||
uart_id: uart_distance
|
||||
name: 'Distance'
|
||||
accuracy_decimals: 2
|
||||
unit_of_measurement: cm
|
||||
- platform: a02yyuw
|
||||
uart_id: uart_distance
|
||||
name: 'Distance'
|
||||
accuracy_decimals: 2
|
||||
unit_of_measurement: cm
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
@@ -138,22 +139,22 @@ hdmi_cec:
|
||||
then:
|
||||
- hdmi_cec.send: # Report ARC started
|
||||
destination: 0x0
|
||||
data: [ 0xC1 ]
|
||||
data: [0xC1]
|
||||
- opcode: 0x70 # System audio mode request
|
||||
then:
|
||||
- hdmi_cec.send:
|
||||
destination: 0x0
|
||||
data: [ 0x72, 0x01 ]
|
||||
data: [0x72, 0x01]
|
||||
- opcode: 0x71 # Give audio status
|
||||
then:
|
||||
- hdmi_cec.send:
|
||||
destination: 0x0
|
||||
data: [ 0x7A, 0x7F ]
|
||||
data: [0x7A, 0x7F]
|
||||
- opcode: 0x7D # Give audio system mode status
|
||||
then:
|
||||
- hdmi_cec.send:
|
||||
destination: 0x0
|
||||
data: [ 0x7E, 0x01 ]
|
||||
data: [0x7E, 0x01]
|
||||
- opcode: 0x46 # Give OSD name
|
||||
then:
|
||||
- hdmi_cec.send:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: clock-1
|
||||
name: Clock 1
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: clock-living-room
|
||||
name: Living room Clock
|
||||
@@ -21,7 +22,7 @@ external_components:
|
||||
url: https://github.com/trip5/esphome-tm1650
|
||||
ref: main
|
||||
refresh: 60s
|
||||
components: [ tm1650 ]
|
||||
components: [tm1650]
|
||||
|
||||
packages:
|
||||
common: !include common/common.yaml
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: desk-lamp
|
||||
name: Desk Lamp
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: dimmer
|
||||
name: Dimmer
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: echo-1
|
||||
name: Echo 1
|
||||
@@ -31,7 +32,7 @@ external_components:
|
||||
# components: [ speaker, rtttl ]
|
||||
# refresh: 0s
|
||||
- source: github://pr#5177
|
||||
components: [ rtttl ]
|
||||
components: [rtttl]
|
||||
refresh: 0s
|
||||
|
||||
packages:
|
||||
@@ -48,10 +49,10 @@ api:
|
||||
rtttl: !lambda 'return song;'
|
||||
|
||||
# i2c:
|
||||
# sda: 26
|
||||
# scl: 32
|
||||
# scan: true #false
|
||||
# frequency: 100kHz
|
||||
# - sda: 26
|
||||
# scl: 32
|
||||
# scan: true #false
|
||||
# frequency: 100kHz
|
||||
|
||||
# uart:
|
||||
# id: particle_uart
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: echo
|
||||
name: Echo
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: eworkbench
|
||||
name: Electronics Workbench
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: fireplace
|
||||
name: Heating Fireplace
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: gate
|
||||
name: Gate
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: gateway
|
||||
name: Gateway
|
||||
@@ -73,19 +74,19 @@ ethernet:
|
||||
# clk_mode: GPIO17_OUT
|
||||
# phy_addr: 0
|
||||
# power_pin: 12
|
||||
# use_address: 10.17.240.245
|
||||
# use_address: 10.17.240.245
|
||||
|
||||
# # Optional manual IP
|
||||
# manual_ip:
|
||||
# static_ip: 10.17.240.254
|
||||
# gateway: 10.17.240.1
|
||||
# subnet: 255.255.255.0
|
||||
# # Optional manual IP
|
||||
# manual_ip:
|
||||
# static_ip: 10.17.240.254
|
||||
# gateway: 10.17.240.1
|
||||
# subnet: 255.255.255.0
|
||||
|
||||
|
||||
# ethernet:
|
||||
# use_address: 10.17.241.254
|
||||
# use_address: 10.17.241.98
|
||||
# use_address: mcu-gateway.local
|
||||
# use_address: 10.17.241.254
|
||||
# use_address: 10.17.241.98
|
||||
# use_address: mcu-gateway.local
|
||||
|
||||
uart:
|
||||
id: uart_modbus
|
||||
@@ -190,17 +191,17 @@ sensor:
|
||||
register_count: 2
|
||||
filters:
|
||||
- calibrate_linear:
|
||||
- 50 -> 0
|
||||
- 450 -> 5
|
||||
- 50 -> 0
|
||||
- 450 -> 5
|
||||
|
||||
switch:
|
||||
- platform: modbus_controller
|
||||
modbus_controller_id: modbus_adc_1
|
||||
name: Readress MODBUS
|
||||
register_type: holding
|
||||
address: 0x00FD
|
||||
entity_category: config
|
||||
icon: "mdi:toggle-switch"
|
||||
- platform: modbus_controller
|
||||
modbus_controller_id: modbus_adc_1
|
||||
name: Readress MODBUS
|
||||
register_type: holding
|
||||
address: 0x00FD
|
||||
entity_category: config
|
||||
icon: "mdi:toggle-switch"
|
||||
|
||||
esp32_ble_tracker:
|
||||
scan_parameters:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: heater
|
||||
name: Heater
|
||||
@@ -248,13 +249,13 @@ switch:
|
||||
sensor:
|
||||
# - platform: ds248x
|
||||
- platform: dallas_temp
|
||||
# [22:06:25][D][dallas.sensor:082]: 0x1701143E35C5AA28 Feed
|
||||
# [22:06:25][D][dallas.sensor:082]: 0x7301143F7F57AA28 Return
|
||||
# [22:06:25][D][dallas.sensor:082]: 0xF701143E397FAA28 Heater Tank
|
||||
# [22:06:25][D][dallas.sensor:082]: 0x5A041750B2C8FF28 Hot Water Tank - Bottom (Solar)
|
||||
# [22:06:25][D][dallas.sensor:082]: 0xDB041750EAE2FF28 Heating Water Return (OUT from System, TO Heater)
|
||||
# [22:06:25][D][dallas.sensor:082]: 0xB2041750CF1AFF28 Heating Water (OUT from Heater, TO System)
|
||||
# [22:06:25][D][dallas.sensor:082]: 0x960417517301FF28 Hot Water Tank - TOP (Heater)
|
||||
# [22:06:25][D][dallas.sensor:082]: 0x1701143E35C5AA28 Feed
|
||||
# [22:06:25][D][dallas.sensor:082]: 0x7301143F7F57AA28 Return
|
||||
# [22:06:25][D][dallas.sensor:082]: 0xF701143E397FAA28 Heater Tank
|
||||
# [22:06:25][D][dallas.sensor:082]: 0x5A041750B2C8FF28 Hot Water Tank - Bottom (Solar)
|
||||
# [22:06:25][D][dallas.sensor:082]: 0xDB041750EAE2FF28 Heating Water Return (OUT from System, TO Heater)
|
||||
# [22:06:25][D][dallas.sensor:082]: 0xB2041750CF1AFF28 Heating Water (OUT from Heater, TO System)
|
||||
# [22:06:25][D][dallas.sensor:082]: 0x960417517301FF28 Hot Water Tank - TOP (Heater)
|
||||
# address: 0x320417500A93FF28 # 1. broken
|
||||
# address: 0x67041750F44CFF28 # 2. broken
|
||||
address: 0x960417517301FF28 # Hot Water Tank - TOP (Heater)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: kitchen
|
||||
name: Kitchen
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: lightening
|
||||
name: Lightening detector
|
||||
@@ -16,9 +17,6 @@ esp32:
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
external_components:
|
||||
- source: components
|
||||
|
||||
packages:
|
||||
common: !include common/common.yaml
|
||||
|
||||
@@ -38,11 +36,11 @@ as3935_i2c:
|
||||
irq_pin: 26
|
||||
|
||||
binary_sensor:
|
||||
# - platform: gpio
|
||||
# # name: Button
|
||||
# pin:
|
||||
# number: 39
|
||||
# inverted: true
|
||||
# - platform: gpio
|
||||
# # name: Button
|
||||
# pin:
|
||||
# number: 39
|
||||
# inverted: true
|
||||
- platform: as3935
|
||||
name: Storm Alert
|
||||
|
||||
@@ -62,4 +60,3 @@ sensor:
|
||||
name: Energy
|
||||
distance:
|
||||
name: Storm Distance
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: lvgl-eworkbench
|
||||
name: Electronics Workbench Display
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: lvgl-trainer
|
||||
name: Trainer Display
|
||||
@@ -141,8 +142,8 @@ touchscreen:
|
||||
i2c_id: touchscreen_bus
|
||||
update_interval: 100ms
|
||||
# interrupt_pin:
|
||||
# number: 3
|
||||
# ignore_strapping_warning: true
|
||||
# number: 3
|
||||
# ignore_strapping_warning: true
|
||||
calibration:
|
||||
x_min: 0
|
||||
x_max: 479
|
||||
@@ -209,14 +210,14 @@ lvgl:
|
||||
log_level: WARN
|
||||
color_depth: 16
|
||||
default_font: montserrat_18
|
||||
# on_idle:
|
||||
# - timeout: !lambda "return (id(display_timeout).state * 1000);"
|
||||
# then:
|
||||
# - logger.log: "LVGL is idle"
|
||||
# - light.turn_off:
|
||||
# id: display_backlight
|
||||
# transition_length: 2500ms
|
||||
# - lvgl.pause:
|
||||
# on_idle:
|
||||
# - timeout: !lambda "return (id(display_timeout).state * 1000);"
|
||||
# then:
|
||||
# - logger.log: "LVGL is idle"
|
||||
# - light.turn_off:
|
||||
# id: display_backlight
|
||||
# transition_length: 2500ms
|
||||
# - lvgl.pause:
|
||||
top_layer:
|
||||
widgets:
|
||||
- buttonmatrix:
|
||||
@@ -229,21 +230,21 @@ lvgl:
|
||||
# styles: header_footer
|
||||
rows:
|
||||
- buttons:
|
||||
- id: page_prev
|
||||
text: "\uF053"
|
||||
on_press:
|
||||
then:
|
||||
lvgl.page.previous:
|
||||
- id: page_home
|
||||
text: "\uF015"
|
||||
on_press:
|
||||
then:
|
||||
lvgl.page.show: main_page
|
||||
- id: page_next
|
||||
text: "\uF054"
|
||||
on_press:
|
||||
then:
|
||||
lvgl.page.next:
|
||||
- id: page_prev
|
||||
text: "\uF053"
|
||||
on_press:
|
||||
then:
|
||||
lvgl.page.previous:
|
||||
- id: page_home
|
||||
text: "\uF015"
|
||||
on_press:
|
||||
then:
|
||||
lvgl.page.show: main_page
|
||||
- id: page_next
|
||||
text: "\uF054"
|
||||
on_press:
|
||||
then:
|
||||
lvgl.page.next:
|
||||
pages:
|
||||
- id: main_page
|
||||
widgets:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: lvgl
|
||||
name: LVGL
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: m5paper
|
||||
name: M5Paper
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: mains-power
|
||||
name: Mains Power
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
esphome:
|
||||
name: mcu-nrf-dk
|
||||
friendly_name: mcu-nrf-dk
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: nspanel-bedroom
|
||||
name: Bedroom NSPanel
|
||||
@@ -26,8 +27,6 @@ esp32:
|
||||
type: esp-idf
|
||||
advanced:
|
||||
minimum_chip_revision: "3.0"
|
||||
include_builtin_idf_components:
|
||||
- esp_http_client
|
||||
|
||||
external_components:
|
||||
- source:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: nspanel-dev
|
||||
name: NSPanel DEV
|
||||
@@ -87,7 +88,7 @@ api:
|
||||
# - delay: 10s
|
||||
# - lambda: 'id(nspanel_id).send_custom_command("notify~~");'
|
||||
|
||||
# DISABLED until https://github.com/olicooper/esphome-nspanel-lovelace-native/issues/20 is fixed
|
||||
# DISABLED until https://github.com/olicooper/esphome-nspanel-lovelace-native/issues/20 is fixed
|
||||
# - service: update_tft
|
||||
# then:
|
||||
# - lambda: |-
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: nspanel-fireplace
|
||||
name: Fireplace NSPanel
|
||||
@@ -24,8 +25,6 @@ esp32:
|
||||
type: esp-idf
|
||||
advanced:
|
||||
minimum_chip_revision: "3.0"
|
||||
include_builtin_idf_components:
|
||||
- esp_http_client
|
||||
|
||||
external_components:
|
||||
- source:
|
||||
@@ -189,7 +188,7 @@ binary_sensor:
|
||||
number: 14
|
||||
inverted: true
|
||||
on_click:
|
||||
# - switch.toggle: relay_1
|
||||
# - switch.toggle: relay_1
|
||||
- min_length: 50ms
|
||||
max_length: 350ms
|
||||
then:
|
||||
@@ -219,7 +218,7 @@ binary_sensor:
|
||||
number: 27
|
||||
inverted: true
|
||||
on_click:
|
||||
# - switch.toggle: relay_2
|
||||
# - switch.toggle: relay_2
|
||||
- min_length: 50ms
|
||||
max_length: 350ms
|
||||
then:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: nspanel-office-j
|
||||
name: Office J NSPanel
|
||||
@@ -25,8 +26,6 @@ esp32:
|
||||
type: esp-idf
|
||||
advanced:
|
||||
minimum_chip_revision: "3.0"
|
||||
include_builtin_idf_components:
|
||||
- esp_http_client
|
||||
|
||||
external_components:
|
||||
- source:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: nspanel-office-r
|
||||
name: Office R NSPanel
|
||||
@@ -26,8 +27,6 @@ esp32:
|
||||
advanced:
|
||||
enable_lwip_mdns_queries: true
|
||||
minimum_chip_revision: "3.0"
|
||||
include_builtin_idf_components:
|
||||
- esp_http_client
|
||||
|
||||
external_components:
|
||||
- source:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: nspanel-patio
|
||||
name: Patio NSPanel
|
||||
@@ -24,8 +25,6 @@ esp32:
|
||||
type: esp-idf
|
||||
advanced:
|
||||
minimum_chip_revision: "3.0"
|
||||
include_builtin_idf_components:
|
||||
- esp_http_client
|
||||
|
||||
external_components:
|
||||
- source:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: office-r
|
||||
name: Office R
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: patio
|
||||
name: Patio
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: pow-dishwasher
|
||||
name: Dishwasher POW
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: pow-washer
|
||||
name: Washer POW
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: rf433
|
||||
name: RF433 Bridge
|
||||
@@ -28,11 +29,11 @@ remote_transmitter:
|
||||
carrier_duty_percent: 100%
|
||||
|
||||
binary_sensor:
|
||||
# Key Fob remote
|
||||
# A: 011110110011101010100010
|
||||
# B: 011110110011101010101000
|
||||
# C: 011110110011101010100001
|
||||
# D: 011110110011101010100100
|
||||
# Key Fob remote
|
||||
# A: 011110110011101010100010
|
||||
# B: 011110110011101010101000
|
||||
# C: 011110110011101010100001
|
||||
# D: 011110110011101010100100
|
||||
- platform: remote_receiver
|
||||
name: "Keyfob Remote Button A"
|
||||
rc_switch_raw:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: rfid-reader
|
||||
name: RFID Reader
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: shed
|
||||
name: Shed
|
||||
@@ -37,18 +38,18 @@ binary_sensor:
|
||||
number: 6
|
||||
inverted: true
|
||||
on_click:
|
||||
- min_length: 50ms
|
||||
max_length: 350ms
|
||||
then:
|
||||
- switch.toggle: shed_light_relay
|
||||
- min_length: 351ms
|
||||
max_length: 1000ms
|
||||
then:
|
||||
- switch.toggle: garden_light_relay
|
||||
- min_length: 1001ms
|
||||
max_length: 10000ms
|
||||
then:
|
||||
- switch.toggle: socket_relay
|
||||
- min_length: 50ms
|
||||
max_length: 350ms
|
||||
then:
|
||||
- switch.toggle: shed_light_relay
|
||||
- min_length: 351ms
|
||||
max_length: 1000ms
|
||||
then:
|
||||
- switch.toggle: garden_light_relay
|
||||
- min_length: 1001ms
|
||||
max_length: 10000ms
|
||||
then:
|
||||
- switch.toggle: socket_relay
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: socket-01
|
||||
name: Socket 01
|
||||
@@ -99,8 +100,8 @@ sensor:
|
||||
name: Total Daily Power"
|
||||
power_id: power
|
||||
filters:
|
||||
# Multiplication factor from W to kW is 0.001
|
||||
- multiply: 0.001
|
||||
# Multiplication factor from W to kW is 0.001
|
||||
- multiply: 0.001
|
||||
unit_of_measurement: kWh
|
||||
icon: mdi:circle-slice-3
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: socket-02
|
||||
device_id: socket_02
|
||||
@@ -101,8 +102,8 @@ sensor:
|
||||
name: Total Daily Power
|
||||
power_id: power
|
||||
filters:
|
||||
# Multiplication factor from W to kW is 0.001
|
||||
- multiply: 0.001
|
||||
# Multiplication factor from W to kW is 0.001
|
||||
- multiply: 0.001
|
||||
unit_of_measurement: kWh
|
||||
icon: mdi:circle-slice-3
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: socket-03
|
||||
name: Socket 03
|
||||
@@ -122,8 +123,8 @@ sensor:
|
||||
power_id: power
|
||||
accuracy_decimals: 5
|
||||
filters:
|
||||
# Multiplication factor from W to kW is 0.001
|
||||
- multiply: 0.001
|
||||
# Multiplication factor from W to kW is 0.001
|
||||
- multiply: 0.001
|
||||
unit_of_measurement: kWh
|
||||
icon: mdi:circle-slice-3
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: staircase-light
|
||||
name: Staircase
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: tft
|
||||
name: TFT
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: tracker
|
||||
name: Tracker
|
||||
@@ -94,11 +95,11 @@ external_components:
|
||||
type: git
|
||||
url: https://github.com/crossan007/esphome
|
||||
ref: "feature/AXP192"
|
||||
components: [ axp192 ]
|
||||
components: [axp192]
|
||||
- source: github://pr#6721
|
||||
components: [ network, modem ]
|
||||
components: [network, modem]
|
||||
- source: github://pr#9802
|
||||
components: [ modem ]
|
||||
components: [modem]
|
||||
|
||||
# packages:
|
||||
# common: !include common/common.yaml
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: tv-light
|
||||
name: TV Light
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: vehicle-honda-pcx125
|
||||
name: Vehicle Honda PCX125
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: vehicle-suzuki-dl650
|
||||
name: Vehicle Suzuki DL650
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: vehicle-toyota-auris-ts
|
||||
name: Vehicle Toyota Auris TS
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: vehicle-toyota-yaris-cross
|
||||
name: Vehicle Toyota Yaris Cross
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: waterproof-socket
|
||||
name: Waterproof Socket
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
substitutions:
|
||||
device: well
|
||||
name: Well
|
||||
|
||||
Reference in New Issue
Block a user