You could also use OSGi Remote Services
[1]...on raspberry pi and/or other devices...to represent
device-specific API...and/or higher-level/aggregated services
(e.g. 'IGreenhouse'). For a example tutorial [1].
I am currently in the middle of testing a new Raspberry Pi 'GPIO
Pin' service. It abstracts the functionality of the pi's GPIO
pins and makes them available as very simple OSGi (remote)
services. See [2] and [3]. It's implemented using pi4j.
The transport independence of ECF's impl would allow use of MQTT,
or http, or multiple transports [4]. Of course you can
mix/coexist with anything that's not currently based upon remote
services, so it wouldn't require changing anything that exists.
I think that the service-contract-level interoperability provided
by standardized OSGi remote services (along with dynamics,
versioning, security, etc), makes for a nice compliment to the
overall interoperability message you have going.
Scott
[1]
https://wiki.eclipse.org/Tutorial:_OSGi_Remote_Services_for_the_Raspberry_Pi
[2]
https://dev.eclipse.org/mhonarc/lists/ecf-dev/msg07217.html
[3]
https://github.com/ECF/RaspberryPI
[4]
https://github.com/ECF/Mqtt-Provider
On 7/16/2014 4:14 PM, Benjamin Cabé wrote:
All,
The demo scenario for JavaOne and the API to consume sensor
data coming from the greenhouse or toggle the lighting on or off
are described on the following wiki page [1].
A fully-web based simulator runs at [2] and allows you to
simulate the "eclipse-greenhouse", or virtually any number of
greenhouses. This is useful if you're e.g interested in
extending the demo to showcase a technology consuming the data
from N greenhouses (by listening to javaonedemo/#, for example)
and consolidate them or display them on a chart.
This web UI will be enhanced to also act as a "control
remote" that will allow to visualize the current status of an
existing greenhouse.
I believe this simple scenario will enable many parallel
demos that will help demonstrate not only the Eclipse IoT Java
stack, but also the interoperability brought by MQTT and CoAP.
Please do not hesitate to ping me should you have any
questions,
Benjamin –
_______________________________________________
iot-wg mailing list
iot-wg@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/iot-wg