Closed fjrodrigo closed 12 months ago
Just so you know the logs do not show any transmit data from the radio. This is by design because we only have confirmed information from the radio on the receive side. On the transmit side there is no verification so that would just be noise in the log. If the radio not initialized message goes away then we have to assume that the radio actually sent the command.
If you are not seeing any responses in that log from your Telis then the most common problems are listed below in the order of how often I see them.
#3
. Please make sure TX is connected there. The RX setting can be the same so if you connected pin #3
on the transceiver to GPIO13 on the ESP32 then you can set both the RX and TX pins in the configuration to that same pin and not connect GDO2.Once you get the receive working so that it reliably hears your remote then link the remote to shade you defined in ESPSomfy-RTS using the link remote button. It should then make the shade in ESPSomfy-RTS respond appropriately to the commands from your remote. Only then can ESPSomfy-RTS show the position when you control the motor with the remote.
Dear rstrousse, I really followed your instructions, but the result has been the same. In fact, I have two transceivers and two ESP32 boards and I used them to run an example from library SmartRC-CC1101-Driver-Lib v2.5.7 (New_Method_without_GDO), configuring one ESP32 as transmitter and the other one as receiver and it works. However, if I try with the example Old_Method_with_GDO it doesn't work. Could you find any relation between this information and the issue I have?
This really seems to indicate a wiring problem. Please take some pics specifically showing which pins on transceiver are connected to which pins on the ESP32.
Then shoot a screenshot of the radio configuration screen as well.
The example from the driver old method repo will never work with decoding Somfy signals. That is because the modulation does not match and the preambles are not fixed. If you did not make changes to it, the default GDO0 pin is actually GPIO6 so the old method example will never work if you wire it based on the example. The new method will also not work to actually decode the signal because of the packet differences.
The pin settings from the default library are as follows. The diagrams also depict an older version of the CC1101 breakout so the pin numbers are different.
CC1101 | Desc | ESP32 |
---|---|---|
1 | GND | GND |
2 | VCC | 3v3 |
3 | GDO0 | GPIO2 |
4 | CSN | GPIO5 |
5 | SCK | GPIO18 |
6 | MOSI | GPIO23 |
7 | MISO | GPIO19 |
8 | GDO2 | GPIO4 |
I attach you the [pictures...
Sorry, I missed the remote picture...
Ok I have verified the wiring from your pictures and it is correct.
Color | CC1101 | Desc | ESP32 |
---|---|---|---|
Black | 1 | GND | GND |
Red | 2 | VCC | 3v3 |
Yellow | 3 | GDO0-TX | GPIO2 |
Orange | 4 | CSN | GPIO5 |
Purple | 5 | SCK | GPIO18 |
Blue | 6 | MOSI | GPIO23 |
Green | 7 | MISO | GPIO19 |
Brown | 8 | GDO2-RX | GPIO4 |
Click on the scan frequency button, then hold down one of the buttons on your remote. Are you getting any signals? If it hears the remote it will capture the frequency and the RSS in the box provided.
I followed your instructions, but the result is always the same with the two different ESP32 boards I have. In addition I have soldered one of them to a PCB taking into account the experience with Dupond cables in issue #3, but again I got the same, I mean, it doesn't hear the remote...
On that board you have soldered up do not change any wiring and change the settings on the radio page to this. Then press save radio. After that try again. If it does not work then there is something wrong with that transceiver.
Hi rstrouse, I've found the problem: if you don't have the WIFI configured the radio reception channel doesn't work. I don't know if it has sense for you, but it's the reality. I've configured the WIFI network and after connect the ESPSomfy-RTS to this WIFI SSID the radio has started to work and now I'm able to find all the blinds and their remotes... I'm so sorry for the inconvenience, but it should be something like this, it couldn't be in another way, you have done a great job and it was very strange that something basic didn't work. Please, receive all my admiration and recognition for the great work you are doing and the support you have brought me. From my side, next step would be to add the blinds to Alexa and to be able to control them by voice. I'll let you know if you are interested and if I achieve it!
Uggh. I didn't even see that in the screenshots until just now. The socket is required from the web client to communicate with the ESP32 which in turn communicates with the CC1101. I didn't think you could even get to that screen without a connection.
I have mine hooked up through Home Assistant. That links them to HomeKit and ultimately Siri. I don't use Alexa but I can't see it being too hard once you have a connector.
I am going to close this for now as it appears you were in AP mode. I will remove the options in the future to eliminate that confusion.
Ok, that's would be perfect for next people!. Thank you so much for your support. I'm now focused to hook up my ESPsomfy RTS device through Home Assistant and link all to Alexa. The problem is that the only way I've found to translate all the blinds functionality to Alexa is by opening my netwok to allow Alexa connect for outside with my Home Assistant, and that is not trusted for me...
Yeah everything for Alexa has to run through their cloud.
Hi, first of all, congratulations for this great and amazing job. I have installed your firmware in a ESP32-WROOM-32 with a E07-M1101D transceiver and the "my" button doesn't work, but "up" and "down" buttons work as expected. I've tested in 6 different motorised blinds with RTS Telio remote control (9 years old). With "my" button I'm able to record a new position, mantaining "my" button pressed and selecting "SET MY POSITION", but after that only the remote control takes the blind to that position, "my" button doesn't provoke any movement or action in the blind. I have also observed that I'm not able to see any log in the Log screen and for all that I think that's my issue, the RX doesn't work, but I've tried all the GPIO pins (GPIO02, GPIO04, GPIO12, GPIO13, GPIO14, GPIO16 and GPIO17) without any different result. If I move the blind from the main page, the window picture doesn't show the percentage neather the blue blind picture moving up or down as you explain in the documentation. I can bring if needed the serial traces with the Arduino IDE environment. Please, do you have any idea or how can I solve the log issue ??? Thank you very much in advance