Well this did not take long at all. Here’s what I did:
-
Set up Webhook contact point (leave all other settings blank…just remember to select POST in the HTTP method)
-
Test the alert by clicking on the blue button
-
Over on 192.168.10.235:1880, where we have Node-RED running with the flow shown below, the audio file (whose path is specified in the brown node called “sound”) will be played whenever a webhook is received. In my case, I just left the existing filepath and filename (D:\Documents\Music\etc…) which does not exist, but of course I could load an audio file of my choice and then just change the path. The file will then be played on the computer running Node-RED whenever a webhook alert is received.