Added _P070_NeoPixel_Clock.ino#489
Conversation
A clock that uses a ring of 60 NeoPixel LEDs as display for a classic clock. The hours are RED, the minutes are GREEN, the seconds are BLUE and the hour marks are WHITE. The brightness of the clock hands and the hour marks can be set in the device page, or can be set by HTTP or Rules commands. The format is as follows: Clock,1,128,32 → 1=enable display, 128=hand brightness, 32=mark brightness Clock,0,, → 0=disable display, without changing the saved values of the brightness Clock,,65, → change only the brightness of the clock hands Clock,,,10 → change only the brightness of the hour marks
- The commands are working - Correction of offset
| Would it be possible to extend this plugin to show other things and not only the time? I mean, sound volume if used with a rotary encoder. Or perhaps as a distance indicator if used in conjunction with a distance sensor. Etc. etc. |
src/_P070_NeoPixel_Clock.ino Outdated
| | ||
| #define PLUGIN_070 | ||
| #define PLUGIN_ID_070 70 | ||
| #define PLUGIN_NAME_070 "NeoPixel - Ring Clock [TESTING]" |
There was a problem hiding this comment.
This should be "Output - NeoPixel Ring Clock [TESTING]"
Changed the name of the plugin to "Output - NeoPixel Ring Clock [TESTING]"
| I never thought of a level indicator. The improvememts I had in mind were:
Maybe it could be merged with some of the other NeoPixel plugins, with a mode switch. |
| I see, good improvements you have there. Regarding level indicator, that just came to my mind. I love plugins that do more than just one thing. :) Good job though! 👍 |
| Just to clarify, the improvements I mentioned are on the "To do list". For the moment, there is only a clock with a configurable offset for the position of the 12 o'clock LED. |
| Yes I read it as "to do" :) |
GlobalSyncOption not needed, therefore set to false.
| hmm this is a pretty specific plugin. i'm not sure we should include it in ESPEasy by default. I will add a #define PLUGIN_BUILD_DISABLED , so that its disabled by default, but people can re-enable it and compile ESPEasy for them themself. |
A clock that uses a strip/ring of 60 NeoPixel LEDs as display for a classic clock.
The plugin is working in my setup for about 6 months (also posted in Playground).