Managing roller blind switch CHACON DI-O 54754

Begonnen von phervier, 24 Mai 2015, 19:03:15

Vorheriges Thema - Nächstes Thema

phervier

I control with a raspberry pi and a RFXTRX433 a lot of switch and sensors without problem, but I wonder if there is already  a way to correctly manage the DI-O roller blind switch.

This switch is totally compatible with light switches from the same brand (AC/ lightning2 protocol) , so I can switch them on and off without problem. But their internal state is completely different. The on command make them open the blind, and the other on command return to idle state. The off command shut the blind with the same behavior. And after two minutes the switch come back to idle state anyway.

Do I need to make a new module or is it already done ?

TheLarsh

Hi Phervier,

I use a FS20RSU ( http://www.fhemwiki.de/wiki/FS20_RSU_Rollladenschalter_%28Unterputz%29 ) to control my blinds. It behaves the same as you describe;
When I send 'on' it closes and it stops closing when I send another 'on' before it is totally closed.
When I send 'off' it opens and it stops opening when I send another 'off' before it is totally opened.
I made an eventMap for the device to show 'open' or 'closed' in the webinterface instead of 'on' or 'off'
This is how it looks in my config file:


define FS20Blinds01 FS20 XXXX YY    <-- <housecode> <button>
attr FS20Blinds01 IODev CUL
attr FS20Blinds01 alias Left Shutter
attr FS20Blinds01 devStateIcon open:fts_shutter_10 closed:fts_shutter_100
attr FS20Blinds01 eventMap on:open off:closed
attr FS20Blinds01 model fs20rsu
attr FS20Blinds01 room Blinds


Hope this is useful for you !