mirror of
https://github.com/jdillenburg/esphome.git
synced 2026-01-08 22:40:39 -07:00
I modified the component to remove all Adafruit library dependencies and instead use a lightweight, self-contained ESPHome driver for ADXL345. After these changes, multiple ADXL345 sensors can be used in combination with a TCA9548A I²C multiplexer without conflicts.
18 lines
387 B
YAML
18 lines
387 B
YAML
esphome:
|
|
|
|
text_sensor:
|
|
- platform: wifi_info
|
|
ip_address:
|
|
id: ip_addr
|
|
name: "IP Address"
|
|
|
|
wifi:
|
|
ssid: !secret wifi_ssid
|
|
password: !secret wifi_password
|
|
on_connect:
|
|
then:
|
|
- delay: 2s # give the sensor a moment to update
|
|
- logger.log:
|
|
level: INFO
|
|
format: "Connected! IP Address: %s"
|
|
args: ["id(ip_addr).state.c_str()"] |