Make your Somfy-RTS-remote smart using an ESP8266 and MQTT to control your awning or shutters

  Рет қаралды 37,822

MakerMeik

MakerMeik

Күн бұрын

Пікірлер: 98
@MakerMeik
@MakerMeik 3 жыл бұрын
Down in the comments you'll find the findings of user Darren Cotterill. He has forked the Github project to add the ability to replace multiple remote controls: github.com/DCotterill/Somfy_Remote/ He also describes in his comment what to do if the pairing doesn't work right away: "As a tip for others, I did have trouble pairing with the blind initially, so I 'reset' the pairing on the blind by holding the reset button on the motor for 15 seconds (3 sets of jog up/downs), then re-pairing my remote, then pairing the MCU." [If necessary, you will need to "full reset"], but be aware it will clear all your blind settings so you’ll also need to re-pair your remote and set limits again." Thank you, Darren, for your contribution to the community. By the way, Nickduino, the original developer of the project, also has a Raspberry Pi-based project for the Somfy remote controls on his Github page: github.com/Nickduino/Pi-Somfy
@xamashee
@xamashee 2 жыл бұрын
English is just a tool for communication. You're doing well.
@Rexx0d0a
@Rexx0d0a Жыл бұрын
I came across your video while searching for a replacement for Somfy’s “MyLink” automation solution. After 3 years of frustration using Somfy’s expensive, buggy and amateur MyLink app and their 20’-30’ range transmitters to control the 21 blinds around our house, I found (and now use daily) the Bond Home WiFi bridge that achieves the same goals as your project….for those of us who lack the technical skills needed to implement your project.
@gadjetsvideo
@gadjetsvideo Жыл бұрын
We cross paths again, first it was the wireless window sensor and now you help me again with Somfy remote controls, thanks for the really useful video........ Again
@MakerMeik
@MakerMeik Жыл бұрын
That's really funny. Actually, I've also been on your website several times in the last few days (www.gadjet.co.uk/) and have been looking intensively at your optimised version of the window sensor. I am working on a video about it. You can see that our paths are crossing again for my part as well :-) So there is also something nice about the fact that the "endless summer" is now over and there is finally time for tinkering again.
@rfdave3980
@rfdave3980 2 жыл бұрын
The Guy with the German accent. Your English is fine. I enjoy your videos. Thanks
@Torsan1977
@Torsan1977 Ай бұрын
Nice work! Thanks for sharing.
@conlethoc
@conlethoc 2 жыл бұрын
Strange, as per another poster, my comments disappeared. I'll try again. Absolutely genius! Loved this. Have used this on my garage door and integrated with home assistant and alexa. Great stuff!
@MakerMeik
@MakerMeik 2 жыл бұрын
Thank you! And also for taking the trouble to write the comment again. I had already seen your comment in the email announcement and appreciated it. Unfortunately, there still seems to be a problem with KZbin and this post was deleted again. I wonder if it's the feature to automatically withhold potentially inappropriate content. But even then, I should be able to find it in my account under "review pending", but so far that has happened very rarely. Anyway, I've disabled the feature now and hope that future comments will arrive. In the email announcement to your original post, I saw that you also had problems with AsyncElegantOTA. I have now looked into this matter again: Other than shown in the video, you need the libraries ESPAsyncTCP and ESPAsyncWebServer from me-no-dev on Github in order to get the OTA update working. Unfortunately I had forgotten about this. You will not find them in the Arduino IDE Library Manager, but you have to download them directly from the Github page and put them in the library folder of the Arduino IDE: github.com/me-no-dev/ESPAsyncTCP github.com/me-no-dev/ESPAsyncWebServer I have now also added this comment to my code on Github, so hopefully future viewers will have it a bit easier. Anyway, the OTA update feature is extremely handy. Rui Santos, for example, recently made a good video about it: kzbin.info/www/bejne/gobGfKKAfL1mbq8
@pascalbeyer2485
@pascalbeyer2485 Жыл бұрын
How did you manage that the devices are displayed in Homeassistant?
@DCotterill
@DCotterill 3 жыл бұрын
Thanks very much for this. I've just installed new Somfy blinds and just managed to get one working with this code. Now I just need to change the code to get it working with multiple blinds / groups, as I have 15 blinds over 6 rooms, using 4 remotes with 5 channels each :-) As a tip for others, I did have trouble pairing with the blind initially, so I 'reset' the pairing on the blind by holding the reset button on the motor for 15 seconds (3 sets of jog up/downs), then re-pairing my remote, then pairing the MCU.
@lepetitponey
@lepetitponey 3 жыл бұрын
What do you mean by "having trouble pairing with the blind initially" ? Program mode on your remote -> blind jog -> program mode on MCU -> nothing happens ? I have this exact same problem, except I'm using the python version on a raspberry pi (github.com/Nickduino/Pi-Somfy). I thought I messed up with the crystal soldering part, but maybe I'm gonna try what you suggest.
@DCotterill
@DCotterill 3 жыл бұрын
@@lepetitponey yes, this situation exactly. Give a ‘full reset’ a try as I mentioned, but be aware it will clear all your blind settings so you’ll also need to re-pair your remote and set limits again.
@dennis-q4618
@dennis-q4618 3 жыл бұрын
@@DCotterill If the the virtual remote was programmed with an incorrect rolling code or there is a mismatch then the motor wil ignore it (can not pair or unpair). This is why it is important to keep the remote id and rolling code safe in case you need to rebuild something.
@lepetitponey
@lepetitponey 3 жыл бұрын
@@DCotterill I tried resetting the receiver next to my motor, but I don't even know if I did it right, we probably don't have the same model. Anyway, that didn't make it work. It turned out I did a bad job on the soldering. I just soldered another crystal on another emitter, and now it works just fine. I'm glad I bought some spare ones.
@DCotterill
@DCotterill 3 жыл бұрын
@@lepetitponey Great to you managed to get it working. Those crystals are a little fiddly to solder in, I wasn't sure I'd done it correctly myself either.
@PhG1961
@PhG1961 2 жыл бұрын
Sure I understand you... I got used to the guy with the Swiss accent quite fast, yours is very close to his...
@nil0bject
@nil0bject 3 жыл бұрын
your english is good. thanks for the knowledge
@bobthemagicmoose
@bobthemagicmoose 2 жыл бұрын
Just an FYI - I didn't replace the crystal and it works fine. Perhaps the range is a little limited, but I have had no problems thus far.
@MakerMeik
@MakerMeik 2 жыл бұрын
Cool, thanks for your feedback
@Learning2Sax
@Learning2Sax 2 жыл бұрын
11:00 Cries in American
@tryfonpanagopoulos5999
@tryfonpanagopoulos5999 Жыл бұрын
Amazing!
@marcelo220576
@marcelo220576 2 жыл бұрын
don't worry about your accent, your pronunciation is great.
@MaC_ToC
@MaC_ToC Жыл бұрын
Hello and thank you for this tuto For my part I have this error that I do not understand: Executable segment sizes: ICACHE : 32768 - flash instruction cache IROM : 344180 - code in flash (default or ICACHE_FLASH_ATTR) IRAM : 27509 / 32768 - code in IRAM (IRAM_ATTR, ISRs...) DATA : 1524 ) - initialized variables (global, static) in RAM/HEAP RODATA : 3176 ) / 81920 - constants (global, static) in RAM/HEAP BSS : 26104 ) - zeroed variables (global, static) in RAM/HEAP Sketch uses 376389 bytes (36%) of program storage space. Maximum is 1044464 bytes. Global variables use 30804 bytes (37%) of dynamic memory, leaving 51116 bytes for local variables. Maximum is 81920 bytes.
@user-cb7sb5iw1y
@user-cb7sb5iw1y Жыл бұрын
Fantastic tutorial! Really well done and executed. I have problem tho, my D1 doesn’t show as connecting in the Arduino Monitor. Script upload without issue. Is there something I am doing wrong? Thanks 8:14
@adrianocvieira
@adrianocvieira Жыл бұрын
Hi MekerMeik. I am looking for the same ESP8266 that you mentioned in the beggining of the video but I am not being able to find it. I didn't find the D1 Mini ESP-12F. I was able to find D1 Mini V3.0.0, D1 Mini 4.0.0, D1 Mini Pro4M, D1 Mini Pro 16M, D1 Mini Type-C. Do you know if it can work with this other ones as well? I have 8 Somfy blinds at home and my plan is to use the branch that Darren Cotterill created to make that happen and then control it using the HomeAssistant with Mosquitto.
@mic03311
@mic03311 3 жыл бұрын
Thanks for this great video! How did you figure out that you needed to change the resonator crystal and how did you pick the right one? Please keep up your great content, it is great stuff!
@MakerMeik
@MakerMeik 3 жыл бұрын
Thank you very much. 😊 Here is documented how the reverse engineering was done: pushstack.wordpress.com/2014/04/14/reversing-somfy-rts/ However, it wasn't me who did that, I just enjoyed the already finished project from Nickduino and modified it to suit my needs. I think as a general approach this should also work via Software Defined Radio (SDR). There is a good video by Andreas Spiess on this topic as well: kzbin.info/www/bejne/roK5nmCPibCFb9U Andreas also has a video on 433 MHz remotes: kzbin.info/www/bejne/gmHJhHiYfKqMY7M Unfortunately he did not cover the Somfy remote controls. So I ended up with the project and ultimately the video for my own purpose.
@mic03311
@mic03311 3 жыл бұрын
@@MakerMeik thanks a lot for the details.
@schuballaa
@schuballaa Жыл бұрын
Hallo meik, klasse Videos, habe deinen Door sensor v5 pcb produzieren lassen allerdings mit espnow -> mqtt statt wifi -> mqtt, echt klasse. Nun meine frage: Mein Vater hat einen Sompfy Rolladen Motor und eine nicht sehr stabile Fliegentür welcher er im Sommer zur Terrasse benutzt. Wenn jetzt versehentlich (oder abends automatisch) der Rollo runterfahren würde und die Fliegentür noch auf wäre, würde diese zerstört werden. Als Workaround habe ich einen Offner installiert, der die Stromverbindung zum Motor unterbricht wenn das Fliegengitter offen ist, klappt soweit, allerdings gibt es wenn die tür zufällt (motor also wieder Strom hat) die im Video gezeigten hoch runter Bewegungen, das ist nicht ganz so schlimm, manchmal aber auch bis in Brusthöhe welches einen faktisch aussperrt. Ich vermutete den Programmiermodus und baute eine Verzögerung ein, so dass dieser nicht mehr erreicht wird (2 sek an 7 aus ...) das brachte auch nix. Meine neue Idee: Einen Sompfy Receiver zu benutzen (RX-4M30RR01SF) und einen Strom Sensor. Wenn der Rollo autorisiert Strom zieht (Empfänger hat ein Signal empfangen) wird nix unternommen. Wenn er aber ohne per Funk autorisiert Strom zieht (also das seltsame verhalten zeigt) wird der Strom zum Motor unterbrochen. Jetzt ist nur die frage, ob die zentrale nicht für das hoch runter verhalten verantwortlich ist. aber anhand was genau empfangen wurde "hoch" "runter" "init" sollte sich das unterscheiden lassen. Weist du ob die Funkpakete verschlüsselt sind bzw. entschlüsselt werden können damit ich auch weiß dass das richtige Gerät angesprochen wurde? Ist dir mal ein ähnliches verhalten aufgefallen? Hättest du noch andere Ideen? Wie würdest du versuchen das Problem zu lösen? Notfall müsste ein anderer Motor her, Papa wollte aber bei Sompfy bleiben. Ich hatte schon überlegt den Empfänger des Motors stillzulegen wenn die Tür auf ist, will mein Vater aber verständlicherweise nicht und ich glaube auch nicht, das dass was ändern würde. P.s: Als ich zum basteln eine Fernbedienung gesucht habe, habe ich gesehen, dass die Taster die mein Vater benutzt 868 mhz (Somfy Smoove) demnach auch ein evtl verschlüsseltes protokoll, mein homatic jedenfalls ist versch..., hoffentlich komme ich trotzdem weiter der 433 mhz receiver zu bestellen, war schonmal zu voreilig :( Vielleicht hast du ja noch ideen. bist du auch auf der makerfaire? dann kannst du uns besuchen (Hackerspace bremen e.v)
@pascalbeyer2485
@pascalbeyer2485 Жыл бұрын
Wahsinnig gut! Ich habe es auf meinem ESP8266 am laufen. Jetzt habe ich nur eine Herausforderung die ich nicht hinbekomme. Ich möchte es in Homeassistant nutzen, wie bekomme ich sowas hin? Weiß nicht ob du mir dabei helfen kannst.
@IdioticUsername
@IdioticUsername Жыл бұрын
Thank you so much for this! We always misplace the remote and have to run around and search for it. Now I have the awning integrated in Home Assistant and it works beautifully! BUT I also have the sun and wind sensor, and there is a button on my remote that toggles it on and off by long pressing that button. Do you by chance know what command I should use to trigger the toggle? I tried sending 0x9 but nothing happened. Thank you so much!
@maartenkoks
@maartenkoks 2 жыл бұрын
Nothing happens after uploading the sketch? What can be the problem? I am pretty sure I did everything wright. Compiling and uploading is all fine, but nothing apears in the serial monitor?
@MakerMeik
@MakerMeik 2 жыл бұрын
Have you tried another D1 mini? The serial.prints should appear in the Serial Monitor regardless of whether the radio data is being sent. So I guess that there is a problem with the D1 mini.
@sledgeHammerRulez
@sledgeHammerRulez 3 жыл бұрын
Hi ... great minds think alike! I was planning the same conversion of the nickduino code but also with a position parameter (in %, based on the time it takes to go out and in) and 3 buttons on the case (in stead of the remote). Maybe I will implement the position in the home-assistant (custom) control (like I did for my shutters). Have you any idea if there is already a Python-Raspberry Pi version of this control? That would suit me even better (since there is a pi with home-assistant laying next to the awning ...
@MakerMeik
@MakerMeik 3 жыл бұрын
Hi, Sure, there is even a Python version of Nickduino itself, which is intended for the Raspberry Pi. Best you have a look at it yourself: github.com/Nickduino/Pi-Somfy
@dennis-q4618
@dennis-q4618 3 жыл бұрын
Yes this already exists: github.com/Nickduino/Pi-Somfy
@amonmakesoriginalnoises
@amonmakesoriginalnoises 2 жыл бұрын
Would the Raspberry Pi + 433 transmitter suffice for making the somfy blinds work with a Broadlink RM4?
@tis4real
@tis4real Жыл бұрын
Hello, thanks a lot for your share! I managed to make it work but shortly after the crystal stopped working and after several attempts (soldering of several crystals) I managed to make it work again and the crystal stopped working again. Currently unable to operate the device. Could it be a soldering temperature problem? What is the best temperature? I'm a bit lost (I'm more than 10 tries).
@MakerMeik
@MakerMeik Жыл бұрын
I usually solder at 350°C. The soldering iron should remain for about three seconds per solder joint, then you should not have any problems. I wonder if maybe your transmitter has problems with the 5V voltage or a short circuit somewhere? Instead of changing the crystals you could try it again with another transmitter. What makes you so sure that it is the crystal? An if you have connected everything only with jumper cables, it can often come to loose contacts. Since the problem you describe did not occur with me, I can only guess.
@MrBestwon96
@MrBestwon96 Жыл бұрын
Can i use this guide for the Somfy Situo 5 io Pure remote? it work at 868Mhz, i need just to replace a crystal?
@jean-louisradici-vh1xt
@jean-louisradici-vh1xt Жыл бұрын
Super tuto. Comment faire quand on a plusieurs rideaux. how to do when you have several curtains. ?
@MakerMeik
@MakerMeik Жыл бұрын
As you may have seen in my pinned comment below in the comments, user Darren Cotterill forked my Github project to add the ability to replace multiple remotes: github.com/DCotterill/Somfy_Remote/ I hope this helps :-)
@dronefilmsgermany
@dronefilmsgermany 11 ай бұрын
Just checked i have a somfy IO Remote in this case can I do the modification to control the window shutters via mobile app?
@repje2010
@repje2010 2 жыл бұрын
Hello MakerMeik, I have build all how you explained in your video, but my awning is not responded to the commands through the MQTT dashboard, I get this in my serial output from the Arduino: p p p prog Frame : A7 80 64 84 12 13 05 With checksum : A7 8F 64 84 12 13 05 Obfuscated : A7 28 4C C8 DA C9 CC Rolling Code : 1647404164 prog mode is that rolling Code good? Or is this output complete, not good? Can you advise me please? Further great video's !! I like your videos best regards, Mark
@MakerMeik
@MakerMeik 2 жыл бұрын
This is difficult to solve remotely. Did you follow all the steps in the video? First of all, you should make sure that your MQTT commands arrive correctly. For debugging, you can put some 'Serial.print("bla bla");' in the appropriate places in the code and check in the Serial Monitor if they are executed. Next you have to do the steps I described from minute 8:30 (kzbin.info/www/bejne/b4PLeaWPptVsfLc). So press the "Program" button on the original remote control and then execute the "Program" function of the ESP. Then your awning should already move. As I have stated, however, this only works with the RTS-remotes. Somfy now also sells the io series, which is not compatible with the described procedure.
@wolfgangzulowen5817
@wolfgangzulowen5817 3 жыл бұрын
Hi leider finde ich keine Crystale mit der entsprechenden Frequenz. Kannst du einen Link in die Beschreibung packen? Danke schonmal und super Video
@MakerMeik
@MakerMeik 3 жыл бұрын
Am besten suchst du mal auf ebay nach "433.42mhz quarz". Das liefert bei mir gleich zahlreiche passende Ergebnisse.
@ragman1976
@ragman1976 7 ай бұрын
Hallo, ich suche auch einen entsprechenden Quarz. Hast du mittlerweile einen gefunden?
@hoezyyy
@hoezyyy 2 жыл бұрын
is it possible with somfy 868.95? the tahoma hub is way to expensive.
@ANDREz69
@ANDREz69 Жыл бұрын
A bit hard to try. Seems interesting tho
@damustermann
@damustermann 3 жыл бұрын
Hi, funktioniert das auch mit den neueren Somfy io Motoren?
@NicksStuff
@NicksStuff 3 жыл бұрын
Nope, it doesn't
@MakerMeik
@MakerMeik 3 жыл бұрын
Nein, es klappt leider nur mit den im Video gezeigten RTS-Fernbedienungen von Somfy. Danke für die Frage und den Hinweis. Ich hatte leider übersehen, dass Somfy noch ein zweites System verkauft, sonst hätte ich im Video darauf hingewiesen.
@damustermann
@damustermann 3 жыл бұрын
@@MakerMeik Ich dachte mir das schon, bisherige Ansätze führten immer dazu eine originale io-Fernbedienung zu nehmen und die switches abzugreifen mit Relays. Ist dann recht kostspielig, erst recht wenn man unterschiedliche Motoren zu anderen Gegebenheiten schalten möchte. Trotzdem vielen Dank für das Video. Bin großer Fan von deinem Content.
@MakerMeik
@MakerMeik 3 жыл бұрын
Danke für dein nettes Feedback 👍
@jmbcorreia72
@jmbcorreia72 Жыл бұрын
Thanks for the sharing. What can go wrong in this project? Did you face any issues? I am asking because I basically did the same to no success. The only difference is that I am using ESP8266 Node MCU.
@jmbcorreia72
@jmbcorreia72 Жыл бұрын
Update: I switched from an MCU to a Wemos D1 and everything works fine now. So, maybe some kind of incompatibility between MCU and the library? Or maybe my MCU is not in the best condition....
@user-ti2ru2tz2b
@user-ti2ru2tz2b Жыл бұрын
Hallo Meik, ich möchte gerne eine Zweite Markise ansteuern muss ich nur den #define Remote eine zweite Zeile eintragen mit einer anderen Nummer oder muss ich noch mehr machen, das ist mir nicht klar. Bin neu in der Arduino Welt, sorry für die dumme Frage
@MakerMeik
@MakerMeik Жыл бұрын
Beachte meinen angepinnten Kommentar. Einer meiner Zuschauer hat den Code erweitert, sodass du auch mehrere Empfänger ansprechen kannst. Ich habe den erweiterten Code nicht getestet, aber er scheint deinen Bedarf zu decken: github.com/DCotterill/Somfy_Remote/
@dennis-q4618
@dennis-q4618 3 жыл бұрын
So it seems all my replies to a alternative ESPHome project with the same goals gets deleted every time? Everything for the views of course!
@MakerMeik
@MakerMeik 3 жыл бұрын
hmmm ... I don't quite understand you. I do not delete any comment here unless it is obviously advertising or hateful. And neither has happened so far. But in between some of my own comments were "swallowed" and my KZbin account was even disabled for a few hours once, without any reason I could understand, other than being forced into 2-factor authentication. Best you resend your post about ESPhome.
@dennis-q4618
@dennis-q4618 3 жыл бұрын
@@MakerMeik Weird stuff. The comment was there and seen by a friend. Now it's gone. Happened twice spread over a period of more than a week. I do really appreciate your follow-up! I might repost later..
@DonParlor
@DonParlor 2 жыл бұрын
Hello MakerMeik, after pairing the MCU with the awning, can you still use the remote?
@MakerMeik
@MakerMeik 2 жыл бұрын
Yes, that is not a problem. You can even use several MCUs or remote controls in parallel.
@DonParlor
@DonParlor 2 жыл бұрын
@@MakerMeik Wow! I was not expecting you to answer this fast! Thanks! I have a dilemma between going with a ESP8266 MCU with your tutorial or building a RFLink gateway with a nodo-shop kit. I could use HomeAssistant natively and they seem to integrate drivers already. Have you considered this option that is fairly cheap or you looked for the cheapest option possible?
@MakerMeik
@MakerMeik 2 жыл бұрын
Unfortunately, I am not familiar with RFLink gateways and the Nodo Shop Kit. The ESP8266 variant was directly feasible for me because I had all the components apart from the quartz and they were extremely cheap. The solution works reliably, so I will probably not test any other options. If you go the other way, I would be happy if you share your experiences here with me and the other readers.
@hewletthewlett5551
@hewletthewlett5551 Жыл бұрын
do u need to be on wifi to make it Ork?
@chrischris2799
@chrischris2799 2 жыл бұрын
Moin, wie hast du die Codes gesnifft? Grüße
@MakerMeik
@MakerMeik 2 жыл бұрын
Wie im Video erklärt habe ich das nicht selbst geschafft, sondern bin über das Github-Projekt von Nickduino gestolpert. github.com/Nickduino/Somfy_Remote Hier sind die Hintergründe genauer erklärt: pushstack.wordpress.com/somfy-rts-protocol/ Offenbar ist er nur durch "passive Beobachtung" dahinter gekommen.
@grindel80
@grindel80 3 жыл бұрын
Tachchen. Sag mal du empfiehlat aliexpress. Ist dir bewusst was da in Deutschland bzgl. Zoll los ist seit 1.7?
@MakerMeik
@MakerMeik 3 жыл бұрын
Hi Frank, stimmt, die Zollbestimmungen haben sich geändert. Aber das heißt nicht, dass es nicht noch immer günstiger sein kann bei Aliexpress oder eBay Produkte mit Standort "China" zu bestellen. Hier ein recht guter Überblick über die neuen Randbedingungen: kzbin.info/www/bejne/gHSXkIeamrSBftU Für die internationalen Zuschauer ist das ja aber ohnehin irrelevant.
@grindel80
@grindel80 3 жыл бұрын
@@MakerMeik Oh, das ist ja toll! Vielen lieben Dank für deine Info und den Link! Und jetzt schon mal eine Erfolgreiche Woche, alles Gute Frank
@loulou5744
@loulou5744 2 жыл бұрын
Hello, I have an error when compiling your code Here it is: ESPAsyncTCP.h: No such file or directory 11 | #include "ESPAsyncTCP.h" | ^~~~~~~~~~~~~~~ Do you have any idea how to solve it?
@MakerMeik
@MakerMeik 2 жыл бұрын
Apparently, the error is due to AsyncElegantOTA. Check if you really have the latest version installed. github.com/ayushsharma82/AsyncElegantOTA Also the ESP8266 core in the board manager must be up to date. If you use PlatformIO with VScode, you should check if the error also occurs via Arduino IDE. I think I remember that there was a problem with PlatformIO once. Otherwise you can also just comment out the AsyncElegantOTA part in the code. It is only there so that you can install updates over the air. That should be dispensable.
@jovs1407
@jovs1407 2 жыл бұрын
Hi, i always get this message if i try to flash it. Do you know the solution? Arduino: 1.8.16 (Windows 10), Board:"LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600" In file included from C:\Users\Jo\Documents\Arduino\sketch_oct06a\Somfy_Remote\Somfy_Remote.ino:28: C:\Users\Jo\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 Fout bij het compileren voor board LOLIN(WEMOS) D1 R2 & mini Dit rapport zou meer informatie bevatten met "Uitgebreide uitvoer weergeven tijden compilatie" optie aan in Bestand -> Voorkeuren.
@MakerMeik
@MakerMeik 2 жыл бұрын
Apparently, the error is due to AsyncElegantOTA. Check if you really have the latest version installed. github.com/ayushsharma82/AsyncElegantOTA Also the ESP8266 core in the board manager must be up to date. If you use PlatformIO with VScode, you should check if the error also occurs via Arduino IDE. I think I remember that there was a problem with PlatformIO once. Otherwise you can also just comment out the AsyncElegantOTA part in the code. It is only there so that you can install updates over the air. That should be dispensable.
@chrisearlyup
@chrisearlyup 3 жыл бұрын
Nicely explained. But I have a promlem: when trying to upload i get In file included from C:\Users\Christian\Desktop\Somfy_Remote\Somfy_Remote.ino:28: C:\Users\Christian\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 Any advice would be appreciated. edit: faild to mention i have tried deleting and reloading the mentioned libraries.
@MakerMeik
@MakerMeik 3 жыл бұрын
Hmm ... did you check if the file "AsyncElegantOTA.h" exists in the mentioned directory? If not, providing the files in that directory is certainly the fastest way. If you don't know where it ended up by installing the library, you can download it again here in case of need: www.arduino.cc/reference//en/libraries/asyncelegantota/ If you want to get to the bottom of it, you can also read here how the library manager of the Arduino IDE actually works. www.arduino.cc/en/guide/libraries But in the future I would recommend to switch from the Arduino IDE to VS Code with PlatformIO. This offers many advantages and is easier in the long run. However, from my point of view, getting started is a bit more difficult, which is why I limit myself to the Arduino IDE in my videos.
@chrisearlyup
@chrisearlyup 3 жыл бұрын
@@MakerMeik Thanks a lot for the advice. I managed to get the code working using VSCode and pulling the libraries as needed. no idea why it didn't work using the Arduino IDE.. Now i just have to wait for my crystal to arrive. Lets see how customs work out. Just another quick question: i have the same setup as you do wit the wemos d1 mini and the same pinout printed on the transmitting board. Is there any reason you connected vcc to the d1 pin and not to the 5v pin. Logic dictates to me vcc → 5v; GND → G and Middle Pin → D1. (Transmitter Board → Wemos D1 mini). Am I missing something here? Keep up the good work. Maybe you’ll become the next “youtuber with the german accent” ;-)
@MakerMeik
@MakerMeik 3 жыл бұрын
Hi Christian, unfortunately the transmitter boards are printed a bit unfortunate. If you have a closer look, you will notice that the left pin is marked as ATAD, the middle pin as VCC and the right pin as GND. Unfortunately, at first glance you might think that VCC is on the left pin. But what is meant is the middle pin. I hope that was not too confusing. ;-)
@chrisearlyup
@chrisearlyup 3 жыл бұрын
@@MakerMeik ah I see. Thanks a lot for the support. Still waiting for the my crystal though 😊
@chrisearlyup
@chrisearlyup 3 жыл бұрын
After getting the crystal it worked flawless. Thanks for the great project.
ESP8266 as Window Sensor with years of battery life
17:57
MakerMeik
Рет қаралды 178 М.
Wasserzähler mit ESP-Cam auslesen / AI-on-the-edge
22:50
haus:automation
Рет қаралды 210 М.
7 Days Stranded In A Cave
17:59
MrBeast
Рет қаралды 79 МЛН
ПОМОГЛА НАЗЫВАЕТСЯ😂
00:20
Chapitosiki
Рет қаралды 28 МЛН
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 67 МЛН
طردت النملة من المنزل😡 ماذا فعل؟🥲
00:25
Cool Tool SHORTS Arabic
Рет қаралды 10 МЛН
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
Ich habe unsere Markise smart gemacht*
17:05
Spiel und Zeug
Рет қаралды 124 М.
Control IR Devices with Home Assistant EASILY - Broadlink RM Pro
11:45
Everything Smart Home
Рет қаралды 162 М.
The Greenwich Meridian is in the wrong place
25:07
Stand-up Maths
Рет қаралды 794 М.
Forget WiFi! This Wireless Method is WAY Better?
12:14
GreatScott!
Рет қаралды 552 М.
Your home's air could be making you sick. Fight back!
13:24
Jeff Geerling
Рет қаралды 329 М.
The Clever Way to Count Tanks - Numberphile
16:45
Numberphile
Рет қаралды 995 М.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 567 М.
I tried OVERPOWERING my Vacuum! (Homemade Turbine)
11:42
GreatScott!
Рет қаралды 1,8 МЛН
САМЫЙ КРЕПКИЙ ТЕЛЕФОН #shorts
0:27
Паша Осадчий
Рет қаралды 2 МЛН
Low Battery 🪫
0:10
dednahype
Рет қаралды 904 М.
Новый фонарик в iPhone с iOS 18
0:49
Wylsacom
Рет қаралды 372 М.