donbing / bitbot Goto Github PK
View Code? Open in Web Editor NEWSimple python app to drive Pimoroni e-ink displays with finance candle charts
License: GNU General Public License v3.0
Simple python app to drive Pimoroni e-ink displays with finance candle charts
License: GNU General Public License v3.0
uncaught (in promise) RangeError: Maximum call stack size exceeded
at readStream (config_editor.js:57:43)
Probably because the log file is growing too large, the recent release that splits the log into 2K chunks may have fixed this.
๐ก Test output image names should include the display size in order to separate them out.
setting rc timezone to America/New_York
makes no difference to the date axis.
I used Raspberry Pi Imager to install Raspberry Pi OS Lite (32bit).
I added ssh and wifi config files to the microSD card.
I put the microSD card into a Pi Zero W and booted it up.
I followed the steps in section B on: https://github.com/donbing/bitbot/blob/main/docs/app_install.md
During step 2 I got errors suggesting I add the /home/pi/.local/bin folder to the PATH
I ran step 4 and got the following errors:
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/pi/bitbot/run.py", line 13, in <module>
from src.bitbot import BitBot
File "/home/pi/bitbot/src/bitbot.py", line 1, in <module>
from PIL import Image
File "/home/pi/.local/lib/python3.9/site-packages/PIL/Image.py", line 69, in <module>
from . import _imaging as core
ImportError: libopenjp2.so.7: cannot open shared object file: No such file or directory
I added the above folder to PATH and I got the same errors.
I was able to use Setup Option A successfully.
I got my 5.7 inky color eink and attached it to my pi zero which was running the waveshare test as installation from the image but that sadly didn't work. So I went to install it from fresh via CLI and that had no problems whatsoever. It started running and I was amazed! I absolutely love it. Thank you.
Now all I need is one of those nice aluminium stands (as an enhancement here it could maybe be an option if it could have a slight angle so it's not a 90 degrees stand but a 70 or 80 degrees angle for better viewing when standing on the desk - something like this one: https://www.thingiverse.com/thing:4664346 ).
It would be nice to be able to add functions to the buttons of the 5.7 inky display (the 2.7inch waveshare also has these buttons and maybe the same functions could be added here too):
The only issue I have is that I cannot get into the config webserver using a browser. Maybe I'll try configuring via CLI.
saves users the complication of ssh to edit chart plot styles
I really like your frame with the 5.7 inch setup at etsy... if it weren't for customs.
Is there any chance the bitbot would also work with a Waveshare 5.65inch 7color e-Paper Module or a 2.7inch e-Paper HAT (with red/black/white) in connection with a pi zero?
The newer API has:
moving to this API would reduce the amount of customisation Bitbot needs in order to display a nice looking chart, and open up more options for future styling.
needs to use consistent start date to create the same charts each time. creates extra commits and makes it harder to spot changes to plots in PRs
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.