Skip to content

Instructions for starting the Steward

Alasdair Allan edited this page Aug 21, 2013 · 22 revisions

In the steward directory type

sudo ./run.sh

When the steward starts, it will automatically discover devices via a variety of mechanisms:

The steward also needs your help. When the steward starts from scratch, it doesn't know it's physical location. In order to calculate solar events such as sunrise, it needs to know it's physical coordinates.

Normally, when the first client does a successful tap, it will ask you for permission to configure the steward with location and other information. However, the tap isn't implemented yet; so, at least for now, you will need to configure the steward using the d3 example client to create a "place" actor with this information.

Monitoring

When the steward starts, it will be listening for https traffic on port 8888. Start by visiting

    https://127.0.0.1:8888/

which will present you with the default d3 example client.

d3 example client

If warned about the certificate as being untrusted, please be sure to "permanently accept" the certificate as valid for 127.0.0.1

Configuration

Click on the 'Connect' button, and then on 'Configure' to enter the configuration screen. Here you can name your steward and enter your street address which will allow you to automatically geolocate your latitude and longitude.

d3 example client

You can also configure some network services; prowl, netatmo, Nest, Tesla, and Xively (aka Cosm or Pachube).

Click on 'Save' and you'll be returned to the login screen. CLick on 'Connect' and then on 'Home' and you'll be taken to the basic view of your things.

d3 example client

If you have Philips' Hue light bulbs, remember to push the pairing button on the hub at this point to advertise to allow the steward to talk to your light bulbs.

From here you can click on individual things, like for instance a light bulb, and be offered some basic controls,

d3 example client d3 example client

to be clear the d3 client only exposes a small subset of the steward's abilities. You can take a more detailed look at what's going on by going to the console,

    https://127.0.0.1:8888/console.html

steward console

where a full list of the available things and reports from them can be found.

For now at least if you want to control your things, you'll have to write your own clients or use the example clients provided.