Add some components to the new testing framework (R) (#6219)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Keith Burzinski 2024-04-22 23:53:13 -05:00 committed by GitHub
parent eb89d99999
commit 7e5b100b77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
91 changed files with 1632 additions and 0 deletions

View File

@ -0,0 +1,3 @@
esp32_ble_tracker:
radon_eye_ble:

View File

@ -0,0 +1,3 @@
esp32_ble_tracker:
radon_eye_ble:

View File

@ -0,0 +1,3 @@
esp32_ble_tracker:
radon_eye_ble:

View File

@ -0,0 +1,3 @@
esp32_ble_tracker:
radon_eye_ble:

View File

@ -0,0 +1,14 @@
esp32_ble_tracker:
ble_client:
- mac_address: 01:02:03:04:05:06
id: radon_eye_blec
sensor:
- platform: radon_eye_rd200
ble_client_id: radon_eye_blec
radon:
name: RD200 Radon
radon_long_term:
name: RD200 Radon Long Term
update_interval: 10min

View File

@ -0,0 +1,14 @@
esp32_ble_tracker:
ble_client:
- mac_address: 01:02:03:04:05:06
id: radon_eye_blec
sensor:
- platform: radon_eye_rd200
ble_client_id: radon_eye_blec
radon:
name: RD200 Radon
radon_long_term:
name: RD200 Radon Long Term
update_interval: 10min

View File

@ -0,0 +1,14 @@
esp32_ble_tracker:
ble_client:
- mac_address: 01:02:03:04:05:06
id: radon_eye_blec
sensor:
- platform: radon_eye_rd200
ble_client_id: radon_eye_blec
radon:
name: RD200 Radon
radon_long_term:
name: RD200 Radon Long Term
update_interval: 10min

View File

@ -0,0 +1,14 @@
esp32_ble_tracker:
ble_client:
- mac_address: 01:02:03:04:05:06
id: radon_eye_blec
sensor:
- platform: radon_eye_rd200
ble_client_id: radon_eye_blec
radon:
name: RD200 Radon
radon_long_term:
name: RD200 Radon Long Term
update_interval: 10min

View File

@ -0,0 +1,17 @@
i2c:
- id: i2c_rc522
scl: 5
sda: 4
rc522_i2c:
- id: rc522_nfcc
update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: RC522 NFC Tag
uid: 74-10-37-94

View File

@ -0,0 +1,17 @@
i2c:
- id: i2c_rc522
scl: 5
sda: 4
rc522_i2c:
- id: rc522_nfcc
update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: RC522 NFC Tag
uid: 74-10-37-94

View File

@ -0,0 +1,17 @@
i2c:
- id: i2c_rc522
scl: 16
sda: 17
rc522_i2c:
- id: rc522_nfcc
update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: RC522 NFC Tag
uid: 74-10-37-94

View File

@ -0,0 +1,17 @@
i2c:
- id: i2c_rc522
scl: 16
sda: 17
rc522_i2c:
- id: rc522_nfcc
update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: RC522 NFC Tag
uid: 74-10-37-94

View File

@ -0,0 +1,17 @@
i2c:
- id: i2c_rc522
scl: 5
sda: 4
rc522_i2c:
- id: rc522_nfcc
update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: RC522 NFC Tag
uid: 74-10-37-94

View File

@ -0,0 +1,17 @@
i2c:
- id: i2c_rc522
scl: 5
sda: 4
rc522_i2c:
- id: rc522_nfcc
update_interval: 1s
on_tag:
- lambda: |-
ESP_LOGD("main", "Found tag %s", x.c_str());
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: RC522 NFC Tag
uid: 74-10-37-94

View File

@ -0,0 +1,15 @@
spi:
- id: spi_rc522
clk_pin: 6
mosi_pin: 7
miso_pin: 5
rc522_spi:
id: rc522_nfcc
cs_pin: 4
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: PN532 NFC Tag
uid: 74-10-37-94

View File

@ -0,0 +1,15 @@
spi:
- id: spi_rc522
clk_pin: 6
mosi_pin: 7
miso_pin: 5
rc522_spi:
id: rc522_nfcc
cs_pin: 4
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: PN532 NFC Tag
uid: 74-10-37-94

View File

@ -0,0 +1,15 @@
spi:
- id: spi_rc522
clk_pin: 16
mosi_pin: 17
miso_pin: 15
rc522_spi:
id: rc522_nfcc
cs_pin: 12
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: PN532 NFC Tag
uid: 74-10-37-94

View File

@ -0,0 +1,15 @@
spi:
- id: spi_rc522
clk_pin: 16
mosi_pin: 17
miso_pin: 15
rc522_spi:
id: rc522_nfcc
cs_pin: 12
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: PN532 NFC Tag
uid: 74-10-37-94

View File

@ -0,0 +1,15 @@
spi:
- id: spi_rc522
clk_pin: 14
mosi_pin: 13
miso_pin: 12
rc522_spi:
id: rc522_nfcc
cs_pin: 15
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: PN532 NFC Tag
uid: 74-10-37-94

View File

@ -0,0 +1,15 @@
spi:
- id: spi_rc522
clk_pin: 2
mosi_pin: 3
miso_pin: 4
rc522_spi:
id: rc522_nfcc
cs_pin: 6
binary_sensor:
- platform: rc522
rc522_id: rc522_nfcc
name: PN532 NFC Tag
uid: 74-10-37-94

View File

@ -0,0 +1,12 @@
uart:
- id: uart_rdm6300
tx_pin: 4
rx_pin: 5
baud_rate: 115200
rdm6300:
binary_sensor:
- platform: rdm6300
uid: 7616525
name: RDM6300 NFC Tag

View File

@ -0,0 +1,12 @@
uart:
- id: uart_rdm6300
tx_pin: 4
rx_pin: 5
baud_rate: 115200
rdm6300:
binary_sensor:
- platform: rdm6300
uid: 7616525
name: RDM6300 NFC Tag

View File

@ -0,0 +1,12 @@
uart:
- id: uart_rdm6300
tx_pin: 17
rx_pin: 16
baud_rate: 115200
rdm6300:
binary_sensor:
- platform: rdm6300
uid: 7616525
name: RDM6300 NFC Tag

View File

@ -0,0 +1,12 @@
uart:
- id: uart_rdm6300
tx_pin: 17
rx_pin: 16
baud_rate: 115200
rdm6300:
binary_sensor:
- platform: rdm6300
uid: 7616525
name: RDM6300 NFC Tag

View File

@ -0,0 +1,12 @@
uart:
- id: uart_rdm6300
tx_pin: 4
rx_pin: 5
baud_rate: 115200
rdm6300:
binary_sensor:
- platform: rdm6300
uid: 7616525
name: RDM6300 NFC Tag

View File

@ -0,0 +1,12 @@
uart:
- id: uart_rdm6300
tx_pin: 4
rx_pin: 5
baud_rate: 115200
rdm6300:
binary_sensor:
- platform: rdm6300
uid: 7616525
name: RDM6300 NFC Tag

View File

@ -0,0 +1,12 @@
sensor:
- platform: adc
id: my_sensor
pin: 4
attenuation: 11db
- platform: resistance
sensor: my_sensor
configuration: DOWNSTREAM
resistor: 10kΩ
reference_voltage: 3.3V
name: Resistance
id: resist

View File

@ -0,0 +1,12 @@
sensor:
- platform: adc
id: my_sensor
pin: 32
attenuation: 11db
- platform: resistance
sensor: my_sensor
configuration: DOWNSTREAM
resistor: 10kΩ
reference_voltage: 3.3V
name: Resistance
id: resist

View File

@ -0,0 +1,12 @@
sensor:
- platform: adc
id: my_sensor
pin: 1
attenuation: 11db
- platform: resistance
sensor: my_sensor
configuration: DOWNSTREAM
resistor: 10kΩ
reference_voltage: 3.3V
name: Resistance
id: resist

View File

@ -0,0 +1,12 @@
sensor:
- platform: adc
id: my_sensor
pin: 1
attenuation: 11db
- platform: resistance
sensor: my_sensor
configuration: DOWNSTREAM
resistor: 10kΩ
reference_voltage: 3.3V
name: Resistance
id: resist

View File

@ -0,0 +1,12 @@
sensor:
- platform: adc
id: my_sensor
pin: 32
attenuation: 11db
- platform: resistance
sensor: my_sensor
configuration: DOWNSTREAM
resistor: 10kΩ
reference_voltage: 3.3V
name: Resistance
id: resist

View File

@ -0,0 +1,11 @@
sensor:
- platform: adc
id: my_sensor
pin: VCC
- platform: resistance
sensor: my_sensor
configuration: DOWNSTREAM
resistor: 10kΩ
reference_voltage: 3.3V
name: Resistance
id: resist

View File

@ -0,0 +1,12 @@
sensor:
- platform: adc
id: my_sensor
name: VSYS
pin: VCC
- platform: resistance
sensor: my_sensor
configuration: DOWNSTREAM
resistor: 10kΩ
reference_voltage: 3.3V
name: Resistance
id: resist

View File

@ -0,0 +1,7 @@
button:
- platform: restart
name: Restart Button
switch:
- platform: restart
name: Restart Switch

View File

@ -0,0 +1,7 @@
button:
- platform: restart
name: Restart Button
switch:
- platform: restart
name: Restart Switch

View File

@ -0,0 +1,7 @@
button:
- platform: restart
name: Restart Button
switch:
- platform: restart
name: Restart Switch

View File

@ -0,0 +1,7 @@
button:
- platform: restart
name: Restart Button
switch:
- platform: restart
name: Restart Switch

View File

@ -0,0 +1,7 @@
button:
- platform: restart
name: Restart Button
switch:
- platform: restart
name: Restart Switch

View File

@ -0,0 +1,7 @@
button:
- platform: restart
name: Restart Button
switch:
- platform: restart
name: Restart Switch

View File

@ -0,0 +1,35 @@
uart:
- id: uart_rf_bridge
tx_pin: 4
rx_pin: 5
baud_rate: 115200
rf_bridge:
on_code_received:
- lambda: |-
uint32_t test;
test = data.sync;
test = data.low;
test = data.high;
test = data.code;
- rf_bridge.send_code:
sync: 0x1234
low: 0x1234
high: 0x1234
code: 0x123456
- rf_bridge.learn
on_advanced_code_received:
- lambda: |-
uint32_t test;
std::string test_code;
test = data.length;
test = data.protocol;
test_code = data.code;
- rf_bridge.start_advanced_sniffing:
- rf_bridge.stop_advanced_sniffing:
- rf_bridge.send_advanced_code:
length: 0x04
protocol: 0x01
code: "ABC123"
- rf_bridge.send_raw:
raw: "AAA5070008001000ABC12355"

View File

@ -0,0 +1,35 @@
uart:
- id: uart_rf_bridge
tx_pin: 4
rx_pin: 5
baud_rate: 115200
rf_bridge:
on_code_received:
- lambda: |-
uint32_t test;
test = data.sync;
test = data.low;
test = data.high;
test = data.code;
- rf_bridge.send_code:
sync: 0x1234
low: 0x1234
high: 0x1234
code: 0x123456
- rf_bridge.learn
on_advanced_code_received:
- lambda: |-
uint32_t test;
std::string test_code;
test = data.length;
test = data.protocol;
test_code = data.code;
- rf_bridge.start_advanced_sniffing:
- rf_bridge.stop_advanced_sniffing:
- rf_bridge.send_advanced_code:
length: 0x04
protocol: 0x01
code: "ABC123"
- rf_bridge.send_raw:
raw: "AAA5070008001000ABC12355"

View File

@ -0,0 +1,35 @@
uart:
- id: uart_rf_bridge
tx_pin: 17
rx_pin: 16
baud_rate: 115200
rf_bridge:
on_code_received:
- lambda: |-
uint32_t test;
test = data.sync;
test = data.low;
test = data.high;
test = data.code;
- rf_bridge.send_code:
sync: 0x1234
low: 0x1234
high: 0x1234
code: 0x123456
- rf_bridge.learn
on_advanced_code_received:
- lambda: |-
uint32_t test;
std::string test_code;
test = data.length;
test = data.protocol;
test_code = data.code;
- rf_bridge.start_advanced_sniffing:
- rf_bridge.stop_advanced_sniffing:
- rf_bridge.send_advanced_code:
length: 0x04
protocol: 0x01
code: "ABC123"
- rf_bridge.send_raw:
raw: "AAA5070008001000ABC12355"

View File

@ -0,0 +1,35 @@
uart:
- id: uart_rf_bridge
tx_pin: 17
rx_pin: 16
baud_rate: 115200
rf_bridge:
on_code_received:
- lambda: |-
uint32_t test;
test = data.sync;
test = data.low;
test = data.high;
test = data.code;
- rf_bridge.send_code:
sync: 0x1234
low: 0x1234
high: 0x1234
code: 0x123456
- rf_bridge.learn
on_advanced_code_received:
- lambda: |-
uint32_t test;
std::string test_code;
test = data.length;
test = data.protocol;
test_code = data.code;
- rf_bridge.start_advanced_sniffing:
- rf_bridge.stop_advanced_sniffing:
- rf_bridge.send_advanced_code:
length: 0x04
protocol: 0x01
code: "ABC123"
- rf_bridge.send_raw:
raw: "AAA5070008001000ABC12355"

View File

@ -0,0 +1,35 @@
uart:
- id: uart_rf_bridge
tx_pin: 4
rx_pin: 5
baud_rate: 115200
rf_bridge:
on_code_received:
- lambda: |-
uint32_t test;
test = data.sync;
test = data.low;
test = data.high;
test = data.code;
- rf_bridge.send_code:
sync: 0x1234
low: 0x1234
high: 0x1234
code: 0x123456
- rf_bridge.learn
on_advanced_code_received:
- lambda: |-
uint32_t test;
std::string test_code;
test = data.length;
test = data.protocol;
test_code = data.code;
- rf_bridge.start_advanced_sniffing:
- rf_bridge.stop_advanced_sniffing:
- rf_bridge.send_advanced_code:
length: 0x04
protocol: 0x01
code: "ABC123"
- rf_bridge.send_raw:
raw: "AAA5070008001000ABC12355"

View File

@ -0,0 +1,35 @@
uart:
- id: uart_rf_bridge
tx_pin: 4
rx_pin: 5
baud_rate: 115200
rf_bridge:
on_code_received:
- lambda: |-
uint32_t test;
test = data.sync;
test = data.low;
test = data.high;
test = data.code;
- rf_bridge.send_code:
sync: 0x1234
low: 0x1234
high: 0x1234
code: 0x123456
- rf_bridge.learn
on_advanced_code_received:
- lambda: |-
uint32_t test;
std::string test_code;
test = data.length;
test = data.protocol;
test_code = data.code;
- rf_bridge.start_advanced_sniffing:
- rf_bridge.stop_advanced_sniffing:
- rf_bridge.send_advanced_code:
length: 0x04
protocol: 0x01
code: "ABC123"
- rf_bridge.send_raw:
raw: "AAA5070008001000ABC12355"

View File

@ -0,0 +1,18 @@
output:
- platform: ledc
id: light_output_1
pin: 1
- platform: ledc
id: light_output_2
pin: 2
- platform: ledc
id: light_output_3
pin: 3
light:
- platform: rgb
name: RGB Light
id: rgb_light
red: light_output_1
green: light_output_2
blue: light_output_3

View File

@ -0,0 +1,18 @@
output:
- platform: ledc
id: light_output_1
pin: 1
- platform: ledc
id: light_output_2
pin: 2
- platform: ledc
id: light_output_3
pin: 3
light:
- platform: rgb
name: RGB Light
id: rgb_light
red: light_output_1
green: light_output_2
blue: light_output_3

View File

@ -0,0 +1,18 @@
output:
- platform: ledc
id: light_output_1
pin: 12
- platform: ledc
id: light_output_2
pin: 13
- platform: ledc
id: light_output_3
pin: 14
light:
- platform: rgb
name: RGB Light
id: rgb_light
red: light_output_1
green: light_output_2
blue: light_output_3

View File

@ -0,0 +1,18 @@
output:
- platform: ledc
id: light_output_1
pin: 12
- platform: ledc
id: light_output_2
pin: 13
- platform: ledc
id: light_output_3
pin: 14
light:
- platform: rgb
name: RGB Light
id: rgb_light
red: light_output_1
green: light_output_2
blue: light_output_3

View File

@ -0,0 +1,18 @@
output:
- platform: esp8266_pwm
id: light_output_1
pin: 12
- platform: esp8266_pwm
id: light_output_2
pin: 13
- platform: esp8266_pwm
id: light_output_3
pin: 14
light:
- platform: rgb
name: RGB Light
id: rgb_light
red: light_output_1
green: light_output_2
blue: light_output_3

View File

@ -0,0 +1,18 @@
output:
- platform: rp2040_pwm
id: light_output_1
pin: 12
- platform: rp2040_pwm
id: light_output_2
pin: 13
- platform: rp2040_pwm
id: light_output_3
pin: 14
light:
- platform: rgb
name: RGB Light
id: rgb_light
red: light_output_1
green: light_output_2
blue: light_output_3

View File

@ -0,0 +1,28 @@
output:
- platform: ledc
id: light_output_1
pin: 1
- platform: ledc
id: light_output_2
pin: 2
- platform: ledc
id: light_output_3
pin: 3
- platform: ledc
id: light_output_4
pin: 4
- platform: ledc
id: light_output_5
pin: 5
light:
- platform: rgbct
name: RGBCT Light
red: light_output_1
green: light_output_2
blue: light_output_3
color_temperature: light_output_4
white_brightness: light_output_5
cold_white_color_temperature: 153 mireds
warm_white_color_temperature: 500 mireds
color_interlock: true

View File

@ -0,0 +1,28 @@
output:
- platform: ledc
id: light_output_1
pin: 1
- platform: ledc
id: light_output_2
pin: 2
- platform: ledc
id: light_output_3
pin: 3
- platform: ledc
id: light_output_4
pin: 4
- platform: ledc
id: light_output_5
pin: 5
light:
- platform: rgbct
name: RGBCT Light
red: light_output_1
green: light_output_2
blue: light_output_3
color_temperature: light_output_4
white_brightness: light_output_5
cold_white_color_temperature: 153 mireds
warm_white_color_temperature: 500 mireds
color_interlock: true

View File

@ -0,0 +1,28 @@
output:
- platform: ledc
id: light_output_1
pin: 12
- platform: ledc
id: light_output_2
pin: 13
- platform: ledc
id: light_output_3
pin: 14
- platform: ledc
id: light_output_4
pin: 15
- platform: ledc
id: light_output_5
pin: 16
light:
- platform: rgbct
name: RGBCT Light
red: light_output_1
green: light_output_2
blue: light_output_3
color_temperature: light_output_4
white_brightness: light_output_5
cold_white_color_temperature: 153 mireds
warm_white_color_temperature: 500 mireds
color_interlock: true

View File

@ -0,0 +1,28 @@
output:
- platform: ledc
id: light_output_1
pin: 12
- platform: ledc
id: light_output_2
pin: 13
- platform: ledc
id: light_output_3
pin: 14
- platform: ledc
id: light_output_4
pin: 15
- platform: ledc
id: light_output_5
pin: 16
light:
- platform: rgbct
name: RGBCT Light
red: light_output_1
green: light_output_2
blue: light_output_3
color_temperature: light_output_4
white_brightness: light_output_5
cold_white_color_temperature: 153 mireds
warm_white_color_temperature: 500 mireds
color_interlock: true

View File

@ -0,0 +1,28 @@
output:
- platform: esp8266_pwm
id: light_output_1
pin: 12
- platform: esp8266_pwm
id: light_output_2
pin: 13
- platform: esp8266_pwm
id: light_output_3
pin: 14
- platform: esp8266_pwm
id: light_output_4
pin: 15
- platform: esp8266_pwm
id: light_output_5
pin: 16
light:
- platform: rgbct
name: RGBCT Light
red: light_output_1
green: light_output_2
blue: light_output_3
color_temperature: light_output_4
white_brightness: light_output_5
cold_white_color_temperature: 153 mireds
warm_white_color_temperature: 500 mireds
color_interlock: true

View File

@ -0,0 +1,28 @@
output:
- platform: rp2040_pwm
id: light_output_1
pin: 12
- platform: rp2040_pwm
id: light_output_2
pin: 13
- platform: rp2040_pwm
id: light_output_3
pin: 14
- platform: rp2040_pwm
id: light_output_4
pin: 15
- platform: rp2040_pwm
id: light_output_5
pin: 16
light:
- platform: rgbct
name: RGBCT Light
red: light_output_1
green: light_output_2
blue: light_output_3
color_temperature: light_output_4
white_brightness: light_output_5
cold_white_color_temperature: 153 mireds
warm_white_color_temperature: 500 mireds
color_interlock: true

View File

@ -0,0 +1,22 @@
output:
- platform: ledc
id: light_output_1
pin: 1
- platform: ledc
id: light_output_2
pin: 2
- platform: ledc
id: light_output_3
pin: 3
- platform: ledc
id: light_output_4
pin: 4
light:
- platform: rgbw
name: RGBW Light
red: light_output_1
green: light_output_2
blue: light_output_3
white: light_output_4
color_interlock: true

View File

@ -0,0 +1,22 @@
output:
- platform: ledc
id: light_output_1
pin: 1
- platform: ledc
id: light_output_2
pin: 2
- platform: ledc
id: light_output_3
pin: 3
- platform: ledc
id: light_output_4
pin: 4
light:
- platform: rgbw
name: RGBW Light
red: light_output_1
green: light_output_2
blue: light_output_3
white: light_output_4
color_interlock: true

View File

@ -0,0 +1,22 @@
output:
- platform: ledc
id: light_output_1
pin: 12
- platform: ledc
id: light_output_2
pin: 13
- platform: ledc
id: light_output_3
pin: 14
- platform: ledc
id: light_output_4
pin: 15
light:
- platform: rgbw
name: RGBW Light
red: light_output_1
green: light_output_2
blue: light_output_3
white: light_output_4
color_interlock: true

View File

@ -0,0 +1,22 @@
output:
- platform: ledc
id: light_output_1
pin: 12
- platform: ledc
id: light_output_2
pin: 13
- platform: ledc
id: light_output_3
pin: 14
- platform: ledc
id: light_output_4
pin: 15
light:
- platform: rgbw
name: RGBW Light
red: light_output_1
green: light_output_2
blue: light_output_3
white: light_output_4
color_interlock: true

View File

@ -0,0 +1,22 @@
output:
- platform: esp8266_pwm
id: light_output_1
pin: 12
- platform: esp8266_pwm
id: light_output_2
pin: 13
- platform: esp8266_pwm
id: light_output_3
pin: 14
- platform: esp8266_pwm
id: light_output_4
pin: 15
light:
- platform: rgbw
name: RGBW Light
red: light_output_1
green: light_output_2
blue: light_output_3
white: light_output_4
color_interlock: true

View File

@ -0,0 +1,22 @@
output:
- platform: rp2040_pwm
id: light_output_1
pin: 12
- platform: rp2040_pwm
id: light_output_2
pin: 13
- platform: rp2040_pwm
id: light_output_3
pin: 14
- platform: rp2040_pwm
id: light_output_4
pin: 15
light:
- platform: rgbw
name: RGBW Light
red: light_output_1
green: light_output_2
blue: light_output_3
white: light_output_4
color_interlock: true

View File

@ -0,0 +1,28 @@
output:
- platform: ledc
id: light_output_1
pin: 1
- platform: ledc
id: light_output_2
pin: 2
- platform: ledc
id: light_output_3
pin: 3
- platform: ledc
id: light_output_4
pin: 4
- platform: ledc
id: light_output_5
pin: 5
light:
- platform: rgbww
name: RGBWW Light
red: light_output_1
green: light_output_2
blue: light_output_3
cold_white: light_output_4
warm_white: light_output_5
cold_white_color_temperature: 153 mireds
warm_white_color_temperature: 500 mireds
color_interlock: true

View File

@ -0,0 +1,28 @@
output:
- platform: ledc
id: light_output_1
pin: 1
- platform: ledc
id: light_output_2
pin: 2
- platform: ledc
id: light_output_3
pin: 3
- platform: ledc
id: light_output_4
pin: 4
- platform: ledc
id: light_output_5
pin: 5
light:
- platform: rgbww
name: RGBWW Light
red: light_output_1
green: light_output_2
blue: light_output_3
cold_white: light_output_4
warm_white: light_output_5
cold_white_color_temperature: 153 mireds
warm_white_color_temperature: 500 mireds
color_interlock: true

View File

@ -0,0 +1,28 @@
output:
- platform: ledc
id: light_output_1
pin: 12
- platform: ledc
id: light_output_2
pin: 13
- platform: ledc
id: light_output_3
pin: 14
- platform: ledc
id: light_output_4
pin: 15
- platform: ledc
id: light_output_5
pin: 16
light:
- platform: rgbww
name: RGBWW Light
red: light_output_1
green: light_output_2
blue: light_output_3
cold_white: light_output_4
warm_white: light_output_5
cold_white_color_temperature: 153 mireds
warm_white_color_temperature: 500 mireds
color_interlock: true

View File

@ -0,0 +1,28 @@
output:
- platform: ledc
id: light_output_1
pin: 12
- platform: ledc
id: light_output_2
pin: 13
- platform: ledc
id: light_output_3
pin: 14
- platform: ledc
id: light_output_4
pin: 15
- platform: ledc
id: light_output_5
pin: 16
light:
- platform: rgbww
name: RGBWW Light
red: light_output_1
green: light_output_2
blue: light_output_3
cold_white: light_output_4
warm_white: light_output_5
cold_white_color_temperature: 153 mireds
warm_white_color_temperature: 500 mireds
color_interlock: true

View File

@ -0,0 +1,28 @@
output:
- platform: esp8266_pwm
id: light_output_1
pin: 12
- platform: esp8266_pwm
id: light_output_2
pin: 13
- platform: esp8266_pwm
id: light_output_3
pin: 14
- platform: esp8266_pwm
id: light_output_4
pin: 15
- platform: esp8266_pwm
id: light_output_5
pin: 16
light:
- platform: rgbww
name: RGBWW Light
red: light_output_1
green: light_output_2
blue: light_output_3
cold_white: light_output_4
warm_white: light_output_5
cold_white_color_temperature: 153 mireds
warm_white_color_temperature: 500 mireds
color_interlock: true

View File

@ -0,0 +1,28 @@
output:
- platform: rp2040_pwm
id: light_output_1
pin: 12
- platform: rp2040_pwm
id: light_output_2
pin: 13
- platform: rp2040_pwm
id: light_output_3
pin: 14
- platform: rp2040_pwm
id: light_output_4
pin: 15
- platform: rp2040_pwm
id: light_output_5
pin: 16
light:
- platform: rgbww
name: RGBWW Light
red: light_output_1
green: light_output_2
blue: light_output_3
cold_white: light_output_4
warm_white: light_output_5
cold_white_color_temperature: 153 mireds
warm_white_color_temperature: 500 mireds
color_interlock: true

View File

@ -0,0 +1,25 @@
sensor:
- platform: rotary_encoder
name: Rotary Encoder
id: rotary_encoder1
pin_a: 3
pin_b: 4
pin_reset: 5
filters:
- or:
- debounce: 0.1s
- delta: 10
resolution: 4
min_value: -10
max_value: 30
on_value:
- sensor.rotary_encoder.set_value:
id: rotary_encoder1
value: 10
- sensor.rotary_encoder.set_value:
id: rotary_encoder1
value: !lambda "return -1;"
on_clockwise:
- logger.log: Clockwise
on_anticlockwise:
- logger.log: Anticlockwise

View File

@ -0,0 +1,25 @@
sensor:
- platform: rotary_encoder
name: Rotary Encoder
id: rotary_encoder1
pin_a: 3
pin_b: 4
pin_reset: 5
filters:
- or:
- debounce: 0.1s
- delta: 10
resolution: 4
min_value: -10
max_value: 30
on_value:
- sensor.rotary_encoder.set_value:
id: rotary_encoder1
value: 10
- sensor.rotary_encoder.set_value:
id: rotary_encoder1
value: !lambda "return -1;"
on_clockwise:
- logger.log: Clockwise
on_anticlockwise:
- logger.log: Anticlockwise

View File

@ -0,0 +1,25 @@
sensor:
- platform: rotary_encoder
name: Rotary Encoder
id: rotary_encoder1
pin_a: 13
pin_b: 14
pin_reset: 15
filters:
- or:
- debounce: 0.1s
- delta: 10
resolution: 4
min_value: -10
max_value: 30
on_value:
- sensor.rotary_encoder.set_value:
id: rotary_encoder1
value: 10
- sensor.rotary_encoder.set_value:
id: rotary_encoder1
value: !lambda "return -1;"
on_clockwise:
- logger.log: Clockwise
on_anticlockwise:
- logger.log: Anticlockwise

View File

@ -0,0 +1,25 @@
sensor:
- platform: rotary_encoder
name: Rotary Encoder
id: rotary_encoder1
pin_a: 13
pin_b: 14
pin_reset: 15
filters:
- or:
- debounce: 0.1s
- delta: 10
resolution: 4
min_value: -10
max_value: 30
on_value:
- sensor.rotary_encoder.set_value:
id: rotary_encoder1
value: 10
- sensor.rotary_encoder.set_value:
id: rotary_encoder1
value: !lambda "return -1;"
on_clockwise:
- logger.log: Clockwise
on_anticlockwise:
- logger.log: Anticlockwise

View File

@ -0,0 +1,25 @@
sensor:
- platform: rotary_encoder
name: Rotary Encoder
id: rotary_encoder1
pin_a: 13
pin_b: 14
pin_reset: 15
filters:
- or:
- debounce: 0.1s
- delta: 10
resolution: 4
min_value: -10
max_value: 30
on_value:
- sensor.rotary_encoder.set_value:
id: rotary_encoder1
value: 10
- sensor.rotary_encoder.set_value:
id: rotary_encoder1
value: !lambda "return -1;"
on_clockwise:
- logger.log: Clockwise
on_anticlockwise:
- logger.log: Anticlockwise

View File

@ -0,0 +1,25 @@
sensor:
- platform: rotary_encoder
name: Rotary Encoder
id: rotary_encoder1
pin_a: 13
pin_b: 14
pin_reset: 15
filters:
- or:
- debounce: 0.1s
- delta: 10
resolution: 4
min_value: -10
max_value: 30
on_value:
- sensor.rotary_encoder.set_value:
id: rotary_encoder1
value: 10
- sensor.rotary_encoder.set_value:
id: rotary_encoder1
value: !lambda "return -1;"
on_clockwise:
- logger.log: Clockwise
on_anticlockwise:
- logger.log: Anticlockwise

View File

@ -0,0 +1,18 @@
light:
- platform: rp2040_pio_led_strip
id: led_strip
pin: 4
num_leds: 60
pio: 0
rgb_order: GRB
chipset: WS2812
- platform: rp2040_pio_led_strip
id: led_strip_custom_timings
pin: 5
num_leds: 60
pio: 1
rgb_order: GRB
bit0_high: .1us
bit0_low: 1.2us
bit1_high: .69us
bit1_low: .4us

View File

@ -0,0 +1,7 @@
output:
- platform: rp2040_pwm
id: light_output_1
pin: 2
- platform: rp2040_pwm
id: light_output_2
pin: 3

View File

@ -0,0 +1,16 @@
esphome:
on_boot:
then:
- rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e'
- rtttl.stop
output:
- platform: ledc
id: rtttl_output
pin: 1
frequency: 1500Hz
channel: 14
max_power: 0.5
rtttl:
output: rtttl_output

View File

@ -0,0 +1,16 @@
esphome:
on_boot:
then:
- rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e'
- rtttl.stop
output:
- platform: ledc
id: rtttl_output
pin: 1
frequency: 1500Hz
channel: 14
max_power: 0.5
rtttl:
output: rtttl_output

View File

@ -0,0 +1,16 @@
esphome:
on_boot:
then:
- rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e'
- rtttl.stop
output:
- platform: ledc
id: rtttl_output
pin: 13
frequency: 1500Hz
channel: 14
max_power: 0.5
rtttl:
output: rtttl_output

View File

@ -0,0 +1,16 @@
esphome:
on_boot:
then:
- rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e'
- rtttl.stop
output:
- platform: ledc
id: rtttl_output
pin: 13
frequency: 1500Hz
channel: 14
max_power: 0.5
rtttl:
output: rtttl_output

View File

@ -0,0 +1,15 @@
esphome:
on_boot:
then:
- rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e'
- rtttl.stop
output:
- platform: esp8266_pwm
id: rtttl_output
pin: 13
frequency: 1500Hz
max_power: 0.5
rtttl:
output: rtttl_output

View File

@ -0,0 +1,15 @@
esphome:
on_boot:
then:
- rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e'
- rtttl.stop
output:
- platform: rp2040_pwm
id: rtttl_output
pin: 3
frequency: 1500Hz
max_power: 0.5
rtttl:
output: rtttl_output

View File

@ -0,0 +1,3 @@
esp32_ble_tracker:
ruuvi_ble:

View File

@ -0,0 +1,3 @@
esp32_ble_tracker:
ruuvi_ble:

View File

@ -0,0 +1,3 @@
esp32_ble_tracker:
ruuvi_ble:

View File

@ -0,0 +1,3 @@
esp32_ble_tracker:
ruuvi_ble:

View File

@ -0,0 +1,27 @@
esp32_ble_tracker:
sensor:
- platform: ruuvitag
mac_address: FF:56:D3:2F:7D:E8
humidity:
name: RuuviTag Humidity
temperature:
name: RuuviTag Temperature
pressure:
name: RuuviTag Pressure
acceleration:
name: RuuviTag Acceleration
acceleration_x:
name: RuuviTag Acceleration X
acceleration_y:
name: RuuviTag Acceleration Y
acceleration_z:
name: RuuviTag Acceleration Z
battery_voltage:
name: RuuviTag Battery Voltage
tx_power:
name: RuuviTag TX Power
movement_counter:
name: RuuviTag Movement Counter
measurement_sequence_number:
name: RuuviTag Measurement Sequence Number

View File

@ -0,0 +1,27 @@
esp32_ble_tracker:
sensor:
- platform: ruuvitag
mac_address: FF:56:D3:2F:7D:E8
humidity:
name: RuuviTag Humidity
temperature:
name: RuuviTag Temperature
pressure:
name: RuuviTag Pressure
acceleration:
name: RuuviTag Acceleration
acceleration_x:
name: RuuviTag Acceleration X
acceleration_y:
name: RuuviTag Acceleration Y
acceleration_z:
name: RuuviTag Acceleration Z
battery_voltage:
name: RuuviTag Battery Voltage
tx_power:
name: RuuviTag TX Power
movement_counter:
name: RuuviTag Movement Counter
measurement_sequence_number:
name: RuuviTag Measurement Sequence Number

View File

@ -0,0 +1,27 @@
esp32_ble_tracker:
sensor:
- platform: ruuvitag
mac_address: FF:56:D3:2F:7D:E8
humidity:
name: RuuviTag Humidity
temperature:
name: RuuviTag Temperature
pressure:
name: RuuviTag Pressure
acceleration:
name: RuuviTag Acceleration
acceleration_x:
name: RuuviTag Acceleration X
acceleration_y:
name: RuuviTag Acceleration Y
acceleration_z:
name: RuuviTag Acceleration Z
battery_voltage:
name: RuuviTag Battery Voltage
tx_power:
name: RuuviTag TX Power
movement_counter:
name: RuuviTag Movement Counter
measurement_sequence_number:
name: RuuviTag Measurement Sequence Number

View File

@ -0,0 +1,27 @@
esp32_ble_tracker:
sensor:
- platform: ruuvitag
mac_address: FF:56:D3:2F:7D:E8
humidity:
name: RuuviTag Humidity
temperature:
name: RuuviTag Temperature
pressure:
name: RuuviTag Pressure
acceleration:
name: RuuviTag Acceleration
acceleration_x:
name: RuuviTag Acceleration X
acceleration_y:
name: RuuviTag Acceleration Y
acceleration_z:
name: RuuviTag Acceleration Z
battery_voltage:
name: RuuviTag Battery Voltage
tx_power:
name: RuuviTag TX Power
movement_counter:
name: RuuviTag Movement Counter
measurement_sequence_number:
name: RuuviTag Measurement Sequence Number