Announcement

Collapse
No announcement yet.

Daily Reminders

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

    Originally posted by Wadenut View Post
    I assume you mean the devices created by the script.

    I just had a check; there should be no problem changing the locations.

    The script does check to see if the devices exist but only looks at the Device Code. If you were to change that without updating the INI file, then the devices would be recreated; but the location is only used in the initial creation of the devices.

    If the need arises to update again, I'll include this in the doc. Thanks for bringing it up.
    Yes, the three devices.

    Thanks. I just wanted to make sure before I moved them to new locations. There other plug-ins that I've broken by changing the locations. I won't change the device code.
    Randy Prade
    Aurora, CO
    Prades.net

    PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

    Comment


      Ran into a small bug.
      When entering a reminder, and using Start and Stop dates, the Next Date field may be left blank by design. If this is done, the script will attempt to fill in the missing data with the next valid date for the reminder.

      If the Start Date is a defined date, and the Next field is left blank, you may encounter an error. This is simple to avoid by entering your own Date in the "Next" field for now.

      I have this repaired, but I'll hold off posting another update until other potential bugs have had a bit of time to surface.

      I apologize for any inconvenience.
      Real courage is not securing your Wi-Fi network.

      Comment


        V2.31 was a bad version. I'd left some test code in place and didn't notice until after several of my working reminders executed and were rescheduled to a much later date than intended. SORRY. It would be a good idea to check the new dates on any reminders which may already have run.

        The ASP Page header works now in HS3. You'll want to change the configuration option to TRUE in order to use it.

        Fixed the bug mentioned in my last post.
        Real courage is not securing your Wi-Fi network.

        Comment


          A week later, I've been keeping a close eye on my own reminders (over 50) and things do appear to be working as expected.

          One thing I've been thinking about is the redirection function. I have little use for it myself although I think I could apply it to several of my items.
          The function itself might be worked on. I'm thinking a separate field might be preferable to incorporating redirection into the reminder text itself (this, remember was an afterthought and done on request). The modification should be simple enough.
          Last edited by Wadenut; March 15, 2016, 09:32 AM.
          Real courage is not securing your Wi-Fi network.

          Comment


            Have Redirection broken out to a separate field. Much nicer.
            Also added Device String, Device Value, Date, Time and Day of week string substitution to reminder text. Very nice.

            Testing some of the predesigned Redirection functions now.
            Real courage is not securing your Wi-Fi network.

            Comment


              Version 2.38 (Both HS2 and HS3)

              This should be the final version.

              Previously created reminder data should be fully compatible. Additional fields are created where needed when the data is first re-saved using the ASP page.

              Function redirection has been broken out into a separate field making it's use simpler. Previously, redirection was embedded in the text of reminders. This method has a much cleaner look and simplifies editing of reminders. The Redirection script has been re-written so that functions are called directly rather than being processed through a "Main" routine.

              Text substitution is more in line with methods already utilized within Homeseer. Includes DeviceString, DeviceValue, Date, Time and DayOfWeek substitution.
              Real courage is not securing your Wi-Fi network.

              Comment


                Is there a way of putting SAPI tags in the spoken text. I would like to put a small delay in and change the voice on some announcements such as
                PHP Code:
                <voice required="name = Microsoft David Desktop"> and <silence msec='1000'/> 
                Randy Prade
                Aurora, CO
                Prades.net

                PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

                Comment


                  Originally posted by rprade View Post
                  Is there a way of putting SAPI tags in the spoken text. I would like to put a small delay in and change the voice on some announcements such as
                  PHP Code:
                   and 
                  Initially, I was going to say there should be no reason for this not to work, however, I've just looked at the code and it does seem that tags are removed from the text field before speaking. This may be an artifact from a previous version where redirection was included in that field. If that's the case, I should be able to do something for you. I'll need to look into it.
                  Last edited by Wadenut; April 7, 2017, 04:04 AM.
                  Real courage is not securing your Wi-Fi network.

                  Comment


                    Seems not to be that simple. Tags do need to be removed for display in device texts, which is done before the text is actually spoken, so it looks like this may take me a bit of time to accomplish. I will give the project priority but it does mean re-coding for both HS2 and HS3.
                    Real courage is not securing your Wi-Fi network.

                    Comment


                      Originally posted by Wadenut View Post
                      Seems not to be that simple. Tags do need to be removed for display in device texts, which is done before the text is actually spoken, so it looks like this may take me a bit of time to accomplish. I will give the project priority but it does mean re-coding for both HS2 and HS3.
                      Thanks for looking. It is not a major deal. We use different voices, depending on the type of announcement and need to add a little delay to give the Sonos groups more time to build. It is working as is.
                      Randy Prade
                      Aurora, CO
                      Prades.net

                      PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

                      Comment


                        OK. It seems HS has a problem with displaying text containing the tags when viewing/editing reminders in the ASP page. When I edit the data file manually however, including the unmodified SAPI tags, the reminders are spoken as expected using the alternate voice.
                        The best/simplest method I can think of to overcome this is to use some character substitution in the reminder texts. What I'll likely end up doing is replacing < and > with ( and ), and quotes " with %. These will be handled internally and should produce the result you're looking for.
                        I'll need to deal with the Device texts as well (to suppress the tags in the device strings).

                        For instance:
                        (voice required=%name = Microsoft David%)
                        an<code>d
                        (silence msec='1000'/)
                        </code>
                        Will this be acceptable?

                        Probably sometime next week before I can commit a large enough block of time to complete the changes.
                        Real courage is not securing your Wi-Fi network.

                        Comment


                          Originally posted by Wadenut View Post
                          OK. It seems HS has a problem with displaying text containing the tags when viewing/editing reminders in the ASP page. When I edit the data file manually however, including the unmodified SAPI tags, the reminders are spoken as expected using the alternate voice.
                          The best/simplest method I can think of to overcome this is to use some character substitution in the reminder texts. What I'll likely end up doing is replacing < and > with ( and ), and quotes " with %. These will be handled internally and should produce the result you're looking for.
                          I'll need to deal with the Device texts as well (to suppress the tags in the device strings).

                          For instance:
                          (voice required=%name = Microsoft David%)
                          an<code>d
                          (silence msec='1000'/)
                          </code>
                          Will this be acceptable?

                          Probably sometime next week before I can commit a large enough block of time to complete the changes.
                          That would work fine. No hurry!
                          Randy Prade
                          Aurora, CO
                          Prades.net

                          PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

                          Comment


                            OK.

                            Looks, or rather Sounds good.

                            I used the example:
                            This is a sapi tag test. (voice required=%name = Microsoft Anna%) (silence msec='5000'/) There should have been a delay.

                            - HS speaks in the system default voice (VW Paul in my case) "This is a sapi tag test" then delays five seconds and continues in Anna's voice "There should have been a delay."

                            - The device strings, Next Reminder, Latest Reminder, and Today's Reminders display the text without the tags.

                            - There are announcements embedded in the script which will still use the default voice. These are used only when reminders are requested via VR, either thru the Speaker client or by phoning in the request. I could change this if necessary by adding a Config parameter to use a specific voice for those announcements, but that would be global. Individual reminders will use the embedded SAPI tags.
                            Is this something you'd want?
                            Real courage is not securing your Wi-Fi network.

                            Comment


                              Originally posted by Wadenut View Post
                              OK.

                              Looks, or rather Sounds good.

                              I used the example:
                              This is a sapi tag test. (voice required=%name = Microsoft Anna%) (silence msec='5000'/) There should have been a delay.

                              - HS speaks in the system default voice (VW Paul in my case) "This is a sapi tag test" then delays five seconds and continues in Anna's voice "There should have been a delay."

                              - The device strings, Next Reminder, Latest Reminder, and Today's Reminders display the text without the tags.

                              - There are announcements embedded in the script which will still use the default voice. These are used only when reminders are requested via VR, either thru the Speaker client or by phoning in the request. I could change this if necessary by adding a Config parameter to use a specific voice for those announcements, but that would be global. Individual reminders will use the embedded SAPI tags.
                              Is this something you'd want?
                              For me, the global value is not necessary. It might be a nice feature for some users. I set a default voice in the windows TTS control for all announcements. I only override the voice for announcements that may have more importance.
                              Randy Prade
                              Aurora, CO
                              Prades.net

                              PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

                              Comment


                                Originally posted by rprade View Post
                                For me, the global value is not necessary. It might be a nice feature for some users. I set a default voice in the windows TTS control for all announcements. I only override the voice for announcements that may have more importance.
                                Sounds good to me. I do about the same thing. As I said, this would only affect VR requests and really isn't worth the effort at this point.

                                I'll continue testing this for a day or so, then update the doc and post the update. I thought of modifying the ASP page as well to accept the <,> and " characters. It would replace them before saving or displaying the reminders. I think however this might only add confusion for some, so will be leaving things as is.
                                Real courage is not securing your Wi-Fi network.

                                Comment

                                Working...
                                X