Добро пожаловать в сообщество AggreGate

MQTT Device read data

Discussion of AggreGate IoT Integration platform.

MQTT Device read data

Сообщение ebasak_tr/gmail_com » Пн мар 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 xxx.xxx.xxx.xxx -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.
ebasak_tr/gmail_com
 
Сообщения: 3
Зарегистрирован: Вс янв 08, 2017 2:17 pm

Re: MQTT Device read data

Сообщение sergey_eritsyan/tibbo_com » Ср мар 14, 2018 11:56 am

Hello!
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.
sergey_eritsyan/tibbo_com
 
Сообщения: 100
Зарегистрирован: Пт июл 07, 2017 10:42 am


Вернуться в IoT, M2M and Remote Monitoring/Service

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 1