Elero USB Transmitter to control Elero and Weinor products

or is a view to the log via wireless not possible?

That looks about right.

  • What is logged if you press any of the command buttons on your remote?
    • If there is no output, then either the frequency or the cabling is wrong
  • What is logged if you press any of the command buttons in ESPHome/Home Assistant?
    • If there are error messages, your cabling is wrong or the CC1101 doesn’t work.

What is logged if you press any of the command buttons on your remote?
nothing in the log (DEBUG mode)

What is logged if you press any of the command buttons in Home Assistant?

[17:53:19][D][cover:076]: 'Schlafzimmer' - Setting
[17:53:19][D][cover:080]:   Command: STOP
[17:53:19][D][elero:185]: Timed out waiting for TX Done
[17:53:19][D][elero.cover:086]: Retry #0 for blind 0xa831e5
[17:53:19][D][elero:185]: Timed out waiting for TX Done
[17:53:19][D][elero.cover:086]: Retry #1 for blind 0xa831e5
[17:53:19][D][elero:185]: Timed out waiting for TX Done
[17:53:19][D][elero.cover:086]: Retry #2 for blind 0xa831e5
[17:53:19][D][elero:185]: Timed out waiting for TX Done
[17:53:19][D][elero.cover:086]: Retry #3 for blind 0xa831e5
[17:53:19][D][elero.cover:089]: Giving up.
[17:53:22][D][cover:076]: 'Schlafzimmer' - Setting
[17:53:22][D][cover:086]:   Command: CLOSE
[17:53:22][D][elero.cover:219]: Sending CLOSE command
[17:53:22][D][cover:170]: 'Schlafzimmer' - Publishing:
[17:53:22][D][cover:180]:   State: UNKNOWN
[17:53:22][D][cover:186]:   Current Operation: CLOSING
[17:53:22][D][elero:185]: Timed out waiting for TX Done
[17:53:22][D][elero.cover:086]: Retry #0 for blind 0xa831e5
[17:53:23][D][elero:185]: Timed out waiting for TX Done
[17:53:23][D][elero.cover:086]: Retry #1 for blind 0xa831e5
[17:53:23][D][elero:185]: Timed out waiting for TX Done
[17:53:23][D][elero.cover:086]: Retry #2 for blind 0xa831e5
[17:53:23][D][elero:185]: Timed out waiting for TX Done
[17:53:23][D][elero.cover:086]: Retry #3 for blind 0xa831e5
[17:53:23][D][elero.cover:089]: Giving up.

Cabeling:

Hope you have some ideas…

You see the timeouts - wrong cabling, defective module, wrong configuration, not enough power …

Your picture doesn’t serve without the module side.

Do you mean this side?

No. you are showing a bunch of colored cables, but where do they lead to? The CC1101, most probably?


You have several issues here:

  1. This is a 433MHz module. While it may work, expect short range.
  2. Your wiring doesn’t fully match your configuration. It’s quite hard to see in your pictures, but when following the pin numbers of the CC1101, you should have:
1 = GND    - GND
2 = VCC    - 3V3
3 = GDO0   - IO32
4 = CSN    - IO12
5 = SCK    - IO33
6 = MOSI   - IO14
7 = MISO   - IO39
8 = GDO2   - NC

Your actual pinout differs, GDO0 is tied to GND according to your images. This needs to be fixed. This is your current pinout, if I’m not mistaken:

1 = GND
2 = 3V3
3 = GND
4 = IO12
5 = IO33
6 = IO14
7 = IO39
8 = NC

Without GDO0, the error messages “Timed out waiting for TX” are expected, since this function waits for the interrupt on GDO0 to fire. And you can’t receive, because reception is also triggered by the interrupt.

1 Like

Thanks, what a mistake…would this work at all with the 868 Mhz of tempotel2 or would be better to buy a module like this:

I’d fix the cabling issues first and see how well it works. I used the same 433MHz module for my initial tests as well.

1 Like

if I understand, I should re-solder GDO0 to GND?

No, GDO0 needs to be soldered to IO32, but you mistakenly connected it to GND.

1 Like

thank, now I get some data in the log.

If I press up:

[16:22:27][D][elero:422]: len=29, cnt=108, typ=0x6a, typ2=0x00, hop=00, syst=01, chl=04, src=0x30b910, bwd=0x30b910, fwd=0x30b910, #dst=01, dst=6cad0e, rssi=-74.0, lqi=44, crc= 1, payload=[0x00 0x04 0x00 0x00 0x20 0x00 0x00 0x00 0x00 0xc0]

down:

