User Tools

Site Tools


chumbysoftware

This is an old revision of the document!


Installation of the Chumby Software

You need a recent version of the Chumby Software Image, as described here: ChumbyImageHowto. The image contains various Ruby scripts to retrieve data from external sources and exposes it to Flash frontends. All software is installed to /mnt/storage so that it runs from the internal SD card.

Setting up the environment for internal use

If you log into the Chumby via SSH, run

$ /mnt/storage/environment.sh

to get an interactive shell with an updated environment.

Configuring the daemon

The Ruby daemon “msg-chumby-daemon” retrieves the current power consumption from your Flukso. It depends on an configuration file which you need to adjust. A template can be found in ”/mnt/storage/usr/lib/ruby/gems/1.8/gems/msg-chumby-display-0.2.0/etc/msgchumbydaemonrc” (depending on the version of the gem). Copy it to ”/mnt/storage/usr/etc” and edit it to reflect your local Flukso settings. For example:

# These are the access parameters of the CC-HPC demo flukso - replace
# with your own parameters!
ACCESS_TOKEN: "bb8640e074de14b9d444be7b1359707f"
SENSOR_ID: "67e9fa794684e4902730be208e9d734e"
FLUKSO_LOCATION_METHOD: "static"
FLUKSO_HOST: "192.168.1.102"
FLUKSO_PORT: "80"
FLUKSO_LOCAL_ID: "d69779ec53a9323b695ee86b5328dd28"

Access token and sensor id are needed to retrieve longterm values from the website. The FLUKSO_* variables describe where the Flukso lives on the local LAN, and what sensor ID should be queried.

Linking the software into the startup process

chumbysoftware.1278667357.txt.gz · Last modified: 2012/10/30 10:40 (external edit)