Yes, you can send to the local ip. You have to use the hub action commands so that ST knows to send over loval lan and not though internet. Take a look at the camera device type here for a good example
There are some OK docs that might help in the section on building LAN device types under the ST documentation