rstrouse / ESPSomfy-RTS

A controller for Somfy RTS shades and blinds
The Unlicense
548 stars 38 forks source link

Can't receive signals from somfy remote #178

Closed sapanica closed 8 months ago

sapanica commented 1 year ago

Hi there,

After your last help, which is awesome, the conclusion was that it may be a bad receiver.

So last week the new receiver has arrived, but it still hasn't fix my problems.

I made this issue, so i won't mess up your guide repository.

Any suggestions? Replace the cables between receiver and the esp32?

rstrouse commented 1 year ago

If I remember correctly here are the things we established.

1, You have an E07-M1101D.

  1. You have an ESP32 NodeMCU from AZDelivery
  2. Your remote is a Telis 4

So lets go through a few things up front. Look closely at your remote and make sure it is not an IO remote. I do not think it is but look for the letters IO or Pure IO. Next verify that the leds when you press a button glow red not green.

If all of that is correct then take some pics of the connections on the transceiver and connections made to the ESP32.

sapanica commented 1 year ago

Hi there,

The lights on the remote are red when a button is pushed

Could you check the pictures on the repository, or should i upload them again?

rstrouse commented 1 year ago

Upload them here

rstrouse commented 1 year ago

@sapanica I have dug up your pics from the home assistant community. If your wiring on the transceiver is still this.

image

Did you verify that you have these wired to the ESP32 like below?

image

Also you must perform the initial network connection before it can start receiving signals. So you should not be connecting to 192.168.4.1 when looking for frames from the remote.

In the end your connections should be as follows

CC1101 Color ESP32 Function
1 Orange GND Ground
2 Yellow 3v3 VCC
3 Black GPIO13 TX
4 White GPIO5 CSN
5 Grey GOIO18 SCLK
6 Green GPIO23 MOSI
7 Blue GPIO19 MISO
8 Purple GPIO12 RX

And the Radio settings should look like this. If they do not change them to look like below then press Save Radio. If you are still not receiving signal then press the Scan Frequency button and hold down one of the buttons on the remote. It will scan the entire frequency range to see if there is signal out there.

image

sapanica commented 1 year ago

Sorry that i haven't replied earlier, i've been very busy lately. I'll try to check everything tonight and let you know!

rstrouse commented 12 months ago

No worries at least it wont get lost in other replies here.

stanojevicha commented 11 months ago

Hi, sorry for hijacking this issue but have same problem. Below is the link to items I use and how they are conected. But in general ESP looks like working fine, I have tried two different radios, no software error also but there is not any event on LOG screen.

I have placed a picture of mines remote because they have IO in their name. As you mantion it seems lika that can be issue but are the option in that case?

Somfy00001 Somfy00002 Somfy00003 Somfy00004 Somfy00005 https://www.aliexpress.com/item/1005005626327947.html https://www.aliexpress.com/item/1005002603656188.html https://www.aliexpress.com/item/1005002074380868.html

rstrouse commented 11 months ago

@stanojevicha I regret to inform you that this solution will not work for you. You do not have 433Mhz motors. You have IO which using 868Mhz and an entirely different protocol.

stanojevicha commented 11 months ago

Thanks for info.

elcriuz commented 11 months ago

Same problem here. Board: ESP32-WROOM-32 D-SUN CC1101 Remote: Silent Gliss SG10948

CleanShot 2023-11-14 at 20 01 52@2x

Checked wiring a hundred times now – I am pretty confident that the pin-layout is fine. How likely is it that the radio is faulty? I have only this one.

rstrouse commented 11 months ago

This is a silent gliss remote. Did you set your base frequency to 433.92? After you do that check the log. I suspect this will probably emit RTV protocol. It will show as 56V for the bitness in the log.

elcriuz commented 11 months ago

Yes, I set the base frequency accordingly. Nothing shows up in the logs when I click on the remote. The logs stay empty no matter what I try. This is what makes me curious. On 15. Nov 2023, 01:34 +0100, rstrouse @.***>, wrote:

