IBeacon not connect using MQTT


I’m using an IBeacon gateway, where it has fields to rearrange the MQTT configuration, so I created a simple device on the Cayenne in which it gives me the values ​​to store on my device. I did everything right, but he even gets the data, but does not create the Widgets.

here the settings of the Cayenne MQTT

here the IBeacon fields

I think there’s some problem with Cayenne.


try topic v1/username/things/clientID/data/channel + payload
Read more about this https://mydevices.com/cayenne/docs/cayenne-mqtt-api/#cayenne-mqtt-api-manually-publishing-subscribing


I tried to send the data through MQTT.fx according to the documentation, but it still was not.
For example:



This is the data that the gateway sends:


I think it will not be possible for the Cayenne, I’ll need to find a dashboard where I can manipulate the incoming data.




I tried but it did not work :confused:


tagging for this @eptak



You almost got it right, first of all there are two ways of sending data.

Option 1:
Topic should be: v1/d8fe64e0-5a9f-11e7-80f0-a334be42512c/things/640d2260-903c-11e8-9075-e9c6dcfa3ddd/data/1

Now the payload format:

Option 2:
Topic v1/d8fe64e0-5a9f-11e7-80f0-a334be42512c/things/640d2260-903c-11e8-9075-e9c6dcfa3ddd/data/json

Payload in JSON format:
[ { "type": "temp", "unit": "c", "value": "23.0", "channel": 2 } ]

Hope this help, let us know.



In the last package sent it shows that it has arrived, but it is not creating the dashboards. Is it necessary for the json package to send the channel? Because the data my gateway sends are fixed, I can not put another channel-type property.


Oh I see what you mean now. We can’t parse the IBeacon payload, you have to conform to the MQTT API by following the topic and payload format.