
No, quella cartella mail etc è vuota.
Proviamo a confrontare:
la tua cartella w1thermosensor è in /home/pi ? ed è da 359 kb ?
In /usr/local/bin ci sono i file ds18b20 e ds18b20.py ?
in etc , c'è questo file ?:
Codice: Seleziona tutto
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
i2c-dev
w1 gpio
w1_therm
e in etc c'è anche questo file ?
Codice: Seleziona tutto
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
sudo /usr/local/bin/ds18b20 0315937deaff 7
exit 0
Ovvio che ci sono le mie impostazioni (codice sensore e numero di metern ) ma giusto per capire alla grossa se
ci sono divergenze