This object is in archive! 

A couple of bugs to be aware of

David Pritchard shared this problem 8 years ago
In Progress

These are 2 bugs I've reported to Zipato that people might want to be aware of.


1) A conditional wait causes subsequent commands not to be executed.


This is quite subtle. If you place a wait inside an "if" block, the commands that come *after* the "if" block are not executed, but this only happens the first time after rules are synchronised. And not even all the time - perhaps in 90% of cases.


So if you have:

if (x) blah blah; wait 20; blah blah

xyz


After you create the rule and synchronise, the first time the rule runs, "xyz" will not get executed. This has been reproduced by Zipato.

This can obviously cause mysterious, apparently inexplicable failures.

(It may also occur the first time the rule is run after rebooting. I haven't tested that).


2) The weather values tempMaxC and tempMinC are always 0.


This has not been confirmed by Zipato yet - they're still investigating. So maybe it only happens to me. Or maybe it depends on where you're living. But it looks like a bug because those values are definitely correct if you look at the weather with the Zipabox API.


I'd be interested to know if anyone else has this problem.

Replies (10)

photo
1

Another bug I forgot to mention:


3) Comparison of today's date with date of (now) fails after midday


This has also been reproduced by Zipato, I believe. I'm not sure whether it's been fixed or not in recent firmwares.


The effect is that, if you ask whether today is, say, the 1st of March, on the 1st of March the condition will evaluate to "true" until midday, whereupon it starts returning "false".

photo
1

Yes, I just wanted to tell everyone else in case it explains why something doesn't work in their rules.

photo
1

I would add the fact that if you use a JOIN and a REPEAT block in the same rule the repeat does not work. This is a known issue too.

photo
1

Alberto, for me the repeat does not work regardless if there is a join or not. This rule basically should flash the outside lights 4 times when I (or my partner) get home and the presence detector changes state to on. It only flashes once.

Files: rule.png
photo
1

Weird, it works for me as long as I don't use a "JOIN" statement and you try the rule a couple times (first time you run it doesn't work for some reason). If you try something like this does it work for you? what firmware you are running?

photo
1

It didn't work for me either (at all). But I haven't tried it recently.

photo
photo
1

Also another known issues for the record;


1. Sensor grouping or "Groups" don't work.

2. Scenes dont work well with Fibaro RGBW controllers. They act randomly and don't go to preset state on scenes.

photo
1

Thanks David


I had issues in a rule and tried to solve it by adding a wait in it. Bad idea it seems...

photo
1

Yes, if the "wait" is inside an "if". Hopefully this will be fixed soon. It explained a few mysterious rule failures of mine.

photo
2

Just to let everyone know: bugs 1) (conditional wait) and 3) (date comparison after midday) are now fixed.

photo
2

Also, the repeat now works for a while.

photo
2

thanks guys for the updates. You comments are well appreciated.

Leave a Comment
 
Attach a file