AboutWith TemiScript, you can write simple commands in a text file, and temi will perform the actions in sequence for you. Actions include: Go to saved location, Speak user-inputted text, Display images, Play videos, mp3, Go to a location and speak at the same time, Greet and start script when a human appears in front of temi, User-defined background and buttons graphics, Take a photo How to use: 1. Upload script files to /sdcard/TemiScript/config directory, and upload all necessary resources (background images, video or audio clips you intend to play) to /sdcard/TemiScript/resources directory. 2. The script files must be named script1.txt, script2.txt, script3.txt ... etc. Each script file gets mapped to a button on Screen. 3. The background image must be named banner.jpg or banner.png, and must not be bigger than 2560x1900. The button images can be replaced also, and must be named buttonImage1.jpg, buttonImage2.jpg, buttonImage3.jpg ... etc. (can be .jpg or .png formats). 4. To upload files, click the tools icon at the bottom left of main screen, which should bring up a tools activity, and then toggle the FTP server switch. This should temporarily allow anonymous FTP login to Temi on port 60021. (adb push also works) 5. Script file editing: Each scriptx.txt file can contain a sequence of unlimited lines of commands. A partial list of commands that temiscript currently supports include: -- say – Temi will speak the words typed with the system language Syntax: Say ; [speech] ; [timeout in seconds] Example: say ; I am the best robot in the world ; 10 -- say2 – Temi will speak the words using Android’s native text-to-speech engine Syntax: Say2 ; [language code] / [speech] / [speech rate (optional, 0.1 to 4.0)] ; [timeout in seconds] Some users may prefer Android’s own speech-synthesis engine. The say2 command allows user to do so. The language code follows ISO-639 standard, except for cantonese (yue) Example: say2 ; en / some english text ; 10 say2 ; yue / 郵差叔叔送信純熟迅速送出 / 3.0 ; 10 -- goto – temi will go to a location quietly Syntax: goto ; [location] ; [timeout (seconds)] Example: goto ; kitchen ; 60 -- video – temi will play a video stored in the file system Syntax: video ; [file name] Example – video ; introduction.mp4 (Please make sure you save the video file in the TemiScript/resources folder) -- youtube – temi will play a youtube video Syntax: youtube ; [video id] Example – youtube ; YwW0PO_cUy4 (Here the actual youtube link is https://www.youtube.com/watch?v=YwW0PO_cUy4, but you only need to type in the last part of the link after v=) -- image – temi will display a fullscreen image. To hide the image, please use “null” as the file name Syntax: Image ; [file name] Example: image ; showroom.jpg say ; I am a happy robot ; 10 image ; null (Please make sure you save the image file in the TemiScript/resources folder) -- wait – temi will wait for x seconds Syntax: wait ; [time in seconds] Example: wait ; 10 -- audio – temi will play mp3 songs, and will play the entire song before going to the next line in the script Syntax: audio ; [file] Example – audio ; happy.mp3 (Please make sure you save the audio file in the TemiScript/resources folder) -- launch – temi will launch an app which you have downloaded Example: launch ; com.google.android.youtube To find out the full name of the apps, type: adb shell 'pm list packages' or type adb shell 'pm list packages -f ' -- photo ; local Commands Temi to take a photo, then save it in the TemiScript/resources/photos directory. -- web ; [url] Display the specified website. e.g. web ; https://www.google.com Remember to include the http:// or https:// part -- tel ; [contact name] Start a conference call with the specified contact (who’s in your Temi’s contact list). “tel ; admin” will start a call with the Temi’s owner. Due to word limits, unfortunately the complete user guide cannot be included here. Full user manual will be posted online later.
Be the first to review this app