Comments (9)
Also, if you're using an LDR, lux
is an arbitrary thing in that scale, you aren't getting true lux
values.
from esp-mqtt-json-multisensor.
I get this when someone walks in front of the sensor. I was thinking of using a diffuser on top of it to try and level it out a bit.
I also have a 30 minute window where the sun bounces off cars going past and they reflect into the flat causing it to read higher for a second or so....
from esp-mqtt-json-multisensor.
I got this too and realized it was my ceiling fan throwing shadows all over the place. I moved the sensor to a place that isn't affected and mounted in an enclosure and it's been rock solid.
from esp-mqtt-json-multisensor.
I got a different issue , my sensor works backwards, if its dark the numbers goes up to about 600 lux, if is bright is goes down to 33 lux. , I got the 4 pin sensor and got signal pin on AO (analog output) instead of DO (digital output). already tried switch AO and DO, but got the same result. any help would be greatly appreciated.
from esp-mqtt-json-multisensor.
correct (well for me as well) so darkness for my sensor is 900 LUX and bright light is 20 odd.
from esp-mqtt-json-multisensor.
@Jizar07 At least with an LDR, this happens if your ground and 3v are swapped.
from esp-mqtt-json-multisensor.
Also, if you're using an LDR,
lux
is an arbitrary thing in that scale, you aren't getting truelux
values.
Thanks. came here to ask about that as I found it just gave me a voltage reading between 0-1024 (as expected when using A0). So I wrote a template in HA that turned it into a % value.
from esp-mqtt-json-multisensor.
@mikewebb70 - you should share that template :)
from esp-mqtt-json-multisensor.
@mikewebb70 - you should share that template :)
You are right I should have, it's nothing special. Here is my light sensor Home Assistant yaml entry
- platform: mqtt
name: "lux office"
state_topic: "tele/labmcu/SENSOR"
unit_of_measurement: "%"
#value_template: "{{ value_json['ANALOG'].A0 }}"
value_template: "{{ (value_json['ANALOG'].A0|float/1024*100|float)|round(0) }}"
availability_topic: "tele/labmcu/LWT"
payload_available: "Online"
payload_not_available: "Offline"
from esp-mqtt-json-multisensor.
Related Issues (20)
- Sensor Data in Serial but not in HA HOT 1
- Light "blinking"
- Can't connect to MQTT Server? HOT 2
- wdt timeout HOT 4
- Add function declarations HOT 2
- Integration with Homeassistant HOT 1
- Soil moisture sensor HOT 3
- Invalid config for [sensor.mqtt]: value is not allowed for dictionary value @ data[‘device_class’]. Got ‘motion’. (See ?, line ?). Please check the docs at https://home-assistant.io/components/sensor.mqtt/ HOT 1
- Bruh Multisensor unable to set PIR value and status in Openhab HOT 1
- Constant ESP reboots HOT 6
- Feature request - Sounder device HOT 1
- Feature request - BME280 Sensor Support HOT 1
- Contast reboots HOT 2
- Adapting the code to a Common Anode RGB LED
- Error parsing value: 'dict object' has no attribute 'temperature' HOT 3
- Feature Request: Add or Modify RGB to neopixel
- Not declared buffer size while compiling HOT 2
- Sensor showing 0 values
- Temp reading at least 15 degrees low. HOT 5
- Possible Battery Power
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-mqtt-json-multisensor.