Quantcast
Channel: ESPHome - Home Assistant Community
Viewing all articles
Browse latest Browse all 1486

TEMT6000 sensibility issue?

$
0
0

@makai wrote:

I’ve built a garage multi sensor using ESPHome (DHT22, ultrasonic sensor, door sensor, presence sensor…) and a NodeMCU 32S
In this multi sensor I have a TEMT6000 that I want to use to check at night if someone forgot to switch off the light. This TEMT6000 is in front of the light, less than 2 meters away (light is on the wall not at ceiling).

Here is my code, which is the same we can find on ESPHome website:

sensor:
  - platform: adc
    pin: GPIO34
    name: "$devicename illuminance"
    unit_of_measurement: lx
    icon: "mdi:brightness-5"
    filters:
      - lambda: |-
          return (x / 10000.0) * 2000000.0

Issue is that at night when the light is on, returned value is 0! At day, if light is off value is still 0 and and if I turn on the light value is 4lx… If I put a light in front of it it seems to work but light must be less than 50cm away.
Is the TEMT6000 not the good sensor for this? Is my sensor defective?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 1486

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>