Asynchronous api for internal IP, does it work?


(Eric) #1

Anyone know of the asynchronous api for ST rest requests work for internal IP addresses?

I’ve used the api heavily but only external. I’m trying to hit a local api (192.168…) and I get an error. I’m not actually by a computer so I can’t post the logs or code just yet.


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #2

The async API sends commands from the SmartThings Cloud … not from your LAN … so, of course, SmartThings Cloud can’t access your private LAN.

You could use a Port Forwarding to let the ST Cloud access your LAN, but that’s not idea from a security perspective.

The “Hub Action” commands are used for device access on your LAN. I don’t know the specifics of sync vs async.


(Eric) #3

Duh, thanks


(www.rboyapps.com - Make your home your butler!) #4

hubAction, it’s asynchronous