Skip to content

Commit

Permalink
add bh1750 support
Browse files Browse the repository at this point in the history
  • Loading branch information
PAPAMICA committed Nov 29, 2023
1 parent 5545d04 commit ecacd64
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions esp-home/ESP_S2_mini_detect.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Variables
substitutions:
name: detect-marion
friendly_name: Marion - Détecteur de présence
name: detect-escaliers
friendly_name: Escaliers - Détecteur de présence

# Configuration principale
esphome:
Expand Down Expand Up @@ -58,6 +58,12 @@ uart:
ld2410:
- uart_id: uart_2

i2c:
sda: 9
scl: 3
scan: false
id: bus_a

#################################################################################################################


Expand Down Expand Up @@ -90,6 +96,12 @@ sensor:
name: Still Energy
detection_distance: #distance de détection
name: Detection Distance

- platform: bh1750
name: "Illuminance"
address: 0x23
i2c_id: bus_a
update_interval: 1s

# Wi-Fi signal
- platform: wifi_signal
Expand Down

0 comments on commit ecacd64

Please sign in to comment.