[Fiware-tech-help] IotAgent Json

Pasquale Vitale pvitale at eng.it
Wed Jul 20 18:30:53 CEST 2016


Dear all,
I'm trying to use the iotAgent-json.
I'm just following this documentation at link 
https://github.com/telefonicaid/iotagent-json/blob/master/docs/stepbystep.md.

I'm using the agent in the same virtual machine of the context broker 
(centos 6.6).
In attached you can see my config.json file - I'm using service=home and 
subservice=/environment

My device provisioning file is also in attached.

I'm using the mosquitto commands:

mosquitto_pub -t /1234/sensor01/attributes -m '{"l":4,"t": "31.5"}'

  but I cannot see in the orion context broker the data (temperature and 
humidity) - data are empty.

I don't know if I missing something.
Could you help me?

Thank you in advance,
best regards,
Pasquale

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20160720/ba544742/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.js
Type: application/x-javascript
Size: 1564 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20160720/ba544742/attachment.js>
-------------- next part --------------
{
	"devices": [{
		"device_id": "sensor01",
		"entity_name": "LivingRoomSensor",
		"entity_type": "multiSensor",
		"attributes": [{
			"object_id": "t",
			"name": "Temperature",
			"type": "celsius"
		}, {
			"object_id": "l",
			"name": "Luminosity",
			"type": "lumens"
		}]
	}]
}


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy