Blind automation

Attached a file with part of my Velbus installation. Blinds of module 07 are now manually controlled via buttons on the VMBGP4-20.

How to automate this based on time, light & temperature?

Something like:
a) from, let say 19:00 in the evening of day one and 08:00 in the morning of the next day, always open

b) when light intensity of the VMBPIRO-20 drops below 250 and outside temperature is above 20°C and inside temperature is above 23°C, close the blind

c) manual mode via buttons, but that is working fine :grinning_face:

Being new to Velbus it’s unclear to me how to configure conditions a & b in combination with c.
Give me an Allen Bradley or Siemens PLC and the job is done in 2 minutes.
But with Velbus… :red_question_mark:

Thanks a lot to add the necessary actions in the file for one blind so that I can learn from it and program all other blinds myself.

Regards
Alain

If virtual relays are needed, I also have 5 VMB4RYLD-10 modules and a second VMBGPO-20 in the installation.

tstBlinds.vlp (136.0 KB)

1 Like

Hi

I’m on a train right now, so can’t access Velbuslink

This is fairly easy

Create two virtual buttons on any panel

  • One for Opening the blind.

  • One for closing the blind.

Then go into the Program tab of the panel and set a time for each to be Virtually pressed (and released)

While you’re in the programme tab, check out the SunRise & Sunset options.

You can edit the table to suit your location.

Don’t forget to enable the Sunrise & Sunset feature, by “operating” the module (same context menu for accessing configuration)

Now this is a little more complex and needs some thinking about.

I can’t remember if the VMBPIRO-20 has a combination trigger that you can configure. (I might be thinking of the VMBMETEO)

If it has, then create a trigger with the two conditions

Add an action to that trigger to Close the blind

Use the Advanced tab of an indoor device for the temperature threshold and configure an alarm channel to your 23°c set point, for “when above”.

Add an “inhibit when open” action between the Alarm channel and the combined channel of the VMBPIRO-20.

Give it a try and see if that’s what you want.

Good luck

Hello MDAR,

Closing of the blind based of ONLY outside temperature is ok using the “High alarm” output channel of the VMBPIRO-20.

To add the room temperature…
The Configuration Settings screen of the glass panel looks like attached file. No “alarm” or “when above” as you mention. Am I looking at the wrong place ??

Thanks for your assistance so far !
Alain

You’re so close…

Try looking in the Alarms tab… :wink:

You also need to activate the thermostat, as the error message states at the top.

Add an Address to the thermostat section to the panel you’re using, to expose the Alarm triggers.

(Right hand click on the Module name and choose “address”)

Sorry but that address thing is unclear to me

the glass panel has an address: 0x07
the module controlling the blind has an address: 0x04

So who else does need an address ??

What should I understand by “thermostat” ?
I don’t use velbus to control room temperature, yet.

Indeed

But to use the features you require, the thermostat needs activating.

Please right hand click on the glass panel module, choose “address”

Hopefully the panel will be preselected

Look at the bottom and you’ll see there is a Thermostat tick box.

Apply the new address and magically, eight extra trigger channels will appear on the module.

You can’t do any harm, please feel free to explore and try things.

I appreciate your experience with other systems, so I need to reassure you that you really can’t do any harm by trying things in Velbus.

(I’m trying not to just “give you the answer on a silver platter” so that you get the pleasure of discovering the power and simplicity of Velbus for yourself. But I will continue to support your learning journey)

Now that I’m at a computer and playing with your VLP file

It seems we can’t inhibit the High Alarm trigger of the VMBPIR-20 modules

You’ll have to use a Virtual Relay as a go-between

  • Virtual Relay “follows” the High Alarm of the PIR

  • Indoor “high temperature” alarm channel, inhibits the Virtual relay (when open)

  • When all conditions are met, the virtual Relay will “close” the Scherm.

Does this help you?

If you need more complex functionality, your option might have to be a rule or logic argumnet in something like

  • openHAB
  • HomeAssistant
  • Node-Red

NO :grinning_face:

How to AND the “Alarm 1” from the glass panel with the “High alarm” from the PIRO so that the blind goes down when BOTH conditions are met ? Two actions 110. Down

I also configured virtual button 5 to drive the blind UP at given time, action 106. Up.

All actions on a specific “Subjects” are OR function, right?
How to get OR(AND(110.0 Down Alarm1; 110. Down High alarm);106.Up ZonW bak. Open)

Assistance is greatly appreciated!
Regards

Read through my first message again…

Happy to help further

Good morning,

Do you mean this is the “AND” function?

Ok, I’ll try to find out how to do this but for the moment more urgent irons in the fire, so could take a while… …

regards
Alain

Hi

Yes, in a kind of way

It’s more along then lines of, limit the action until the second (third, fourth, fifth etc) condition is also met

https://cdn.velleman.eu/downloads/velbus/00_general/guide_velbus_actions_descriptions_nl.html#act_0703

