Giter Site home page Giter Site logo

curly60e / cgsr Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.13 MB

Watchy code that offers a multitude of functions including OTA firmware uploads, OTA settings backup & restore with NVS storage, Alarms, Timers, 10 WiFi Access Points and responsive buttons. Also offers WiFi enabled automatic Timezone and NTP sync. Features like Screen Blanking, non-RTC failover mode, Tilt and Double Tap wake from Screen Blankin…

License: MIT License

C++ 12.01% C 87.99%

cgsr's Introduction

This repo's format:

Bin folder contains the current bin that you can use esptool (.py or .exe) to install the current bin to the Watchy.

src folder contains a universal (Arduino & PlatformIO) setup for compilation, instructions on how to get it to compile are in the src folder.

Needed libraries: Arduino Libraries, ArduinoOTA, SmallRTC (GuruSR), SmallNTP (GuruSR), StableBMA (GuruSR), Olson2POSIX (GuruSR) AND Watchy (1.3.3 or greater) base.

NOTES:

  • Watchy uses version 1.0.6 or 2.0.2 (or higher) of the ESP32 libraries, 2.0.0 won't compile, remove them manually and revert back to version 1.0.6 or use 2.0.2 or higher (which seems to have been fixed).

For instructions on usage of the firmware, see "Usage".

For those WANTING to use this Watchy code without programming and having to install Arduino or PlatformIO, you CAN install it with the base Watchy face you received when you got your Watchy.

  1. Download the Bin folder's file GSR.ino.esp32.bin onto the machine that you can connect your Watchy to by WiFi (laptop, cellphone, tablet, etc).
  2. Once downloaded, for speed, turn the WiFi off on the device you're going to use with the Watchy, but keep the WiFi settings open.
  3. Go into the Watchy's menu, push up (so it goes up to the bottom) until you stop on Setup WiFi. Press Menu to continue.
  4. Turn your device's WiFi back on and find the "Watchy AP" connection on your device and connect to it.
  5. Once connected, go to a web browser and type in the IP address from the Watchy's screen in the address bar of the web browser and press Enter.
  6. On the web page that showed up, you'll see a button called "Update", click that (left side of image below). WiFiManager
  7. Press the Choose File button (right side of image above) then locate and select the GSR.ino.esp32.bin you downloaded in Step 1.
  8. Click the RED colored button below that showed up and wait. (It doesn't show any progress until it says it failed or succeeded.)
  9. If all went well, you'll see the success message and your Watchy will reboot with this Watchy face.
  10. If you didn't get this far, then you either didn't connect to Watchy AP fast enough or something else happened, so try again at Step 2.

For those wanting to override the looks of this Watchy face, look at the Override Information.

For those Bitcoiners that want to put their QR codes (Bitcoin & LND)

  1. Create a QR code with your wallet address could be Bech, 3 or 1. You could use several services online or you can download it direcly from your wallet software.

  2. Go to http://javl.github.io/image2cpp/ upload your image, edit for 200px x 200px White and invert colours.

  3. Upload and modify sizes

  4. Generate code

  5. Copy this similar lines:

    """0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,"""

  6. Search for "epd_bitmap_bitcoinqr_code_1_" in resource.h file and paste the code you generate inside replacing with your code.

  7. Do the same with your Lightning QR Code (epd_bitmap_lightningqr_code)

cgsr's People

Contributors

curly60e avatar

Stargazers

 avatar

Watchers

 avatar

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.