PiTime

PiTime

Outils | Adrian Rosoga

Jouez sur PC avec BlueStacks - la plate-forme de jeu Android, approuvée par + 500M de joueurs.

Page Modifiée le: 31 décembre 2015

Play PiTime on PC

sudo /bin/date MMddHHmmyy.ss

PiTime updates the time (more precisely the date) on the Raspberry Pi, taking the time from the Android phone. It simply sends the above one-liner to the Pi, no more, no less!

This is useful when there is no Internet connection so the Pi cannot synchronize its clock from NTP servers. One use case is doing timelapse photography with a headless Pi. CreateDate field in photo's Exif needs to be correct for timelapse movies that have a running timestamp. In such a case use USB tethering between the Android device and the Pi and access the Pi on (usually) 192.168.42.42 IP address.

A big thanks to the JSch authors - the Java library used to ssh to the Pi.

Please send suggestions to arosoga@gmail.com.

Jouez à PiTime sur PC. C'est facile de commencer.

  • Téléchargez et installez BlueStacks sur votre PC

  • Connectez-vous à Google pour accéder au Play Store ou faites-le plus tard

  • Recherchez PiTime dans la barre de recherche dans le coin supérieur droit

  • Cliquez pour installer PiTime à partir des résultats de la recherche

  • Connectez-vous à Google (si vous avez ignoré l'étape 2) pour installer PiTime

  • Cliquez sur l'icône PiTime sur l'écran d'accueil pour commencer à jouer

Regarder la Vidéo