05-13-2022, 05:41 AM
(This post was last modified: 05-13-2022, 05:54 AM by dmshimself.)
OK! Many thanks
OK I've now spent some time putting all the devices into the config and the IR and RF receivers stop working as soon as I add one of the lights. So my config is shown below. If I uncomment the one light shown in this, no IR or RF codes are display and this was my original problem. So I think with your help this issue has been narrowed down to some conflict with the LED config and the IR/RF receivers. Any thoughts on the next steps appreciated!
esphome:
name: kc868-uair
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "xxx"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
domain: .lan
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Kc868-Uair Fallback Hotspot"
password: "xxx"
captive_portal:
remote_receiver:
- id: RF_Receiver
pin: 13
dump:
- rc_switch
# Settings to optimize recognition of RF devices
tolerance: 50%
filter: 250us
idle: 4ms
buffer_size: 2kb
- id: IR_Receiver
pin:
number: 19
inverted: True
dump:
- panasonic
switch:
- platform: gpio
pin: 26
name: "Buzzer"
# Dallas example configuration entry
dallas:
- pin: GPIO27
update_interval: 60s
# Individual sensors - change address to be yours by observing ESPHOME console and looking for sensor discovery
sensor:
- platform: dallas
address: 0x070000000d564b28 # your DS18B20 address
name: "internal Temperature"
# Added i2c
# follow configure use for DS18B20 temperature sensor, SHT30 temperature and humidity sensor. WS2812B RGB LEDs.
i2c:
sda: 4
scl: 16
scan: true
id: bus_a
# Added First Lights
#light:
# - platform: fastled_clockless
# chipset: WS2812B
# pin: GPIO32 # Pin Define connected with LED strip
# num_leds: 4 #LEDs number
# rgb_order: GRB
# name: "Uair-Bottom-LED"# Example configuration entry
#
# effects:
# - addressable_rainbow: ##defined 7 effects styles
# - addressable_color_wipe:
# - addressable_scan:
# - addressable_twinkle:
# - addressable_random_twinkle:
# - addressable_fireworks:
# - addressable_flicker:
#
(05-12-2022, 12:53 PM)admin Wrote: here is config file for IR receiver.
OK I've now spent some time putting all the devices into the config and the IR and RF receivers stop working as soon as I add one of the lights. So my config is shown below. If I uncomment the one light shown in this, no IR or RF codes are display and this was my original problem. So I think with your help this issue has been narrowed down to some conflict with the LED config and the IR/RF receivers. Any thoughts on the next steps appreciated!
esphome:
name: kc868-uair
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "xxx"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
domain: .lan
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Kc868-Uair Fallback Hotspot"
password: "xxx"
captive_portal:
remote_receiver:
- id: RF_Receiver
pin: 13
dump:
- rc_switch
# Settings to optimize recognition of RF devices
tolerance: 50%
filter: 250us
idle: 4ms
buffer_size: 2kb
- id: IR_Receiver
pin:
number: 19
inverted: True
dump:
- panasonic
switch:
- platform: gpio
pin: 26
name: "Buzzer"
# Dallas example configuration entry
dallas:
- pin: GPIO27
update_interval: 60s
# Individual sensors - change address to be yours by observing ESPHOME console and looking for sensor discovery
sensor:
- platform: dallas
address: 0x070000000d564b28 # your DS18B20 address
name: "internal Temperature"
# Added i2c
# follow configure use for DS18B20 temperature sensor, SHT30 temperature and humidity sensor. WS2812B RGB LEDs.
i2c:
sda: 4
scl: 16
scan: true
id: bus_a
# Added First Lights
#light:
# - platform: fastled_clockless
# chipset: WS2812B
# pin: GPIO32 # Pin Define connected with LED strip
# num_leds: 4 #LEDs number
# rgb_order: GRB
# name: "Uair-Bottom-LED"# Example configuration entry
#
# effects:
# - addressable_rainbow: ##defined 7 effects styles
# - addressable_color_wipe:
# - addressable_scan:
# - addressable_twinkle:
# - addressable_random_twinkle:
# - addressable_fireworks:
# - addressable_flicker:
#