I have four mail boxes and what to be notified when a meaase is recieved. How would I get HSP2 to check this? I have searched and come up with nothing.
Announcement
Collapse
No announcement yet.
Notification of messages
Collapse
X
-
isn't that hard, I used to have my audrey LED blink when a voice message was left in my main mailbox and also an audio announcement. Code wasn't that complicated, but I honestly don't remember, has been 2 years or so since I did this. Check the hsp forums and script archives.
HSPRO 2.4 (ESXi 4.1) | my.Alert NEW | my.Trigger | HSTouch | ACRF2 | UltraM1G | BLWeather | BLLan | Rover
(aka xplosiv)
Do You Cocoon? Home Automation News, Tutorials, Reviews, Forums & Chat
Comment
-
HSP already provides email notification via HS for voicemail messages. You can also trigger an HS event based on a voicemail message being left and have it do anything you want. Check the docs.
- Gordon
"Security is EVERYONE'S business!"|
| - Gordon
"I'm a Man, but I can change, if I have to, I guess." - Man's Prayer, Possum Lodge, The Red Green Show
HiddenGemStudio.com - MaineMusicians.org - CunninghamCreativeMaine.website
Comment
-
Kirk,
This is what I use.
sub main()
Dim MB
Dim i
For i = 1 To hsp.MBCount
Set MB = hsp.MBGet(i)
If MB.unread_messages > 0 and hs.isoff ("A2") then
hs.ExecX10 "A2","ON", 0
End If
If MB.unread_messages = 0 and hs.ison ("A2") then
hs.ExecX10 "A2","Off", 0
End If
Next
End Sub
It will turn on a device if a message is pending and turn the device off if it has been played. I have the device associated with some HTML code which will display the message "Messages Pending" or "No Messages" depending on the device state.
I hope this helps....
Comment
Comment