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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Can't connect from RPi to Thingworx EMS

Asiya_Zaripova
7-Bedrock

Can't connect from RPi to Thingworx EMS

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 4

Does your ThingWorx Composer application log show anything? 

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

slangley
23-Emerald II
(To:posipova)

Hi @Asiya_Zaripova.

 

If the response provided by @posipova allowed you to solve your issue, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Announcements


Top Tags