timofurrer / w1thermsensor

A Python package and CLI tool to work with w1 temperature sensors like DS1822, DS18S20 & DS18B20 on the Raspberry Pi, Beagle Bone and other devices.
MIT License
493 stars 113 forks source link

Rasbian apt-get install not working(?) #20

Closed archonic closed 8 years ago

archonic commented 8 years ago

I'd rather not install pip if I don't have to. I'm trying to keep my SD image slim by using Minibian. I've run sudo apt-get install python-w1thermsensor and it seems to have installed just fine, but there's no w1thermsensor command available. I'm just getting -bash: w1thermsensor: command not found. python-w1thermsensor also doesn't work. I also tried reloading bash and rebooting.

timofurrer commented 8 years ago

That's right. The new version of python-w1thermsensor is not available in the raspbian apt repositories yet. I'm working on it to get the new version in there.

archonic commented 8 years ago

Ah that explains it. I ended up installing python3 and python3-pip for a recent pymongo anyways. Ultimately I'm going for a script which dumps sensor ids, temperature and timestamps to Mongo. If answering that interests you, I've got a stackexchange question here: http://raspberrypi.stackexchange.com/questions/46373/performant-way-to-dump-ds18b20-data-to-mongo

timofurrer commented 8 years ago

Oh, that sounds nice :) I'll have a look at it. I would also be interested in the example gist.

:beers:

archonic commented 8 years ago

Here's the example gist: https://gist.github.com/archonic/8d2d936c8f25f3cb84004f01d58c135c

I think Meteor might be super over-built for my purposes (brewing beer). I may just use Flask, a websocket package and tail a log file.

risoul commented 7 years ago

Installed today with apt-get and same issue

timofurrer commented 7 years ago

Only the python3-w1thermsensor package comes with the CLI tool - I have to state this in README.