leonvandenbeukel / round-led-clock Goto Github PK
View Code? Open in Web Editor NEWWi-Fi connected round LED Clock
License: Apache License 2.0
Wi-Fi connected round LED Clock
License: Apache License 2.0
I've uploaded this to a Wemos D1 mini, the only change to the code is adding my wifi details, when monitoring the serial output I get this and it doesn't do anything else:
Connecting
Connected to VM6768509
IP address: 192.168.4.46
Starting UDP
Local port: 123
Time server IP: 255.255.255.255
Sending NTP request ...
Round-LED-Clock:81:18: error: 'D6' was not declared in this scope
#define DATA_PIN D6
thank you for this great tiny clock!!!!! :)
this is the first and only sketch with FastLED and not NeoPixel and it works great for me at a WeMos D1 :)
now i try to merge this with another sketch i use...
Hi
Hi
When I'm sending programs to the Arduino show me this message
In file included from C:\Users\alhaddar\Round-LED-Clock_f-home2\Round-LED-Clock_f-home2.ino:18:0:
C:\Users\alhaddar\Documents\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.010
^
In file included from C:\Users\alhaddar\Documents\Arduino\libraries\FastLED/FastLED.h:65:0,
from C:\Users\alhaddar\Round-LED-Clock_f-home2\Round-LED-Clock_f-home2.ino:18:
C:\Users\alhaddar\Documents\Arduino\libraries\FastLED/fastspi.h:115:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output
^
Great work, but one issue:
At a normal analog clock the hour hand moves always.
e.g. at 9:30 the big hand is between 9 and 10.
At your device it stays on the 9.
Special at e.g. 9:55 your hour hand stays at 9; at the analog clock it stays directly before 10.
It's a little bit unusual.
Hi,
I'm trying to flash the program to the controller, but I'm getting some errors (files attached)
I was wondering if you could put me in the right track. I really want to get this project done. It's a good one.
Thank you in advanced,
For my settings what is my time zone for UTC/GMT -7 hours?
2 points ///
1: negative time zones not working
2: 30 mins time zones like -5.30 not working ///
Is it just with me or anyone else tried and facing similar issues //
Please convert this code for NodeMCU 1.0 (ESP-12E Module)
Hi. Cool project. I have a question.
Is it possible add to the sketch a white color glow hour LEDs with a little brightness (brightness variable)?
Picture.
I think this will help determine the time at night.
Best regards.
hello everyone,
Am from India. Can anyone help me with line 25. what should I put there if am from India.
unsigned long intervalNTP = 24 * 60 * 60000; // Request a new NTP time every 24 hours
when sending i have this error:
'D6' was not declared in this scope
i try:
#define DATA_PIN 6
error:
Compilation Error for Generic ESP8266 Module Board.
how i can solve this problem?
Hello Leon,
I am admiring of all yours creations . Great !
I would like to make the WIFI clock (with the Wemos d1 mini board)
I selected the board LOLIN (Wemos) D1 R2 & mini (in the choise list of boards there is no Wemos D1 mini)
Below is the error message when compiling
Since 3 weeks I try to solve the problem .... Without success
If I use the library Adafruit_Neopixel (of course by modifying your program a bit): it works .... But I would like to understand my mistake
Thanks for your help
After resolving my initial problem my libraries, I built two clocks. both have the same strange action at the same times. condition only lasts for the one second...
Hi all, It's possible to have code to update or visit (webserver) the wemos?
It's possible to have it on ESPHOME?
thank you
I had the clock working fine for months. Then after an update The LEDs light as if it was waiting for NTP. I've put printlns in and found that it is not refreshing properly. The printlns are before and after the show in loop(). but it is only lighting up all LEDs green
I am using an Adafruit Feather Huzzan ESP8266
The LEDs show a wrong time every few minutes or seconds. This false indication lasts less than a second.
Is this behaviour known or what else could it be?
Normally I would guess a problem with the wemos, but that should be excluded.
Thank you, Arne
Hi Leon,
I tried to send a mail to your youtube mail, the mail got a delivery error at your smtp server.
So here is my mail:
Would it be possible that you can please send mir your Fusion Project or the files as steps?
I want to print the hole ring in one part beacause m Printer is so big ^^
Greeting from Germany ^^
I just tested your script and I'm pretty happy with it. Great work. I just found a small bug though with the night cutoff.
Current code:
boolean night() {
if (currentDateTime.hour >= NIGHTCUTOFF && currentDateTime.hour <= MORNINGCUTOFF)
return true;
}
This is checking if the current hour bigger than the night cutoff AND smaller than the morning cutoff. What you want to do instead, is to check if the current hour is bigger than the night cutoff OR smaller than the morning cutoff.
You could implement it pretty easy with something like this:
boolean night() {
return ( currentDateTime.hour >= NIGHTCUTOFF ) || ( currentDateTime.hour <= MORNINGCUTOFF );
}
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.