This is a silent gliss remote. Did you set your base frequency to 433.92? After you do that check the log. I suspect this will probably emit RTV protocol. It will show as 56V for the bitness in the log. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

rstrouse commented 11 months ago

Just to be sure you used the wiring diagram for the D-SUN and not the E07-MC1101D. I have had more issues with the D-SUN transceivers.

I am not positive but I believe there have been other users with the Silent Gliss.

elcriuz commented 11 months ago

Yes, I am pretty sure I used the correct wiring diagram. There is also a pin description printed on the board which matches the settings in ESPSomfy. On 15. Nov 2023, 16:20 +0100, rstrouse @.***>, wrote:

Just to be sure you used the wiring diagram for the D-SUN and not the E07-MC1101D. I have had more issues with the D-SUN transceivers. I am not positive but I believe there have been other users with the Silent Gliss. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

rstrouse commented 11 months ago

@elcriuz try increasing the RX bandwidth about 50k at a time pressing save radio in between. Give it at least 10 seconds between each to allow the radio to reset. I have had a few dead D-SUN transceivers.

jcdel09 commented 11 months ago

hello , modify the connections, I had problems with this configuration. For me it works with this ports on tx/rx. image

elcriuz commented 11 months ago

Just tried all the mentioned above plus a new E07-M1101D in addition to my D-SUN and a new ESP32 (ESP32-WROOM-32). I checked the pins a million times. Still nothing in the logs. I am really lost here. Anything else I could try?

rstrouse commented 11 months ago

@elcriuz just to be sure you have set the base frequency to 433.920MHz... correct?

elcriuz commented 11 months ago

Yes, see screenshot attached.

Lg, Christoph On 25. Nov 2023, 21:47 +0100, rstrouse @.***>, wrote:

@elcriuz just to be sure you have set the base frequency to 433.920MHz... correct? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

jcdel09 commented 11 months ago

do you have another ESP32 and ,or M1101? in case it is a broken equipment ?

elcriuz commented 11 months ago

I have several other ESP32 (same brand - AZDelivery) but only this one M1101. I had the same issue with my D-SUN receiver though. So its either:

• I am really stupid and I am missing something obvious in my setup • I have really bad luck with my components • ESPSomfy just can’t see my Silent Gliss remote. Unfortunately I don’t have any other 433Mhz remotes I could try at the moment

On 26. Nov 2023, 20:32 +0100, jcdel09 @.***>, wrote:

do you have another ESP32 and ,or M1101? in case it is a broken equipment ? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

rstrouse commented 11 months ago

Unfortunately, I don't have any Silent Gliss equipment. Although, there was another user with equipment from Silent Gliss, it is possible that the protocol varies within the equipment line. You can test the equipment by simply creating two devices. ESPSomfy-RTS will listen to another ESPSomfy-RTS device quite readily. If the receiver is working then either device will show the output of each other.

EDIT: Do you have any other information regarding the protocol being used? Is it ASK or OOK modulation?

domdomson commented 11 months ago

Hi all,

first of all: Thanks for this project.

My shutters are the only reason why i can´t migrate from fhem to home assistant.

As for testing i set-up two esp32 with cc1101 each.

When i send something from the on instance i get a log entry on the other instance. Nice.

Unfortunatly i don´t recieve anything from my remote.

I´m using shutters from nobily (they should be made by dooya, i think), After a little bit of digging i found that the signal should consist of 40 bits.

https://www.nobily.de/rolladentechnik/rolladen-sets/rolladen-profi-sets/funk-mechanisch/nobily-profi-set-pr5-inkl.-funk-timer-exquisit-handsender

Is there a way to get espsomfy running with it?

Currently fhem is sending something like this: 2023.11.27 18:43:13 4: Dooya set value = D_Rollo1D stop 2023.11.27 18:43:13 4: Dooya_sendCommand: D_Rollo1D -> message :P16#0001100000000111100000101011000101010101#R10:

Regards,

Dominik

rstrouse commented 8 months ago

@domdomson unfortunately, without the actual pulse counts from the radio or clearer information on the protocol, I am not equipped to make these changes.