Giter Club home page Giter Club logo

espsomfy-rts's People

Contributors

jezza34000 avatar nbarrientos avatar noltari avatar pulpyyyy avatar rstrouse avatar svenbw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

espsomfy-rts's Issues

Configure Transceiver - GPIO not selectable

Hello,
Amazing work! Huge effort very much appreciated.

I'm using a Wemos S2 mini (based on ESP32-S2FN4R2). I use the wiring below. Unfortunately the web interface does not allow to select pins 6-11. To overcome this limit I used chrome and forcing the values needed via the inspect function. I reviewed the code, cannot find the filter on the pinout, where is it possible to change it please?

Wiring CC1101 on Wemos S2 Mini

+=============+===================+
| CC1101 Pin  |   ESP32-S2 Pin    |
+=============+===================+
| 1 GND       | GND               |
+-------------+-------------------+
| 2 3V3       | 3V3               |
+-------------+-------------------+
| 3 GDO0 (TX) | GPIO-5            |
+-------------+-------------------+
| 4 CSN       | GPIO-12 (FSPICLK) |
+-------------+-------------------+
| 5 SCK       | GPIO-7            |
+-------------+-------------------+
| 6 MOSI      | GPIO-11 (FSPID)   |
+-------------+-------------------+
| 7 MISO      | GPIO-9  (FSPIHD)  |
+-------------+-------------------+
| 8 GDO2 (RX) | GPIO-3            |
+-------------+-------------------+

Can't pair the blinds

I wanted to start by saying thanks for doing this as I think it's an amazing project.
So far I have had an ESP just shorting correct DI on the remotes to have my blinds controlled in HA but this would be a game changer for me.
Unfortunately I'm struggling with pairing process.
I have quintuple checked my wiring and tried swapping RX/TX without changing them in the configuration and swapping RX/TX and then also swapping them in the config.
Basically I put my blinds into pairing by holding the button on the back, they jog and blink green but then nothing ever happens when I try to pair them from ESPSomfy.
I do see all the commands I send from my remote and I do see them regardless of the RX/TX situation.
Strangely (for me) I'm still seeing the commands sent in the logs even if I swap the TX/RX without changing them in the config
I'm using the blue E07-M1101D with a Wifi ESP32-WROOM-32.
It's a 56 bit motor. I have tried 2 different blinds - same results.
I've tried using other pins on the ESP for TX/RX but same thing still
Any solutions for debugging/diagnosing?

Static IP not detecting

I have installed firmware on my WT32-ETH01 device and am attempting to assign a static IP address to it, but it always defaults to DHCP automatically. Could you please take a look at it?

Bit Length value shows not the correct value

The "Bit Length" field does not show the stored value, but the value that was last selected when switching through different blinds. (Even if another value is saved.)
However, the storage of the values in the backup is correct.

Not able to receive nor transmit signal

Hi everyone I really love that project but unfortunately I've tried to make it work with a somfy shade but I can't even receive the signal from the remote controller.

I've tried with two esp32 module and 2 different 8 pin cc1101 module but without success.
I've checked if every connection is solid and if everything is connected to the proper pin many times.
I've also tried to change the pin for GDO0 (TX) fist to the pin 13 then tried on pin 4 both the RX and TX on the same

I'm really out of ideas can someone give me some advice? I've also ordered another cc1101 to test but I've already tried with two so I'm not sure this could help.

Just for info, My somfy remote is a Situo 1 RTS Pure II.

thank you

"My" button not captured

Hi @rstrouse,

First, thank you for your work !

I managed to pair my Somfy roller shutter and Smoove Origin RTS remote successfully.
But "My" button is not captured. "Up" and "Down" are working correctly.

Any idea ?

Blind tilt position is incorrect

Hi

I have an issue with tilt position of the blinds.

Let me first describe how the blinds with tilt work

  • There is a single motor to actuate the blinds
  • When the blind goes down, the motor start by tilting into a "closed tilt" position then the Venetian goes down
  • if we want to tilt them open, the motor is actuated in the opposite direction for a few steps
  • Similarly when the blinds goes up, the motor start by tilting into another "closed tilt" then pull the venetian up
  • if at that point you want to tilt open you move a few step in the opposite director

In addition, the user point of view could be totally inverted depending on which side in/out the blinds have been installed

Based on that I believe that the logic that reports whether the tilt is open or not is not correct.

