piface / PiFace-Real-Time-Clock

Installation script for PiFace Real Time Clock.
MIT License
13 stars 13 forks source link

temp sensor #13

Open kayleachampion opened 6 years ago

kayleachampion commented 6 years ago

Dear PiFace Team,

I think I have the hwclock working fine, but I don't seem to have access to the temp sensor. I also don't see the temp sensor described in your install guide, does it need an init script separate from the hwclock?

I was trying to access the temp sensor using instructions from this site... https://community.spiceworks.com/how_to/147992-cheap-server-room-temperature-monitor-and-email-alert-system

...they tell me to use i2cget, but that seems to fail on the given address:

pi@raspberrypi:~ $ sudo i2cget -y 1 0x6F Error: Could not set address to 0x6f: Device or resource busy pi@raspberrypi:~ $ sudo i2cget -y 1 0x4F Error: Read failed

pi@raspberrypi:~ $ sudo hwclock -r 2017-12-19 02:08:32.177158-0800

pi@raspberrypi:~ $ sudo i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU 70: -- -- -- -- -- -- -- --