kaulketh / ledpibot Goto Github PK
View Code? Open in Web Editor NEWRaspberry PI - Control WS2812B neopixel RGB LED stripe via Telegram API using telepot framework.
Home Page: https://kaulketh.github.io/ledpibot/
License: The Unlicense
Raspberry PI - Control WS2812B neopixel RGB LED stripe via Telegram API using telepot framework.
Home Page: https://kaulketh.github.io/ledpibot/
License: The Unlicense
additionally implement a documentation about functionalities of this bot
Actual: https://github.com/jgarff/rpi_ws281x
Expected: : https://github.com/rpi-ws281x/rpi-ws281x-python
Note: Update color order from GRB to RGB!
Additionally: update documentation!
Extract number of LEDs as constant and adapt related functions and classes to enable LED count independent usage of them
settings:
Line 14 in 9e98610
clock1:
clock2:
clock3:
clock4:
clock5:
advent:
Line 23 in 9e98610
If clock 2 or 3 is running, the CPU load of the PI is about 95%.
Investigate and find the reason of that and improve this to reduce CPU load
telegram.error.BadRequest: Can't parse entities: can't find end of the entity starting at byte offset 25
telepot.exception.TelegramError: ("Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 25", 400, {'ok': False, 'error_code': 400, 'description': "Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 25"})
def __stop(self, update: Update, context: CallbackContext):
if self.__stop_function(update, context):
self.__reply(update, m_stopped, markup=self.rm_kb)
// TODO: insert log info here
update logger to singleton,
improve filehandling and logging format
It should be possible to activate standby by pressing button.
Function should be disabled and default standby time is beginning to count down.
Adapt stop keyboard, countdown and bot functionality accordingly.
additionally move remain time message from info log level to debug and remove from response to user
hello, great project, i would like to try it out, but i have trouble creating the required files for the bot to run ...
could you provide a sample configuration for the secrets and all required files please !
remove in /etc/rc.local
sudo python3 /home/pi/bot.py &
run bot.py at startup to use the systemd files (https://www.dexterindustries.com/howto/run-a-program-on-your-raspberry-pi-at-startup/#systemd)
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.