Blockly with two sensors not working as expected
Moderator: leecollings
-
- Posts: 16
- Joined: Wednesday 03 February 2016 0:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.9052
- Location: Cologne, Germany
- Contact:
Blockly with two sensors not working as expected
Hello everyone,
I have a Blockly configured for every room where I have a Zwave thermostat. In these rooms I usually only have one window with sensor to check if the window is opened or closed. I have also installed thermometers to check the temperature.
If the window is opened, the thermostat should be set to its lowest value. If the window is closed and the temperature is below a certain value, the thermostat is set to a specific value. If the temperature is above a certain value and the window is closed, the thermostat is set to a specific value. Nothing fancy, but it suits my needs.
But now I want to enhance the logic and also include the door in the hall. And this is unfortunately not working!
Maybe you can easily indentify the error?
Only window: Window and door: Any help is much appreciated!
Cheers,
Sascha
I have a Blockly configured for every room where I have a Zwave thermostat. In these rooms I usually only have one window with sensor to check if the window is opened or closed. I have also installed thermometers to check the temperature.
If the window is opened, the thermostat should be set to its lowest value. If the window is closed and the temperature is below a certain value, the thermostat is set to a specific value. If the temperature is above a certain value and the window is closed, the thermostat is set to a specific value. Nothing fancy, but it suits my needs.
But now I want to enhance the logic and also include the door in the hall. And this is unfortunately not working!
Maybe you can easily indentify the error?
Only window: Window and door: Any help is much appreciated!
Cheers,
Sascha
--
brainpaincgn
brainpaincgn
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Blockly with two sensors not working as expected
You need to test for each device to be "Open" not like you have done the or/and now, so
if fenster flur = Open or tür flur = Open
do ....
if fenster flur = Open or tür flur = Open
do ....
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 16
- Joined: Wednesday 03 February 2016 0:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.9052
- Location: Cologne, Germany
- Contact:
Re: Blockly with two sensors not working as expected
Thanks!
I changed the first part and that's working now. But as soon as I close either window or door, the thermostat is not set back to 17 or 20 degrees. Do I have to change the conditions in the second and third part as well?
Cheers,
Sascha
I changed the first part and that's working now. But as soon as I close either window or door, the thermostat is not set back to 17 or 20 degrees. Do I have to change the conditions in the second and third part as well?
Cheers,
Sascha
--
brainpaincgn
brainpaincgn
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Blockly with two sensors not working as expected
The condition is that they both need to be closed... Right?
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 16
- Joined: Wednesday 03 February 2016 0:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.9052
- Location: Cologne, Germany
- Contact:
Re: Blockly with two sensors not working as expected
Yes!
When I open window or door, it is set to 8 degrees. But when this window or door is closed again, it's not set to 17 or 20 degrees depending on the current temperatur.
Cheers,
Sascha
When I open window or door, it is set to 8 degrees. But when this window or door is closed again, it's not set to 17 or 20 degrees depending on the current temperatur.
Cheers,
Sascha
--
brainpaincgn
brainpaincgn
- jvdz
- Posts: 2189
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Blockly with two sensors not working as expected
Are you testing the correct SETPOINT TEMP value there or are you testing against the actual temp with that device?
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 20
- Joined: Tuesday 27 February 2018 8:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Blockly with two sensors not working as expected
Hi,
is it possible, that your current temperature "Thermometer Flur" was between 18°C an 19°C when you Test your blockly?
If your Thermometer Flur is higher 18°C and lower 19°C your Thermostat will not Update the Setpoint.
For testing you could try <=18 and >18.
Benny
is it possible, that your current temperature "Thermometer Flur" was between 18°C an 19°C when you Test your blockly?
If your Thermometer Flur is higher 18°C and lower 19°C your Thermostat will not Update the Setpoint.
For testing you could try <=18 and >18.
Benny
-
- Posts: 16
- Joined: Wednesday 03 February 2016 0:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.9052
- Location: Cologne, Germany
- Contact:
Re: Blockly with two sensors not working as expected
I will try that and give you an update!
Thanks for the hint!
Cheers,
Sascha
Thanks for the hint!
Cheers,
Sascha
--
brainpaincgn
brainpaincgn
-
- Posts: 16
- Joined: Wednesday 03 February 2016 0:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.9052
- Location: Cologne, Germany
- Contact:
Re: Blockly with two sensors not working as expected
That did the trick! Thanks!
I got one additional question: Is there an option to set the Thermostat only to 8 degrees if the door is opne longer than 30 seconds or a minute?
Cheers,
Sascha
I got one additional question: Is there an option to set the Thermostat only to 8 degrees if the door is opne longer than 30 seconds or a minute?
Cheers,
Sascha
--
brainpaincgn
brainpaincgn
-
- Posts: 20
- Joined: Tuesday 27 February 2018 8:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Blockly with two sensors not working as expected
Yes it is. What kind of Thermostat do you use?
I have some Danfoss LC-13 and use this blockly to contol them. The internal controller works very well, for me there is no need to controll them with an external temperature sensor. Sometimes they want update the Setpoint, so I set the Setpoint every time they Wake-Up (15min in my case) and don't have the right Setpoint. That's the Delay Option for my Windows. And the Eco-Mode (Nachtabsenkung, don't know the english term)
Greetings from Gummersbach
I have some Danfoss LC-13 and use this blockly to contol them. The internal controller works very well, for me there is no need to controll them with an external temperature sensor. Sometimes they want update the Setpoint, so I set the Setpoint every time they Wake-Up (15min in my case) and don't have the right Setpoint. That's the Delay Option for my Windows. And the Eco-Mode (Nachtabsenkung, don't know the english term)
Greetings from Gummersbach
-
- Posts: 16
- Joined: Wednesday 03 February 2016 0:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.9052
- Location: Cologne, Germany
- Contact:
Re: Blockly with two sensors not working as expected
Thanks a lot! I will look into this and give it a try.
I use one Danfoss and three Eurotronics devices. Two using Zwave and two using ZigBee.
Cheers from Cologne,
Sascha
I use one Danfoss and three Eurotronics devices. Two using Zwave and two using ZigBee.
Cheers from Cologne,
Sascha
--
brainpaincgn
brainpaincgn
Who is online
Users browsing this forum: No registered users and 0 guests