tidbyt / hdk Goto Github PK
View Code? Open in Web Editor NEWA community supported firmware for the Tidbyt hardware ๐ค
Home Page: https://tidbyt.com
License: Apache License 2.0
A community supported firmware for the Tidbyt hardware ๐ค
Home Page: https://tidbyt.com
License: Apache License 2.0
Creating webp images with cwebp lossless
it appears that color information is interpreted incorrectly. The following code takes an image that displays correctly in my web browser and makes it display correctly on my device
def swap_palette(frame):
r, g, b = frame.convert("RGB").split()
return Image.merge("RGB", (b, r, g))
I don't think this is a problem with PIL as images I create with Preview on my mac and convert with cwebp
have the same issue.
Need assistance fixing wifo connection, when the dhcp lease expires (my default my leases expire in 2 hours, the hdk firmware will stop all responsiveness, and will not ask / get renewed lease. I attempted to add esp_restart() between lines 51 & 52 in main.c so it would just restart, well the restart workes but it appears that dont gie enought time to allow wifi to get new connection either. So request to correct main.c to properlly test wifi still connected and url reachable if not after say 30 seconds, reset wili and reconnect. I see many example sin google searches but all the exampkes i find are for IDE so the defines and contructs not want as IDE your using, and I dont know the language to convert their example to the source your codes in. power recycling is really not a good soultion to the wifi reseting, Someone please help...
Hello everyone, I have my Tidbyt device which no longer displays anything on the screen.
I tried to reset with the back button but nothing changes. I do not see the presence of Tidbyt on the Wifi network.
I reset my Android phone but nothing works.
I checked the power cable as well as the power supply and everything works on another device.
I tried to connect the Tidbyt to my computer and Windows recognizes it because it makes a sound.
I contacted the Tidbyt service by email and they explained to me how to flash the device but I don't know how to do it because I don't have much knowledge.
I installed PlatformIO Core and Pixlet on my computer but then I don't know what to do because I don't really understand what is explained in the Ghitub, I've been stuck for several days
1: Where to download the firmware?
2: How to install the firmware?
3: How to connect the Tidbyt to the computer for flash?
If anyone can help me that would be really nice.
Thank you so much
Firstly, just wanted to give a huge thanks for the team for putting this together, it basically saved my Tidbyt after I forgot it was plugged in to my PC (lack of plugs made me just use a USB port) and accidentally started flashing firmware to it instead of the other device I was working on!
Wanted to open this and note that if you use the VSCode version of PlatformIO, by default it puts files in the folders of a new project which can lead to some confusing errors about multiple environments with different actions when you try to build or even just to run the reset script.
The error is "Two environments with different actions were specified for the same target:" for any future people who find this!
First of all, thanks for publishing the code.
I have managed to compile and create firmware.bin for Matrix Portal S3 board. But I need some help in downloading the software to the S3 board. I am trying to use the ESPTOOL to download but don't know the exact parameters and don't want to brick the board. From what I understand, I need to do something like
esptool.py --port COMxx write_flash 0x0 firmware.bin
But I am not sure what offset to use and also, If I need to specify any other files (at different offsets).
For those interested, I had to remove the HUB75 library in lib folder and add following to my platformio.ini file
[env:adafruit_matrixportal_esp32s3]
board = adafruit_matrixportal_esp32s3
lib_deps =
https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA.git
I ran this in my terminal, replaced from the README (not my actual details of course, my SSID is my address):
TIDBYT_WIFI_SSID='47 Octocat Lane #12' \
TIDBYT_WIFI_PASSWORD='opensourcerocks' \
TIDBYT_REMOTE_URL='http://10.66.2.59:8080/api/v1/preview.webp' \
pio run --environment tidbyt --target upload
But then the build failed with this error:
Auto-detected: /dev/cu.Bluetooth-Incoming-Port
Compiling .pio/build/tidbyt/src/display.o
xtensa-esp32-elf-g++: error: Octocat: No such file or directory
xtensa-esp32-elf-g++: error: Lane: No such file or directory
xtensa-esp32-elf-g++: fatal error: no input files
compilation terminated.
Compiling .pio/build/tidbyt/src/flash.o
xtensa-esp32-elf-gcc: error: Octocat: No such file or directory
xtensa-esp32-elf-gcc: error: Lane: No such file or directory
xtensa-esp32-elf-gcc: fatal error: no input files
compilation terminated.
Compiling .pio/build/tidbyt/src/gfx.o
Compiling .pio/build/tidbyt/src/main.o
xtensa-esp32-elf-gcc: error: Octocat: No such file or directory
xtensa-esp32-elf-gcc: error: Lane: No such file or directory
xtensa-esp32-elf-gcc: fatal error: no input files
compilation terminated.
xtensa-esp32-elf-gcc: error: Octocat: No such file or directory
xtensa-esp32-elf-gcc: error: Lane: No such file or directory
xtensa-esp32-elf-gcc: fatal error: no input files
compilation terminated.
Compiling .pio/build/tidbyt/src/remote.o
xtensa-esp32-elf-gcc: error: Octocat: No such file or directory
xtensa-esp32-elf-gcc: error: Lane: No such file or directory
xtensa-esp32-elf-gcc: fatal error: no input files
compilation terminated.
Compiling .pio/build/tidbyt/src/wifi.o
xtensa-esp32-elf-gcc: error: Octocat: No such file or directory
xtensa-esp32-elf-gcc: error: Lane: No such file or directory
xtensa-esp32-elf-gcc: fatal error: no input files
compilation terminated.
Compiling .pio/build/tidbyt/app_trace/app_trace.o
*** [.pio/build/tidbyt/src/display.o] Error 1
*** [.pio/build/tidbyt/src/flash.o] Error 1
*** [.pio/build/tidbyt/src/gfx.o] Error 1
*** [.pio/build/tidbyt/src/main.o] Error 1
*** [.pio/build/tidbyt/src/remote.o] Error 1
*** [.pio/build/tidbyt/src/wifi.o] Error 1
Compiling .pio/build/tidbyt/app_trace/app_trace_util.o
xtensa-esp32-elf-gcc: error: Octocat: No such file or directory
xtensa-esp32-elf-gcc: error: Lane: No such file or directory
xtensa-esp32-elf-gcc: fatal error: no input files
compilation terminated.
*** [.pio/build/tidbyt/app_trace/app_trace.o] Error 1
xtensa-esp32-elf-gcc: error: Octocat: No such file or directory
xtensa-esp32-elf-gcc: error: Lane: No such file or directory
xtensa-esp32-elf-gcc: fatal error: no input files
compilation terminated.
*** [.pio/build/tidbyt/app_trace/app_trace_util.o] Error 1
================================================ [FAILED] Took 3.53 seconds ================================================
Why is it trying to compile my SSID as a path?
A bad url giving 404 will cause rapid logs of the following :
E (91450) gfx: Could not create WebP decoder
E (91455) gfx: Could not draw webp
I solved this by activating the virtual env used by platformio at : /Users/tavis/.platformio/penv/bin/activate
downloading getpip script from https://bootstrap.pypa.io/get-pip.py
then running python3 get-pip.py
Next build worked and it flashed ok !
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.