Myself and my eldest set about installing Node, developing the required code mainly based upon the original article, and working with Pushover which I have already used previously for notifications, the final code looks as follows:

functionsend_pushover_notification(){

varpush=require('pushover-notifications');

varp=newpush({user:"xxxx",token:"xxxx"});

varmsg={message:"Somebody is at the door!",title:"Doorbell",sound:'pushover',priority:1};