Skip to main content
1-Visitor
Mar 14, 2018 5:22 PM UTC
Question

Controlling a GPIO Pin via a Thingworx Studio Button

For a Project I need to control a Relay connected to a Raspberry Pi. 

So using the Get Request in a Python script and just changing the value of the Property was rather slow. How would you solve this problem?

1 reply

5-Regular Member
Mar 15, 2018 4:51 AM UTC

@Gaschtae You will have to use ThingWorx SDK ( Java, C, EMS) and write a service which can be called on click of button in ThingWorx Studio to perform the required action.

For more details on Edge SDKs check out the Help center documentations.

 

-Durgesh

 

Translate