SmartApp Development

I am late to the party. Looks like some of my SmartApps stopped working a couple of months ago and now finally getting around to it. I am trying to figure out a way for the Hub to send status data to a web server. Is that some possible with a SmartApp WebHook?

It is certainly possible to write your own smart app to do this, but remember that in the new architecture, you also have to host it. We as customers are allowed to add custom edge Drivers (the replacement for DTH’s) to our own hubs, but we are not allowed to add custom smartapps to the hub.

There’s quite a bit of documentation available on Writing SmartApps if you’re interested in doing that, but meanwhile, you might want to take a look at the edge services that have been created by the community. These are edge drivers that do allow you to do things like send webhooks, although you may have to set up a server device as well. But it might be a lot easier than starting from scratch.

These are listed on the quick browse lists in the community created – wiki on the list for edge services. :sunglasses:

Also, you might find the community FAQ helpful, particularly points 10 and 11.

FAQ: I have no idea what Edge is. Is that a new developer tool? (2022)

To add on to what @JDRoberts said, there is an Edge driver that can support sending HTTP/S traffic to devices on the local LAN. To send outside of the local LAN, requires a proxy due to hub policy of only sending to the local LAN.

1 Like