by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 11 14:25
  • Jul 06 19:38
    johnrobindewet starred timofurrer/w1thermsensor
  • Jun 28 14:48
    freehzw starred timofurrer/w1thermsensor
  • Jun 27 16:22
    vollbier starred timofurrer/w1thermsensor
  • Jun 25 13:02
    timofurrer closed #72
  • Jun 25 13:02
    timofurrer commented #72
  • Jun 25 12:43
    jonte commented #72
  • Jun 24 16:30
    timofurrer commented #72
  • Jun 24 16:23

    timofurrer on master

    Test exception for not supporte… Merge pull request #93 from tim… (compare)

  • Jun 24 16:23
    timofurrer closed #93
  • Jun 24 16:23
    codecov-commenter commented #93
  • Jun 24 16:22
    codecov-commenter commented #93
  • Jun 24 16:22
    codecov-commenter commented #93
  • Jun 24 16:21
    timofurrer opened #93
  • Jun 24 16:20

    timofurrer on test-not-existing-sensor

    Test exception for not supporte… (compare)

  • Jun 24 16:11

    timofurrer on master

    Improve error message on power … Add aiofiles to known 3rd-party… (compare)

  • Jun 24 16:09
    timofurrer closed #73
  • Jun 24 16:09
    timofurrer commented #73
  • Jun 24 16:05
    timofurrer labeled #75
  • Jun 24 16:04
    timofurrer commented #75
Timo Furrer
@timofurrer
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
you'd have to do sudo modprobe w1-gpio w1-therm
maybe you can run this real quick
und ls the dirs again
mikespolk
@mikespolk
Yes, in a second..
Now:
image.png
Timo Furrer
@timofurrer
alright, pretty much the same
can you send me link to the sensor you have
the DS18B20 one
if it's really a DS18B20 sensor (which is supported by w1thermsensor) you should have a different folder layout
In there, a link to manufacturer's webpage: https://www.maximintegrated.com/en.html
Timo Furrer
@timofurrer
I understand like nothing on that page :D
mikespolk
@mikespolk
I think, too, when I was using the owfs library, the folder layout was somewhat more like the ID's that you mentioned earlier