Replace IR raw codes with vendor aware codes.
Add PM1006 particulate matter sensor.
This commit is contained in:
parent
4076296dd1
commit
51f2850338
@ -58,6 +58,11 @@ output:
|
||||
pin: GPIO18
|
||||
id: led_green
|
||||
|
||||
# Initialize UART for Vindriktning sensor
|
||||
uart:
|
||||
rx_pin: GPIO14
|
||||
baud_rate: 9600
|
||||
|
||||
# Create text sensor to represent CO2 LED warn state (somewhat redundant)
|
||||
text_sensor:
|
||||
- platform: template
|
||||
@ -149,39 +154,38 @@ sensor:
|
||||
name: "Schlafzimmer Luftdruck"
|
||||
address: 0x76
|
||||
update_interval: 60s
|
||||
# Vindriktning particulate matter sensor
|
||||
- platform: pm1006
|
||||
pm_2_5:
|
||||
name: "Feinstaub PM 2.5µm"
|
||||
|
||||
# IR Receiver, dumps all received values into serial
|
||||
remote_receiver:
|
||||
pin:
|
||||
number: 23
|
||||
inverted: true
|
||||
inverted: True
|
||||
dump: all
|
||||
|
||||
# IR Transmitter
|
||||
remote_transmitter:
|
||||
pin: GPIO22
|
||||
# Infrared remotes use a 50% carrier signal
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
# Temporary test switches
|
||||
switch:
|
||||
- platform: template
|
||||
name: Yamaha Power Button
|
||||
turn_on_action:
|
||||
- remote_transmitter.transmit_raw:
|
||||
carrier_frequency: 38kHz
|
||||
# Yamaha power button
|
||||
code: [ 9922, -3533, 2643, -699, 1542, -700, 1543, -699, 1540, -702,
|
||||
1540, -702, 1540, -703, 2660, -703, 8266, -703, 2657, -707,
|
||||
2655, -708, 2654, -710, 3773, -712, 2651, -712, 2651, -713,
|
||||
2650, -717, 11, -2, 1510, -733, 1507, -5652, 9905, -1301,
|
||||
1510 ]
|
||||
- remote_transmitter.transmit_nec:
|
||||
address: 0x7E81
|
||||
command: 0x54AB
|
||||
- platform: template
|
||||
name: Samsung Power Button
|
||||
turn_on_action:
|
||||
- remote_transmitter.transmit_raw:
|
||||
carrier_frequency: 38kHz
|
||||
# Samsung power button
|
||||
code: [ 5430, -3513, 1515, -724, 1519, -723, 1519, -723, 7157, -723,
|
||||
1519, -722, 1518, -724, 8284, -724, 8284, -724, 2645, -724,
|
||||
1519, -723, 1517, -725, 1517, -725, 1518, -724, 1517, -725 ]
|
||||
- remote_transmitter.transmit_samsung:
|
||||
data: 0xE0E040BF
|
||||
nbits: 32
|
||||
#script:
|
||||
# - id: startup_animation
|
||||
# then:
|
||||
|
Loading…
Reference in New Issue
Block a user