Hi All
I am running a Data simulator in Node red. The simulated data is in JSON format and is being generated every 10 mins. This data is being sent to ThingWorx platform via MQTT. However, the data transfer is manual at present, once the MQTT thing is refreshed only then the property(JSON basetype) is updated with the most recent payload. I would like to automate this process - as soon as data is generated in Node Red the property should also be updated with it. Request you all to help me on the probable steps to accomplish this?
Regards
Ketan
Solved! Go to Solution.
Hi @ketanaga
From reading through the case notes, it appears you were able to resolve your issue by implementing an autorefresh widget. If that is the correct solution, please mark this post as the Accepted Solution for the benefit of others in the community.
Regards.
--Sharon
Hi @ketanaga
Can you please provide the config settings and mappings for the MQTT thing you set up?
Regards.
--Sharon
Hi
The config looks something like this
clientIDFormat : /Thingworx/EnergyIO/EnergyMeter+Data
format : /Thingworx/EnergyIO/EnergyMeter_Data/Energy,Datetime,Weather
Energy, Datetime and Weather are all subscribers, subscribing to different topics test/test1,2,3
Regards
Ketan
Hi @slangley
Any update on the issue? It would be highly appreciated if you could help me with a probable approach for it
Regards
Ketan Agarwal
Yes I am using the same link. I am running TWX 8.5.5-b103. I have attached the configuration for your reference.
Regards
Ketan
Hi @ketanaga
From reading through the case notes, it appears you were able to resolve your issue by implementing an autorefresh widget. If that is the correct solution, please mark this post as the Accepted Solution for the benefit of others in the community.
Regards.
--Sharon
Hi @slangley
Thanks for providing an alternative. However I still have to manually hit the Refresh button to get the most recent data from Node-Red.
Regards
Ketan
Hi @ketanaga
Please let me know if you would like me to open a case on your behalf. If you prefer to open the case yourself, please provide the case number under private message so I can track it.
Thanks.
--Sharon