eyatsko Posted August 5, 2020 Posted August 5, 2020 Hello! Is there any way to read all 1-Wire Dallas Thermometers at once (not to read one-by-one)?
martinayotte Posted August 7, 2020 Posted August 7, 2020 On 8/5/2020 at 2:00 AM, eyatsko said: Is there any way to read all 1-Wire Dallas Thermometers at once (not to read one-by-one)? Instead of doing individual "cat /sys/bus/w1/devices/28-000003ebdd28/temperature" on each devices, I presume you can do multiple with "cat /sys/bus/w1/devices/*/temperature" ...
eyatsko Posted August 10, 2020 Author Posted August 10, 2020 Thanks a lot for your answer but... It's pretty the same as individual commands :-) I thought threr is a way to read all values at once. One file for example.. "cat /sys/bus/w1/devices/*/w1_slave" just does subsequent reads.
Recommended Posts