Announcement

Collapse
No announcement yet.

[ASPx] Phone Message Web Interface

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

    #16
    http://forums.homeseer.com/showpost....6&postcount=29
    Jon

    Comment


      #17
      Doug - I just installed the package and got the same error on HS 2.2.0.6


      Server Error in '/' Application. <HR width="100%" color=silver SIZE=1>

      Argument 'Date1' cannot be converted to type 'Date'.

      Comment


        #18
        The fix I posted earlier should work for you until Doug sorts this out.
        Jon

        Comment


          #19
          Hi Jon - Doug was trying to determine when the change took place, so I wanted to let him know I saw it on 2.2.0.6, especially since he hadn't seen it on that version. But yes, I had already installed your fix and it worked perfectly (That was a great find, btw)

          Casey

          Comment


            #20
            MBMessage filename format

            Could one of the UK users confirm the following for the files in the Homeseer 2/Messages directory:

            Is the filename for the messages in the format of:
            a) YYYY-MM-DD_hh-mm-ss.wav
            -OR-
            b) YYYY-DD-MM_hh-mm-ss.wav

            Looking at jon00's sample code, it appears that Homeseer stores the filename in format (a) no matter of the local date format setting.

            If this is true, then the following code should work for either US or UK date formats. Let me know and I'll make the changes.

            Find the lines from:
            sTemp = hsp.MBMessageDate(hspMessage)
            -TO-
            End Select

            Replace with:
            Dim dTemp as Date=DateSerial(Left(hspMessage,4),Mid(hspMessage,6,2),Mid(h spMessage,9,2))
            iTemp = DateDiff("d",dTemp,Now())

            Select Case iTemp
            Case 0
            sTemp="TODAY-"
            Case 1
            sTemp="Yesterday-"
            Case < 7
            sTemp=WeekdayName(Weekday(dTemp))
            Case Else
            sTemp = cStr(dTemp)
            End Select

            Thanks,
            Doug

            Comment


              #21
              Doug,

              In my dir they are saved as YYYY-MM-DD_hh-mm-ss.wav

              I have not tried your fix yet.. but as soon as I can I will post back.

              TrOjAn

              Comment


                #22
                Doug,

                That works here.

                You need to correct your typo - the space between the h and the spMessage.

                .......,6,2),Mid(h spMessage,9,2))

                Thanks,

                Jon
                Jon

                Comment


                  #23
                  New version available (v0.2)

                  Version 0.2 has been uploaded to the script library HERE.

                  v0.2:
                  --------------------------------------------
                  1) Fixed date conversion bug
                  2) Added support to use Mailbox Passcodes

                  To use the Mailbox Passcodes feature, create the file "PhoneMessageList-DDW.ini" in the "Homeseer 2/config" directory with the following content:
                  Code:
                  [Settings]
                  UseMBPasscode = True

                  Comment


                    #24
                    Doug,

                    The new update is working great here thanks.

                    Darren

                    Comment


                      #25
                      Originally posted by ni1200 View Post
                      Does this play messages via the browser or the speaker clients? Thanks, Ron
                      I didn't see the answer to this. I doesn't look like it does both?
                      John

                      Comment


                        #26
                        It plays the messages via the web browser.

                        Comment


                          #27
                          The update does not contain the gif files

                          Comment


                            #28
                            Added .GIFs to v0.2 Package

                            jdr2bpa,

                            Good catch, thanks for letting me know.

                            --Doug

                            Comment


                              #29
                              This is very nice - much easier to get to a message, thanks!
                              A future feature-enhancement might be to look up the phone number in the address book and show who the call is from, when available. Most CallerID info is either "Cell Phone" or the state name (at least in my case), so it would make it easier to find the message you're looking for if it showed the caller's name.

                              My Voicemail log:
                              12/15/2006 05:45 PM Culver Or 0:52
                              12/19/2006 03:57 PM Cell Phone In 0:14
                              12/19/2006 05:00 PM Cell Phone In 0:43
                              12/24/2006 03:42 PM Cell Phone In 0:17
                              12/24/2006 05:48 PM Cell Phone In 0:19
                              12/27/2006 06:27 PM Cell Phone In 0:22
                              01/01/2007 06:33 PM Cell Phone In 0:17
                              01/22/2007 04:17 PM Indianapolis In 0:34
                              02/08/2007 05:37 PM Corp Receivable 0:19
                              02/17/2007 06:50 PM Cell Phone Oh 0:29
                              02/28/2007 05:17 PM Indianapolis In 0:13
                              Monday 09:57 AM Fam Funeral Car 0:19

                              Comment

                              Working...
                              X