Hello folks,
I have a few blinds which I can set manually via domoticz. I'm trying for a few days now to set up an event for automation via blockly, but unfortunately it doesn't work. And I cannot understand why. Is there somebody who can help me? Thank you in advance.
Blinds Automation
Moderator: leecollings
-
- Posts: 2
- Joined: Saturday 02 November 2019 11:16
- Target OS: Windows
- Domoticz version:
- Contact:
Blinds Automation
- Attachments
-
- 2019-11-02 11_04_21-Domoticz.jpg (35.88 KiB) Viewed 1992 times
-
- 2019-11-02 11_03_27-Domoticz.jpg (20.89 KiB) Viewed 1992 times
-
- 2019-11-02 11_01_08-Domoticz.jpg (15.21 KiB) Viewed 1992 times
-
- Posts: 531
- Joined: Saturday 02 June 2018 11:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2022.1
- Location: Echt, Netherlands
- Contact:
Re: Blinds Automation
I don't use blocky. Therefor i don't know if i am right.
But you set close and stop in the same row. Remove the stop and only give the close command. Does it then work?
But you set close and stop in the same row. Remove the stop and only give the close command. Does it then work?
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
-
- Posts: 2
- Joined: Saturday 02 November 2019 11:16
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Blinds Automation
Hello hoeby,
I changed the settings, but without success. You wrought that you didn't use blocky.
Any idea? How would you implement my plans?
I changed the settings, but without success. You wrought that you didn't use blocky.
Any idea? How would you implement my plans?
-
- Posts: 531
- Joined: Saturday 02 June 2018 11:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2022.1
- Location: Echt, Netherlands
- Contact:
Re: Blinds Automation
I work with dzvents scripts.
Therefor i don't have blockies.
But back to basic.
You also have a device in domoticz. Which you could manual control.
Does this work, when you manual switch the blind?
This first has to work, before you start with blocky or scripts.
If manual control works.
Than try to replace the 'Closed' in 'Off'
i also have blinds. When i look in my log, it says On/Off, not Open/Close
Don't add the stop. Build in steps, before adding commands.
Therefor i don't have blockies.
But back to basic.
You also have a device in domoticz. Which you could manual control.
Does this work, when you manual switch the blind?
This first has to work, before you start with blocky or scripts.
If manual control works.
Than try to replace the 'Closed' in 'Off'
i also have blinds. When i look in my log, it says On/Off, not Open/Close
Don't add the stop. Build in steps, before adding commands.
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
-
- Posts: 109
- Joined: Tuesday 02 October 2018 20:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Blinds Automation
I would seperate it in 2 sets underneath each other.
First set curtain closed
Then set curtain stop after 8 seconds.
Boths sets can be in the same Do.
First set curtain closed
Then set curtain stop after 8 seconds.
Boths sets can be in the same Do.
-
- Posts: 135
- Joined: Friday 02 January 2015 9:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands
- Contact:
Re: Blinds Automation
'Closed' isn't a command you can send, it's a state to be used in the if statement
something like this will work better I'd say:
It might sound strange to turn the Jalousie On but that's probably the command you have to send to it in order to make it move 
I'm not sure the 'Stop' command works as you'd expect but that's a matter of trying
something like this will work better I'd say:
Code: Select all
If [Time = [Sunset] and [Jalousie] = [Open]
Do [Set [Jalousie] = [On]]
[Set [Jalousie] = [Stop] after [8] seconds]

I'm not sure the 'Stop' command works as you'd expect but that's a matter of trying
-
- Posts: 33
- Joined: Thursday 08 December 2016 22:44
- Target OS: NAS (Synology & others)
- Domoticz version: 2020.2 b
- Location: Germany, NRW
- Contact:
Re: Blinds Automation
Hi,
i use Fibaro Roller Shutters on z-Wave. First try to control your shutters manually, and have an eye on the switch. My switches use percentage open status. So this has to be used in the script.
This one works fine to me.
Something here of may help you...
Regards
Ernstl
i use Fibaro Roller Shutters on z-Wave. First try to control your shutters manually, and have an eye on the switch. My switches use percentage open status. So this has to be used in the script.
This one works fine to me.
Something here of may help you...
Regards
Ernstl
-
- Posts: 2
- Joined: Tuesday 03 March 2020 19:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Blinds Automation
you shouldn't be using an 'and' block in the set block. Only use one action.
Like: set jalousie = on after 8 sec
Like: set jalousie = on after 8 sec
- Sjonnie2017
- Posts: 364
- Joined: Wednesday 02 August 2017 19:43
- Target OS: Linux
- Domoticz version: Latest ß
- Location: The Netherlands
- Contact:
Re: Blinds Automation
Uhm, probably a silly question but why don't you use the timer function in Domoticz? You could create a group (or several) containing the blinds you want to control. You can then set a timer based on sunset or sunrise or time of day if you like. Only thing the timer can't do is turn of after 8 seconds as per your example.odyseia wrote: ↑Saturday 02 November 2019 11:27 Hello folks,
I have a few blinds which I can set manually via Domoticz. I'm trying for a few days now to set up an event for automation via blockly, but unfortunately it doesn't work. And I cannot understand why. Is there somebody who can help me? Thank you in advance.
Edit: Picture to explain:

Greetz,
Sjonnie
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
Who is online
Users browsing this forum: No registered users and 1 guest