openhab / openhab1-addons

Add-ons for openHAB 1.x
Eclipse Public License 2.0
3.43k stars 1.7k forks source link

Supporting elero rollershutter #4149

Open chrfritsch opened 8 years ago

chrfritsch commented 8 years ago

Hi guys,

it would be awesome to control the german Elero rollershutters. There is currently just an implementation for FHEM, but maybe someone is able to port it.

https://github.com/mhop/fhem-mirror/blob/master/fhem/FHEM/36_EleroDrive.pm https://github.com/mhop/fhem-mirror/blob/master/fhem/FHEM/36_EleroStick.pm

To connect with the rollershutters an Elero Transmitter Stick is needed.

clitters commented 8 years ago

That would be very great. I used FHEM for a while, but for me openhab is more handy. We have 8 Elero rollershutters. I would like to control them by wether conditions.

vbier commented 7 years ago

I just got my transmitter stick a few days ago and will implement a binding, but this may take some time.

In the meantime, you can use the attached script (you have to adapt the port) until the binding has been implemented. It only provides functionality to send a command to a channel without waiting for a response.

I use it in rules like this: executeCommandLine("/usr/local/bin/rollershutter.sh UP 15") This moves all rollershutters up that are programmed on channel 15. rollershutter.sh.txt

Edit: I have written a binding for openHAB 2, see https://community.openhab.org/t/new-elero-transmitterstick-binding/24515