Event does not seem to work

Moderator: leecollings

Post Reply
elgarne
Posts: 36
Joined: Monday 26 May 2014 14:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Event does not seem to work

Post by elgarne »

Hi,

I have 5 rooms in my house, in each, I have a heater with 3 possible states. I created then 15 virtual switches, one for each state of each heater. The states are "confort", eco" and "off". Each switch executes a script when turned "on" and does nothing when turned "off". I have also added one event by switch when turned "on" which turns the other switches of the same room to "off". Turning "on" the switches does exactly what I expect on the heater but the event seems not working, since it does not turn "off" the other switches of the same room.

Here is my config:
Image
The events are similar to this one:
Image

In the second figure, if I turn "on" the switch labeled "cuisine confort", it does not turn "off" the two other "cuisine" switches. Any idea why it does not work?

Thanks a lot.
elgarne
Posts: 36
Joined: Monday 26 May 2014 14:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Event does not seem to work

Post by elgarne »

Sorry. Right after posting, I figured out that the events had not the same color on the event list and payed attention to the "enable" check box. I have enabled them all and now it is working.
Sorry for the useless post.
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Event does not seem to work

Post by Egregius »

You should add an extra if before you set it to off. Now the cuisine Eco is set to off every minute the confort is on.
But way 3 switches for each room? Isn't a setpoint better for controlling heating?
elgarne
Posts: 36
Joined: Monday 26 May 2014 14:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Event does not seem to work

Post by elgarne »

That's exactly what I want. Since Cuisine can be either Eco, Confort, or Off, I want only one of them with the ON icon at a given instant, that's why I turn Eco off exactly when I turn Confort on (and vice versa).

If you can explain (or point) what is a setpoint, I'll do it. Thanks.
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Event does not seem to work

Post by Egregius »

Setpoint is used for temperature. Together with a thermometer you have a thermostat.
elgarne
Posts: 36
Joined: Monday 26 May 2014 14:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Event does not seem to work

Post by elgarne »

Thanks but I do not plan to use it with a thermometer for now.
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: Event does not seem to work

Post by dannybloe »

Small note: whenever a blockly script doesn't get triggered I usually remove it completely and create a new one (same logic). Sometimes by some weird disturbance in the Force an event simply stops firing. Had that several times now and creating a new one almost always solved it for me.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest