Skip to main content
March 14, 2017
Question

Thing view property value receive from Mqtt Broker but not store that in value stream

  • March 14, 2017
  • 20 replies
  • 8708 views

Hi All,

I need information about the following problem :

I used MQTT  extention in Thingworx (I have impoted the MQTT estention) and I created a Thing using  Thing Template MQTT.

I have configured the connection Mqtt to Broker mosquitto using serverName test.mosquitto.org

I have  developed a Mqtt published publisher.exe using  C#.

I checked the system and Thingworx has received the values published from publisher.exe.

The property value on Thingworx was defined  as STRING with persistent and logged enabled.

The property values  published from publisher.exe are visible on Thing property (by refresh) or in mashup that used GetData service (GetProperty + convert string value to number) that refresh the value every every 5 second.

When I want to look the property value using a widget  Time Series  Chart by QueryPropertyHistory I’m not found value in value stream.

The property value was received from the MQTT broker but they  are not stored in value stream, Why ?

Is needed  particularly configuration ?

Many Thanks

BR

Dimitri

20 replies

15-Moonstone
March 14, 2017

Hi Dimitri! Have you checked the properties as "Logged"? It is required to push them to the Value Stream.

March 14, 2017

Hi Adam,

many thanks for your answer.

The Property of thing  have persistent and logged enabled.

BR

Dimitri

March 14, 2017

Hi Adam,

I checked the Application Monitoring and I received the following message (I think for any value received from Broker).

These message could be the reason that the value stream was not loaded ?

BR

Dimitri

10-Marble
January 22, 2018

Hello Dimitri,

did you find solution? I do not want parsing data. I have values from device in property view, but they can not store in Value stream. If I try make subscription on anydatachange for move values to other properties then I get also error in application log. Can anyone help me please?

TWX 8.1, local installed MosquitoBroker on 1883 and MqTT extensions 2.1.0

Error Handling Publish Arrived for [DemoThing/DoorStatus] : [null]

January 22, 2018

Hi Karel,

Please, can you send me the code of subscription to take json packet from Thing MQTT Subscribe Thing and store that into properties of Target Thing.

I'm using a Thing to manage the  MQTT Subscribe service and more Thing Target  that contains a properties and value stream.

BR

Dimitri

1-Visitor
January 22, 2018

Thingworx has some new MQTT functionality in the 8.2 release. I think that it would be worth upgrading and testing with that version before putting too much energy into work-arounds.

1-Visitor
April 17, 2018

Hi dbologna,

 

Did you solve this problem?