Open gregor-git opened 4 years ago
Same problem.... 3 years later :(
Status error:
Error: Could not find 1-Wire temperature sensor
I can find the DS18b20 with sys/bus/w1/devices
{
"bridge": {
"name": "HomeBridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "",
"accessories": [
{
"accessory": "DS18B20",
"name": "",
"device": "28-00000912a17d",
"pollInterval": 5000,
"offsetC": 0
}
],
"platforms": [],
"name": "TEST TEMPERATURE",
"accessory": "DS18B20"
}
First do what say in “ENABLE THE ONE-WIRE INTERFACE”
https://www.circuitbasics.com/raspberry-pi-ds18b20-temperature-sensor-tutorial/
First do what say in “ENABLE THE ONE-WIRE INTERFACE”
https://www.circuitbasics.com/raspberry-pi-ds18b20-temperature-sensor-tutorial/
`
dtparam=audio=on
[pi4]
dtoverlay=vc4-fkms-v3d max_framebuffers=2
[all]
dtoverlay=w1-gpio `
sudo modprobe w1-gpio
sudo modprobe w1-therm
lsmod
sudo nano /etc/modules Add: w1_gpio w1_therm
Reboot cd /sys/bus/w1/devices/ ls
sudo modprobe w1-gpio
sudo modprobe w1-therm
lsmod
sudo nano /etc/modules Add: w1_gpio w1_therm
Reboot cd /sys/bus/w1/devices/ ls
pi@mypi:/sys/bus/w1/devices $ ls
28-00000912a17d w1_bus_master1
Still error in homebridge?
Restarted both pi and homebridge:
[3/15/2021, 7:26:24 PM] [RPi] mypi: Raspberry Pi 4B v1.4 (BCM2711, 2GB) - 1000000050AB73ED Error: Could not find 1-Wire temperature sensor Error: Could not find 1-Wire temperature sensor
Still error in homebridge?
Restarted both pi and homebridge:
[3/15/2021, 7:26:24 PM] [RPi] mypi: Raspberry Pi 4B v1.4 (BCM2711, 2GB) - 1000000050AB73ED Error: Could not find 1-Wire temperature sensor Error: Could not find 1-Wire temperature sensor
Still error in homebridge?
pi@mypi:/sys/bus/w1/devices/28-00000912a17d $ cat w1_slave 9f 01 4b 46 7f ff 01 10 40 : crc=40 YES 9f 01 4b 46 7f ff 01 10 40 t=25937
Correct me if I´m wrong, but I think the error is in the homebridge-ds18b20 package and not in the way the pi reads the value (one wire protocol ect.), cause with other HomeKit implementations it works fine for me. (I swapped over to an other implementation 3 years ago)
Did you update all your homebridge?
Did you update all your homebridge?
Correct me if I´m wrong, but I think the error is in the homebridge-ds18b20 package and not in the way the pi reads the value (one wire protocol ect.), cause with other HomeKit implementations it works fine for me. (I swapped over to an other implementation 3 years ago)
Hmm, thank you. Any suggestions for setting up Ds18b20 in different rooms and monitoring them?
You have to use more raspberry and Try dht22
I downloaded your script by >>sudo npm install -g homebridge-ds18b20<< but when I started homebridge I got the error >>Error: Could not find 1-Wire temperature sensor for deviceId = 28-01344f000003<<. To be sure its not a connection mistake by my wirering I checkt it manually with w1_slave and I got the right temp. (>>pi@raspberrypi:/sys/bus/w1/devices $ ls 28-01344f000003 w1_bus_master1<<, >>pi@raspberrypi:/sys/bus/w1/devices $ cat 28-01344f000003/w1_slave 79 00 17 0f 7f ff 07 10 7e : crc=7e YES 79 00 17 0f 7f ff 07 10 7e t=7562<<) Anny idea what the problem might be?