Skip to main content
1-Visitor
December 13, 2018
Question

Can't connect from RPi to Thingworx EMS

  • December 13, 2018
  • 4 replies
  • 1978 views

I use Thingworx EMS connection. with help of config. json and config.lua files. After starting wmes.exe,I get "Successful connection" message, then I start luaScriptResource.exe I get the folloving text:

" [INFO ] 2018-12-13 12:08:14,378 PiThing: -- Starting script --------------------------
[INFO ] 2018-12-13 12:08:14,378 PiThing: Registering core callback handler
[INFO ] 2018-12-13 12:08:14,378 PiThing: Starting main loop
[INFO ] 2018-12-13 12:08:14,379 PiThing: Calling lifecycle start listeners.
[INFO ] 2018-12-13 12:08:14,379 shapes.propsubscribe: Initialized
[INFO ] 2018-12-13 12:08:14,385 thingworx.handler: Creating a new handler "

And nothing more. 

Maybe I make mistake but I don't know when. Help me, please. 

4 replies

20-Turquoise
December 13, 2018

Does your ThingWorx Composer application log show anything? 

1-Visitor
December 14, 2018

Yes, file in attachment. 

One more question: When I run on the command line sudo ./wsems, in Remote Thing   in the tab "All"  appear  thing "OtherPiThing" and tab "Unbound"  thing "PiThing" (in attachment  Thing1.jpg and Thing2.jpg), but, when I press "ctrl+c" in the command line, then they disappears. And  does not appear when I run sudo ./luaScriptResource. 
 Things "OtherPiThing" and "PiThing" I pointed in config.json

20-Turquoise
December 31, 2018