Coder Social home page Coder Social logo

modischmatrix's People

Contributors

modischfabrications avatar

Stargazers

 avatar  avatar

Watchers

 avatar

modischmatrix's Issues

Time/Date/Weather

Look at smart mirrors, they already thought about that stuff.

  • clock
  • combi

2P Snake

Inspired by Curve Fever + Snake.

Left, Right as buttons for each player. Technically infinite players possible, aim for 4P max.

Players color-coded, match button inputs.

Eat to get longer, maybe powerups? Persistent Trails too hard with limited pixel count.

Server delay

Since a few updates the response time has huge drops. Either initial connection is slow, or website is waiting too long for a response.

Possible causes:

  • status polling (~5s)?
  • too many handlers?
  • too little awaits? -> no idea where webserver is handled

Web CI Feedbacks

https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1643399424749-3244.report.html#performance

  • Eliminate render-blocking resources: Resources are blocking the first paint of your page. Consider delivering critical JS/CSS inline and deferring all non-critical JS/styles.
  • html lang attrbute
  • Labels for inputs
  • HTTP/2 (probably not valid for ESP?)
  • meta description
  • tap sizes
  • Theme color
  • Manifest for installs (https://web.dev/installable-manifest/)
    • splash screen
    • ..?

Touch Integration

  • cooldown for touches, ~500ms
  • latching, don't trigger multiple times while holding. Might want to implement onHold
  • Iterate over modes, implement a next/prev_mode() method that skips
  • actually glue in wires

Website

Current usage is based on obscure API calls with magic numbers as modes. Make it somewhat pretty!

WiFiManager inconsistent Login

WiFiManager isn't always connecting directly. Sometimes it's only working after a restart, especially with new login credentials. It takes ~2s for detection and display of error board.

Good cases take around 2s until a proper connection is established.

Emoji-Support

❤️ and more. Probably with char replacement, similar to \n

Minify website

Introduce an additional step into deploy_fs.sh to minify js, css and html

(Mobile) Notification Relay

Similar to #5 , but for real updates from connected mobile devices. Pulls in huge dependencies and hardcoded relations, probably not worth it.

Fix Telegram Bot Calls

Telegram Bot is disabled for now, it's just too broken. Use webcalls for now.

Update ESP core for telegram bot, see https://community.platformio.org/t/update-to-the-latest-version-v2-0-0-from-github/20739/2
Problem: HUB75 Library can't handle the new core. Wait for a better fix.

12:31:36.599 > [E][ssl_client.cpp:36] _handle_error(): [start_ssl_client():216]: (-29312) SSL - The connection indicated an EOF
12:31:36.610 > [E][WiFiClientSecure.cpp:133] connect(): start_ssl_client: -29312
and
12:32:58.978 > [E][ssl_client.cpp:98] start_ssl_client(): Connect to Server failed!
12:32:58.988 > [E][WiFiClientSecure.cpp:133] connect(): start_ssl_client: -1

Re-enable SafeString in that case.

Build & Formatting

  • fix formatter crash on new (clang-v13) format. Probably due to invalid reference to different version of clang.
  • Flash Reader self-reports 4MB, Uploader assumes 1MB. Might be wrong board definition.

Auto-Reboot Manager

reboot every x Days ( with > 1h without activity)
set flag to restore UI properly in that case!
if (millis() > ONLINE_TIME && millis() - lastActivity > INACTIVE_TIME) ESP.restart();

Alternative: Maybe look into Verdandi for time-wrap-fix if reboot is not implemented?

Snake Improvements

  • Double control of Snake should be blocked, but that would need identification of web sessions.
  • Colors should be shown in UI
  • Show start screen with colored Players
  • End game when everyone is dead, show winner with length
  • Improved colors: Dead dimmer, Players different
  • Apply fading to snakes

-> #16

Originally posted by @ModischFabrications in #8 (comment)

CI website

Website build for #16 isn't validated in any way, it might be useful to CI the whole \website directory.

Keep in separate file ideally, to make removal for non-web projects easier

Better status display

BUILDIN_LED isn't visible inside the case, so all outputs need to be visible on the matrix.

  • Received: Prev. Border flashing. Better with Top-Left "Ping" Dot.
  • Setup failed/User needed: Same dot, maybe different color? Same routine as onboard.
  • Extendable to generic notification icons for mobile?

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.