Git Product home page Git Product logo

cz20-badge's Introduction

cz20-badge's People

Contributors

annejan avatar dependabot[bot] avatar jorisplusplus avatar tjclement avatar xesxen avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cz20-badge's Issues

Generating spoken name for app message after assigning local app to button

I manually created some directories under the " Apps" folder to store my own projects.

When assigning such a project to one of the buttons, the message "generating spoken name for app" appears every time you return to the home-state with the home-button.

Terminal screen output: Skipping app name generation due to earlier error.

Bootloop: "Generating a spoken name for app"

Badge runs into a bootloop, and keeps repeating " Generating a spoken name for app" , following a short beep which seems to be caused by the reboot that follows.

Actions that have been done that could possibly triggered this bootloop:

-Updated to the newest firmware
-Installed/Deinstalled some apps from the store,
-Made a test-app through the web-interface. Manually made some directories and files in the "Apps" -folder.
-Moved around some buttons.

All apps have been removed, but the problem persists. Apps are bootable when you press the button right before the spoken message.

Terminal output:
88153718-11e03d80-cc06-11ea-8723-78aa6481f549

New Python terminal backspace issue

In Paste Mode (which you enter with CTRL+E), pressing backspace does not remove the character left of the caret. Outside of paste mode, this works fine.

[Feature request] Adding optional settings fields in the "Configure home screen buttons"

I have build the MQTT button app where the user needs to enter information (MQTT server IP, and topic) in the code before the application can be used.

It would be great if the user can enter the information on the "configure home screen buttons" and that it is parsed over to the application. I do not know if it is (technically) possible or not, but I would like to throw the suggestion.

The idea is that the app creator can add fields (text boxes, radio buttons, ...) to the selected app in the "configure home screen buttons" view. A placeholder variable can be placed in the Python code in the app, and when information is entered in the field the data will be parsed to the variable in the Python code.

why cant i upload to my badge on web ui

this is the error code in inspect element Uncaught (in promise) DOMException: Failed to execute 'controlTransferIn' on 'USBDevice': A transfer error has occurred.
await (async)
(anonymous) @ webusb.js:399
webusb.js:44 Uncaught ReferenceError: Cannot access 'n' before initialization
at w (webusb.js:44:77)
at y (webusb.js:25:32)
at webusb.js:393:13
w @ webusb.js:44
y @ webusb.js:25
(anonymous) @ webusb.js:393

Reboots when starting app launcher (or other apps)

After creating/deleting some files in the Apps folder, the launcher app crashes. Terminal shows the following output:

`BADGE.TEAM
Starting app 'launcher'...

assertion "0 && "fatfs internal error"" failed: file "/Users/tom/Git/cz20-badge/firmware-ESP32/esp-idf/components/fatfs/src/vfs_fat.c", line 251, function: fresult_to_errno
abort() was called at PC 0x40119cdb on core 1

Backtrace: 0x4009318f:0x3ffc0bc0 0x40093489:0x3ffc0be0 0x40119cdb:0x3ffc0c00 0x4018777c:0x3ffc0c30 0x40187a4a:0x3ffc0c50 0x40134e46:0x3ffc0c80 0x4000bdbb:0x3ffc0ca0 0x400017ea:0x3ffc0cc0 0x4010bb51:0x3ffc0ce0 0x40119996:0x3ffc0d00 0x40146754:0x3ffc0d20 0x40145966:0x3ffc0d50 0x40145b06:0x3ffc0d90

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:5192
load:0x40078000,len:9088
ho 0 tail 12 room 4
load:0x40080400,len:6652
entry 0x400806f8
`
This appears every 2 seconds.

Web interface is accessible. Pressing a button to start an app does not start the app..

display.getColor returns incorrect values (flashing between red and blue)

I'd assume that with the following statement, the display would keep the same color. But instead, the display flashes between red and blue every statement. The value that is written is not related to what is returned.

display.drawPixel(x, y, display.getPixel(x, y))

A loop of this method, when occasionally setting the display to a new color results in odd behavior. The red/blue can be see with 0xff0000 and 0xff.

New color: 0xff6e6e
The display is now: 0x2121ff
The display is now: 0xff0303
The display is now: 0xff
The display is now: 0xff0000
The display is now: 0xff
The display is now: 0xff0000
The display is now: 0xff
The display is now: 0xff0000
The display is now: 0xff
The display is now: 0xff0000
New color: 0x59ffac
The display is now: 0x5fff15
The display is now: 0x2ff18
The display is now: 0x2ff00
The display is now: 0xff00
The display is now: 0xff00
The display is now: 0xff00
The display is now: 0xff00
The display is now: 0xff00
The display is now: 0xff00
The display is now: 0xff00

Generated with:

        for x in [1, 2, 3, 0]:
            for y in [1, 2, 3, 0]:
                read = display.getPixel(x, y)
                display.drawPixel(x, y, read)
        print("The display is now: " + hex(read))

App's failing to connect to WiFi

Badge allows me to download and update firmware trough WiFi (confirmed working on both home WiFi and phone AP), however apps that require WiFi connection fail to connect to WiFi.

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.