anyway, not sure whether this is clear or not. Would a video help?

Suggestions to improve documentation

  • Add a link to the releases page, so people don't have to go and look for it
  • Add a section about flashing with esptool

The following diff is my suggested change to the wiki (which seems to be non-trivial to get put into a proper pull request):

diff --git a/Installing-the-Firmware.md b/Installing-the-Firmware.md
index ba67b7b..3e94c95 100644
--- a/Installing-the-Firmware.md
+++ b/Installing-the-Firmware.md
@@ -1,6 +1,6 @@
 There are three (actually 4 but the fourth method uses the command line) methods you can use to upload the initial firmware to your device.  Two of them are a bit technical but not insurmountable.  If you develop software on ESP devices then you probably already have the Arduino IDE v1.8 software installed on your computer.  If you do not then choose either the ESP32 flash download tool method or the ESPHome web method as they are fairly straight forward.  I didn't ask him to try, but I think that even the hairy cave dude from the Geico commercials can get this done.
 
-The initial firmware onboarding can be performed using a single file without having to recompile the software using the `SomfyController.onboard.esp32.bin` file for the release.  Download this file to your computer somewhere.  The file is located on this repository under releases on the right side of the main page.  Please note that if you flash this file to your device it will erase your shade configuration so if this is not a new install perform the [update procedure](https://github.com/rstrouse/ESPSomfy-RTS/wiki/Updating-ESPSomfy-RTS) instead of this onboarding procedure.
+The initial firmware onboarding can be performed using a single file without having to recompile the software using the `SomfyController.onboard.esp32.bin` file [from the release](https://github.com/rstrouse/ESPSomfy-RTS/releases).  Download this file to your computer somewhere.  The file is located on this repository under releases on the right side of the main page.  Please note that if you flash this file to your device it will erase your shade configuration so if this is not a new install perform the [update procedure](https://github.com/rstrouse/ESPSomfy-RTS/wiki/Updating-ESPSomfy-RTS) instead of this onboarding procedure.
 
 ![image](https://user-images.githubusercontent.com/47839015/221660466-ab827cf1-4bfe-4e4d-8b5a-5b1245544a53.png)
 
@@ -41,6 +41,25 @@ Once the flash process is complete disconnect any jumpers you have installed to
 
 You are now free to upload firmware using the included web interface.
 
+# Using esptool.py
+
+Install the Python esptool via pip:
+
+```bash
+pip install --user esptool
+```
+
+And then use the following commnads to flash the image to the ESP32:
+
+```bash
+# Check if everything works by checking the ID of the ESP32
+esptool.py --port /dev/ttyUSB0 flash_id
+# Erase whatever is on there
+esptool.py --port /dev/ttyUSB0 erase_flash
+# Write the SomfyController image
+esptool.py --port /dev/ttyUSB0 write_flash 0x0 ~/path/to/SomfyController.onboard.esp32.bin
+```
+
 # Using Arduiono IDE v1.8
 I developed this using the painfully awful Arduino IDE v1.8.  I originally installed v2.0 then found out you cannot upload the file data to it.  Download  v1.8 (legacy) and save yourself several hours of searching through forums for functions that are not supported on 2.0 even several years after its release.  If you are using VS Code then you are on your own since I don't have any experience with it.  The good news is that you only need this during the initial install and all follow on work for the module is user friendly.

Possible to add signal Led?

Cheeky request - It would be great if there was an option to show when a 433mhz signal is received or sent (as with traditional Somfy remotes) via a hardware led. Could a spare pin/pins be added as default led indicators please for 433mhz transmission?

Clarification of pairing instructions

Hi. I'm having a problem pairing to a Somfy motorised blind, Basically I don't understand what the first line of the pairing instructions wants me to do. It says "Open the shade motor memory with an existing remote". I'm using a single channel Somfy remote - Situo RTS. I've followed the instructions as far as pairing and have tuned the receiver. I have an RF Explorer spectrum analyser and can see that both the remote and RTS RF module are transmitting at approximately the same level and frequency. I'm also using the latest 1.4.6 update. Any help would be much appreciated and thanks for a great project.

No RSSI value when pressing remote button

I followed the hardwire guide and setup guide exactly. I have the same ESP32 board and transceiver from the hardware guide and have it wired per the guide. I have the firmware installed and the ESP32 connected to my network. I'm able to access the GUI, I've set my RX bandwidth and Frequency deviation per the setup guide. But when I press the button on my Somfy remote I don't get any value for the RSSI. I've tried multiple Somfy channels, checked my wiring, etc. But still can't get an RSSI number when pressing the button on the remote while right next to the transceiver.

Blind positions are incorrect, used to be OK

I have 8 roller shades controlled with ESPSomfy RTS and integrated with HA using the HACS integration. When I set up the system, I timed the open & close times, added & paired the shades & linked the remotes.

I don't know when or how it happened, but I noticed this morning that 6 of the 8 shades do not show the correct position in HA or on the ESPSomfy RTS web interface. It appears HA and the web interface are in agreement with the "incorrect" positions, however.

Can you please let me know how to correct the reported blind positions? Do I need to delete & re-add the shades & remotes?

Attached is a screenshot of the web interface. All of the blinds are currently open 100%, but only the Master_BR_West and Casita shades reflect the position correctly.

I was running 1.4.6 but updated a few minutes ago to 1.5.3. I am running HACS integration 1.0.12.

Thanks for your help!

image

Motors pick up sent signal unreliably

Hi!

Sorry it's me again: My setup is working now, but the Somfy motors are only picking up a fraction of the messages I send its way, even though they are less than 2 meters apart:

My hardware

  • 2 x ESP32 board: az-delivery-devkit-v4
  • 2 x CC1101 board: E07-M1101D-SMA
  • 2 x Somfy motor for draperies

My findings:

  • The Somfy remote:
    • The motors respond to 100% of the remote's commands
    • The transceivers pick up the remotes' signal at ~20 dBm 100% of the time. Haven't optimized the RX settings yet
  • The two CC1101 transceivers
    • They pick up each others' signal very reliably (99% or so) with better than -30dBm
    • The motors respond to ~50% of the commands from the CC1101
      • Especially the My command seems to be extremely flaky. Only about 10% of commands are picked up
    • The behavior is consistent for both CC1101 transceivers
    • TX power: 10 dBm

My thoughts

  • Could this be the cables between de ESP and CC1101 being too long? My speakers pick up a signal when there is activity on TX, which after fixing #5 almost must mean that the wire to the CC1101 acts as an antenna.

Is this something that you have ever noticed in your tinkering?

Screenshot of example logs

Addresses:

image

Photo of setup

PXL_20230323_215651042

New Installation Using 1.4.5 Unable to Get IP Address on Local Network

My transceivers arrived (early!) on the slow boat--bought 2, just in case...

I wired up a new 30 pin ESP Wroom-32 to the transceiver, loaded Somfy-RTS onboard.bin, version 1.4.5 using the ESPHome Web installer. I disconnected the device from my PC & powered it back up. I connected to the ESP Somfy RTS network & went to 192.168.4.1 & hit the gear icon. Scanned & found my network & entered the password & hit save. I got the "waiting" spiral dots & that was about it... I disconnected from the network, exited the broweser, & did a hard reboot of the ESP.

The device shows up on the router and is on the correct network, but no IP address is assigned. Unable to ping the device by name, of course, so I was dead in the water.

I redownloaded the firmware & tried again from the beginning & had the same experience.

I am going to try with the previous version & am hoping there's just a bug in 1.4.5.

All suggestions are welcome to get past this roadblock :-) Thanks!!!!!

Just tried again with version 1.4.4 & I have the same issue. I'm guessing it's pilot error on my part, but I'm drawing a blank as to what I'm doing wrong...

Having trouble getting a strong signal

I'm using this hardware
ESP board - https://www.amazon.com/gp/product/B09XDMVS9N/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1
Transceiver - https://www.amazon.com/gp/product/B09CTRYV4L/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
Antenna - https://www.amazon.com/gp/product/B072Q7319V/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

I can't get a dBm better than -66 and I can't get anything with my RX bandwidth below 125kHz. Also, if I press the RTS remote 30 feet or more away from the ESP Somfy RTS device it doesn't register. I was under the impression that the remote should work from 75-100 feet away. Am I just being unrealistic? I have a decent size house (5,500 sq ft) so I need the ESPSomfy RTS to pickup remotes from a decent distance in order to keep the shade position in sync in HA. For context, my ESP Somfy RTS is sitting right by a shade. If I'm 25-30 feet away from the shade my remote will open the shade but the remote button press doesn't register on the ESPSomfy RTS

Should I be getting better results than this? Any reason I need my RX bandwidth so high in order to pick up a signal?
Untitled

Receiving but can't transmit. Battery Somfy

Hi,
Great project and I see many people benefitting from this so good job and thank you! And I like the writing style in the instructions :D

Myself, I have had no luck to move my shades. I can't manage to get the E07-M1101D to send/transmit. The logs do recognize the button presses accurately from the remote Situo 5 RTS Pure II.
I believe the motors are Sonesse ULTRA 30 WireFree RTS Li-ion.
I have ESP32-WROOM-32 (usb-c version).

I have used the wiring from the the instructions:
1 | GND | GND
2 | VCC | 3v3
3 | GDO0 - This is the TX Pin | GPIO 13
4 | CSN | GPIO 5
5 | SCK | GPIO 18
6 | MOSI | GPIO 23
7 | MISO | GPIO 19
8 | GDO2 - This is the RX pin | GPIO 12

Is there something that I am missing?

Receiving signal but not Transmitting

I have tried this with 3 C1011 boards so far and each time I am able to receive the remote control commands but unable to send them.

I am sure it must be something I am doing wrong but for the life of me can not figure out what it is. I went through the manual and could not see anything I missed so thought I would see if I have missed anything.

I currently have 2 of the 8 pin E07-M1101D boards, one hooked up to a lilygo PoE esp32 and the other connected to a standard Wi-Fi esp32 board. Both connect to the Wi-Fi and allow me to see when a remote is pressed for any of the blinds I have but when I try to pair with a blind nothing happens.

I have tried checking the logs from the opposite esp-Somfy set up and can see no record of the opposite device when I press the prog button on the webpage.

I have also tried following the tuning but this makes no difference on the transmition of the signal. Is it possible I have followed the wiring wrong? I thought it at first but as I was receiving figured I had to have the tx & rx wires the right way.

I also have problems with getting the Ethernet port working on the lilygo but can work on that later, keen to get the connection to the blinds working first.

I have wired it the same as the instructions on the wiki. Is there anywhere I can pull logs from the portal to see if anything is getting mixed up in the back end?

5 channel remote, and rolling code clarification.

I've just found out about this project and it's really looks promising. I've couple of questions tho.

  • I have 3 big balcony shades that i control using one remote that support up to 5 channels. So will that work with your controller, if i change the channel on the remote every time i pair a shade.
    20230326_122313

  • after setting up the whole thing correctly (hopefully), will i be able to control the shades using the remote over time. As the rolling code is changing while using the shade how will the original remote keep track of this if im not using it. (Or It might be that i didn't understand the concept about the rolling code at all ๐Ÿ˜…).

  • If i somehow messed up the rolling code settings, you mentioned something about resetting the motor memory. Is that the same procedure of resetting the motor using the plug:
    unplug 2 sec -> plug 10 sec -> unplug 2 sec -> plug, until the motor jogs.
    Or do you mean something else! That red bold (Beware, Danger banner) kinda freaked me out ๐Ÿ˜….

Again thank for putting this together, really appreciate this project, and hopefully i will try it out, as i already ordered the hardware.

slow hass integration communication and web-ui unresponsive

Hi. I stumbled upon an issue.
A few days later deploying this, I am unable to open the web-ui anymore, two circles are spinning, but nothing happens:
image
Eventually, after a few minutes, I get this message:
image

From the beginning, I've also installed the HACS integration (ESPSomfy RTS) and that still works, I'm still able to control the (4) shades I have but has a noticeable 3 seconds delay from the moment I press something and the motor actually moves.

Is there something I can do? Or should I reflash the ESP board? (of course, I didn't back-up anything, and I might have to re-pair the shared/remote/etc, which I might want to avoid by reaching out here for help).

Thank you,
Mihai.

Could your code be adapted to work with 915 MHz transceivers?

Obviously, this post is not creating an issue with ESPSomfy-RTS, which is awesome & appreciated greatly!

My wife asked me last night if it's possible to create simple way to turn on/off our whole house vacuum. The system uses a 915 MHz remote that's integrated into the handle to turn the power unit on/off. However, when she is just using tools & doesn't have the handle with her, she needs to go to a hose outlet, turn the system on/off, & then return to where she's cleaning. I have zero experience with 915 MHz systems. E.g., I don't even know if all 915 MHz devices are LoRa

Of course, Vacuvision, the company that makes the power controller for our unit, offers a fob that can be added to do exactly what my wife is looking for, but it's priced like a ZRTSI, $80.00 for a 2 button key fob. OMG! And it's yet another dongle to misplace.

I started looking around for transceivers, & of course, they're available with antennas for around $2.50 from the slow boat company. I assume one could connect it to an ESP32, figure out how sniff codes, & hopefully stumble upon away to use HA to turn the beast on & off.

I also found this development board which is a combo ESP and 915 MHz transceiver:

https://www.amazon.com/MakerFocus-Development-Bluetooth-0-96inch-Display/dp/B076MSLFC9/ref=sr_1_2?crid=3077DGV7YX1NF&keywords=esp32+915mhz+transceiver&qid=1682265536&sprefix=esp32+915mhz+transceiver%2Caps%2C92&sr=8-2

My question is, with minimal guidance & assuming I could sniff the codes with the transceiver, could I create a toggle in HA to turn the big sucker on & off? It looks like there are some Arduino libraries to help sniff packets, etc. Alternatively, should I just take my lumps & get her the ridiculously priced fob. Of course, my wife is lobbying for the latter.

Your thoughts & suggestions are most welcome!!!

Can't wait to give this a whirl!

I found your project when looking around the Share Your Projects forum on the Home Assistant site. I am using the nodejs Pool Controller and its associated HA integration & have been very happy with the results. Hoping for more of the same with this project.

To date, I've been using Somfy's ZRTSI RTS to Zwave controller for my roller shades but have been less than delighted with the experience. In addition to being extremely over-priced, they're Zwave & not even Zwave Plus devices. And, unlike your project, you cannot prescribe the percentage you would like to open/close the shade--it's either opened or closed, unless you hit the stop button. Furthermore, there is no confirmation a command was received/executed. Finally, if someone uses a Somfy remote to open or close a shade, HA and the shade go out of synch.

As you indicated in the wiki, obtaining a CC1101 transceiver may be challenging--at least in the US. The most likely source I've located is aliexpress and it could be mid-May before it shows up at my house. Have you found any better sources for the transciever of choice (an E07-M1101D-SMA with a duck antenna) in the US?

Thank you for sharing this project! Like the pool controller, it should be a fine and welcome addition to my house.

Pairing issue

7 Hi, first of all really an outstanding job you have done!

I have assembled and configured all per your tutorial, all worked great, just the last step, pairing, is not working as I expected.

The remote (Smoove 1) sends the prog command, the shade jogs, all as it should be. But the "Prog" button in the app's "Pairing" screen does not cause any reaction. And consequently, the commands in the app do not work, too.

I double checked the wiring and the fact that the transciever receives as expected (the events from the remote are logged).

Is there any way to see what is happening on the controller-transmitter side? Do commands go out at all?

Thanks!

Hardware goes offline every few days must power cycle to recover

Well, it's been a few days since I bothered you, so I guess I'm tardy in reporting an issue to you.

Ever since I installed my ESPSomfy-RTS hardware & got everything going, the controller goes offline after a few days & does not recover unless I power cycle it. It then comes back online & works flawlessly for several more days. I have not been able to find a cause for this behavior. I have tried associating the controller with 3 different APs (moving it around the house so it has a strong signal to the AP). It's always been able to control all of my shades whenever it's online, but...

It went offline most recently about 90 minutes ago. I moved it to a another new location very close to an AP and it has a WiFi RSSI of -52 dBm. It's paired currently to a Unifi AC-Pro. Previously it was paired with a Unifi Nano (RSSI was in the mid -50 dBm range) and another AC-Pro (weak signal of around -85 dBm, but it was online for 5 days or so until a few minutes ago). As far as I can tell, none of the other devices on these APs have been going offline. Those that occasionally do go offline are able to re-pair to an AP without intervention by me.

Each AP is assigned its own WiFi channels for 2.4 & 5 GHz. I do run a Zigbee network, but it's on channel 25 and the 2.4 GHz WiFi channels I run are 1, 6, and 11 so they should not interfere with each other very much.

I have around 70 WiFi devices in the house. 5 running ESPHome, around 55 running Tasmota, and a variety of Android devices. In addition to the commercial switches and all that were flashed with Tasmota and ESPHome, there is a mixture of ESP32s and 8266s embedded in devices I built.

All or nearly all of the WiFi clients have fixed IP addresses assigned by the router.

Have you or others experienced the controller going offline & not recovering on its own? As far as I can tell, even when offline, the controller has power (the LED is illuminated on the ESP32). I am not aware of an power interruptions that occur when it goes offline, and we have a whole house generator that kicks in within 30-60 seconds a loss of power. The generator has not been roused from its sleep in months.

My controller and the transceiver are soldered to a PCB; it's as close a clone of your build in the hardware instructions that I could create. Same case from Amazon, & the larger antenna you recommended. I am not aware of any loose connections in the build and the unit is only touched when I move it to a different location. Two of its installation spots have been inside cabinets & one was on a high window ledge.

I am totally flummoxed & hoping you can help me get to the bottom of the problem.

As always, I appreciate your time, help, & patience!

Weird Home Assistant Controls behaviours

Firstly, thanks for your efforts on this solution. It certainly helped with automating my Somfy roller shutters with Home Assistant.

However there are sometimes some weird behaviours from the Home Assistant controls. For example, I push the Up button in HA to raise the shutter, it goes all the way up, stops for a few seconds and then for some reason comes back down to an almost closed position on its own. The Up button appears still masked out, so the only way to gain control/sync again is to press the Down button in HA, which then closes the shutter fully and then I can raised the shutter again using the Up button.

The weird part is that it does not happen all the time, just on occasions and usually when I have left the ESP on idle for some time (ie not used it for a day or logged into the webUI).

I have just updated the firmware and application to v1.5.2 to see if it fixes the problem as I recalled updating the HA Add-on recently so maybe there is some fixes.

On that note, is it difficult to add another entity to show that there is a new firmware update available?

Is it possible to change the frequency to 868.95 MHz?

Hello, I have a Somfy Situo 1 Var iO Pure II remote control that operates at a frequency of 868.95 MHz. I was wondering if there is a way to change the frequency within this program, so that I can use my remote control? Any help or suggestions would be greatly appreciated.

Update from phone

When updating from my phone (iPhone either chrome or safari), the firmware loads fine but the application tries to download the backup which results in a network error. Is it possible to separate download of the backup and upload of the application file so upgrades from phones are possible?

PS. Really great job on this device!

Almost working

Hello,

Thanks for making this great tutorial. I've got most of this working - the HA integration and pairing the remote - but i can't get the awning to pair with the ESP. Is there some way to check if the antenna is actually transmitting something?
I do receive remote commands and can see the awning simulation going up and down in the UI.

I'm using the E07-M1101D RF module with the default pins to ESP.

not recodnize in Homebridge

Hi i have a problem with this adapter, it will not recodnized in Homekit (Hass Bridge). I think there not categorized as Cover ?

No fallback AP ESPSomfy

Hi there,

I am using a ESP32-C3-DevKitM-1 which I want to use for this project. The flashing works like a charm using the ESPHome web but afterwards I do not get a Wifi AP named ESPSomfy RTS to set my home Wifi credentials and setup the cc1101. I have tried using the latest version 1.47 and 1.46 to make sure this was not the problem. Any idea what I am doing wrong?

Any help much appreciated,

kind regards, Mozza

Tilt time is not appropriate

One time for the gradual change of the steps does not apply to me.
I determined the following values for my external venetian blinds.

kitchen 1
Drive up time: 31000ms
Drive down time: 30700ms
Steps up: 313
Steps down: 320

kitchen 2
Drive up time: 39000ms
Drive down time: 38200ms
Steps up: 397
Steps down: 408

Probably there is a better way to for configuration of the steps?

Shade pairing doesn't work

Hi @rstrouse,

I have problem with pairing the Somfy Altus RTS shades - I can see the commands in log, so the CC1101 works fine, I can link the remote, but unfortunately the pairing procedure gives no result.

image
image

Please support.

Timezones

Hey! There are timezones not considered in the index.js, e.g. "Europe/Berlin" (that's where I am ;)). Is definitely not a pressing issue though. I could add some and open a PR if you want, would take less important work from you ๐Ÿ˜€

Thanks!

3rd linked remote shows undefined, cannot be removed

I tried to link multiple remotes to one shade. This resulted in the third shade showing undefined, undefined. (see attached picture) I cannot remove the entry - the garbage icon asks yo delete, if I confirm then nothing changes.

By the way, how many remotes can be linked? I have three telis4, one on every floor. All of them can control the blinds, in total 6 codes per blind because all remotes use the fifth group to control all blinds.

ECC5DF49-AE60-44A1-90FB-ED0B65F09F46

Open MQTT Gateway

I found this while looking for ways to sniff, transmit, & receive 300ish-433 MHz signals. There are ESP32 boards that have transceivers & OLED displays builtin, similar to the one I sent to you last week for 915 MHz signals. Then I saw that Open MQTT Gateway has firmware available for Somfy controllers. I think you may still need the C1101 to get everything going, but I thought you might be interested in knowing about it.

Open MQTT Gateway: https://docs.openmqttgateway.com/

It looks like you need to be very selective about the ESP32 board, as many versions are not supported. Of course, I ordered one via slow boat delivery because I couldn't tell with certainty what board the Bezos would actually ship. It may be here in a month or so. More on this story as it develops :-)

https://www.aliexpress.us/item/2251832685763835.html?spm=a2g0o.productlist.main.5.581aSL5eSL5ebn&algo_pvid=38c54624-829d-40f3-a535-792780bfe6c2&algo_exp_id=38c54624-829d-40f3-a535-792780bfe6c2-2&pdp_npi=3%40dis%21USD%2116.59%2116.59%21%21%21%21%21%40211be59e16828861692765954d0858%2112000031557075306%21sea%21US%210&curPageLogUid=aAumdtpSST2c

BTW, feel free to close my other issue regarding the 915 MHz option. Doesn't look like it's going to work for me, but I found a workaround for my beloved that earned WAF points.

Have a super evening & week ahead!

MQTT Port will not be saved

I need Port 1884, but i see no commuincation.
After rebooting there is always Port 1883, although I typed and saved port 1884.

AsyncTCP.h missing

i cant compile the bin

error message:

In file included from /Users/Downloads/Somfy_Remote-master/Somfy_Remote/Somfy_Remote.ino:28:
/Users/Documents/Arduino/libraries/AsyncElegantOTA/src/AsyncElegantOTA.h:11:14: fatal error: ESPAsyncTCP.h: No such file or directory
11 | #include "ESPAsyncTCP.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Somfy motor doesn't react to transmissions

Thanks for this amazing project!

I have a similar problem as #4. The receiving end seems to work perfectly. But the transmissions from the CC1101 don't get any reaction on the device [when pairing].

I've tried different ports as in #4, and I'm using the latest version v1.4.2 with the increased burst from 4 to 7 in dce0ae0. The CC1101 is definitely sending something because my loudspeakers pick up on both the Somfy remote and the CC1101 when it is transmitting.

My hardware:

  • ESP32 board: az-delivery-devkit-v4
  • CC1101 board: E07-M1101D-SMA
  • Somfy motor for draperies

My thoughts:

  • The prog command may need even more than 7 repeats maybe. To get the Somfy motor into pairing mode, I have to press the program button on my remote for some seconds. Definitely longer than I hear signal being transmitted by the CC1101.
  • Maybe my CC1101 is broken, and I should just get another one

Could you maybe add an optional repeat argument to the /shadeCommand REST API? Then (if I'm understanding the code correctly), I could experiment myself by sending the prog command (curl "http://espsomfyrts.local/shadeCommand?shadeId=1&command=Prog&repeat=20") and see if it the motor reacts.

As an extra bonus, it could also (IIUC) make this project an alternative for getting the Somfy remote in the first place, because you can also use the REST API to send the initial UpDown command and then Prog to pair the motor from factory default directly to the CC1101. I tried this, by the way (without the repeat option), but nothing happened, possibly because of some other issue.

Wiring different than table

Hi,

I think the wiring is not the same as the text in the table.
The blue wire on PIN-8 from M1101D is connected to ESP-GPIO13 (according to photo).
PIN-8 is the RX pin according to table.
In the ESPSomfy settings RX is configured to GPIO-13
So I think the table is a little bit confusing.
M1101D_pin

Motors sometimes get stuck

Great project, with detailed documentation and easy-to-set-up hardware; thanks a lot!

I have had issues with my motors before; Sometimes, when pushing the up or down button at the remotes, they are stuck, but they seem to receive the signal because the motor clicks. The same happens after I set up a CC1101 with your project. As a result, the status of the shades in ESPSomfy RTS gets out of sync. The remotes are 'Somfy Telis 1 RTS', but I can't tell which motors are used; it is a rental apartment. This is not an issue with your implementation, but do you know this issue and a solution?

Thanks a lot!

LAN modules have no network connection after updates

Since version V1.5.0, the LAN modules no longer have a network connection after an update. This means that after each update (firmware and application) you have to remove the voltage from the module so that the module becomes visible in the network again.
This worked without problems prior to v1.5.0.

Problem with long press

Hi there!

I've read all your project and made a ESPSomfy-RTS with your tutorial. Thank you for the share!

Now I have two problems: I can't open or close the blinds because they only opens or closes when I do a long press on the remote (up or down). If I do a short press in the buttons the blinds only jogs. Is there any way to change this? I don't care if I change the behavior in the remote also.

Attached a photo of my remote:
IMG_4258

Untitled.1.mp4

My second problem is the remote pairing to ESPSomfy-RTS. I put the pairing mode, click the buttons on the remote but nothing happens in the UI.

Thank you!

Unable to pair my shade

Hello,
thank you for this wondeful project! I've followed the instructions in the tutorial for pairing my shade and rechecked multiple times all the connections, but unfortunately when I try to pair my shade it is not joggin to confirm that the pairing procedure completed succesfully. Kindly requesting your help to understand what I'm doing wrong.
thank you
Paolo

Problems with installing the Firmware

Hello I tried to Install the Firmware but the ESP keeps restarting every second.
I tried Firmware 1.5.3 and 1.5.0 on a ESP8266 D1 and on ESP32C3.
I also tried over ESPHome and with the ESP Tool.
I guess this is a beginners Problem, can anyone help me with this?

Cannot pair my blinds. Command not recognized.

Here's de log of a up signal from the remote:
[{"encKey": 134,
"address": 2113079,
"rcode": 551,
"command": "Unknown(15)",
"rssi": -45,
"bits": 56,
"valid": true,
"sync": 4,
"pulses": [500,607,626,585,653,584,851,640,511,681,642,464,644,864,473,2851,2604,2503,2612,4862,1316,1268,663,638,650,647,651,638,1284,650,652,1287,666,629,1309,613,672,631,659,642,641,1285,1288,648,653,1293,1292,637,666,638,645,626,656,1285,666,631,1311,1293,1281,1298,1305,612,672,623,679,615,669,1269,659,631,1304,651,656,632,652,642,655,633,638,647,670,1256,667,642,1300,1286,649,635,664,643,642,650,659,641,665,620,649,635,1316,619,674,613,665,1290,1298,644,647,645,652],
"time": "2023-05-07T10:17:26.322+0100"
}]

And here's the same signal picked-up by de RTL_433 software

time = 2023-05-07 10:18:44.537032
protocol = 167
id = 3620384
control = Up (6)
counter = 553
retransmission = 0
mic = CHECKSUM
mod = ASK
freq = 433.38912
rssi = -0.0989304
snr = 5.71867
noise = -5.8176

It seems that the command is not recognised by the ESPSomfy-RTS.
Any tips?

Rogue shade activity

I have 3 shades on a remote channel. I paired them as one shade by pressing the program button on the back of the remote, all 3 jogged. I then pressed "prog" on the ESPSomfy-RTS app, the 3 shades jogged again. No other shades in the house jogged during this. But, when I try to operate that "shade" in the app I expect the 3 shades to open. Instead, 2 of them open as well as 2 other shades in a nearby room. I've tried rebooting the ESPSomfy-RTS, unpairing the shade, deleting the shade, etc. Each time I re-pair the shade it seems like it paired correctly but then I get the same unwanted behavior.

If it matters, the two shades in the other room are also paired to the ESPSomfy-RTS as individual shades.

EspSomfy shade state issue

So I'm using espsomfy for over a month, works perfectly but this week something strange is happening.

So I keep my shades open 100% most of the times, but at random times once or twice a day, the state of all the shades in the software (also in home assistant) becomes closed, without the shades moving at all.

So, every time this happens, i need to put them back to 100% using remote or espsomfy software (which technically they already are at 100% because they didn't move in the first place). Then they will act normal until it happens again.

I'm running latest v1.5.1, same issue with v1.5.0.

My configuration:
Screenshot_20230501_004711_Chrome

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.