# Need Help: Node for elero shutter usb stick

**URL:** <https://discourse.nodered.org/t/need-help-node-for-elero-shutter-usb-stick/3485>\
**Category:** Developing Nodes\
**Created:** [27 September 2018 11:08 UTC](https://discourse.nodered.org/t/need-help-node-for-elero-shutter-usb-stick/3485 "2018-09-27T11:08:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HannesG79](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hannesg79/32/2839_2.png) [@HannesG79](https://discourse.nodered.org/u/HannesG79)\
**Post date:** [27 September 2018 11:08 UTC](https://discourse.nodered.org/t/need-help-node-for-elero-shutter-usb-stick/3485/1 "2018-09-27T11:08:10Z")

</div>

Hello community,

i need help to create a node for a elero shutter system.

This is my first request to the community. I am more a user than a developer.  
Hopefully someone can help me.

This is the elero usb transmitter stick.  
 ![elero](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/b/b76266bcb51b3ee442a48156f934268e38ca56a6.jpeg)  
The shutters will be manually paired to that Stick.

If you connect it to the RPi3 it will react on serial commands, like AA054C000140C4.

There are already guys who implemented this device into Homematic, FHEM,openhab and home-assistence.

home-assistence

> **[W00D00/home-assistant-elero](https://github.com/W00D00/home-assistant-elero)**
>
> Elero Centero component. Contribute to W00D00/home-assistant-elero development by creating an account on GitHub.

homematic:  
[https://homematic-forum.de/forum/viewtopic.php?t=26066](https://homematic-forum.de/forum/viewtopic.php?t=26066) (german)

openhab:

> **[New Elero TransmitterStick Binding](https://community.openhab.org/t/new-elero-transmitterstick-binding/24515)**
>
> I have written a binding for the Elero Transmitter Stick. It allows to control elero rollershutters that have been programmed on the stick and to show the current status. It is not thoroughly tested (but running fine here with 14 rollershutters) and...

Maybe somebody can help me to get this working in node-red

Examples for sending commands.  
AA054C000140C4

0xAA … Startbyte

0x05 … Length of Data

0x4C … send command

0x00 … channel bits for Channel 9 to 15 (8 (0x00,channel1-8, 0x01-channel9, 0x02-channel10, 0x04- channel11, 0x08-channel12, 0x10-channel13, 0x20-channel14, 0x40-channel15)

0x01 … channel bits for Channel 1 to 8 (0x00,channel9-15, 0x01-channel1, 0x02-channel2, 0x04-channel3, 0x08-channel4, 0x10-channel5, 0x20-channel6, 0x40-channel7, 0x80-channel8)

0x40 … action (0x20 .. up, 0x44 … intermediate position, 0x24 … tilt/ventilation, 0x40 … down, 0x10 … stop)

0xC4 …Checksum (Sum of all bytes == 0x00)

Example for requesting status  
aa044e000103

0xAA ... Startbyte

4D ... Read Status

00001 ... Channel 1

01 ... actual Status of channel 1

02 ... checksum

the return will be the satus of the fist shutter.

Thanks

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [27 September 2018 14:09 UTC](https://discourse.nodered.org/t/need-help-node-for-elero-shutter-usb-stick/3485/2 "2018-09-27T14:09:15Z")

</div>

I have Elero shutters, they are working great, but I do not have the USB stick

When you connect the stick to the RPi, what do you see when you type lsusb in a terminal?

Have you tried to use the serial node in Node-RED?

---

<div class="post-metadata">

**Author:** ![HannesG79](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hannesg79/32/2839_2.png) [@HannesG79](https://discourse.nodered.org/u/HannesG79)\
**Post date:** [27 September 2018 14:44 UTC](https://discourse.nodered.org/t/need-help-node-for-elero-shutter-usb-stick/3485/3 "2018-09-27T14:44:23Z")

</div>

I will try that on the weekend or on Monday.  
How did you get your Elero shutters to work with node-red?  
Did you dismantle a elero remote like a Vario Tel?

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [27 September 2018 15:16 UTC](https://discourse.nodered.org/t/need-help-node-for-elero-shutter-usb-stick/3485/4 "2018-09-27T15:16:04Z")

</div>

> [@HannesG79](#):
>
> Did you dismantle a elero remote

Yes, exactly, I connected/soldered some wireless relay contacts across the button contact areas to control up/down from Node-RED. This works for me since I have 4 engines on the same channel but if you need more, I guess the stick is a much better solution.

In Node-RED I have designed a rather advanced automatic control flow taking into consideration light intensity from sun, time of day, months of year and weather forecasts.

Having an Elero rain sensor is useless since then it is too late anyway, you already have rain on the awnings so you need to let them dry before you roll them up. What you need is a better pre-warning and it has proved that measuring the sun light intensity was the correct way. For this I use a 1-wire light sensor but there are other possibilities today, like a Z-Wave sensor. I have had my solution running for a couple of years now, works perfect

The Elero wind sensor I have as well, and this can operate the Elero engines directly for safety reason, if the wind would be too strong and Node-RED would fail (but it has never happened yet)
