! ! ! ! ! ! ! ! ! ! !
!
18!
!
Witty!Pi!Log!Files!
In!the!directory!that!you!install!your!Witty!Pi!software,!you!can!find!two!log!files:!
schedule.log
!and!
wittyPi.log
.!
The!“schedule.log”!file!contains!the!history!of!schedule!script!executions.!Here!you!
can!see!how!the!next!shutdown!and!startup!get!scheduled.!If!you!saw!unexpected!
schedule!script!behavior,!this!log!should!be!the!first!file!to!check.!
The!“wittyPi.log”!file!records!the!history!of!all!Witty!Pi!activities.!If!you!think!your!Witty!
Pi!doesn’t!behave!right,!this!log!file!might!provide!more!information!for!debugging.!
If!you!need!our!help!for!solving!a!problem,!please!kindly!put!the!log!files!in!email!
attachment!too.!This!will!help!us!to!help!you!better.!
Witty!Pi!gets!Dead!Locked?!
If!you!have!power!supply!connected!to!Witty!Pi,!and!pressing!the!button!on!Witty!Pi!
could!not!startup!your!Raspberry!Pi!(you!may!or!may!not!see!your!Raspberry!Pi!get!
powered!for!1~!2!seconds!only),!then!your!Witty!Pi!gets!dead!locked.!
If!you!are!using!Raspberry!Pi!3
,!this!problem!most!probably!comes!from!the!
Bluetooth,!which!is!newly!on!board!since!Pi3.!In!the!newly!released!firmware,!GP14!
and!GP15!pins!are!mapped!to!UART1,!since!the!UART0!is!used!by!Bluetooth!now.!As!
a!result,!the!TXD!pin!(GP14)!is!in!“INPUT”!state!after!the!boot,!and!it!gets!internally!
pulled!down,!which!causes!the!dead!lock!status!of!Witty!Pi.!
The!solution!is!to!install!
the!latest!software
!(version!2.16!or!higher),!which!has!taken!care!of!this!situation.! ! !
When!dead!lock!happens,!you!will!need!to!reset!your!Witty!Pi.!Just!
remove!the!battery
!
on!Witty!Pi,!and!
unplug!the!power!supply
.!Then!you!wait!for!1!minute!so!the!RTC!chip!
forgets!the!alarm!state,!later!you!will!be!able!to!power!it!on!again.!