Hi All, I have installed Figway tool on Raspberry Pi. I want to register virtual sensor using UL2.0 . Script "python RegisterDevice.py SENSOR_TEMP Sensor1 Temperature-Madrid28001" Error: No route to host is obtained * YOUR DEVICE details: *** DEVICE ID = 49:c7:75:Sensor1 *** ASSET ID = 49:c7:75:Temperature-Madrid28001 * This device will be sent to the ContextBroker with the following configuration *** Entity ID = SENSOR_TEMP.49:c7:75:Temperature-Madrid28001 *** Entity Type = Device *** FIWARE_SERVICE = OpenIoT * Asking to http://130.206.80.47:5371/m2m/v2/services/OpenIoT/assets * Headers: {'content-type': 'application/json', 'X-Auth-Token': '187d**********************************************************************d8900'} * Sending PAYLOAD: { "model": "SENSOR_TEMP", "name": "49:c7:75:Sensor1", "asset": { "name": "49:c7:75:Temperature-Madrid28001", "description": "asset model protocol" } } ... Traceback (most recent call last): File "RegisterDevice.py", line 93, in <module> r = requests.post(URL, data=PAYLOAD, headers=HEADERS) File "/usr/lib/python2.7/dist-packages/requests/api.py", line 94, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python2.7/dist-packages/requests/api.py", line 49, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 457, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 569, in send r = adapter.send(request, **kwargs) File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 407, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', error(113, 'No route to host')) root at raspberrypi:~/fiware-figway/python/Sensors_UL20# I am stuck at this step. Please suggest further steps to resolve this issue. Thanks & Regards, Kanika NEC Technlogies India Pvt. Ltd. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20161210/726e0ac9/attachment.html>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy