Home Automation - LogicalRules

Discussions about RaZberry - Z-Wave board for Raspberry computer
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Home Automation - LogicalRules

Post by pz1 »

We have not finished thermostats part yet
I understand.
Would it fit your design if there were a possibility in the action part of the rule to specify an http call? I expect In my example I could use the apiary call to set the thermostat mode.

I do appreciate that such an option would break the idea of a strictly controlled rule configuration environment.
Since 29-12-2016 I am no longer a moderator for this forum
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: Home Automation - LogicalRules

Post by PoltoS »

Excuse, I've not got you ;)

We already have the widget for thermostat. And may be it even work, but we have not tested all this. They follow same rules, but will require special module for scenes, since LightScene do not allow this. Either we will improve it or do another modules (I'm for the latter).
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Home Automation - LogicalRules

Post by pz1 »

PoltoS wrote:Excuse, I've not got you ;)
What I am looking for is the option to specify in the Action part of a rule other commands than a Widget. For example something like the HTTP device that could set the mode of a thermostat. Or do a system() call
We already have the widget for thermostat.
At the moment my StellaZ thermostat presents itself as three widgets: Temperature sensor, Battery level, and Dimmer. The dimmer stands for the the setting of the valve. What I am missing is the Mode.
And may be it even work, but we have not tested all this.
I haven't seen anything on Git that I could test. Did I overlook something or is it still not public.
They follow same rules, but will require special module for scenes, since LightScene do not allow this. Either we will improve it or do another modules (I'm for the latter).
I am in favour of robust generic solutions. If that requires another module it is fine with me.
I am patient :)
Since 29-12-2016 I am no longer a moderator for this forum
SolarFlor
Posts: 261
Joined: 22 Mar 2014 15:23

Re: Home Automation - LogicalRules

Post by SolarFlor »

Hi,
I have tried to define a Logical Rule to turn on Device 3 when both Device 1 and Device 2 are on.

First I have created a Light Scene to turn on Device 3
Second I have created a Logical Rules with the following setting?

Boolean Operator: And
List of Swithes: Device1 (on); Device2 (on)
List of Scene to Activate: turn on Device 3
Status: enabled

But, for some reason, it doesn't work
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: Home Automation - LogicalRules

Post by PoltoS »

Do devices 1 and 2 reports their status instantly. In another thread you complained Aeon device not to report its status
SolarFlor
Posts: 261
Joined: 22 Mar 2014 15:23

Re: Home Automation - LogicalRules

Post by SolarFlor »

Aeon is the device 2 in this example.
It doesn't report the status if switched manually but if I switch with UI Automation or Expert it report the status
SolarFlor
Posts: 261
Joined: 22 Mar 2014 15:23

Re: Home Automation - LogicalRules

Post by SolarFlor »

Thanks to sdh the AEON MES switch is ok now. I can see its update status on all UIs now.

But still the Logical Rule I create doesn't work.
See below the configuration I did:

Basically I would like to switch on Roberta (I have created a Light Scene to do that) when both Giorgio and Plug Corridoio are on.
logicalrule.jpg
logicalrule.jpg (26.1 KiB) Viewed 12090 times
So I'm expecting that whan Giorno and Plag Corridoio are on, as in the image below, also Roberta would be on.
But it doesn't work
Attachments
logicalrule2.jpg
logicalrule2.jpg (26.56 KiB) Viewed 12090 times
n0ahg
Posts: 87
Joined: 08 May 2013 23:41

Re: Home Automation - LogicalRules

Post by n0ahg »

You need to move 'Giorno' and 'Plag Corridoio' into the conditions box in your rule.
SolarFlor
Posts: 261
Joined: 22 Mar 2014 15:23

Re: Home Automation - LogicalRules

Post by SolarFlor »

Many Thanks. It works
I could also add the Switch directly (Roberta on) and do not need to create a Light Scene as Action.

Many Thanks again
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Home Automation - LogicalRules

Post by pz1 »

PoltoS wrote:We have not finished thermostats part yet. Soon
Any news when we me may expect the thermostat (StellaZ) commands to set Mode, Temperature, etc for use in rules
Since 29-12-2016 I am no longer a moderator for this forum
Post Reply