Do SmartApps run remotely even when all interactions are local?

I am trying to have my SmartApp talk to my local REST server at my company. This REST server is not externally accessible. I have created groovy programs on my computer and coworkers’ computers and they are all able to access the REST server as expected. When I try to access the REST server from my SmartApp (using the SmartThings httpGet() function), I only get ConnectionTimeoutExceptions. Is my SmartApp executing from an external perspective?

Only Smart Lighting runs local for certain device types.


In order to use a local network connection you need to use hubAction instead of httpGet. It’s a bit trickier to get working but if you search the forum you’ll be able to find tons of examples.

1 Like