Hello, what exactly are you asking? Would you like to connect a Raspberry Pi to ThingWorx Composer?
Have you seen this tutorial? Weather Applications with Raspberry Pi - ThingWorx : ThingWorx
So this is an interesting question and its something that I'm also trying to get working.
I have the following setup.
1. Raspberry pi 3 with sense hat.
2. VM with TWX8, mfg_apps loaded and Kepware.
In kepware i can set the value of a property using the Asychronous 2.0 Write
And that works quite well to read a message accross the sense hat and show a picture, (both predefined)
I have also made that property in Thingworx and set the value to evoke the same thing.
(so essentially this works as long as I'm connected to kepware and i have saved the thing etc etc etc.)
The scenario I want to test now is with without kepware
I have a simple python script that waits for input from the user and then once it is received it runs it.
prompt = raw_input ("enter your message: ")
sense.show_message (prompt )
I want to be able to have a mashup where I can enter a random text string like "bob was here" and that will display on the sense hat.
Please let me know if you need more detail.