bottleneck
Choose style:

Author Topic: R70 Rules bugs so far.  (Read 6021 times)

0 Members and 1 Guest are viewing this topic.

Offline tinkerman

  • Backer
  • *
  • Posts: 10
  • Thanks: 0
  • Registered : 15/10/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
R70 Rules bugs so far.
« on: February 13, 2015, 05:44:31 pm »
i've encountered the following:

1) when creating a rule that spans through the night...i.e. 5pm to 12am, the interface says time range invalid.

2) when i create a rule that says 4am to 5am, the summary page shows 4am to 0am...but when i check /tmp/Rules.xml, it does a proper 60 minute calculation.

finally, can we just edit Rules.xml straight if we know the syntax?

LGNilsson

  • Guest
Re: R70 Rules bugs so far.
« Reply #1 on: February 14, 2015, 03:20:16 am »
We're aware of the rules issues with rules that span over midnight and this will be fixed.

I think what you ran into is simply just a UI bug and we're still going to improve on that UI, but I'll let the software team know.

And yes, you can edit the Rules.xml file, but please be aware that you can break your rules this way. Worst case, delete the file, create a new rule in the web UI and the Rules.xml file will be re-created. That said, if the backend logic doesn't support your rule, it won't work.

Offline tinkerman

  • Backer
  • *
  • Posts: 10
  • Thanks: 0
  • Registered : 15/10/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R70 Rules bugs so far.
« Reply #2 on: February 15, 2015, 08:35:51 pm »
got it.

another bug i found...i have a Linear dimming switch...i have a rule that turns it on at 5pm and switches it off at 11.59pm...and another rule that turns it on at 4am to 5am. in both instances..the "off" part of the rule does not work. the light stays on until manually set to off.

LGNilsson

  • Guest
Re: R70 Rules bugs so far.
« Reply #3 on: February 16, 2015, 03:40:52 am »
Thanks, I've passed it on to the software team.

Offline addezai

  • Peanut
  • **
  • Posts: 12
  • Thanks: 0
  • Registered : 17/11/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R70 Rules bugs so far.
« Reply #4 on: February 16, 2015, 10:34:37 am »
I have rule to Turn ON Peanut plug between 5 PM to 9 PM if its turned off. and I have one more rule to turn off peanut plug at 9.01 PM if its turned ON. Both of the rules worked only for a day and stop working right after reboot. I observed that reboot lost my time settings and set me to the GMT by default. However I changed the Almond+ time to EST and still rules are not working per time trigger.

Offline bwainscott

  • Backer
  • *
  • Posts: 138
  • Thanks: 0
  • Registered : 02/08/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R70 Rules bugs so far.
« Reply #5 on: February 16, 2015, 11:29:22 am »
got it.

another bug i found...i have a Linear dimming switch...i have a rule that turns it on at 5pm and switches it off at 11.59pm...and another rule that turns it on at 4am to 5am. in both instances..the "off" part of the rule does not work. the light stays on until manually set to off.

Tinkerman -- I'm just curious about how you set this up.  Your 5pm-11:59pm rule: was it simply "between 5pm and 11:59pm turn the light on"?  I'm not sure I'd expect that to turn the light off at 11:59pm.  I think the "between" times are more for things like "between 5pm and 11:59pm if the door opens, turn on the light" so that the door opening is ignored the rest of the time.  For the effect you want, maybe you could try 2 rules: "at 5pm turn the light on", and "at 11:59pm (or just 12am) turn the light off".

Offline tinkerman

  • Backer
  • *
  • Posts: 10
  • Thanks: 0
  • Registered : 15/10/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: R70 Rules bugs so far.
« Reply #6 on: February 17, 2015, 02:22:45 am »
you're right! so it looks like i mis-understood the "between" part...interpreting it as duration instead of trigger time window. breaking the rule into separate "off" and "on" rules made it work the way i wanted it.

thanks for taking the time to correct me.

Tinkerman -- I'm just curious about how you set this up.  Your 5pm-11:59pm rule: was it simply "between 5pm and 11:59pm turn the light on"?  I'm not sure I'd expect that to turn the light off at 11:59pm.  I think the "between" times are more for things like "between 5pm and 11:59pm if the door opens, turn on the light" so that the door opening is ignored the rest of the time.  For the effect you want, maybe you could try 2 rules: "at 5pm turn the light on", and "at 11:59pm (or just 12am) turn the light off".

 

Page created in 0.04 seconds with 17 queries.

bottleneck