Page 1 of 1

Controlling of Venetian Blinds

Posted: Saturday 24 October 2020 11:56
by Nephylim
Hi there,
we are about to start construction of our new home.
It will include about 10 venetian bilds outside of the house that I would like to integrate into my existing Domoticz Setup.
Is that a good idea?

The Support for Venetian Blinds and shutter control in general seems to be pretty rudimentary.
For example I want to be able to just tilt the blinds open or shut as well as specifying a position with the blinds tilted open or shut.

For Example Blinds full down and open.

Is that even possbile with domoticz or should I look for another solution?

Regards
Paul

Re: Controlling of Venetian Blinds

Posted: Saturday 24 October 2020 12:40
by hoeby
I don't think that domoticz is the restriction in your situation, but your venetians blinds are.

What kind of venetian blinds are you going to use?
Do these venetian blinds support the tilt and lift function. And what for commands is needed to do this?

For example. If your venetian blinds doesn't support any degree value, but only open and Close. How do you expect that domoticz can solve this?

Greetings Paul

Re: Controlling of Venetian Blinds

Posted: Monday 26 October 2020 12:27
by Nephylim
Thank you for your reply. Your help is appreciated.

Actually I have no specifications for the blinds yet.

The only system I know just consists of 2 motors which handle the lifting and also the rotation of the flaps.
The system itself does not report any values and is normaly controlled with a knob on the wall.

So to lower the blind and open the flaps it needs to move all the way down and than a little bit up to open the blinds.
This could be achieved in domoticz with a double relay. But I think you would need two seperate devices for that.

First of all a normal blind and then a second device to rotate the flaps in either direction by pulsing the motor for a second.
So in this scenario I would have to wait for the blind to reach the set percentage and then select the roation of the flaps.

Is there another way to do this?


In loxone which I do not want to use. I can set this in the same device and it would execute the steps automatically.

Re: Controlling of Venetian Blinds

Posted: Monday 26 October 2020 18:26
by hoeby
I think it could be done with 1 device, of it is a simple knob on the wall. But to be sure, then there is more info needed from the blinds.

Which brand and type blinds is it?

Re: Controlling of Venetian Blinds

Posted: Thursday 29 October 2020 13:56
by Nephylim
The Blinds are made by the window company.
They are driven by a Somfy Motor with the Standard 4 wire connection.

I already got a Shelly 2.5 conected to Domoticz which I would like to use. It works fine raising and lowering the blinds.

Additionally I would like a switch to turn the flaps. I made a screenshot of my idea how to handle this.
Maybe it is possible to turn the blinds by just opening or closing them about 1%.
Is there a json command to take the current percentage and change it by 1% in a specified direction?

Re: Controlling of Venetian Blinds

Posted: Thursday 29 October 2020 20:26
by hoeby
I was thinking to make it with DZvents and not with json.

Here is some idea i had.
I can't test it, because i don't have a blind working that way.

Your "Stop", "Left", "Right" have a number in the device.
I don't know which numbers you have given. I used 10 for "left" and 20 for "right".
The "Stop" button, i don't know what you would like to do with that.

Code: Select all

local RotateName = 'Turn Blinds'
local UpDownName = 'Blinds Test'

return {
    on = {
	    devices = {RotateName},
	},
    
    execute = function(dz, device) 
    
    --  0  = Stop
    --  10 = Left
    --  20 = Right

        
        if (dz.devices(RotateName).level == 10) then          -- Button LEFT of device Turn Blinds is pushed
            local value = dz.devices(UpDownName).level        -- The value of Blinds Test is read
            local change = value + 1                          -- The value + 1
            dz.devices(UpDownName).dimTo(change).silent()     -- Change Blinds Test with 1 percentage
        elseif (dz.devices(RotateName).level == 20) then      -- Button LEFT of device Turn Blinds is pushed
            local value = dz.devices(UpDownName).level        -- The value of Blinds Test is read
            local change = value - 1                          -- The value + 1
            dz.devices(UpDownName).dimTo(change).silent()     -- Change Blinds Test with 1 percentage
        end
    end
}

Re: Controlling of Venetian Blinds

Posted: Friday 30 October 2020 12:40
by Nephylim
That worked perfectly.
Thank you so much for your help!

I never got into DZVents and used blockly for all my Events.
I guess that has got to change :)