Hi Ivan Lopez,
Please refer to the following articles:
Thanks for your hints: I have been able to configure the TW platform with the Mosquitto server on my laptop.
However, I am currently facing some communication issues as described below:
- On the edge side: I have installed a MQTT Client Android app that, configured with Broker IP and port, communicates correctly with it. This has been just a trial, before connecting the TI SensorTag app, to figure out if the broker server was connectable or not.
- On the platform side: ThingWorx is working correctly with the Mosquitto server and, putting some input values from Mosquitto, ThingWorx is able to receive them in real-time, and vice versa.
The facing issue relates to the fact that these two sides do not "speak" each other: sending some values from the MQTT Client mobile app to the Mosquitto server, they are not received by the TW platform. So, I am not able to figure if there is some connection configuration trouble.
Below the printscreen of the TW Log.
Thank you in advance,
I have made a new trial and I guess the issue is the following:
"Error Handling Publish Arrived for [random/temp] : [Unable To Convert From java.lang.String to NUMBER]"
Could someone suggest me how to convert the input string-value, coming from the broker, into a number on the related mashup?
Appreciating your help,
I have not created the service yet, that is my concern. I am trying to understand which TW entities should I model in order to define this service.
What I am doing is the following: I am sending some number inputs from the MQTT Client mobile app to MQTT Mosquitto Broker on my laptop (this corrently works) but I am not able to report the sent data on TW dashboard.
On the Thingworx side: the MQTT broker correctly works with Thingworx just putting some values from mosquitto command line: the value are correctly updatedon my mashup.
At this aim, looking at the previous posted error, I am trying to understand if the problem could be just a matter of conversion from string input to number output. The configured topic is "random/temp" as shown below. I hope this helps.