Author Topic: 3 out of 4 Timed Events are Broken  (Read 6047 times)

justnulling

  • Newbie
  • *
  • Posts: 14
    • View Profile
3 out of 4 Timed Events are Broken
« on: June 23, 2008, 05:55:05 am »
So far, only Interval Based timed events work properly.
Day of week based works as daily. It fires at the set time everyday, whether or not the day of week is selected.
Day of month based also works as daily. Same as above.
Absolute doesn't work at all.

Tried with 7.10rc2 64 and 32 bit.

If anyone has a solution, please let me know.

There are two smaller (presentation) issues.
1) Wednesday is misspelled.
2) Time is auto set to AM only (for an exampled, when new timed even is being created at 2:10 PM, 2:10 is preset in the time field but it should be preset to 14:10)

wombiroller

  • Guru
  • ****
  • Posts: 340
    • View Profile
Re: 3 out of 4 Timed Events are Broken
« Reply #1 on: June 23, 2008, 07:55:10 am »
I have a set volume = 80 and Load playlist set for my 7.30AM M-F (alarm clock). Added this last week and I can confirm it didn't run on the weekend (i.e. worked as configured).

Sorry I'm not really helping here but it definitely works for me (32bit RC2).

justnulling

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: 3 out of 4 Timed Events are Broken
« Reply #2 on: June 25, 2008, 12:44:39 am »
wombiroller,

Hmm, let see, I am running DVD install, is that what you have as well?

wombiroller

  • Guru
  • ****
  • Posts: 340
    • View Profile
Re: 3 out of 4 Timed Events are Broken
« Reply #3 on: June 25, 2008, 05:58:17 am »
Yep - DVD install i386 0710 RC2... It got me out of bed this morning (and let me sleep in on the weekend)...

justnulling

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: 3 out of 4 Timed Events are Broken
« Reply #4 on: June 25, 2008, 08:24:06 pm »
I guess, it might be bad hardware but I have tried in on two different system, not sure what to do next.

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
Re: 3 out of 4 Timed Events are Broken
« Reply #5 on: February 02, 2009, 01:58:24 am »
Justnulling,
did you ever figure out how to get this to work? I have the same problem for "day of week". It simply executes every day.
Jean

justnulling

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: 3 out of 4 Timed Events are Broken
« Reply #6 on: February 02, 2009, 05:08:59 am »
No, never found the problem, as I have posted i have tried it on few system and have the same problem, so unless all of those systems have the same hardware bug, I have to say it is buried somewhere deep in the lmce code. If you figure it out please post it here.

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
Re: 3 out of 4 Timed Events are Broken
« Reply #7 on: February 02, 2009, 08:02:43 am »
Thanks for the quick reply. Very weird that nobody else is complaining about this. This seems like one of the main fatures of the system for those who want to do any decent automation.
At this point I'llprobably wait for 0810 and hope that it works there.
Jean

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: 3 out of 4 Timed Events are Broken
« Reply #8 on: February 02, 2009, 08:23:59 am »
Jean - I've definitely heard other complaints about periodic events not being reliable (although I remember that some of them were from you, I'm pretty sure there were others). I thought I had read that LMCE used cron or anacron, but on looking through mine I cannot see any entries that match the event I have set up so I don't know how it does it...

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: 3 out of 4 Timed Events are Broken
« Reply #9 on: February 02, 2009, 09:58:08 am »
*chuckles*

no, LinuxMCE does not use CRON.

All events are handled by the Event Plugin.

They are read from the Event table, only once, and are refreshed when the router reloads.

-Thom

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: 3 out of 4 Timed Events are Broken
« Reply #10 on: February 02, 2009, 10:34:41 am »
so presumably the Event plugin process spends most of its time spinning in a loop with a delay reading the time and comparing it with the events it read from the event table? Then sends the appropriate DCE event message when the time passes a particular event...

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: 3 out of 4 Timed Events are Broken
« Reply #11 on: February 02, 2009, 10:41:39 am »
Essentially the event plugin implements an interceptor for all DCE messages of type 2 (you actually can create different DCE message types, with any arbitrary payload, and create a plugin to deal with them. that's what's happening here.)

It then sends message type 1's (commands) for a given event criteria and the associated commands.

the timed events and criteria processing are handled here too.

-Thom

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Re: 3 out of 4 Timed Events are Broken
« Reply #12 on: February 02, 2009, 10:57:51 am »
Hi,

I'd suggest to start a Wiki page, with list of features that should work. Then, users can post how they setup events sucessfully  and also what doesn't work. I remember that Pluto had defined test protocols for each set of features - I guess something similar would be also needed here. We should make a list of features and determine whether they work or not and then fix them. This will also be a working features list...

Please start  wiki page with successful and other cases regarding time events... We're all interested, just maybe not at that point yet...

Thanks in advance,

regards,

Bulek.
Thanks in advance,

regards,

Bulek.

nue2

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: 3 out of 4 Timed Events are Broken
« Reply #13 on: May 14, 2009, 06:45:03 pm »
Along the same lines, can anybody confirm that respond to events does not work properly, such as the "stop watching the media in room" with time parameters?  I have it set to turn on the mights in my room when i stop playing media > 20:00 and it just goes anytime i stop playing media, night or day.