Official website

Wednesday, May 1, 2013

Posting actions via qr code

For simple understanding on how to use RESTful commands, let's make a dummy example with a QR code.
If you want to post to the server over the web, go to your favorite qr code maker (http://goqr.me/) and select URL. Type your Jubito hostname including the REST style command (/index.html?cmd=<your-custom-instruction set>). When you scan the QR code, the corresponding action will be executed.


On your home network you can use a TCP socket. Check this post to see how to setup a TCP socket to listen for network data.
Syntax... http://192.168.1.90:5744/<your-custom-instuction-set>. Just make sure that you have include the senders IP to the trusted list in XML file.


By using a socket you can also access via telnet.
Syntax telnet 192.168.1.90 5744

See also Communicate over a TCP socket

Monday, April 15, 2013

Stylesheets

Themes below are apply to jquery mobile 1.3.1. Jubito currently use version 1.4. Please read the note on this post.

Glacier (Default)

Download

Droid

Download

Bronze

Download

Mustard

Download

Desert

Download

Hot Rod Red

Download

Brick

Download

Reddish

Download

Instructions

To change the stylesheet follow this post
or alternatively edit index.html and change the stylesheet name
<!DOCTYPE html>
<html>
    <head>
        <title>jubito</title>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="default.css" />
        <link rel="shortcut icon" href="favicon.ico" />
        <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile.structure-1.3.1.min.css" />
        <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
        <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
You can also create a custom one with themeroller.

Friday, March 22, 2013

Linux voice configuration

The voice-installer script from download area installs the cmu_us_slt_arctic voice [1]. By default it's set to US English slt (female) voice. In this post we'll see how to make a different selection.

First listen voice examples here and choose which one you want to use. Then download the package from here and modify the voice-installer script to use that file. When installation completes, edit /etc/festival.scm file and jump to CMU Arctic voices. Comment the default one (in yellow) with double semicolons (;;) and remove them from your desirable choice. This is it. Save and close the file and you're done!

;;;; CMU Arctic voices
;;(set! voice_default 'voice_cmu_us_rms_arctic_clunits)
;;(set! voice_default 'voice_cmu_us_bdl_arctic_clunits)
(set! voice_default 'voice_cmu_us_slt_arctic_clunits)
;;(set! voice_default 'voice_cmu_us_clb_arctic_clunits)
;;(set! voice_default 'voice_cmu_us_awb_arctic_clunits)
;;(set! voice_default 'voice_cmu_us_jmk_arctic_clunits)

[1] By default the script checks if festival exists. If not, will ask you to install. Then you should re-run the script to proceed to voice installation.

* Automated scripts will follow for all arctic voices.

Monday, March 18, 2013

Version 0.9 beta released

A beta version of Jubito finally released! It comes in two flavors, Windows and Linux.

Download Jubito

Tuesday, March 5, 2013

Scheduling tasks

Another important tool is the Scheduler. It can be formed as a simple notification, a hierarchy of tasks or as a daemon.

Scheduler Parameters 
Name: a schedule handler.
Date: when an action doesn't need to be repeated and removed from schedule when completed.
Or
Periodically
    Daily - action takes place every day at specific hour
    Workdays - action takes place from Monday to Friday at specific hour
    Weekend - action takes place every Saturday and Sunday at specific hour
    Specific day {Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday} - action takes place from day specified at specific hour
    Repeat - a repeated action that takes place at a specified time in milliseconds
Action: a simple sentence or an instruction set call


Let's see some examples.

A simple notifier that inform us daily at 9am to take out the trash.


A daemon that check every 5 minutes for unread e-mail messages.


Corresponding Instruction Sets.




Scheduler can fulfill a number of scenarios like, wakeup call (ask me to wake up work days at 7am, tell me weather conditions, turn on the room light), automation control (turn off garden lights daily at 11pm) or check-out after 10am when I'm living for work, etc.

Yahoo! Weather RSS feed

This summary is not available. Please click here to view the post.

Wednesday, February 27, 2013

Web UI customization

Note: Latest version of Jubito use jquery mobile 1.4, the only difference to this guide is that there is a directory called themes under www and you have to paste your customized default.css and default.min.css files over there. [ Useful source: Creating a Custom Theme with ThemeRoller ]

To give your own flavor to the Jubito's web UI, a really easy task since it's developed with jQuery mobile.
Go to theme roller drag & drop colors of your choise to swatch A and click download. Unzip the downloaded file, go to themes folder and copy the .css file to Jubito's folder under www. Then rename it to default.css if it's not already.




 

That's it, enjoy the new look!