Announcement

Collapse
No announcement yet.

hs phone reminders

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    hs phone reminders

    Looking to create a way to have homeseer remind me that there are new messages in HS phone every 30 minutes until I check the messages how can I go about doing this

    Cheers Ken
    HSPRO,HS3PRO, BLsecurity, , MCSxap, HSTouch Android, UltraGCIR, CM15a, USBUIRT, BLUSBUIRT, WIFIRGB, BLAB8SS, BLcontrol, BLGData, BLLAN,BLOccupied, BLRadar, BLVolume, iTunesDAAP, UltraGCIR3, Airplayspeak, BLalarm, BLbackup, BLLED, BLrandom, BLReminders, BLRF, BL Speech, Hyperion, IFTTT, KINECT, XBMC, MCSprinkers PRO, PHLocation, ULtrapioneer, Ultralog, ultraweatherbug, Z,troller, GC-100, GC WIFICC, GC-WIFI SERIAL, Nitrogen logic depth camera controllers,

    #2
    Hi Ken,

    I think the only way to do it is through scripting. How do you want to be reminded? I have a script that creates a list of new messages. It can probably be tweaked to do some type of reminder.

    Cheers
    Al
    HS 4.2.8.0: 2134 Devices 1252 Events
    Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

    Comment


      #3
      Originally posted by sparkman View Post
      Hi Ken,

      I think the only way to do it is through scripting. How do you want to be reminded? I have a script that creates a list of new messages. It can probably be tweaked to do some type of reminder.

      Cheers
      Al

      I'm not much of a scripted but I am just looking for something simple that will speak, "you have new phone messages" or something similar through the speaker clients

      Cheers Ken
      HSPRO,HS3PRO, BLsecurity, , MCSxap, HSTouch Android, UltraGCIR, CM15a, USBUIRT, BLUSBUIRT, WIFIRGB, BLAB8SS, BLcontrol, BLGData, BLLAN,BLOccupied, BLRadar, BLVolume, iTunesDAAP, UltraGCIR3, Airplayspeak, BLalarm, BLbackup, BLLED, BLrandom, BLReminders, BLRF, BL Speech, Hyperion, IFTTT, KINECT, XBMC, MCSprinkers PRO, PHLocation, ULtrapioneer, Ultralog, ultraweatherbug, Z,troller, GC-100, GC WIFICC, GC-WIFI SERIAL, Nitrogen logic depth camera controllers,

      Comment


        #4
        Hi Ken,

        Try this. This is vbScript, so save it with a .txt extension and then set up a recurring event.

        Cheers
        Al

        PHP Code:
        sub main()

        set mb=hsp.MBGet(1)
        count=mb.unread_messages

        speakText 
        "You have " count " new voice mail"
        If count 1 Then speakText speakText "s"
        If count 0 Then hs.speak speakText
        end sub 
        Last edited by sparkman; February 12, 2014, 07:42 AM.
        HS 4.2.8.0: 2134 Devices 1252 Events
        Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

        Comment


          #5
          This is untested, but give it a try.

          Public Sub Main(parm as object)

          Dim objMailbox As Scheduler.clsMailbox

          objMailbox = hsp.MBGet(1) ' get data for mailbox 1 (change if you have more than one mailbox)

          If objMailbox.unread_messages > 0 Then

          hs.speak ("You have new messages", True)
          end If

          End Sub

          Call this script with a recurring event every 30 minutes. You might want to add a set of conditions to keep it from making the announcement during normal sleeping hours.

          Comment


            #6
            Originally posted by sparkman View Post
            Hi Ken,

            Try this. This is vbScript, so save it with a .txt extension and then set up a recurring event.

            Cheers
            Al

            PHP Code:
            sub main()

            set mb=hsp.MBGet(1)
            count=mb.unread_messages

            speakText 
            "You have " count " new voice mail"
            If count 1 Then speakText speakText "s"
            If count 0 Then hs.speak speakText
            end sub 

            Thanks sparkman That script did it. I really appreciate it because like I said before I'm not much of a script writer and could have never done it on my own

            Cheers Ken
            HSPRO,HS3PRO, BLsecurity, , MCSxap, HSTouch Android, UltraGCIR, CM15a, USBUIRT, BLUSBUIRT, WIFIRGB, BLAB8SS, BLcontrol, BLGData, BLLAN,BLOccupied, BLRadar, BLVolume, iTunesDAAP, UltraGCIR3, Airplayspeak, BLalarm, BLbackup, BLLED, BLrandom, BLReminders, BLRF, BL Speech, Hyperion, IFTTT, KINECT, XBMC, MCSprinkers PRO, PHLocation, ULtrapioneer, Ultralog, ultraweatherbug, Z,troller, GC-100, GC WIFICC, GC-WIFI SERIAL, Nitrogen logic depth camera controllers,

            Comment

            Working...
            X