tag:blogger.com,1999:blog-5188121942175615593.post347839660655529335..comments2024-03-04T00:07:43.004+11:00Comments on Lindqvist -- a blog about Linux and Science. Mostly.: 532. TEMPer temperature monitoring USB stick on Debian Wheezylindqvisthttp://www.blogger.com/profile/11525548328692436184noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-5188121942175615593.post-9217063892465491472019-03-17T16:09:53.164+11:002019-03-17T16:09:53.164+11:00I got the error in the above comment but fixed it ...I got the error in the above comment but fixed it by adding "import io" to the top of the script and changing "open" on line 10 to "io.open".<br /><br />But then I got "No devices found" when I ran temper-poll. But I ran lsusb and found that the hardware id for my device wasn't one include in the array "VIDPIDS" near the the start of the script "temper.py" in the "temper-python" folder.<br /><br />So I added my hardware IDs and reran the install script, then temper-poll again. It found one device, but then timed out trying to get the temperature.<br /><br />That's as far as I got. It seems current versions of the device don't work with this.Anonymoushttps://www.blogger.com/profile/14841994565578676665noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-35828147116044974862018-04-14T06:07:25.354+10:002018-04-14T06:07:25.354+10:00sudo python setup.py install
sudo: unable to resol... sudo python setup.py install<br />sudo: unable to resolve host ubuntu-host<br />Traceback (most recent call last):<br /> File "setup.py", line 10, in <br /> long_description=open('README.md', encoding='utf-8').read(),<br />TypeError: 'encoding' is an invalid keyword argument for this function<br />running on python 2.7Anonymoushttps://www.blogger.com/profile/06962464454658874743noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-53724243396771171582016-01-13T11:02:56.319+11:002016-01-13T11:02:56.319+11:00This works on raspberry pi (debian based raspbian)...This works on raspberry pi (debian based raspbian) as well. The install script will fail (error: Download error for git+https://github.com/walac/pyusb.git: unknown url type: git+https) but you can download the zip and install pyucb from here https://github.com/walac/pyusb/archive/master.zip. install that then install the temper-python.Anonymoushttps://www.blogger.com/profile/14960363938728422627noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-51253550706532924052016-01-13T10:28:24.904+11:002016-01-13T10:28:24.904+11:00Scripts aren't working as of 1/12/16
Downloadi...Scripts aren't working as of 1/12/16<br />Downloading git+https://github.com/walac/pyusb.git#egg=pyusb-1.0.0rc1<br />error: Download error for git+https://github.com/walac/pyusb.git: unknown url type: git+https<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-25161984284930075822016-01-13T10:27:32.998+11:002016-01-13T10:27:32.998+11:00Downloading git+https://github.com/walac/pyusb.git...Downloading git+https://github.com/walac/pyusb.git#egg=pyusb-1.0.0rc1<br />error: Download error for git+https://github.com/walac/pyusb.git: unknown url type: git+https<br />Anonymoushttps://www.blogger.com/profile/14960363938728422627noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-4567321958701357382015-08-25T02:43:11.154+10:002015-08-25T02:43:11.154+10:00This is so cool! Thanks for your work and contrib...This is so cool! Thanks for your work and contribution! I modded your script to generate temperature complaint data for my office (ha ha!) and more importantly, grab temperatures from around my solar array to determine which tubes to pump and which ones to leave. <br /><br />Thanks again!mshttps://www.blogger.com/profile/09598614307039316458noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-36928186133078178252015-08-25T01:48:36.072+10:002015-08-25T01:48:36.072+10:00This is so cool! Thanks for your work and contrib...This is so cool! Thanks for your work and contribution! I modded your script to generate temperature complaint data for my office (ha ha!) and more importantly, grab temperatures from around my solar array to determine which tubes to pump and which ones to leave. <br /><br />Thanks again!mshttps://www.blogger.com/profile/09598614307039316458noreply@blogger.com