Automatically sunscreen down temperature
Moderator: leecollings
-
- Posts: 167
- Joined: Thursday 28 December 2017 14:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Broek op Langedijk
- Contact:
Automatically sunscreen down temperature
I try to link my sunscreen (' scherm slaapkamer' ) to a sensor value (' temperatuur buiten' ). I want my sunscreen to go down above 22 degrees (if it is not already down) and only during the day within a certain time. I made this blocky:
This should work, however, he does not. What am I doing wrong now?
This should work, however, he does not. What am I doing wrong now?
- kuifje
- Posts: 36
- Joined: Wednesday 25 October 2017 16:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Heemskerk
- Contact:
Re: Automatically sunscreen down temperature
Remko2000,
Would you try to set the time to OR instead of AND because it can never be 9 and 21.
Hope this will do the job.
Greetsz
Kuifje
Would you try to set the time to OR instead of AND because it can never be 9 and 21.
Hope this will do the job.
Greetsz
Kuifje
-
- Posts: 104
- Joined: Tuesday 08 November 2016 14:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Poland
- Contact:
Re: Automatically sunscreen down temperature
Use dzVents. Really.
HW:Raspberry PiB+,Pi3,PiB,RFLink,FA20RF,DCS-930L,DCS-935L,Clarus switches,RF Temp sensors,Owl Micro+,Mi Flora,Kerui,Yeelight,Xiaomi,Broadlink RMM3,Alexa
SF:Jessie,Dmtcz 3.8153,Logitech Media srv,PiCorePlayers,Dashticz,Max2Play,InfluxDB,Grafana,HABridge
SF:Jessie,Dmtcz 3.8153,Logitech Media srv,PiCorePlayers,Dashticz,Max2Play,InfluxDB,Grafana,HABridge
Re: Automatically sunscreen down temperature
I think the time setting is correct. It says > 09:00 and < 21:00, so for example 10:34 is > 09:00 and < 21:00. If you change the AND to OR, it will always be true, because any time after 09:00 will be > 09:00 and any time before 09:00 will be < 21:00.
- StanHD
- Posts: 347
- Joined: Friday 12 July 2013 16:09
- Target OS: Windows
- Domoticz version:
- Location: East Sussex, UK
- Contact:
Re: Automatically sunscreen down temperature
Just a thought:- When you look in the "current states", does the "scherm slaapkamer" report as on or off, or maybe "Open or Close"?
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
-
- Posts: 167
- Joined: Thursday 28 December 2017 14:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Broek op Langedijk
- Contact:
Re: Automatically sunscreen down temperature
I changed the and to or but no improvement. The current states are on or off. This is no my blocky:
- Eddiever
- Posts: 105
- Joined: Thursday 27 April 2017 20:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: The Netherlands (Hoogeveen)
- Contact:
Re: Automatically sunscreen down temperature
I assume you are from the Netherlands (or Belgium) you can delete the time > 9:00. I don't think it will be 22 degrees between 0:00 and 09:00. Please do check the Show current states to see if it really is on/off and not open/closed.
-
- Posts: 167
- Joined: Thursday 28 December 2017 14:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Broek op Langedijk
- Contact:
Re: Automatically sunscreen down temperature
In the log it is on/off but in the current state its open/close. So I changed it to open/close now in my blocky. In the log I see:
EventSystem: Event triggered: Script screen aan test_1 (and repeating)
but nothing happening.
EventSystem: Event triggered: Script screen aan test_1 (and repeating)
but nothing happening.
-
- Posts: 241
- Joined: Tuesday 16 May 2017 13:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: The Neterlands
- Contact:
Re: Automatically sunscreen down temperature
@remko2000 the and blocks are stacked the wrong way around, if you stack in the second box of the and box and not in the first as you did here it will have a better chance of working. had this problem myself and that was the solution for me
raspberry pi | xiaomi vacuum | yeelight | philips hue | zwave | ubiquiti unifi | harmony | sonoff | zigbee2mqtt | https://www.youtube.com/channel/UC2Zidl ... m1OLuNldfQ
-
- Posts: 167
- Joined: Thursday 28 December 2017 14:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Broek op Langedijk
- Contact:
Re: Automatically sunscreen down temperature
Ok I've changed the stacked blocks, it's now:
Is this better?-
- Posts: 16
- Joined: Saturday 02 September 2017 8:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.7
- Location: Vollenhove, nederland
- Contact:
Re: Automatically sunscreen down temperature
i have it already working like the picture below.
i only have the problem i now get every minute or every 10 minutes the notification. is there someone who knows the reason of that?
my theorie it is because the temperature is also changing?
i only have the problem i now get every minute or every 10 minutes the notification. is there someone who knows the reason of that?
my theorie it is because the temperature is also changing?
Rpi 4
rflink 433 mhz
Philips hue
p1 smart meter cable
P1 smart meter solar
Lyric t6
rflink 433 mhz
Philips hue
p1 smart meter cable
P1 smart meter solar
Lyric t6
- Eddiever
- Posts: 105
- Joined: Thursday 27 April 2017 20:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: The Netherlands (Hoogeveen)
- Contact:
Re: Automatically sunscreen down temperature
@gerardsoraya, make an extra check on the screens. In the If statement add the line with temperature with an AND statement in which you check if the screens are open. And in de Else if statement add the check if the screens are closed. This should prevent receiving extra messages.
-
- Posts: 167
- Joined: Thursday 28 December 2017 14:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Broek op Langedijk
- Contact:
Re: Automatically sunscreen down temperature
I think that this in blocky doesnt work very well so I want something like this in LUA. I see some examples combined with weatherstation info. I want a basic script which send my screen down combined with my temperaturesensor (and looks if the screen is already down). Maybe with notification? Does anyone have something like this and want to post this script?
-
- Posts: 167
- Joined: Thursday 28 December 2017 14:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Broek op Langedijk
- Contact:
Re: Automatically sunscreen down temperature
This is now my blocky but it still doesn' t work. I've tried many variations but still no solution. Anyone?
- Eddiever
- Posts: 105
- Joined: Thursday 27 April 2017 20:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: The Netherlands (Hoogeveen)
- Contact:
Re: Automatically sunscreen down temperature
I wish I could tell you what is wrong but I don't. What about if you try to keep it simple. Delete the time part. Just use the temperature and the status of the bedroom screen (scherm slaapkamer).
What if you try:
(replace test with scherm slaapkamer)
What if you try:
(replace test with scherm slaapkamer)
- najtram
- Posts: 62
- Joined: Wednesday 26 April 2017 11:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v4.9700
- Location: Netherlands
- Contact:
Re: Automatically sunscreen down temperature
I had something strange in a similar situation. In the picture you can see my working solution.
Somehow open/close needs to be switched with on/off, but conditional states needs to use open/close. Maybe a bug?

