tklebel / humidity_tracking Goto Github PK
View Code? Open in Web Editor NEWTrack humidity via Raspberry Pi 4
License: Other
Track humidity via Raspberry Pi 4
License: Other
The module used for the LCD is outdated (https://github.com/adafruit/Adafruit_Python_CharLCD). Code should be updated to use the new one instead: https://learn.adafruit.com/character-lcds/python-circuitpython
Trace:
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.7/site-packages/telegram/ext/jobqueue.py", line 270, in tick
job.run(self._dispatcher)
File "/home/pi/.local/lib/python3.7/site-packages/telegram/ext/jobqueue.py", line 399, in run
self.callback(CallbackContext.from_job(self, dispatcher))
File "bot.py", line 42, in monitor_humidity
humidity_pretty = "{0:0.1f}%".format(humidity)
TypeError: unsupported format string passed to NoneType.__format__
The sensor reading module was updated in 17ba4b7, but there is a bug in the module, which will be resolved in a subsequent pull request.
It would be good to be able to set a threshold for warnings by sending a message to the bot.
2020-01-02 06:46:07,455 - telegram.vendor.ptb_urllib3.urllib3.connectionpool - WARNING - Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<telegram.vendor.ptb_urllib3.urllib3.connection.VerifiedHTTPSConnection object at 0xb53ee850>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /botTOKEN/getUpdates
Possibly helpful: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Handling-network-errors
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.