Announcement

Collapse
No announcement yet.

[Announce] SuperDateTime Screensaver v5.11.0 - Date/Time/Weather/Sports/Stocks

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

    Originally posted by phred View Post
    The name of the original T Cutting's style was changed years ago when you helped me originally. The name of the file I've been working with is "Phred-BMX2-a 5 Day Color WC Weather Details - radio." My attempts to modify it have been named "Phred-BMX2-b 5 Day Color WC Weather Details - radio." Part of my failure was to assign it a position in Custom Clock and then to enable it on the Radio. This is what happens when I don't use something for a while.

    Here is the code for the one I've been working on and can't seem to get it right. Instead of the word "Now" (on the left side of the screen, I'm trying to get weather.com's current condition of the weather. I've been using Brief Forecast (%v) with period Covered (%y) being zero (for Current.)

    The end goal here is to change "Now" to "Current" and have the forecast directly below it. Or perhaps simply replace Now/Current with the current condition.

    Attached is what I started with and has no changes from where it's been for years. I appreciate your help and your time.

    Thanks.
    Try what I attached. It worked for me on my Radio. I also made the same change to the Touch version of your Custom Clock style I saved back in 2018. Both are included in the attached zip file.
    Let me know if these work for you.

    On the Radio version I moved the "Current" text to the right 5 pixels because the "C" in Current was getting cropped.
    Attached Files

    Comment


      Originally posted by BoomX2 View Post
      Let me know if these work for you.
      First off, I can't believe you had the original ones from 2018. -AND- that you took the time now to update the Touch version. Thanks much.

      As for testing them, I can't get them to import into the Custom Clock Helper GUI. My originals are all one line (no line breaks) where yours are structured. When I paste one of the new ones into the "Import" box it does not appear in the list of styles. To better explain myself, here are screenshots from Notepad++ showing the differences. Perhaps there's a different method for importing yours. If they need to be copied to a directory, please tell me the path to the stored styles.

      Thanks again.
      Attached Files

      Comment


        Originally posted by phred View Post
        First off, I can't believe you had the original ones from 2018. -AND- that you took the time now to update the Touch version. Thanks much.

        As for testing them, I can't get them to import into the Custom Clock Helper GUI. My originals are all one line (no line breaks) where yours are structured. When I paste one of the new ones into the "Import" box it does not appear in the list of styles. To better explain myself, here are screenshots from Notepad++ showing the differences. Perhaps there's a different method for importing yours. If they need to be copied to a directory, please tell me the path to the stored styles.

        Thanks again.
        I import using the Custom Clock Helper plugin. The formatting should not cause any problem with the import process. This morning I deleted your Custom Clock styles from my LMS server and then imported them again using the files I posted last night. They imported correctly. Just in case, I have attached unformatted files for you to try.

        You might check your server log for clues on why Custom Clock Helper isn't importing styles or applying changes you make.
        Attached Files

        Comment


          Originally posted by BoomX2 View Post
          You might check your server log for clues on why Custom Clock Helper isn't importing styles or applying changes you make.
          I discovered the reason why the formatted reasons weren't importing. Well, they were, but the were overwriting the existing since all I changed was the -filename- and not the script name within the script.

          As for your tweak, once again my deepest thanks. It's working as expected. I did have to adjust "Current" by another 3 pixels and the current forecast by about 15 even though it will overlay on the time, but I knew that would happen. It now shows what I tried to do. And I've learned a couple of things for the next time I try to tweak a script.

          Wishing you a great 2023.

          Comment


            Originally posted by phred View Post
            I discovered the reason why the formatted reasons weren't importing. Well, they were, but the were overwriting the existing since all I changed was the -filename- and not the script name within the script.

            As for your tweak, once again my deepest thanks. It's working as expected. I did have to adjust "Current" by another 3 pixels and the current forecast by about 15 even though it will overlay on the time, but I knew that would happen. It now shows what I tried to do. And I've learned a couple of things for the next time I try to tweak a script.

            Wishing you a great 2023.
            I'm glad to hear you got this working on your system.

            Comment


              Originally posted by BoomX2 View Post
              I'm glad to hear you got this working on your system.
              I'm glad that you got it working on my system.

              Comment


                Screensavers for Radio and Touch

                The layout for this screensaver was originally by T Cutting. Many years ago I reworked it to my liking with some help from BoomX2. A couple of weeks ago I wanted to tweak it a little more and got stuck. Once again BoomX2 came to the rescue.

                I use these when my devices are off. One is for the Touch and one is for the Radio. Time and date in the center. In the upper left is the current weather condition. In the upper right and below the time on the right is the forecast for today and the next four days. On the left side below the time is the current temperature, along with current conditioni, Real Feel (RF), High (or Low) temp for today/tonight, and the Precipitation Probability (PP).

                On the bottom line are today's sunrise and sunset times. The line above that shows the current Barometric Pressure (BP), Wind direction and speed, and the Relative Humidity (RH).

                [EDIT: I do want to point out that the "current condition" at the upper left may overlap the hour if the text is long. This will impact those who use 24 hour time and 10, 11, and 12 o'clock for those who use 12 hour time.]

                My little contribution to the community for the help I've received and things I've learned over the years.

                Best wishes for a great 2023 to you all.

                [I can't seem to make the size of the image any smaller.]

                Click image for larger version

Name:	20221223_130724 (Resized).jpg
Views:	1
Size:	252.0 KB
ID:	1576351
                Attached Files
                Last edited by phred; 2022-12-23, 22:42.

                Comment


                  I'm having difficulty understanding how to specify "period" for daytime only. I understand now is "-1", but how do I request today daytime period and tomorrow daytime period? I am not interested in overnight periods, just daytime. Thanks.

                  Comment


                    Originally posted by Apesbrain View Post
                    I'm having difficulty understanding how to specify "period" for daytime only. I understand now is "-1", but how do I request today daytime period and tomorrow daytime period? I am not interested in overnight periods, just daytime. Thanks.
                    It sounds like you are using Custom Clock Helper. If so, try using the 15-day periods (d0 - d14) instead of the 48-hour periods (-1 to 3 or C to 3).

                    The SDT code comments I pasted below show the 48 Hour period selections change based on the time of day the data is retrieved.

                    Code:
                    #    Period definitions
                    #    Period    Day                    Night
                    #    ------    -----------------    --------------
                    #    -1        Current                Current            
                    #     0        Today                  Tonight            
                    #     1        Tonight                Tomorrow        
                    #     2        Tomorrow               Tomorrow Night    
                    #     3        Tomorrow Night         Day after tomorrow​​


                    The 15-day period definitions start with d0 = Today, d1 = Tomorrow etc. etc. Custom clock helper will only have d1 to d10 available in the pull-down menu. You can manually enter d0.

                    Comment


                      I'm using SDT and Custom Clock Helper. What's the "code" for sunrise and sunset for 12-hour time? I'm currently using 24-hour time and I seem to recall when creating the screensaver 12-hour wasn't available for sunrise or sunset. Ideally with the ability to show AM and PM, although that's not really necessary for sunrise and sunset as even a rock would know which is which.

                      Thanks.

                      Comment


                        Originally posted by phred View Post
                        I'm using SDT and Custom Clock Helper. What's the "code" for sunrise and sunset for 12-hour time? I'm currently using 24-hour time and I seem to recall when creating the screensaver 12-hour wasn't available for sunrise or sunset. Ideally with the ability to show AM and PM, although that's not really necessary for sunrise and sunset as even a rock would know which is which.

                        Thanks.
                        Sunrise and sunset times are currently only available in 24-hour format. It would not take too much effort to add 12-hour format sunrise and sunset times. I will see about adding them in the next release.

                        Comment


                          Originally posted by BoomX2 View Post
                          Sunrise and sunset times are currently only available in 24-hour format. It would not take too much effort to add 12-hour format sunrise and sunset times. I will see about adding them in the next release.
                          That's great to hear. I'll keep an eye out for the next update. Thanks!

                          Comment


                            Originally posted by phred View Post
                            I'm using SDT and Custom Clock Helper. What's the "code" for sunrise and sunset for 12-hour time? I'm currently using 24-hour time and I seem to recall when creating the screensaver 12-hour wasn't available for sunrise or sunset. Ideally with the ability to show AM and PM, although that's not really necessary for sunrise and sunset as even a rock would know which is which.

                            Thanks.
                            I added 12-hour time format in SDT release 5-11-29. The new macro codes for Sunrise and Sunset are %!s and %!S.

                            Comment


                              Originally posted by BoomX2 View Post
                              I added 12-hour time format in SDT release 5-11-29. The new macro codes for Sunrise and Sunset are %!s and %!S.
                              Perfect!
                              Since I believe you've refused donations in the past (and please correct me if I'm wrong) I'll have a couple of adult beverages in your honor tonight.

                              Thanks.

                              Comment


                                I got this in my log today:
                                Code:
                                Plugins::SuperDateTime::Plugin::gotWeatherNow (3931) Unknown Barometer Trend Status!!! Code = 4
                                Plugins::SuperDateTime::Plugin::gotWeatherNow (3932) Barometer Trend Description = Faller snabbt
                                ​
                                "Faller snabbt" is Swedish for "Decreasing rapidly". Now that we know what "4" means you may want to update the code :-)

                                Comment

                                Working...
                                X