Giter Site home page Giter Site logo

303wifilc01's People

Contributors

maarten-pennings avatar utyff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

303wifilc01's Issues

Not syncing with NTP server [solved]

Updated the firmware in my clock recently with this firmware. Code runs fine, and I connected it to my wifi, but it isn't pulling in time from the NTP servers.

The display always shows ntp and doesn't do anything else.

Trying to compile the clock ino file, and it's giving an error

on line 93, arduino IDE gives an error: E:\Downloads\303WIFILC01-main\5-clock\nCLC\nCLC.ino: In function 'void setup()':

nCLC:93:36: error: invalid conversion from 'char*' to 'long int' [-fpermissive]

configTime( cfg.getval("Timezone"), cfg.getval("NTP.server.1"), cfg.getval("NTP.server.2"), cfg.getval("NTP.server.3"));

                                ^

In file included from sketch\nCLC.ino.cpp:1:0:

C:\Users\eric\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/Arduino.h:278:17: error: initializing argument 1 of 'void configTime(long int, int, const char*, const char*, const char*)' [-fpermissive]

extern "C" void configTime(long timezone, int daylightOffset_sec,

             ^

nCLC:93:64: error: invalid conversion from 'char*' to 'int' [-fpermissive]

configTime( cfg.getval("Timezone"), cfg.getval("NTP.server.1"), cfg.getval("NTP.server.2"), cfg.getval("NTP.server.3"));

                                                            ^

In file included from sketch\nCLC.ino.cpp:1:0:

C:\Users\eric\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/Arduino.h:278:17: error: initializing argument 2 of 'void configTime(long int, int, const char*, const char*, const char*)' [-fpermissive]

extern "C" void configTime(long timezone, int daylightOffset_sec,

             ^

invalid conversion from 'char*' to 'long int' [-fpermissive]

how can i fix this and get it to compile?

Change disp_brightness default value

Trying to have disp_brightness with a default value of 1 when the clock boot up to reduce the LDO temperature sine it's get pretty toasty (61.2ÂēC)

Unfortunately changing static uint8_t disp_brightness = 8; to static uint8_t disp_brightness = 1; inside disp.cpp doesn't seems to change the default brightness value.

IMG_0028

DS1302 GPIOs

For those interested in using the DS1302 RTC (e.g. use it to sync the time, only connecting to the Wifi to update it once or twice a day through NTP), the GPIOs are the following :

DS1302 CLK	GPIO16
DS1302 CE	GPIO05	
DS1302 IO	GPIO14	

Web interface code?

Hello!

Just wanted to start by saying I love this project! You totally saved this formerly useless clock that I bought!

I'm looking to make my own version to integrate with my homebrew home automation (specifically to display my pool temperature), but I noticed the configuration web interface code seems to be missing from the 5-clock directory.

Would it be possible to add the missing code?

Thanks!

ae-zero

Open for contributions?

Hello,

Thank you for this awesome project - makes the clock hardware very useful. I'm adapting it to be used at our school. Are you open for some code contributions (e.g. supporting DS1302 RTC, A button to activate a timer, a webserver to configure few things, etc?)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.