Phidgets Manual

To get familiar with the Phidgets and how to program them, read the Phidgets manual

OSGi

To get familiar with the OSGi technology we recommend you read the papers "Toward an OSGi-Based Infrastructure for Context-Aware Applications" and "Enabling Smart Spaces with OSGi"

After you finish reading those papers, you can read and follow the steps to create OSGi project. Also you can find some tips in the OSGi quick-learning manual.

Now, you can try developing your own OSGi services by following the OSGi Tutorial.

The OSGi specification is a book with more details on this technology.

Here are some demos for you to learn OSGi. Each demo contains source code and bundles. You can run those bundles into Knopflerfish framework. Download the OSGi Demos source code here.

No.DemoDescription
1dateService dsExample of declarative service.
2quoteconsumerExample of declarative service and consumer.
3doubleClickExample of swt layout.
4shapeExample of multiple componts.

Declarative service is strongly recommended in your project. Service Listening and activator seem to be out-of-dated. Also, swt has better compatibility than awt and a swing layout. RCP also works in a plug-in project.

Programming Example

We prepared the following PowerPoint presentation on Phidgets & OSGi programming. You can take a look at the Phidgets & OSGi Presentation here.

Here is the example code used above.

INSTEON Developers Guide

For the Insteon Developers Guide, visit this pdf.

Sensor Distribution

The details of the Phidget connections details to the smarthome1 computer are linked.