Comments (6)
(Of course I will contribute and implement the smoothing, if accepted)
from pixelit.
I created a PR for the LDR library. After the owner of the library accepts the PR, @o0shojo0o would need to
- add a parameter in the photocell constructor specifying the number of readings to be used for smoothing (I'd recommend at least 10, which would smooth along 10 readings, taking 10 seconds to fully adapt for permanent changes, but maybe even 20 or 30).
- replace calls to getCurrentLux() by getSmoothedLux()
from pixelit.
I still have trouble with my LDR, but will continue this in a discussion.
from pixelit.
Fluctuations could be because of unstable supply / voltage drop or unstable voltage reference of the ESP.
Mine is mostly stable, but sometimes PixelIt changes back and forth between two brighness levels. I did some smoothing in node-red before the brighness regulation feature got built in.
from pixelit.
Added BH1750 support, which partly mitigates this issue.
I'll keep this issue open, as smoothing still might be helpful (only available with LDR, not with BH1750).
from pixelit.
Solved by 0.3.16
from pixelit.
Related Issues (20)
- Color picker doesn't work HOT 1
- ESP32 d1_mini reconnection every few minutes HOT 1
- ESP32 d1_mini loose all settings after reboot HOT 1
- bme680 Reading Backwards? HOT 3
- Pixel HOT 1
- SAVE CONFIG button not clickable ESP32 d1mini esp32-d0wdq5 rev 3 HOT 27
- MQTT setScreen only works if the master topic ends with "/" HOT 1
- Is that correct? "Pin-Zuordnung: Unbekannter Pin" HOT 4
- Question/Discussion: Reduce MQTT "noise" HOT 5
- Black screen after update new firmware. 2.4.3 HOT 24
- Feature request: config backup/restore HOT 3
- MQTT message is to long HOT 15
- Unable to turn off LEDs HOT 18
- Feature request: Ulanzi TC001 buzzer support HOT 1
- Ulanzi TC001: Add option to disable battery screen on boot HOT 8
- Feature request: 64x32 LED matrix support HOT 1
- [FEATURE REQUEST] Cyrillic font (ready-made font and code) HOT 10
- Node-red Warnung HOT 3
- Android Support ? HOT 1
- Display switches automatically on
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 pixelit.