Thanks a lot for your continuous support !

One last question and then I think I’m good to go :innocent:

Is it one action “703. Inhibit while initiator is open” toward the blind for each of the n- sensors?
Something like in below screenshot?
But then were is the “113. Immediately down” action ??

Or is it some kind of chained link between de sensors?
Something like
Initiator: Sensor 1; Action: “703.Inhibit while initiator is open” ; Subject: Sensor 2
Initiator: Sensor 2; Action: “703.Inhibit while initiator is open” ; Subject: Sensor 3
Initiator: Sensor 3; Action: “113.Immediately down” ; Subject: motor blind

Since I don’t see the 07 group of actions I don’t think this is the way to go.
Since I’m not connected to the Velbus right now so that may also play a role.

Less confused than few days back but not there yet… …
I think I’m still too much PLC minded :sad_but_relieved_face:

I’m not in my office right now, actually I’m sat outside a hotel, eating a Chinese take away.
“Living the dream”

Don’t inhibit the Thing

Inhibit the thing, trying to affect the thing.

If you inhibit the Thing, you’ll stop it completely.

You need to stop the trigger :wink:

Since I don’t have the Enigma machine to decrypt previous message, I’ll try to link it to what I configured yesterday evening.
Not sure if the blind will be closed when I come home this afternoon, let’s wait & see… …

Anyway:
Thing = 04. Screen badkamer (CH1) = the blind

thing = 17.HR ZW Front down (CH5) = virtual relay of glass panel having address 17, the “go-between” as you mention in a previous post

So far so good :red_question_mark:

When configuring an action between the sensors “High alarm” (outside temperature) and “Alarm 1” (inside temperature) to the virtual relay I don’t have the 07 group, closest thing is the 06 group.

So I picked the 603 action :smiley:

Blind is now controlled by:
a) Manually up / down via two glass panels, works fine :clap:
b) 1 hour before sunset Immediately UP, works fine while I :zzz:
c) Via virtual relay “HR ZW Front down” Immediately down, no idea if that will work… … :face_with_monocle:

Hopefully I have the blinds fully automated before end of summer :sun_with_face: :exclamation_question_mark:

1 Like

Let’s deploy this methodology to all the blinds :innocent:
Should be :moon_cake: right ?
Well… …

Piro sensors to inhibit the 3 intermediate relays

Temperature alarm of GP in the rooms

Alarm1_Group_a

Alarm1_Group_c

Final result under the SAME conditions

HR ZW Front Down is Inhibited; as expected GREAT :clap:
HR ZW Living Dwn is OFF; WHAT :exclamation_question_mark: :exclamation_question_mark: :exclamation_question_mark: where is that coming from
HR ZW Slp 4 Down is OFF; WHAT :exclamation_question_mark: :exclamation_question_mark: :exclamation_question_mark: where is that coming from

Where did I go wrong ??
Or are there any ghosts in the Velbus bus ?

Is a valid Relay state

Like a logic gate being Closed by default.

I think you’ve done the classic thing.

You’ve jumped in at the deep end, looking for the final goal, without experimenting with the key elements to understand the fine details.

That’s not a criticism, just an observation that I’ve seen before.

Please have a good play with simple configurations.

What you’re trying to achieve is very logical and fairly simple, but as always with anything, very easy to over complicate and fail.

I appreciate this must be frustrating, because it’s so far away from PLC / Ladder / KNX etc etc

Arrrrr

I see part of the issue.

(Again, understanding the fine details of actions and how they relate to each component)

Group 06xx is where the Subject is something like a Trigger.

Where you want to Lock the trigger

Group 07xx is where the Subject is something like an output device. (Or virtual relay)
Where you want to Inhibit it’s behaviour.

Inhibit is different to Forcing a state.

An Inhibit will be aware of other actions that might impact the required state, so that when the Inhibition is removed, the channel will go to the state requested be the last action.

Whereas, Forced 08xx, will ignore everything until released.

https://cdn.velleman.eu/downloads/velbus/00_general/guide_velbus_actions_descriptions_nl.html#cat_08

You are absolutely right; OFF is a valid state of a relay, no problem with that.

My biggest concern here is that with EQUAL inputs to 3 virtual relays they behave differently!
HR ZW Front Down is inhibited, that is correct since the “High alarm” condition is not met.
So why are the other 2 virtual relays in OFF state and not inhibited ?!!?
Like I said all 3 are “wired” equally; I expect them to react equally, read “get the same state”; don’t you ?

The way these 3 virtual relays are configured now matches below sketch from a Velbus document, right?

I tested this on “HR ZW Front Down” by changing the threshold values of the temperature inputs (High alarm” & “Alarm 1”).
It all looked great, virtual relay inhibited when conditions not met, when all met, the blind went down.

So I copied this to the other blinds with above problem as a result.