Hi,
the ds18b20 is a 1-wire sensor. It should be possible to use more than one on a single gpio-pin.
I know how to connect them but how do i configure them?
Where and how do i get the hardware id?
[solved] Is it possible to use multiple ds18b20 on a single bus?
Hi,
the ds18b20 is a 1-wire sensor. It should be possible to use more than one on a single gpio-pin.
I know how to connect them but how do i configure them?
Where and how do i get the hardware id?
take a look here:
https://learn.adafruit.com/downloads/pdf/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing.pdf
last page (17): “Adding more sensors”
cheers
It’s possible see the pdf @dk00000 posted to find the hardware ID’s.
in pimatic just add devices with the ID you found.
{
"id": "aquarium-temperature",
"name": "Aquarium temp.",
"class": "DS18B20Sensor",
"hardwareId": "28-000005f382f8",
"interval": 300000
},
{
"id": "woonkamer-temp",
"name": "Woonkamer Temp.",
"class": "DS18B20Sensor",
"hardwareId": "28-000005e3742b",
"interval": 60000
},
Follow my domotica project on http://maredana.nl
thank you, i’ll gonna try this later today.
i do not get it working with pimatic and receive the following eror message:
[pimatic-ds18b20]: Error reading DS18B20Sensor with hardwareId 28-0000062f30c6: ENOENT, open ‘/sys/bus/w1/devices/28-0000062f30c6/w1_slave’
i managed to read the hardware id’s with the adafruit tutorial. but now after installing and configuring pimatic the id’s are not listed anymore.
edit: i made a typo in the config.txt. its working now.