Hi Thiha Kyaw
There seems to be a problem in connecting to your Raspberry Pi
[ERROR] Failed to execute goal org.codehaus.mojo:wagon-maven-plugin:1.0-beta-5:u
pload-single (upload-to-pi) on project temperature-thing: Unable to create a Wag
on instance for scp://email@example.com/: Cannot connect. Reason: java.net.Connec
tException: Connection timed out: connect -> [Help 1]
Do you receive a reply when pinging your Raspberry Pi at the ip that you indicated: 169.254.64.43 ?
Have you set your connection credentials in the settings file? You can find instructions for this at page 11 in this tutorial .
The firewall could also be blocking the connection. Or if you are behind a proxy at the university this could also prevent you to connect to the pi in this way. So maybe you can try running the command from home.
As a workaround you could use a file transfer software like WinSCP or FileZilla to transfer the jar file to your Pi in a Windows File Explorer-like experience. Check this tutorial for how this can be done.
1) I didn't see any import/export button in my thingworx composer. Why?
2) I followed tutorial but I have a problem in RemoteThing. RemoteThing is automatically appeared or how can I create it?
Please advise me how to solve it.
Hi Thiha Kyaw,
You need to have administrator rights in order to see the import/export buttons. If you need to import/export something and don't have administrator rights, please contact the professor that gave you access to the instance so that he can import/export it for you or request this from the thingworx-academic support at this email address: iot-academicSupport@ptc.com.
The error you are seeing in the remote thing is due to the fact that the connection of your Raspberry Pi to ThingWorx was not successful. Did you manage to run the jar file on your RPI? What messages are shown in your command line ?
Firstly , in case you are not able to resolve this issue , you can manually move the jar from target folder to RPI by use of Filezilla.
You just need to run mvn clean install and move the jars to specified location in RPI. (Do not run mvn deploy command ).
Secondly , you can follow the given below links to understand complete flow of maven deploys the jar on any remote server and how to get rid of issues related to pluggin (in this case Wagon) you have used.