Duwi shutterswitch - control state from luup

Dear forum members,

We used the duwi shutterswitch for controlling the “dutch word =>warmte terug winning” ,This would properly something like this “English word => heat back extraction”

Generally this is a device in the Netherlands in common houses. With this device will control the ventilation in the houses ( can used output air to heat input air )

The device will run in 3 states

  1. normally on ( for the switch it would be off )
  2. running on medium van ( for the switch it would be 1 )
  3. running on high van ( for the switch it would be 2 )

We like to create a simple luup plugin to control this device.

Sample :
just walk to the toilet , switch light on.
After turning of the light switch , send command to ventilation system , set powerstate to on 2
After 15 minutes send signal to ventilation system to power off ( standard setting )

Note : the switch is allready set to run always
Any advise would be welcome.
Thanks in advance
Marco

Which device are you going to control with your plugin?

The duewi 054368 or your heat recovery system?

duewi:
AFAIK, the duewi 054368 is a device with two states (on/off) and a timer (1-1390 seconds) for both directions.

heat recovery system:
Which protocol is supported by your HRS?

Hi AP15,

We used it for control the heat recovery system.
Currently we use the hardware switch and it works great.

Push up => set ventilation to stand 2
after push up - push down => set ven to stand 1

Push down => set ven to stand 3
after push down - push up => set ven to stand 1

So I want to recreated this in a script.

Thanks Marco

Sample : just walk to the toilet , switch light on. After turning of the light switch , send command to ventilation system , set powerstate to on 2 After 15 minutes send signal to ventilation system to power off ( standard setting )

Setup a scene:

Device: your light switch
Event type: A device is turned on or off
Name for this event: …
Which mode: Off
Commands: Shutter device (duewi 054368): Up (or Down) - after 15 min - Down (or Up)

Hi Ap15,

I have notice a very strange behaviour
as mentioned before :

At the switch it works like this …

Push up => set ventilation to stand 2 after push up - push down => set ven to stand 1

Push down => set ven to stand 3
after push down - push up => set ven to stand 1

But in Vera it works like this.

Give “up” signal in Vera ( the log will display “set to close”)
=/= Ventilation display will give a state 2

after 15 minutes give a "down "signal ( the log will display “set to open”)
=/= Ventilation display will give a state 3 , instead of what we are expecting ( expected would be state 1.)

When I try to use the “stop “button” there is no action taken ( the log will display also nothing)

So there is a difference between physical hardware and Vera who is sending a signal to the physical hardware.

I am lost.

Any help would be appreciated
Best regards,
Marco

More information about your duewi device is at:
http://wiki.micasaverde.com/index.php/Supported_Hardware

Summary:

[ul][li]‘Stop’ does not work.[/li]
[li]‘Up’ is ‘Down’ and ‘Down’ is ‘Up’.[/li][/ul]

If this information does not solve your problem, try ‘Open’ and ‘Close’ instead.

;D
;D
;D

After a while testing with some different setting i finale found the solution for this.
It is absolutely not logical.

See screenprint how is would be possible

Entering the toilet , switch light on.
after visiting the toilet , switch light off.
Vera will reorganise the change state of the light switch and will be run a scene.

In the scene trigger the off command and in the command settings trigger duwi switch to close.
After a while ( in my case 10 minutes ) the commands send for open is transmitted.

On the ventilation system it will be :

Entering the toilet , normal state ( nr 1 in display ventilation )
leaving the toilet , high state ( nr 3 in display ventilation )
after 10 minutes returning to normal state ( nr 1 in display ventilation )