No. you are showing a bunch of colored cables, but where do they lead to? The CC1101, most probably?
You have several issues here:
- This is a 433MHz module. While it may work, expect short range.
- 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.
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.
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.
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.
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?
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.
Thanks so much for coming back to me, really appreciate it! and sorry for the radio silence!
I have been checking around and trying different PINs to make sure it was not the connection between the ESP32 and the C1101 (433MHz).
I also tried changing my config with values from the different blinds I have but got nowhere either
Here are all the instructions:
UP
[19:53:48][D][elero:451]: rcv'd: len=29, cnt=07, typ=0x6a, typ2=0x10, hop=00, syst=01, chl=03, src=0x386201, bwd=0x386201, fwd=0x386201, #dst=01, dst=90b42c, rssi=-85.0, lqi=47, crc= 1, payload=[0x00 0x03 0x00 0x00 0x40 0x00 0x00 0x00 0x00 0xc0]
STOP
[19:53:50][D][elero:451]: rcv'd: len=29, cnt=08, typ=0x6a, typ2=0x10, hop=00, syst=01, chl=03, src=0x386201, bwd=0x386201, fwd=0x386201, #dst=01, dst=90b42c, rssi=-83.0, lqi=46, crc= 1, payload=[0x00 0x03 0x00 0x00 0x10 0x00 0x00 0x00 0x00 0x40]
DOWN
[19:53:58][D][elero:451]: rcv'd: len=29, cnt=10, typ=0x6a, typ2=0x10, hop=00, syst=01, chl=03, src=0x386201, bwd=0x386201, fwd=0x386201, #dst=01, dst=90b42c, rssi=-84.0, lqi=47, crc= 1, payload=[0x00 0x03 0x00 0x00 0x20 0x00 0x00 0x00 0x00 0x40]
Is there anything else I should be paying special attention to?
This seems very similar to this issue reported on github since you both have the payload_2 type 0x03
whereas mine are always 0x04
.
Do you know which motors you have? And which remotes?
Thanks so much! yeah, seems definitely the same case, or at least we are both experiencing a similar challenge.
My remote is an elero Variotel 2, rebranded for a company named Schlotterer -same as the blinds, but the user guide that came in the box is from Elero.
As per the motors, they seem to be Elero RolTop for the bedroom, and for the living room JA Soft.
Is there anything in the yaml config you think might be worth changing to perform some extra tests?
Hm, maybe it’s a slightly different protocol for blinds? I only have roller shutters, but there could be some Schlotterer-branded devices in the basement. I’ll check as soon as possible.
Thanks so much
Let me know if you need me to run any tests or if you think it would be worth Forking your repo and modifying anything.