adminius / dimmercontrol Goto Github PK
View Code? Open in Web Editor NEWDimmer control functions, like soft on/off, dimming up/down etc
License: GNU General Public License v3.0
Dimmer control functions, like soft on/off, dimming up/down etc
License: GNU General Public License v3.0
[Feature Request]
Add a possibility to use "last stored value" on the next ON command. This for the purpose to go back to the stored dimlevel next time.
Can you please clarify the meaning and the usage for the functions below, thanks!
updateAvailable()
resetUpdateFlag()
taskStop()
isBusy()
[Feature Request]
Add the possibility to use a customized fade curve since a strict linear 0-255 [0-100%] is not represented in a good way for the human eyes.
A colleague of my has used this fade algorithm for a better experience.
const unsigned char ucLinear[MAX_LINEAR] = { 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 8, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 20, 21, 23, 26, 28, 31, 33, 36, 40, 43, 47, 52, 56, 62, 67, 73, 80, 87, 95, 104, 114, 124, 135, 148, 161, 176, 192, 210, 229, 250}
When using the One_button_dimmer example the LEDs are flickering while the DIM_UP or DIM_DOWN function is called. Trying to understand how to change behavior to get a smoother dimmer without flickering.
I suppose the _updatedInterval in the DimmerControl.cpp handle this?
_updateInterval = (byte)((_valueMax - _valueMin)/ 10) + 1;
My configuration today is, valueMax = 100 and valueMin = 0. Meaning (100-0)/10+1 = 9.
But what does that really mean in terms of update intervall frequency?
Found this intressting project which I want to try out. My plan is to integrate a dimmer using a NodeMCU (esp8266) with my home automation hub Homey. The LEDs I want to control is 12VDC mounted in my kitchen and today contoled by Nexa M-Spot
Before starting of I have some questions.
Thanks in advice!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.