Winelight
(Andrew Ward)
September 26, 2020, 7:35pm
1
My first time here so sorry if this is a naive or inappropriate question.
I’m looking for a generic SmartApp that runs locally on the hub, which can call a webhook (on the local network, if that’s relevant) that I specify.
So I create a scene, I suppose, using this app, configured by me putting the URL into a text box.
So a bit like the webhook functionality of IFTTT, but without the sever, and local.
Any ideas please?
Winelight:
My first time here so sorry if this is a naive or inappropriate question.
I’m looking for a generic SmartApp that runs locally on the hub, which can call a webhook (on the local network, if that’s relevant) that I specify.
So I create a scene, I suppose, using this app, configured by me putting the URL into a text box.
So a bit like the webhook functionality of IFTTT, but without the sever, and local.
Any ideas please?
At the present time no custom code is allowed to run on the hub, so your idea doesn’t work. All custom code runs in the cloud.
In fact, almost all the official features also run on the cloud. The only thing which doesn’t is the official smartlighting feature ( and then only with some devices) and it doesn’t have a way of doing a webhook. Smartthings remains primarily a cloud-based system.
https://support.smartthings.com/hc/en-us/articles/209979766-Local-processing
If you need that kind of local operation, you should be really looking at one of the other home automation platforms like Hubitat or Homeseer or home Assistant.
1 Like
I forgot to say you can use webcore to call a webhook, but it’s not going to be local.
( The topic title is a clickable link)
CoRE (now WebCore) is a very powerful community – created rules engine for SmartThings. It allows you to set up stacked conditionals like “If A then B but only while C and not if D.”
Setting it up can be quite complex, but there are many community members who will be glad to help you.
For example, here is a piston that one member created to notify him if the dog had already been fed twice that day and he picked up the dog bowl for a third time. He needed this because he has a large family and people didn’t always remember whose turn it was to feed the dog.
[image]
The original version of CoRE Has now been replaced by a new version, WebCoRE, which moves the data entry to a web interface. This allows for flexibility and an architecture that requires more memory than is av…