I am using IFTT webhooks and JSON to update a HS device.
This is nice to transmit to HS any notification on my phone, and it only takes one free applet in IFTT.
It is also useful for devices that can notify a phone but do not have a public API to notify to anything else.(In my case Petkit automatic cat feeder)
Here are my IFTT settings:
If Android Notification received, then Make a web request
URL :
METHOD: GET
CONTENT TYPE: Application/JSON
You can the set events depending on the strings content
This is nice to transmit to HS any notification on my phone, and it only takes one free applet in IFTT.
It is also useful for devices that can notify a phone but do not have a public API to notify to anything else.(In my case Petkit automatic cat feeder)
Here are my IFTT settings:
If Android Notification received, then Make a web request
URL :
Code:
https://myhs.homeseer.com/json?user=XXX&pass=YYY&request=setdevicestatus&ref=NNN&value=1&string= <<<{{AppName}} - {{NotificationMessage}} >>> "
CONTENT TYPE: Application/JSON
You can the set events depending on the strings content
Comment