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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

i want to connect raspberry pi and thingworx

gdeshpande1
1-Newbie

i want to connect raspberry pi and thingworx

i am getting the error as :

error creating BSD socket to be used for the websocket

8 REPLIES 8
dupatel
19-Tanzanite
(To:gdeshpande1)

Hi Gaurav,

Could you please provide more details as how you are trying to connect Thingworx & Raspberry Pi like using Thingworx Java SDK, C SDK, etc.

Please share code snippet and provide full log?

I have Thingworx on my machine .I am not getting how to configure Raspberry pi to Thingworx Java SDK.

I read it from the PTCU but not understand  well.

can you provide  demo video on that?

dupatel
19-Tanzanite
(To:gdeshpande1)

Gaurav,

You can check out below demo video available related to the topic.

How to Configure Your Raspberry Pi  Board Instructions

https://www.thingworx.com/wp-content/uploads/academic-program_weather-app-raspberry-pi_configure_EN.pdf

How to Read Temperature and Humidity from Am2302 Sensor Using ThingWorx Edge Java SKD for Raspberry Pi Instructions

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

For complete reference of material please check out below URL:

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

In case you face any specific error do let us know.

Thanks,

Durgesh

Now , Connection is established .

Thanks,

Gaurav

Thanks

supandey
19-Tanzanite
(To:gdeshpande1)

Hi Gaurav, is the connection to TW running over a specific firewall or is there a reverse proxy? Could also check for the support for websocket?

yes,

I forgot to disable the firewall .

when I disable firewall Thingworx connection is established.

Thanks,

Gaurav

supandey
19-Tanzanite
(To:gdeshpande1)

Thanks for updating the thread! glad it works now.

Top Tags