Hello, this is another update Today I have stopped the script monitoring the devices in the directories. As planned and as sugested I've started a new script monitoring the devices with owread uncached.
Last result of the script monitoring the devices in the directories: Ran for 146 hours, 291 errors detected 234 errors are missing devices 28.4E3066020000 missing=54 (owdir=9 "owdir uncached"=18 /mnt/1wire=11 /mnt/1wire/uncached=16) 26.FFD8F1000000 missing=146 (owdir=31 "owdir uncached"=42 /mnt/1wire=35 /mnt/1wire/uncached=38) 10.B6FAE5010800 missing=17 (owdir=1 "owdir uncached"=7 /mnt/1wire=0 /mnt/1wire/uncached=9 ) 29.1C9E09000000 missing=17 (owdir=0 "owdir uncached"=10 /mnt/1wire=0 /mnt/1wire/uncached=7 ) 49 errors are double devices 8 errors are x3 devices the x2 and x3 are all for device 29.1C9E09000000 (LCD driver) same day same time (19:20 to 19:21 so 11 minutes) Anyway theses log are not very meaningfull. Again no measures missed with my readings every 5 minutes, no holes in my graphs. Now I have started this new script (here under). This shell script uses owread to read the devices in the uncached directory. It performs check every 5 seconds and it takes 4.3 to 4.8 seconds to read the 7 devices. The script check if owread terminates with error and log the error. I have checked the script by physically disconnectiong a device, it works, errors are logged. Any comments on the method or the script are welcome. I will keep it running for a few days and after that connect again my temp sensor which is currently connected to an arduino ans was the most faulty before. Let's see what's happen. I've checked the cabling (again), nothing to report, connections are ok. #!/bin/sh # 5 Juin 2016 -- Script to check if any device disappear from 1wire bus while : do sleep 5 # check every 5 seconds # This part here under takes almost 5sec (due to access to 1wire bus on 7 devices) owread /uncached/10.B6FAE5010800/temperature >/tmp/FileTmp 2>&1 if [ $? -ne 0 ]; then echo -n `date` >> /tmp/LogCheck1wire echo -n " 10.B6FAE5010800 " >> /tmp/LogCheck1wire cat /tmp/FileTmp >> /tmp/LogCheck1wire fi owread /uncached/10.9702E6010800/temperature >/tmp/FileTmp 2>&1 if [ $? -ne 0 ]; then echo -n `date` >> /tmp/LogCheck1wire echo -n " 10.9702E6010800 " >> /tmp/LogCheck1wire cat /tmp/FileTmp >> /tmp/LogCheck1wire fi owread /uncached/3A.546302000000/sensed.BYTE >/tmp/FileTmp 2>&1 if [ $? -ne 0 ]; then echo -n `date` >> /tmp/LogCheck1wire echo -n " 3A.546302000000 " >> /tmp/LogCheck1wire cat /tmp/FileTmp >> /tmp/LogCheck1wire fi owread /uncached/29.1C9E09000000/sensed.BYTE >/tmp/FileTmp 2>&1 if [ $? -ne 0 ]; then echo -n `date` >> /tmp/LogCheck1wire echo -n " 29.1C9E09000000 " >> /tmp/LogCheck1wire cat /tmp/FileTmp >> /tmp/LogCheck1wire fi owread /uncached/28.4E3066020000/temperature >/tmp/FileTmp 2>&1 if [ $? -ne 0 ]; then echo -n `date` >> /tmp/LogCheck1wire echo -n " 28.4E3066020000 " >> /tmp/LogCheck1wire cat /tmp/FileTmp >> /tmp/LogCheck1wire fi owread /uncached/3A.B36002000000/sensed.BYTE >/tmp/FileTmp 2>&1 if [ $? -ne 0 ]; then echo -n `date` >> /tmp/LogCheck1wire echo -n " 3A.B36002000000 " >> /tmp/LogCheck1wire cat /tmp/FileTmp >> /tmp/LogCheck1wire fi owread /uncached/26.FFD8F1000000/humidity >/tmp/FileTmp 2>&1 if [ $? -ne 0 ]; then echo -n `date` >> /tmp/LogCheck1wire echo -n " 26.FFD8F1000000 " >> /tmp/LogCheck1wire cat /tmp/FileTmp >> /tmp/LogCheck1wire fi done Best regards -- Guy ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers