Hi,
Having trouble getting prowl notifications when my DSC is unarmed. This is what i would like to achieve:
- When a PIN is entered on the PK5500 pad and the DSC is unarmed i want Growl to send a notification using Luup and the HTTP API letting me know “User XYZ disarmed the system”.
- To keep things simple I don’t want to use Vera’s notification nor one of the excellent plugins (eg HomeWave).
Setup
- the DSC plugin is setup and fully functional, eg DSC motion sensors trigger light switches.
- a scene called “Mike disarms”, where a Trigger is set up that fires off if my PIN (0003) is enterd. The scene does not trigger/start an event in a device. Also, no Luup Event is entered in the Trigger.
- in the scene itself the following (my growl key removed here) Luup code is entered (copy from [url=http://forum.micasaverde.com/index.php/topic,4508.msg24230.html#msg24230]http://forum.micasaverde.com/index.php/topic,4508.msg24230.html#msg24230[/url]):
luup.inet.wget("http://www.prowlapp.com/publicapi/add?apikey=0123456789012345678901234567890123456789&application=Vera&event=Armed&description=Alarm+Armed&priority=-1")
return true
The problem is that disarming my system does not fire off the notification.
The Luup code works if I run the scen by pushing it’s Run button. Also, pasting the code into Test Lua Code window works.
EDIT: If I change the Trigger from being the DSC Disarm to a Motion Sensor Tripped it also works fine.
If I forgot some important info to debug my problem please excuse.
Thank you for any kind of help
/Mike