bruhautomation / ESP-MQTT-JSON-Multisensor

(OBSOLETE) ESP MQTT JSON Multisensor for Home Assistant. Supported sensors include the TEMT6000 light, AM312 PIR, DHT22 temperature/humidity sensors. RGB led supports flash, fade, and transition. Over-The-Air (OTA) uploading, too!
https://youtu.be/jpjfVc-9IrQ
Apache License 2.0
340 stars 152 forks source link

LDR Time Series #29

Closed ntalekt closed 6 years ago

ntalekt commented 6 years ago

Anyone else having this weird time series issue? The lights were off (0 LUX) until 1:27:33PM when I turned them on for a little bit. Instead of the time series being 0 for the time period before I turned on the light there is a diagonal line. Almost like HA isn't logging the 0 data points.

screenshot_20170708-183012

AaronLayton commented 6 years ago

I have not had this, although, my LUX seems to be backwards - so I get a higher value when it's dark

kernelheap commented 6 years ago

my LUX is backwards too. If I throw the iphone flashlight on it, it indicates 80 lux. Otherwise it says 565 lux. Not sure whats wrong.

kwinck commented 6 years ago

HA does not update if the new value is the same as the previous value. That causes the spike. Try to append

force_update: true

to the sensor definition.

https://community.home-assistant.io/t/force-update-settings-for-all-components-from-configuration-yaml/2198

rdbahm commented 6 years ago

@kernelheap Reverse your VCC and GND lines.

Suggest this issue be closed for this repo as it's a Home Assistant quirk, not a problem with the sensor.

ntalekt commented 6 years ago

@rdbahm Agreed. Thanks!