Announcement

Collapse
No announcement yet.

Notification of messages

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Notification of messages

    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.
    Kirk

    http://cleverhouseautomation.ca
    http://southcoastwebsitedesign.ca

    #2
    I use
    http://www.harm.net/FreePOP/

    StePhan McKillen

    My Pages

    Comment


      #3
      When I said messages I meant voive messages in my HSP2 mailbox. Thank you for the reply though.
      I want to know when a message is left in a certain mailbox and then create a script to notify that person with differnt actions.
      Kirk

      http://cleverhouseautomation.ca
      http://southcoastwebsitedesign.ca

      Comment


        #4
        It can't possible be that no one does this. Or is it just a big secret. Is there anywhere that I can look?
        Kirk

        http://cleverhouseautomation.ca
        http://southcoastwebsitedesign.ca

        Comment


          #5
          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


            #6
            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


              #7
              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


                #8
                I was wondering how I would check different mailboxes. What is the variable?
                Kirk

                http://cleverhouseautomation.ca
                http://southcoastwebsitedesign.ca

                Comment

                Working...
                X