cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Receive a Pushed Value from Thingworx

Swetha
5-Regular Member

Receive a Pushed Value from Thingworx

I would like to receive a value as and when it is updated in Thingworx to my python code. Is there any possible way out other than continuous pinging of that particular thing?

ACCEPTED SOLUTION

Accepted Solutions

There are some options, e.g. using MQTT to broker values back and forth. Also using one of the Edge SDKs makes implementing value pushes easier as they take away most of the programming effort. This will be done over ThingWorx's AlwaysOn Protocol.

 

You could also implement a DataChange Event that is sending a value to the device (e.g. via a REST API call - in the ContentLoaderFunctions) whenever a value is updated / changed.

 

Cheers,

Michael

View solution in original post

2 REPLIES 2

There are some options, e.g. using MQTT to broker values back and forth. Also using one of the Edge SDKs makes implementing value pushes easier as they take away most of the programming effort. This will be done over ThingWorx's AlwaysOn Protocol.

 

You could also implement a DataChange Event that is sending a value to the device (e.g. via a REST API call - in the ContentLoaderFunctions) whenever a value is updated / changed.

 

Cheers,

Michael

slangley
23-Emerald II
(To:mneumann)

Hi @Swetha.

 

If the response provided by @mneumann answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Announcements


Top Tags