Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
dougwheeler74
@dougwheeler74
Wow - thanks for the quick response. The pip install did the trick - thank you!
This module is what I have been looking for.
Timo Furrer
@timofurrer
👌
josephtech1
@josephtech1
Timo, I am using RPI3, and trying to detect and gather temp data from a ds28ea00. I installed the w1thermsensor. I keep getting error "raise NoSensorFoundError("unknown","")." At this point, I believe my sensor is connected correctly, (pin7, gpio4). Have you tried running the program using ds28ea00? Do you have any experience with this problem?
Timo Furrer
@timofurrer
Did you find a solution?
josephtech1
@josephtech1
Hi Timo!
Yes, it was a wiring problem
I did notice that the w1thermsensor does not support the sequence detection feature for the ds28ea00. Am I missing something?
I was able to retrieve ids and temps for all six sensors, but not sequence
Timo Furrer
@timofurrer
that's good news
nope, currently that's not supported
you are more than welcome to submit a PR with that feature
I don't have a DS28EA00 - thus, I cannot really test it
Chaim Krause
@tinjaw
just apt-get install and run?
Tried that and got NoSensorFoundError
Chaim Krause
@tinjaw
OK, got it working (I think) after altering /boot/config.txt
Timo Furrer
@timofurrer
okay
I don't provide any wiring instructions
there are enough out there :)
Adafruit has some decent, too
do you get any temperatures?
Chaim Krause
@tinjaw
thx
yes, temps working
thx for your library
Timo Furrer
@timofurrer
:thumbsup:
great!
Chaim Krause
@tinjaw
you take tips/donations? You want a coffee?
Timo Furrer
@timofurrer
If you have any problems with the library itself, let me know
No, I don't :)
You are welcome!
Chaim Krause
@tinjaw
name an open source project you use. I will donate $5 to it.
Timo Furrer
@timofurrer
If you ever happen to meet me - you can pay me that coffee ;)
The pypa
They can use it
thanks for that
David Torrens
@grayerbeard
I have got temperature readings working (had been using other methods for over a year not sure why when you have this simpler approach). However cannot get the precision change to work with some DS18B20s either from Python3 script or the command line.
and also I have great difficulty understanding the required format to call functions for w1thermsensor from python3. There seem to be various data available such as 'hwid', 'temperature', 'type' etc. and I cannot find any documentation that explains how to get the different parameters simply from within code that is scanning through a set of sensors. Is there some document somewhere or an explanation. On git hub the item that says "docs" is written in some sort of format I cannot understand at all.
David Torrens
@grayerbeard
Having said that I have managed, largely by trial and error, to adapt my prog to read in temperatures using w1thermsensor. A more complex python3 example reading multiple sensor (and changing their previsions) would be a great help, do you know where I can find?
Timo Furrer
@timofurrer
Hi David
The README file in the official GitHub repository https://github.com/timofurrer/w1thermsensor contains enough documentation to get you started
David Torrens
@grayerbeard
Thanks Timo. I had managed the "get started" fine based on what is on github. See http://www.smalle.uk/temps. I can see that the initial call scans for the sensor files and then the get temp gets a sensor only if it's actually active. I managed to integrate that with my old code OK but I wo
Oops. But I sti
But I am not sure I am making best use of your code.
Timo Furrer
@timofurrer
hmm, hard to tell without seeing the actual code
You are welcome to post some code snippets, if you like
David Torrens
@grayerbeard
The whole prog is on pastebin at.
Four sensors used with their data in a csv file. Config file has address of the sensor used for control. So w1thermsensor gets addresses and data and then addresses compared to file. If new sensors found or sensors not responding I have trid to make sure prog responds ok.
Amir Khan
@whiplash01
Hey there! Does anyone has experience with calibrating DS18B20?
Timo Furrer
@timofurrer
I do not, but would be happy to hear about year experiences!