Logical rules with TIME not working!!

Discussions about RaZberry - Z-Wave board for Raspberry computer
fableman
Posts: 62
Joined: 01 Mar 2015 13:16

Re: Logical rules with TIME not working!!

Post by fableman »

Yes..

I use it like this.

LUX < 50 AND TIME =>16:00 AND TIME =<23:59
SWITCH 1 ON

But if time is 00:20 i will still turn SWITCH 1 ON, even if I turn it off manual at ex. 00:01


And the devs should think of letting TIME be a trigger, it can be of use.
Logicalrules is the only logical thing in the program that I can understand :)
n0ahg
Posts: 87
Joined: 08 May 2013 23:41

Re: Logical rules with TIME not working!!

Post by n0ahg »

If you have set the module correctly and it does not evaluate correctly then it may have a bug... BUT

I disagree, you don't still appear to understand the LogicalRules module. There is no need for this module to trigger an action at a specific time as there is another module which does exactly that.

LogicalRules is there too evaluate conditions and not to create actions. Perhaps what you need is a binary switch device you can set time <= x AND time >= y to define when it reports true and which then generates a update report at the transition from true/false and vice versa.

BTW, DummyDevice is there for a reason :-P
fableman
Posts: 62
Joined: 01 Mar 2015 13:16

Re: Logical rules with TIME not working!!

Post by fableman »

n0ahg wrote: There is no need for this module to trigger an action at a specific time as there is another module which does exactly that.
description: Logical rules allows to trigger scenes based on devices status.

When I read that description I should beable to make logical rules to trigger a switch or alarm or what ever.

Making fake devices just creat a messy spaghetti setup, the configuration and naming and all is allready very messy feeling I was just looking for something easy like logicalrules to make my own rulesets.

This is very bad if I can't use the LogicalRules to make logical rules! :cry:

Raz is confusing and the more I lern about it I am just getting more confused on a higher level... that is kinda bad when it should be the oposit.
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Logical rules with TIME not working!!

Post by pz1 »

If this irritates you that much, I guess an of the shelf product like Fibaro Home centre is a better choice for you.
fableman
Posts: 62
Joined: 01 Mar 2015 13:16

Re: Logical rules with TIME not working!!

Post by fableman »

Just a bit sad cos I was soo sure Raz could handle somethign easy as logical rules to make my own events.

But no worries.
I can easy make my own solution using bash and crontab using HTTP to turn on/off and read status from the devices.
islipfd19
Posts: 126
Joined: 07 Jul 2014 03:35

Re: Logical rules with TIME not working!!

Post by islipfd19 »

Can you provide screen shots of your logical rule that you created for this?

You're also using sensor polling to poll the lux sensor every X number of minutes, right?
fableman
Posts: 62
Joined: 01 Mar 2015 13:16

Re: Logical rules with TIME not working!!

Post by fableman »

I dident like raz home automatation, to messy, can't make advanced logical rules and spaghetti feeling.

I have now coded my own solution that works great for me.
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Logical rules with TIME not working!!

Post by pz1 »

fableman wrote:I have now coded my own solution that works great for me.
Could you pubish your solution here, so others can learn from it?
islipfd19
Posts: 126
Joined: 07 Jul 2014 03:35

Re: Logical rules with TIME not working!!

Post by islipfd19 »

fableman wrote:I dident like raz home automatation, to messy, can't make advanced logical rules and spaghetti feeling.

I have now coded my own solution that works great for me.
I never had any issues with Logical Rules, though I did end up using a lot of them at first; now down to one or two. I did however write my own module that took care of it; though it was sloppy and wasn't working 100% of the time. So recently, I modified the 'SmartLight' module to work for my needs and added the luminescence and humidity sensors to it. It basically is written specifically for the Aeon Multi Sensor that is used in a bathroom. I've been testing it for a few days now, hope to publish it in the Recipes section in the next few days after additional testing. Seems to be rock solid so far and the wife hasn't complained about the lights not working in the bathroom; that's the true test.
Post Reply