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
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
Timo Furrer
@timofurrer
okay
however, those libraries don't write those files
they are all populated by the kernel modules
mikespolk
@mikespolk
OK, understand. As I mentioned, I was thinking to doublecheck once more, by installeing the (Python2 only) owfs library, and seeing if its py demo app would enumerate sensors OK.
Timo Furrer
@timofurrer
yeah, you can certainly try
no tutorial and scripts I've found show the behavior you are seeing
mikespolk
@mikespolk
Does not last for long. Do you have chance to wait for it?
Timo Furrer
@timofurrer
they all have the 28- prefix and have a slave file in it to read the temperature from
Yeah, I might be afk for a while
but I'll be back ;)
mikespolk
@mikespolk
:)
Timo Furrer
@timofurrer
have you already set that up on the Pi you have right now?
Like on the same installation?
mikespolk
@mikespolk
yes… installed the owfs library and made modifications, but...
can't find python2 ide on my rpi now.
This is the rpi installation I created two days ago
image.png
sorry, quite a newbie with Linux. How to run the owfs demo py app?
mikespolk
@mikespolk
Still doing the owfs install, following the I2C sections install guide now: https://www.abelectronics.co.uk/kb/article/1/i2c--smbus-and-raspbian-linux
mikespolk
@mikespolk
Done, rebooting the rpi now...
mikespolk
@mikespolk
Ran the demoapp and it shows the sensors now:
image.png
mikespolk
@mikespolk
So, the sensors should basically exist and be enumerable OK.
To still doublecheck, I tried the w1thermsensor demoapp, and it fails to find the sensors, just like earlier:
image.png
Any ideas for next?
Timo Furrer
@timofurrer
Can you try to ask for the type with owfs ?
the type of the sensor?
You could also try to re-install your pi - taking the latest linux
and ONLY install w1thermsensor, but not the owfs library
mikespolk
@mikespolk
Yes, I will answer soon..
So, the types of my sensors, found with the owfs object "type" property; The other lists as DS18B20, and the other as DS18S20 (though has DS1820 printed in its TO-92 case.
mikespolk
@mikespolk
For the pi reinstall, I think that I just did that, by downloading two days ago the NOOBS/Raspbian images, and absolutely without the ow library
But for the bsimmo's post (You need to talk to the HAT with i2c...This module doesn't do that.)
What does this mean in my case?
Hope it does not however mean that I can't get your module to work, since I am having the 1-Wire adapter card?
mikespolk
@mikespolk
For me, that adapter is essential, to avoid any electrical spikes from long sensor cabling, directly to rpi's GPIO bus.