mrarm / hakrwatch Goto Github PK
View Code? Open in Web Editor NEWM5StickC watch with a hacker's touch
License: Other
M5StickC watch with a hacker's touch
License: Other
Is your feature request related to a problem? Please describe.
// TODO: Add date to RTC!
Describe the solution you'd like
Parse and add the date to the RTC
Is your feature request related to a problem? Please describe.
Specific timezones have DST. Not all. While we can manually update this what if we automate it.
Describe the solution you'd like
When one of the dates occurs, set the hour back/forth.
Describe alternatives you've considered
Manually setting DST. Possible but we can do better.
Additional context
Testing will require some additional work. Keep in mind you will need to manually set the date on the RTC to one of the forementioned dates.
US and EU use different dates, so 4 menu options will be needed.
An EEPROM slot will also be needed to store this information.
Is your feature request related to a problem? Please describe.
Currently, the timezone is hard-coded to GMT -6(CST)
Describe the solution you'd like
Make a menu which allows you to select your time zone, this might involve my first attempt at making a scrolling menu
Is your feature request related to a problem? Please describe.
The current main file is 967 lines long as of eb91b32. I think this needs to be fixed
Describe the solution you'd like
Move app functions to separate files
Also, consider moving to PlatformIO?
Is your feature request related to a problem? Please describe.
This adds a console so debugging features would be easier.
Describe the solution you'd like
Add a console which allows you to switch apps. More features can be added where seen fit in the future. Maybe add an eeprom entry to skip to an app for testing.
Describe alternatives you've considered
Hardcoding the current process(int current_proc) to the app during development and testing.
Describe the bug
The WiFi is still enabled after setting the clock. Code needs to be added to kill wifi if it's not needed to conserve battery.
To Reproduce
Look at lines 494 and 541. The WiFi was initiated but there is no usage after setting the clock.
Expected behavior
WiFi should be shut off.
Additional context
Maybe add a global variable to run a watchdog on the clock app. every 20 seconds check WiFi status and check if a global var(wifi_on for example) is true.
Is your feature request related to a problem? Please describe.
The password to configure WiFi to sync the clock is static. random passwords would make this device more secure.
Describe the solution you'd like
Add a random password generator to the WiFi setup.
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.