by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Timo Furrer
@timofurrer
what's the output of this command?
mikespolk
@mikespolk
I have a TightVNC session on my PC now
Timo Furrer
@timofurrer
It's fine if you just execute the commands and post the output :)
mikespolk
@mikespolk
image.png
Timo Furrer
@timofurrer
what sensor type do you have?
DS18B20 ?
mikespolk
@mikespolk
DS18B20, but just a second, I will doublecheck it now
Timo Furrer
@timofurrer
The problem I see is that your sensor files all start with the 00- prefix
however, DS18B20 sensors usually start with 0x28
and 00 is not one of them
mikespolk
@mikespolk
The one that was now connected, was DS18B20. There is another, which was disconnected, is DS1820
I will next connect the latter, too, and then rerun the command, right?
Timo Furrer
@timofurrer
DS1820 ?
do you mean DS18S20 ?
mikespolk
@mikespolk
just a moment...
It is DS1820. Connected now both sensors, and will next rerun the ls command
image.png
So, there is no difference, whether there are one or two sensors connected
Timo Furrer
@timofurrer
yeah, at least no in the family codes
hmmm
it's strange that those files start with 00-
that shouldn't be the case for DS18B20 sensors
there should be 28-
mikespolk
@mikespolk
Maybe they are entries for I2C base enumerator?
Timo Furrer
@timofurrer
can you do a cat /sys/bus/w1/devices/<one of your sensors>/w1_slave ?
where are <one of your sensors> is one of the 00- files from the ls output
mikespolk
@mikespolk
Little confused, as there are no w1_slave's visible:
Timo Furrer
@timofurrer
hmmm
what does ls -lR /sys/bus/w1/devices/ output?
mikespolk
@mikespolk
image.png
Timo Furrer
@timofurrer
what kind of linux is running on that pi?
mikespolk
@mikespolk
image.png
Timo Furrer
@timofurrer
alright
mikespolk
@mikespolk
Linux in my RPi2 is Raspbian, from the NOOBS image, and here is the output you asked for:
image.png
Timo Furrer
@timofurrer
can you please cat the id and name files?
in one of the sensors directory
mikespolk
@mikespolk
Yes, in a moment, but there is one strange thing: Directory names seems to Change themselves:
Timo Furrer
@timofurrer
okay
seems strange
mikespolk
@mikespolk
image.png
image.png
image.png
Timo Furrer
@timofurrer
did you load the kernel modules?
w1-gpio and w1-therm
mikespolk
@mikespolk
hmm...
Checked my install log, no I did not
I propably have to do it, with pip3 install command, right?
Timo Furrer
@timofurrer
well, actually the w1thermsensor would do that for you, unless you've set the W1THERMSENSOR_NO_KERNEL_MODULE env variable to 1