Hello,
i try to follow the following description to setup one-wire with a raspberry PI v3:
I managed to setup SSH.
If i login as root, there is no folder “/mnt/boot” mentioned in the documentation above.
Regards,
Franky
Hello,
i try to follow the following description to setup one-wire with a raspberry PI v3:
I managed to setup SSH.
If i login as root, there is no folder “/mnt/boot” mentioned in the documentation above.
Regards,
Franky
Put the sd card to (windows) computer. windows can only read the boot partition so easy to find
Thanks, that solved it, but still the documentation should be corrected.
The next step is now the missing devices under sys/bus/w1/devices
Did you get this sorted? If you are loging in from ssh and you entered the command of cd \
you will be at the root of the SD Card command of ls
you should see the config.txt you are looking for. Well it depends on how you installed but if not shutdown the Pi and insert it in another computer and like metioned you can browse and edit it
@frankyhun I commented the same time lol glad you got it sorted. Yes the documentation is always needing editing you can contribute back to the project by fixing the documentation!
Did you turn on the one wire bus? What commands?
I just added to config.txt the line “dtoverlay=w1-gpio”, and did a reboot
are you using 3v3 to pull up the data line? on the sensor witha resistor of course maybe 4.7K
Yes, there is a 4.7k resistor for pull up. Actually it already worked with a raspbian installation, the sensor was there in the folder, and i could read it with python. Now i try to switch to HomeAssistant, irrigation relays are already working, but not the thermal sensors.
Managed to get it working. Looks like a loose cable was the root cause. Now the thermal sensors show up under /sys/bus/w1/devices
Can I blow some life in this discussion?
I had a DS18B20 configuration on a p4. I read the values and forwarded them to another P4 with home assistant via mqtt.
that worked.
I prefer to read the ds18b20 directly from the HA pi4. so I edited the config.txt with dtoverlay = w1-gpio
I connected the 1wire bus in the same way as on the first Pi4:
pin 1 and 6 for 3.3V power
pin 7 (GPIO4) for the dataline. I get no devices in the devices folder.
apparently in 7 is not the right pin of I have to tell HA to use pin 7 for the dataline. Where do I do that?