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

Edge Java sdk

mewees
Guest

Edge Java sdk

Hello There,

i have implement a small project on my rasspberry pi  to send it's temperature to thingworx platform successfully.

i have done this using LUA script, but i need to do the sam using java (E-SDK).

can any one help me with that or tell me where to start ?

thanks in advance .

Tags (1)
4 REPLIES 4

Re: Edge Java sdk

H​ey Mohamed,​

Is there something specific you have questions about or need examples for? There is a Java SDK quickstart guide on the developer zone, and there are sample projects included with the Java SDK for a simple sensor and a steam sensor; this is where I would start.

Thanks,

-James

Re: Edge Java sdk

Hey Mohamed,

I was also able to find this Academic program guide that is specifically around reading Raspberry Pi data using the Java SDK. Hopefully this is helpful!

https://www.thingworx.com/ecosystem/academic-program/iot-projects/weather-app-raspberry-pi/

Thanks,

-James

Re: Edge Java sdk

thanks a lot Games.
i will check this but is there anything more simple as the examples in this link is a little bit advanced.

Re: Edge Java sdk

The project files are included at the bottom of the Academic post -- it should be as simple as downloading this project, building it, and running the executable jar on your Raspberry Pi as such:

java -jar ./temperature-thing-jar-with-dependencies.jar thingworxURI appKey simulated`

where thingworx URI is your URI and appKey is your app key.

Let me know if you're running in to issues; the only other change you may need to make is around whether your twx server is using SSL and/or self-signed certificates.

Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.