Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » subscribing to Kura service using mosquitto
subscribing to Kura service using mosquitto [message #1734655] Fri, 10 June 2016 08:12 Go to next message
Ahmed Said is currently offline Ahmed SaidFriend
Messages: 2
Registered: June 2016
Junior Member
Hi every one,

This is supposed to be very basic. I followed the tutorial on Kura publishing to the cloud on the Github.


After that I installed mosquitto-clients on my Raspi.
I try to subscribe to the service name provided in the tutorial "data" using

mosquitto_sub -h iot.eclipse.org -p 1883 -t data
but i receive nothing, in spite that the heater service is running on my PI and is publishing to the MQtt server and I am connected to the server.

Please help. I had spent a lot of time.
Thanks in advance

Ahmed
Re: subscribing to Kura service using mosquitto [message #1734856 is a reply to message #1734655] Mon, 13 June 2016 14:12 Go to previous message
David Woodard is currently offline David WoodardFriend
Messages: 420
Registered: July 2014
Senior Member
Hi Ahmed,

If you are using the Heater demo without modifications, it is publishing on a topic like <account_name>/<client_id>/heater/data. You can check the Kura log (/var/log/kura.log) to get the exact topic being used. So, you would want to subscribe to something like: <account_name>/<client_id>/heater/data. You can also use wild card characters, like: <account_name>/+/heater/#.

Thanks,
--Dave
Previous Topic:Kura installation blocking Tomcat
Next Topic:Way to update configuration values set by OSGI-INF/metatype/xxx.xml using class interface
Goto Forum:
  


Current Time: Fri Apr 19 21:37:11 GMT 2024

Powered by FUDForum. Page generated in 0.02852 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top