Making the Blinds behave more as i want

I changed all the blinds now to use the NodOn ones and i can see easily that they did bind directly with my switch and with my Pi. With the power of DolphinView and Remote Comissioning i can confirm this. (Nod On still uses the old way of changing Reman code, power on and you have 30minutes to unlock the device and change the Reman code from 0 to something else. After 30 minutes if the code is still 0, you can not unlock the device.)

Probably it would be nice if OpenHab2 – EnOcean bindings supports ReCom for cooler binding. If i have to much spare time, perhaps i will try to fork the binding and add some basic functionality.

I had also the problem that my blinds were not working correctly, but the issue was that somehow in the paper UI the EEPs were not set right for receivin state:

Which works in generally nice, but the sun rise event is not the one i want to have in my living room :). It looks a bit depressing if you enter the room and theres no light comming in the blue hour. But this should be fixable using the civilDawn event instead of the rise event.
For the night i think i am going to use the nauticDusk event. But this will probably need some optimization and also I need to add some rules later, if e.g. the balcony door is open.

rule "Sunrise event"
when
    Channel 'astro:sun:local:civilDawn#event' triggered START
then
    LivingRoomRight_.sendCommand(new PercentType(0))
    LivingRoomLeft_.sendCommand(new PercentType(0))
end

rule "Dusk event"
when
    Channel 'astro:sun:local:nauticDusk#event' triggered START
then
    LivingRoomRight_.sendCommand(new PercentType(60))
    LivingRoomLeft_.sendCommand(new PercentType(60))
end

rule "fullyclose"
when
    Time cron "0 00 24 ? * * *"
then
    LivingRoomRight_.sendCommand(new PercentType(100))
    LivingRoomLeft_.sendCommand(new PercentType(100))
end

0 thoughts on “Making the Blinds behave more as i want

Leave a Reply

Your email address will not be published. Required fields are marked *