Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
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.
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
Please take a look at this thread to see if it helps:
https://community.ptc.com/t5/ThingWorx-Developers/Running-LSR-on-Raspberry-Pi/m-p/542669
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