Somehow open/close needs to be switched with on/off, but conditional states needs to use open/close. Maybe a bug?

- Attachments
-
- Schermafbeelding 2018-06-21 om 10.54.54.png (127.64 KiB) Viewed 2673 times
RFLink Gateway → 433Mhz/KAKU switches
Z-Wave → Z-Stick Gen5+
ZigBee → ConBee II
Bluetooth → Soma Smart Shades
Opentherm Gateway → Remeha iSense - Tzerra boiler
ESP8266+CC1101 → ITHO ecofan RFT
P1 cable → DSMR 2.2+ Landys +gyr E350
LAN → Enphase Envoy
Z-Wave → Z-Stick Gen5+
ZigBee → ConBee II
Bluetooth → Soma Smart Shades
Opentherm Gateway → Remeha iSense - Tzerra boiler
ESP8266+CC1101 → ITHO ecofan RFT
P1 cable → DSMR 2.2+ Landys +gyr E350
LAN → Enphase Envoy
-
- Posts: 16
- Joined: Saturday 02 September 2017 8:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.7
- Location: Vollenhove, nederland
- Contact:
Re: Automatically sunscreen down temperature
I made the blockly as i onderstanded the way you have said, the notification keeps on sending every 10 minutes.Eddiever wrote:@gerardsoraya, make an extra check on the screens. In the If statement add the line with temperature with an AND statement in which you check if the screens are open. And in de Else if statement add the check if the screens are closed. This should prevent receiving extra messages.

Verstuurd vanaf mijn SM-G965F met Tapatalk
Rpi 4
rflink 433 mhz
Philips hue
p1 smart meter cable
P1 smart meter solar
Lyric t6
rflink 433 mhz
Philips hue
p1 smart meter cable
P1 smart meter solar
Lyric t6
-
- Posts: 167
- Joined: Thursday 28 December 2017 14:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Broek op Langedijk
- Contact:
Re: Automatically sunscreen down temperature
It seems that this blocky finally works:
I would likt to add a notification (prowl) but I don't want a message every 10 minutes. How can I prevent this?- najtram
- Posts: 62
- Joined: Wednesday 26 April 2017 11:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v4.9700
- Location: Netherlands
- Contact:
Re: Automatically sunscreen down temperature
So with the answer of remko2000, this seems to be a real issue. Does someone know where to do a bugreport or look up if this is already known?
RFLink Gateway → 433Mhz/KAKU switches
Z-Wave → Z-Stick Gen5+
ZigBee → ConBee II
Bluetooth → Soma Smart Shades
Opentherm Gateway → Remeha iSense - Tzerra boiler
ESP8266+CC1101 → ITHO ecofan RFT
P1 cable → DSMR 2.2+ Landys +gyr E350
LAN → Enphase Envoy
Z-Wave → Z-Stick Gen5+
ZigBee → ConBee II
Bluetooth → Soma Smart Shades
Opentherm Gateway → Remeha iSense - Tzerra boiler
ESP8266+CC1101 → ITHO ecofan RFT
P1 cable → DSMR 2.2+ Landys +gyr E350
LAN → Enphase Envoy
- Eddiever
- Posts: 105
- Joined: Thursday 27 April 2017 20:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: The Netherlands (Hoogeveen)
- Contact:
Re: Automatically sunscreen down temperature
@Remko2000, just add the notification. And then see if you receive it every 10 minutes. @gerardsoraya, what does you log tell you?
Who is online
Users browsing this forum: No registered users and 1 guest