News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

DCERouter Delay function

Started by Nuwis, July 04, 2011, 09:20:13 PM

Previous topic - Next topic

Nuwis

Hi people.

I think there's a simple question, but i got stuck in this situation, using the router delay function.
The situation is that i use a CM15A X10 controller that works fine with all signals, on off and dimer, but i had created a lighting scenario in one of my MD to do:
-Switch on upstairs light
-Switch off all lights in salon
-Wait 120 seconds
-Switch off upstairs light

All is done ok, also the last off command for the upstairs light but using the DCeRouter Delay and set it to 120 seconds (In the comment for the parameter it say that the value is in Seconds) never wait directly switch off the light.
I tried the value in minutes setting it to 2, in seconds set it to 120 and in miliseconds set it to 120000, because i had read in some post and wiki that could be in all three, but never get a good result.
Any comments?

Thanks in advance.
Frank Galan

An Spanish LMCE user
[url="http://wiki.linuxmce.org/index.php/User:Nuwis"]http://wiki.linuxmce.org/index.php/User:Nuwis[/url]

Nuwis

Frank Galan

An Spanish LMCE user
[url="http://wiki.linuxmce.org/index.php/User:Nuwis"]http://wiki.linuxmce.org/index.php/User:Nuwis[/url]

hari

Quote from: Nuwis on July 05, 2011, 06:38:47 PM
Nobody have any comments?

it did work for me when testing the sprinkler/rain8 unit.. but that was on 1004

br Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

Nuwis

OK, i didn't try 1004 for the moment, but i had observed that is not only in this scenario, is in whatever scenario y can create. It seems that could be something in my core?

regards
Frank Galan

An Spanish LMCE user
[url="http://wiki.linuxmce.org/index.php/User:Nuwis"]http://wiki.linuxmce.org/index.php/User:Nuwis[/url]

Nuwis

I know that i'm starting to be hard, but nobody kwons how it really function?
Or where can i start to look for the problem? it is done by script or whatever?
thanks in advance
Frank Galan

An Spanish LMCE user
[url="http://wiki.linuxmce.org/index.php/User:Nuwis"]http://wiki.linuxmce.org/index.php/User:Nuwis[/url]

Marie.O

If it looks like a bug to you, please open a trac ticket at svn.linuxmce.org - make sure to add contact information in the reporter field, so people can contact you.

Thanks.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

Nuwis

Frank Galan

An Spanish LMCE user
[url="http://wiki.linuxmce.org/index.php/User:Nuwis"]http://wiki.linuxmce.org/index.php/User:Nuwis[/url]

stallione

Hi Nuwis,
I have a similar scenario setup to turn off the lighs in my mudroom after 5 minutes which gets triggered by a sensor during night time hours. Attached you can see the screenshot. I am running 810. This has worked flawlessly for me for the past year or so. Something to keep in mind is that when you setup things in LMCE especially lighting and other 'Scenarios', I have noticed that after you reload your router, go ahead and reboot it else you get erratic results with triggered events.
br,
Raj


Nuwis

Hi again bros.

Finally i found a solution.
That function, at least in my core, just run ok on a "Respond to events" scenario. It means, if i create a scenario in lighting scenarios for example it never wait this delay.
I create a "respond to event" scenario when house mode changes to sleeping executing the commands i want to do, and it works fine.
There's no way to use it in other scenarios? or where is executed this function to trace back the problem?

Thanks in adavance.
Frank Galan

An Spanish LMCE user
[url="http://wiki.linuxmce.org/index.php/User:Nuwis"]http://wiki.linuxmce.org/index.php/User:Nuwis[/url]