I’m a bit old school, I still use Prowl with my Veras - https://www.prowlapp.com/
Here’s some code examples on how to use it.
function my_escape (s)
s = string.gsub(s, " ", "+")
return s
end
function my_prowl (appl, event, description)
local prowl_url = "https://api.prowlapp.com/publicapi/add?apikey="
.. "put-your-api-code-here"
.. "&application=" .. my_escape(appl)
.. "&event=" .. my_escape(event)
.. "&description=" .. my_escape(description)
.. "&priority=-1"
.. "&url=https://www.google.co.uk/"
luup.inet.wget(prowl_url)
end
my_prowl ("Vera Home Controller", "Testing code", "this could any description")
Or something all in one..
luup.inet.wget("https://api.prowlapp.com/publicapi/add?apikey=Your-api-key-goes-here&application=Test+Event&event=Armed+Notification&description=The+DSC+alarm+system+has+been+armed&priority=1")