Giter VIP home page Giter VIP logo

hakrwatch's Introduction

HACKRWATCH

M5StickC watch with a hacker's touch

Features

  • 24 hour clock with options to wear on left or right arm
  • TV B-Gone port
  • Megalovainia music player designed to work with M5Stack speaker
  • NTP enabled clock sync to RTC

See CONTRIBUTING for some tips on adding your own code. You should easially be able to add any other M5StickC code with some small tweaks.

hakrwatch's People

Stargazers

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

Watchers

 avatar  avatar

Forkers

n0xa fooberticus

hakrwatch's Issues

Idea: Debug console

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.

Add random password for WiFi configuration

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.

Daylight savings time option

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.

Bug: WiFi is still active after setting clock

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.

Stopwatch app

Describe the solution you'd like
Add a stopwatch with millisecond count (We'll try 00:00:00.00 for now)

Additional context
image

Timezone selector

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

Move functions into seperate files

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?

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.