- Posts: 6
- Thank you received: 0
MQTT issue
1 week 3 days ago #35
by User
MQTT issue was created by User
Hello,
I am currently trying to use MQTT in a project. The publishing of an ana log value works fine so far; however, I don't receive the value of the published topic. I tried getting the value using an "MQTT_Device" that is subscribed to the topic I am publishing to. Under the "MQTT_Device" is a "ChanAi" that is configured as shown in the screenshot. I also tried using the "Identity." Am I doing something wrong, or is it not possible to receive values through MQTT?
Thanks.
I am currently trying to use MQTT in a project. The publishing of an ana log value works fine so far; however, I don't receive the value of the published topic. I tried getting the value using an "MQTT_Device" that is subscribed to the topic I am publishing to. Under the "MQTT_Device" is a "ChanAi" that is configured as shown in the screenshot. I also tried using the "Identity." Am I doing something wrong, or is it not possible to receive values through MQTT?
Thanks.
Please Log in or Create an account to join the conversation.
1 week 2 days ago #38
by claes
Replied by claes on topic MQTT issue
The publish should be in JSON format, eg
{ "temperature": 22 }
and in the Identity attribute there should be the text before the value
"temperature":
/Claes
{ "temperature": 22 }
and in the Identity attribute there should be the text before the value
"temperature":
/Claes
Please Log in or Create an account to join the conversation.
Time to create page: 0.476 seconds