Agile-IoT / agile-stack

Develop with the agile IoT stack on real hardware
Eclipse Public License 2.0
7 stars 14 forks source link

Problem adding development of a new type of device #45

Open ndujar opened 6 years ago

ndujar commented 6 years ago

Hello, Is there any example on how to deploy and add a different kind of device other than ti sensor tag? We have been following this: http://agile-iot.eu/wiki/index.php?title=How_to_develop_a_new_Device However, deployment in a Raspberry Pi following the wiki (http://agile-iot.eu/wiki/index.php?title=Getting_started_with_AGILE) leads to dead ends. Specifically, we got stuck with: ERROR: Service 'agile-devicefactory' failed to build: {u'result': None, u'error': u'Internal Server Error (HTTP 500): SyntaxError: Unexpected token . in JSON at position 0'}

After some debugging of the docker files, this seems to be connected with the following error in the start.sh script, because we get:

!! Cannot export DBUS_SESSION_BUS_ADDRESS. Exit

Any help is very much appreciated

dpap commented 6 years ago

Hi there! Since you need to develop a new BLE driver I think you should start with agile-dev which includes this repo as a submodule

ndujar commented 6 years ago

Hi @dpap , thanks for the quick response. We have actually gone through with the agile-dev repository, but stil no luck. Is there any step-by-step guide as to how may one incorporate a new type of device to the Agile-iot ecosystem? Thanks!