What is going on here, ESPhome device is being shown as wled
Without the yaml we can’t do more than guess.
So… I guess you have this in your yaml:
Light Component — ESPHome
no I don’t have this in configure. instead
I have this in yaml mac changed for posting
sensor MiBLE:
- platform: mitemp_bt
mac: 'A4:B1:38:33:ff:55'
force_update: true
median: 1
monitored_conditions:
- temperature
- humidity
- battery
Show your esphome configuration.
Did you used to have WLED on this ESP board?
What sort of board is it (QuinLED ESP32?)?
Was it discovered discovered as a WLED device or ESPHome?
Or did you add it to Home Assistant manually?
it used to be a esphome board, converted to wled and converted back to esphome today. It is a simple esp32 board.
It seems that Home assistant picked up the old WLED integration (did you delete it?) after you powered up the board and before you flashed it.
Just delete the device from home assistant. Restart and it should be discovered as ESPhome, then you can add it.
actually I have 2 more wled one ESP32 and one ESP8266. all are mentioned as WLED except one so I don’t want to delete the wrong WLED. ![image|298x229]
Doesn’t matter if you do.
They’ll be discovered again after a restart.
Even if they’re not you can add them manually.
I want to add builtin hall effect sensor and led status light in same esp32
how should I proceed
my current code is
esphome:
name: esp-web-tools-esp32-e94da0
platform: ESP32
board: esp32dev
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "xxxxxxxxxxxxxxxxxxxxxxxxxx"
esp32_ble_tracker:
wifi:
ssid: "xxxxxxxxxx"
password: "xxxxxxxxxxxxx"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp-Br-Node Fallback Hotspot"
password: "xxxxxxxxxxxxxxxxxxxx"
captive_portal:
sensor:
- platform: xiaomi_lywsd03mmc
mac_address: "xx:xx:xx:xx"
bindkey: "xxxxxxxxxxxxxxxxxxxx"
temperature:
name: "Room Temperature"
humidity:
name: "room Humidity"
battery_level:
name: "room Battery Level"
so it could look like this ?
esphome:
name: esp-web-tools-esp32-e94da0
platform: ESP32
board: esp32dev
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "xxxxxxxxxxxxxxxxxxxxxxxxxx"
esp32_ble_tracker:
wifi:
ssid: "xxxxxxxxxx"
password: "xxxxxxxxxxxxx"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp-Br-Node Fallback Hotspot"
password: "xxxxxxxxxxxxxxxxxxxx"
captive_portal:
sensor:
- platform: xiaomi_lywsd03mmc
mac_address: "xx:xx:xx:xx"
bindkey: "xxxxxxxxxxxxxxxxxxxx"
temperature:
name: "Room Temperature"
humidity:
name: "room Humidity"
battery_level:
name: "room Battery Level"
# Example configuration entry
light:
- platform: monochromatic
name: "ESphome ESp32 LED"
output: led
# Example configuration entry
sensor:
- platform: esp32_hall
name: "ESP32 Hall Sensor"
update_interval: 5s
?
Link to the video from where I was inspired( read copied).
no reply
@tom_l any help in this regard?
Edit:
got it to working with following code
esphome:
name: esp-web-tools-esp32-xxxxx
platform: ESP32
board: esp32dev
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "xxxxxxxxxxxxxxxxxxxxxxx"
esp32_ble_tracker:
wifi:
ssid: "ABC"
password: "xxxxxxxxxxxxxxxxx"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp-Br-Node Fallback Hotspot"
password: "xxxxxxxxxxxxxxxx"
captive_portal:
sensor:
- platform: xiaomi_lywsd03mmc
mac_address: "xx:xx:xx:xx:xx"
bindkey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
temperature:
name: "Room Temperature"
humidity:
name: "room Humidity"
battery_level:
name: "room Battery Level"
- platform: esp32_hall
name: "ESP32 Hall Sensor"
update_interval: 5s
# Example configuration entry
light:
- platform: status_led
name: "Switch state"
pin: GPIO2
Now How should I set up an integration to turn on the LED when the room temperature is more than 30C?
is this correct