[16:21:41][D][elero:422]: len=29, cnt=105, typ=0x6a, typ2=0x00, hop=00, syst=01, chl=04, src=0x30b910, bwd=0x30b910, fwd=0x30b910, #dst=01, dst=6cad0e, rssi=-73.0, lqi=46, crc= 1, payload=[0x00 0x04 0x00 0x00 0x40 0x00 0x00 0x00 0x00 0x40]

stop

[16:23:06][D][elero:422]: len=29, cnt=113, typ=0x6a, typ2=0x00, hop=00, syst=01, chl=04, src=0x30b910, bwd=0x30b910, fwd=0x30b910, #dst=01, dst=6cad0e, rssi=-73.0, lqi=47, crc= 1, payload=[0x00 0x04 0x00 0x00 0x10 0x00 0x00 0x00 0x00 0x40]

but my yaml cover don’t work…do you see a mistake? the esp is next to the blind

cover:
  - platform: elero
    blind_address: 0x30b910
    channel: 4
    remote_address: 0xf0d008
    name: Esszimmer
    open_duration: 25s
    close_duration: 22s
    poll_interval: 5min

    command_check: 0x00
    command_stop: 0x10
    command_up: 0x20
    command_down: 0x40

I do not know where you read that remote_address from your log, but it’s definitely wrong. And you mixed it up with the blind_address. So:

    blind_address: 0x6cad0e
    remote_address: 0x30b910

should do the trick.

2 Likes

a very big thank you, everything works now fine (I will give you some sponsoring via Github)

The control of this blinds was my last automation gap in my home.

one small question: do you know a suitable housing for the ESP with M1101D as a 3D printable file?

1 Like

No, sorry. Mine is in a generic rail-mount housing, I just printed a base plate for mounting it inside the box.

I was not happy with the range of this hardware-setup

  • D1 Mini ESP32 + 433MHz CC110

so I changed to this setup

  • WT32-ETH01 + 868MHz CC1101

but it seems it’s not better (I have 3 blinds at the ground floor and one in the first floor)…is there a way to expand the range or should I use two ESPs (one in the ground, the other one in the first floor)?

Does it intermittently work/not work? I’m seeing such an issue, but I have yet been unable to find a solution for that. See also Blinds sometimes not moving · Issue #5 · andyboeh/esphome-elero · GitHub

Hi Everyone!

I hope someone can lend me a hand on this. i have been able to set up everything, I can receive messages, but I am not able to send them.

My setup is as follows:

external_components:
  - source: github://andyboeh/esphome-elero

spi:
  clk_pin: GPIO2
  mosi_pin: GPIO4
  miso_pin: GPIO15

elero:
  cs_pin: GPIO14
  gdo0_pin: GPIO12

cover:
  - platform: elero
    blind_address: 0x90b42c
    remote_address: 0x386201
    name: Schlafzimmer
    poll_interval: "5min"
    close_duration: 25s
    open_duration: 25s
    pck_inf1: 0x6a
    pck_inf2: 0x10
    hop: 0x00
    channel: 03
    payload_1: 0x00
    payload_2: 0x03

and this is what I am seeing in the logs when receiving the transmission:

[18:52:49][D][elero:451]: rcv'd: len=29, cnt=14, typ=0x6a, typ2=0x10, hop=00, syst=01, chl=03, src=0x386201, bwd=0x386201, fwd=0x386201, #dst=01, dst=90b42c, rssi=-63.0, lqi=47, crc= 1, payload=[0x00 0x03 0x00 0x00 0x40 0x00 0x00 0x00 0x00 0x40]

I am not sure if I am doing something wrong or I have something wrongly connected that does not allow me to transer anything. Here is the message from when I transfer (attempt, actually) something:

[18:55:32][V][elero.cover:212]: Sending OPEN command
[18:55:32][D][cover:170]: 'Schlafzimmer' - Publishing:
[18:55:32][D][cover:173]:   Position: 0%
[18:55:32][D][cover:186]:   Current Operation: OPENING
[18:55:32][V][elero:504]: send: len=29, cnt=06, typ=0x6a, typ2=0x10, hop=00, syst=01, chl=03, src=0x386201, bwd=0x386201, fwd=0x386201, #dst=01, dst=0x90b42c, payload=[0x00 0x03 0xf0 0x5d 0x97 0x1b 0xd0 0x6d 0x7b 0x67]
[18:55:32][V][elero:231]: Transmission successful

Any help will be highly appreciated.

It says “Transmission successful”, that means that the wiring is correct and that it sent the command successfully to the CC1101 module.
Please capture some more logs / commands to see if you really got the correct command.