MQTT Device read data

Discussion of AggreGate IoT Integration platform.

MQTT Device read data

Postby ebasak_tr/gmail_com » Mon Mar 05, 2018 11:57 am

Hello all,

I want to create a new model for a mqtt device. I can create a connectşon to the device and count of message from mqtt server. But I can not read the data from the device. I can publish the data from mqtt server like this ; from linux server , mosquitto_pub -h -p 1883 -t temp -m "32" .
I want to see the data in my aggregate test server. What should i do this ? Orderly ;
1) Created a new device (mqtt)
2) Create a new model (asking this)
3) Create a new widget (content data table) true?

Please help me.
Posts: 3
Joined: Sun Jan 08, 2017 2:17 pm

Re: MQTT Device read data

Postby sergey_eritsyan/tibbo_com » Wed Mar 14, 2018 11:56 am

I already answered you in the same Topic theme -

1) Type in the Topic setting "#"
2) Create a model and add a writable variable
3) Then add a binding, in the target - model variable, as activator - MQTT message, for example, "users.admin.devices.mqtt:message@"
4) In the expression write {env/value} and check "On event" checkbox

After that, open model's additional properties and generate MQTT message. In the additional properties, you will see a table with a message.
Posts: 88
Joined: Fri Jul 07, 2017 10:42 am

Return to IoT, M2M and Remote Monitoring/Service

Who is online

Users browsing this forum: No registered users and 2 guests