Announcement

Collapse
No announcement yet.

Check if date is a holiday

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

    Here are the 2 things I tried.
    The one like the image above and the "Copy" one I tried to integrate part of the old bjd-read calendar script.

    Thanks,
    Tim
    Attached Files
    FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

    HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

    Comment


      I am using Jon00's HTML2Img script to capture the cal.asp page from HS3.
      I have tried editing the cal.css and cal2.css files with no luck.
      When the screen is captured it shows white lines between each date box and looks funny in HSTouch, because my backgrounds are black.
      In the HS3 browser the white lines are not there.
      Any ideas?

      Thanks,
      Tim
      Attached Files
      Last edited by fungun; October 4, 2017, 07:35 PM.
      FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

      HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

      Comment


        Here it is in HS3.

        Thanks,
        Tim
        Attached Files
        FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

        HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

        Comment


          Anyone?

          Thanks,
          Tim
          FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

          HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

          Comment


            Is anyone having trouble with the month of December rendering in the HS3 web page?
            I just get a bunch of code. Then i scrolled down alittle, got the first 10 days showing, then just a bunch of code again.
            I went to the "Next Month", "Previous Month" buttons and they look fine.
            Just December is messed up.

            Thanks,
            Tim
            FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

            HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

            Comment


              At the top of the page it says - Script error: Type mismatch: 'CBool'
              Just tried "Previous year" and "Next Year" buttons they do the same thing, but only for December.

              Thanks,
              Tim
              FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

              HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

              Comment


                Fixed it.
                Went through the files a dozen times.
                It was a bad entry in the "isholiday.ini" file.

                Tim
                FB Page - https://www.facebook.com/pages/Capt-Tim/209398425902188

                HSTouch Layouts - https://www.facebook.com/media/set/?...5902188&type=3

                Comment


                  Problem with Object reference

                  Hi!

                  Having a severe cold which keeps me from paid work I can spend time to fix one thing I have wanted for a long time - exceptions for holidays in events! I tried creating my own scripts earlier without success but now found Sparkmans scripts that looks to be exactly what I need.

                  I have
                  * extracted files and putted them in place in the HS directory structure
                  * edited isholiday.ini to hold swedish holidays and with swedish names for weekdays and months

                  Unfortunately I get an error (or rather "warning") when I trigger isholidaytoday.vb;

                  Warning - VB.Net script exception(0), re-starting: Objektreferensen har inte angetts till en instans av ett objekt
                  (translated to English: Object reference not set to an instance of an object)

                  Are there an easy explanation - did I miss something else I need to do - maybe some virtual devices need to be created first? Or is it possible to force a more detailed error output?

                  Regards
                  Fredrik
                  Last edited by FredrikKan; April 3, 2018, 11:54 AM.

                  Comment


                    Originally posted by sparkman View Post
                    Hi Jim, I'm not sure as I've never tested it on linux or heard from others whether it works. I'll check the code tonight to see if there's anything that would prevent it from running on linux. I'm not sure if the asp web pages are supported under linux. Maybe give it a try and let me know what, if any, errors you get.

                    Cheers
                    Al
                    Hi Al,

                    I hate to bring up such an old thread, but I've been struggling to get this to run on the HS3Pi (Linux). I have your 5.0 VB code running just fine on Windows but the Pi doesn't seem to like some fundamentals such as "Includes" and "FileSystemObject". Did you ever have a chance to get this working on Linux?

                    TIA,

                    Mitch
                    http://www.midondesign.com

                    Comment


                      TTT
                      Hope something like this is incorporated into HS4 (most likely not)... so hope this script or another plugin will make it in!
                      HW - i5 4570T @2.9ghz runs @11w | 8gb ram | 128gb ssd OS - Win10 x64

                      HS - HS3 Pro Edition 3.0.0.435

                      Plugins - BLRF 2.0.94.0 | Concord 4 3.1.13.10 | HSBuddy 3.9.605.5 | HSTouch Server 3.0.0.68 | RFXCOM 30.0.0.36 | X10 3.0.0.36 | Z-Wave 3.0.1.190

                      Hardware - EdgePort/4 DB9 Serial | RFXCOM 433MHz USB Transceiver | Superbus 2000 for Concord 4 | TI103 X-10 Interface | WGL Designs W800 RF | Z-Net Z-Wave Interface

                      Comment


                        Originally posted by Midon View Post

                        Hi Al,

                        I hate to bring up such an old thread, but I've been struggling to get this to run on the HS3Pi (Linux). I have your 5.0 VB code running just fine on Windows but the Pi doesn't seem to like some fundamentals such as "Includes" and "FileSystemObject". Did you ever have a chance to get this working on Linux?

                        TIA,

                        Mitch
                        Sorry Mitch, missed your post. I haven't made many updates to these scripts for quite a while. I do plan on integrating it with BLGData so that the data in here can be seen on calendars on our phones. However, it's been relatively low on my priority list and will likely delay this till after HS4 is released to see if it requires further modifications. I'll see if I can eliminate non-linux supported calls but I have limited ability to test on linux at this time, but will see what I can do. Most of it was written during HS2 days using ASP which is not supported on linux as far as I understand.

                        Cheers
                        Al
                        HS 3.0.0.548: 1990 Devices 1172 Events
                        Z-Wave 3.0.1.262: 126 Nodes on one Z-Net

                        Comment


                          Originally posted by TeleFragger View Post
                          TTT
                          Hope something like this is incorporated into HS4 (most likely not)... so hope this script or another plugin will make it in!
                          I plan to keep this working under HS4 assuming there are few issues with that.
                          HS 3.0.0.548: 1990 Devices 1172 Events
                          Z-Wave 3.0.1.262: 126 Nodes on one Z-Net

                          Comment

                          Working...
                          X