TTS Clock for Empeg r7
http://www.zabaware.com/empeg/ttsclock.zip

by Robert Medeksza
medeksza@zabaware.com


TTS Clock is a simple bash script for the Empeg Rio Car that will speak out loud the weekday, month, day, and time using prerecorded files a few seconds after ignition. Click here to here a sample of it speaking in MP3. To install it, simply follow these steps:

  1. First make sure that you have the developer version of the empeg player software version 2.00
  2. Next make sure hijack 320 or higher is installed on your empeg. Hijack and instructions for installing it are at http://empeg-hijack.sourceforge.net/
  3. Download the TTS Clock program from http://www.zabaware.com/empeg/ttsclock.zip
  4. Unzip all the files in this archive onto a folder on your PC.
  5. Open a Command Prompt
  6. CD into the folder where you unzipped this archive
  7. Type the following command:
    ftp -s:ttsclock.ftp [empeg]
    (where [empeg] is the hostname or IP address of your empeg)
  8. Next you will need to edit your config.ini file. Instructions on how to edit config.ini can be found here. Add the following line to the [hijack] section of your config.ini:
    ;@EXEC_ONCE /drive0/var/ttsclock


Time zones:
The empeg player app uses its own time zone settings separate from the kernel. If you use the player's time zone settings and have set the time zone to anything other then UTC or Universal then you need to use a command line option with the TTS Clock to tell it what time zone to use. The command line is -t# where # is a number (can be negative) that should be added to the universal time to get your time zone. For example, if you live on the East coast of the US the time is -5 hours off. The config.ini line for that should be:
;@EXEC_ONCE /drive0/var/ttsclock -t-5
West coast of the US would be:
;@EXEC_ONCE /drive0/var/ttsclock -t-8
Germany would be:
;@EXEC_ONCE /drive0/var/ttsclock -t1

The empeg player app will automatically adapt for day light savings time changes. Unfortunately, the TTS Clock does not and will require you to edit the config.ini during time changes. If you wish to avoid this, you can change the player app to use Universal time and forget about this command line option.
 
 

Changes in r7

  • Fixed bug in timezone command line argument where it gave the time of the selected timezone, but continued to give the date of the UTC timezone
  • Changes in r6

    Changes in r5

    Changes in r4 Changes in r3 Changes in r2