Announcement

Collapse
No announcement yet.

DayNightEvents [ Now in RRExtended ]

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

  • DayNightEvents [ Now in RRExtended ]

    This plugin Fires events based on time of day.

    Custom Executed Cmds

    *Both of these Execute the following minute after their last xxxxxxEvent listed below
    "DayTimeEvent"
    "NightTimeEvent"

    *Both of these Execute 1 or 3+ more times depending on the "DayNightEventOffSet" setting
    "SunSetEvent"
    "SunRiseEvent"


    Labels
    "DNE_RiseSetCount" - Show both current command executed count and Total events in a "0/3" format
    "DNE_SunRiseTime" - Shows SunRise time in AM/PM format
    "DNE_SunSetTime" - Shows SunSet time in AM/PM format


    Ini settings (rr.ini or skin.ini)

    Code:
    [DayNightEvents]
    DayEventTime=7:00 AM
    NightEventTime=8:00 PM
    DayNightEventLat=0.000000
    DayNightEventLon=0.000000
    DayNightEventOffSet=0
    Notes on usage and operation
    *The sun times have four fall backs, listed in order of checks:
    *Active GPS, Static GPS(ini setting), Static Time (ini setting), or hard coded defaults
    *The "DayTimeEvent" and "NightTimeEvent" only execute once per occurrence, even with a skin reload
    *The "SunRiseEvent" and "SunSetEvent" get executed once every minute for x times depending on what the
    *"DayNightEventOffSet" ini setting is above.
    *The "DayNightEventOffSet" setting is in minutes and is thought of as (x * 2 + 1), a "0" offset will give
    *you only one "Sun(rise/set)Event" at the time of sun(rise/set), where a setting of 1 or more will
    *add that many minutes before/after the sun(rise/set) time which also adds times the number of "Sun(rise/set)Event"
    *will execute plus the actual minute that (rise/set) time is at(hence the equation above)
    *Checks every 5 secs to see if an event needs to be executed
    *Also takes into account whether DST(Daylight Saving Time) is effect or not once per hour.
    *The "DayEventTime" ini setting needs to be in a 12hr time std (AM/PM)


    [Edit]
    File removed as this is now incorporated into RRExtended plugin.
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  • #2
    So much to do, so little time...
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

    Comment


    • #3
      At this rate, I'm gonna have to pull a Enforcer, and make a thread of just the plugins that I have done...
      RideRunner...The #1 FE, PERIOD.

      Current Project: DFXVoice [v1.0 Released]
      Next in line: RRMedia v2.0

      DFX 5.1.1 Skin
      Appstore Link

      My RideRunner Plugins
      RRMedia
      RRExtended
      DFXVoice

      "There are no bugs - only undocumented features."

      Comment


      • #4
        heh...with all these contributions you make, you might as well do it w/ some status updates next to it.

        There have been so many changes/additions implemented into RR lately (base code + plugins), I've had to re-code most of my completed skins.

        It's getting tough to keep up. At this rate, I'll never get this out.

        Not a bad thing really, just wish now I didn't make my skin so gosh da***d complicated.
        Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

        Comment


        • #5


          Another reason that this is never a done proj/hobby...
          RideRunner...The #1 FE, PERIOD.

          Current Project: DFXVoice [v1.0 Released]
          Next in line: RRMedia v2.0

          DFX 5.1.1 Skin
          Appstore Link

          My RideRunner Plugins
          RRMedia
          RRExtended
          DFXVoice

          "There are no bugs - only undocumented features."

          Comment


          • #7
            Originally posted by Blue ZX3 View Post


            Another reason that this is never a done proj/hobby...
            Good way to keep the mind active, I'll tell you that.

            I've lost quite a few hours of sleep because I couldn't understand why my GDI+ AI script wasn't working as it should.

            Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

            Comment


            • #8
              Originally posted by Sal R. View Post
              Good way to keep the mind active, I'll tell you that.

              I've lost quite a few hours of sleep because I couldn't understand why my GDI+ AI script wasn't working as it should.

              Could have not said it better myself!!
              RideRunner...The #1 FE, PERIOD.

              Current Project: DFXVoice [v1.0 Released]
              Next in line: RRMedia v2.0

              DFX 5.1.1 Skin
              Appstore Link

              My RideRunner Plugins
              RRMedia
              RRExtended
              DFXVoice

              "There are no bugs - only undocumented features."

              Comment


              • #9
                could'nt this be added or a rebuild of the timerexe that guino did way back,
                a dll that use the skin.ini instead of its own , that way most of the code can be in the skin,

                for me i have setup just 2 var's in the skin.ini for day / night change times
                which are set from a scr in the skin , my times can be set maunally or sunrise/set times using the weather labels, both actions write to the same var's in the skin.ini .
                which to me means all is needed is a timer dll ,

                correct me if i wrong , some of this codeing is to advance for me lol...

                or if pos have a timer hardcodded in rr if mitch thinks its possiable to do that would be a great help
                Riderunner / Genesis
                Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
                New Home for Genesis & BassRR :adding to site ,, Hellfyre night
                Bassrr Beta Release :Version 1.3.7
                Movie_info Release :Version 3.1.0
                Wifiman_NET:Version 1.0.0

                Every Future, Needs A Beginning

                Comment


                • #10
                  The whole idea is to cleanup the rr code and only have needed core functions as anything/everything else could be done via a plugin. Just about all my plugins are adv as its easier to have more than what might be used instead of going back and adding something that someone suggests or req's.

                  Also is the reason I try and have settings for everything, for either customizing it or turning on/off part of it.
                  RideRunner...The #1 FE, PERIOD.

                  Current Project: DFXVoice [v1.0 Released]
                  Next in line: RRMedia v2.0

                  DFX 5.1.1 Skin
                  Appstore Link

                  My RideRunner Plugins
                  RRMedia
                  RRExtended
                  DFXVoice

                  "There are no bugs - only undocumented features."

                  Comment


                  • #11
                    This actually came from John wanting a cmd fired on a day/night change so to do it correctly and with most flexibility I did it this way.
                    RideRunner...The #1 FE, PERIOD.

                    Current Project: DFXVoice [v1.0 Released]
                    Next in line: RRMedia v2.0

                    DFX 5.1.1 Skin
                    Appstore Link

                    My RideRunner Plugins
                    RRMedia
                    RRExtended
                    DFXVoice

                    "There are no bugs - only undocumented features."

                    Comment


                    • #12
                      ok i do agree so how about re-building the timerexec instead , its an extension plug so it goes inline with the way things are going with rr, which i do agree is needed .
                      as most skins are going down this route it just makes more sense, to have an extenstion plugin for it instead , and all functions that may get suggested can be added before the release of it, if its a no go then i acept that as i'm no coder i jjust suggest an idea.

                      thanks blue
                      Riderunner / Genesis
                      Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
                      New Home for Genesis & BassRR :adding to site ,, Hellfyre night
                      Bassrr Beta Release :Version 1.3.7
                      Movie_info Release :Version 3.1.0
                      Wifiman_NET:Version 1.0.0

                      Every Future, Needs A Beginning

                      Comment


                      • #13
                        Someone sometime ago did ask if I would add to/change that plugin, forget who, but I was way to busy working on my RRMedia at that time and didn't want to get sidetracked..hehehe

                        If i remember correctly, it was to add by date as well as time. Which probably shouldn't be to hard now as I getting better & faster to getting code in VB to work w/o syntax errors or type Mismatch...<-- hate those!

                        Maybe start a new thread being a Request and list what you'd like to see changed / added and I'll see if it can be added/modded in a timely fashion...(nice pun)
                        RideRunner...The #1 FE, PERIOD.

                        Current Project: DFXVoice [v1.0 Released]
                        Next in line: RRMedia v2.0

                        DFX 5.1.1 Skin
                        Appstore Link

                        My RideRunner Plugins
                        RRMedia
                        RRExtended
                        DFXVoice

                        "There are no bugs - only undocumented features."

                        Comment


                        • #14
                          what are some common examples in your minds of potential uses for this plugin? just curious.

                          Comment


                          • #15
                            well thanks for the advise blue

                            @overlander new thread to discuss this feature as blue mentioned , so really the sky is the limt as long as we keep the main function clean eg timer part , i think lots of people would come up with other uses chuck use timer for other functions so have to keep this in mind look at the new thread in the plugins section
                            Riderunner / Genesis
                            Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
                            New Home for Genesis & BassRR :adding to site ,, Hellfyre night
                            Bassrr Beta Release :Version 1.3.7
                            Movie_info Release :Version 3.1.0
                            Wifiman_NET:Version 1.0.0

                            Every Future, Needs A Beginning

                            Comment

                            Working...
                            X