#127

Поделиться
HTML-код
  • Опубликовано: 28 авг 2024
  • In this and the next videos, I build a Home Automation system with Sonoff Switches, Wemos Mini PIR sensors, MQTT, Pi Zero, and Alexa. Without one line of coding.
    Links:
    Espurna original: bitbucket.org/...
    Espurna IOTappStory: github.com/Sen...
    IOTappStory Wiki: iotappstory.com...
    From Alex Sfyrakis1
    For those who have problems seeing the root html just run the following commands:
    sudo wget www.scargill.ne... -O /var/www/html/index.html
    sudo wget www.scargill.ne... -O /var/www/html/reset.css
    If you want to support the channel and buy from Banggood use this link to start your shopping: bit.ly/2jAQEf4 (no additional charges for you)
    / andreas-spiess-7331894...
    / spiessa

Комментарии • 178

  • @gsagum
    @gsagum 7 лет назад +1

    Andreas... im having a marathon of your videos right now.. Very good videos ! I should have seen these videos a long time ago..
    Please keep it up!.

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      Thanks for your nice words! I saw the view counter jumping up when you were viewing ;-)

  • @hexinli
    @hexinli 6 лет назад

    While watching this video, my Echo went nuts every time you said "Alexa" :) Thanks for a nice, comprehensive video (as always).

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      Can you imagine what happened when I recorded and cut the episode :-) I had to switch it off...

  • @aliaghil1
    @aliaghil1 6 лет назад +1

    Great job,thank you for sharing it. I prefer to use everything in my home network, not outside that. More security and more reliability...

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      That is what a lot of people prefer I think.

  • @PatrizioBekerle
    @PatrizioBekerle 7 лет назад

    Thank a lot for this wonderful series! It opened my eyes to a lot new topics! Your DietPi image even worked on my RPi B+, thanks a lot for that too! And what you can do with Node Red really blew my mind! Cheers from Austria!

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      Thanks. Just drove two times through Austria last week...

    • @0xpbek
      @0xpbek 7 лет назад

      That's awesome! :)
      Meanwhile I also got the things together to flash a Sonoff switch (www.amazon.de/gp/product/B0711HTYZ2)! It took me a day to figure out that I have to use DOUT mode to flash it, instead of DIO. Flashing always worked, but no program did actually run and I didn't get any serial output...
      But I still have troubles getting a serial output with your images from github.com/SensorsIot/IOTappStory.com/tree/master/IotAppStoryLoader. I got the loader working on the device but it just doesn't output anything on the serial board. When I upload something in an Arduino-sketch that does a `serial.print` it actually produces an output...
      I got your "blinking led" examples working from your iotappstory.com (that really is a great project, thanks a lot for it!), but the Espurna app just didn't do anything on my Sonoff, again no serial output to debug anything...
      Did you ever have the problem that you didn't get serial output? Or was serial debugging turned off in your images?

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      We are in a major overhaul of IOTappstory.com. I will create a video in the next weeks. If you want to try the new version, you find the library already in the Arduino IDE (just search for iotappstory).

    • @PatrizioBekerle
      @PatrizioBekerle 7 лет назад

      Oh, I will do that, thank you!

    • @0xpbek
      @0xpbek 7 лет назад

      I love that you added the library into the Arduino-repository! I tried it yesterday and finally after quite some fiddling got github.com/iotappstory/ESP8266-Library/blob/master/examples/IOTAppStoryLoader/IOTAppStoryLoader.ino working on my Sonoff. I now have serial output, but that version is lacking the "/close" http-endpoint to get the device in "production-mode". Do you have the source code for the loader from github.com/iotappstory/ESP8266-Loader? I never was able to make the binaries fully work for my Sonoff...

  • @pioupioupioupioupify
    @pioupioupioupioupify 7 лет назад +1

    And this is how skynet began....
    Great stuff btw. Learned a lot.
    PS: For people that don't have alexa there are guides on how to duplicate the functionality with a raspberry pi. Or if you are proficient with python you can do DIY speech recognition with the SpeechRecognition package.

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      :-)
      Concerning voice recognition: I saw the Raspby thing, but when the presenter added everything necessary, the difference to a Echo Dot was small and the performance not as good. So, I think, the 60 $ deal is ok for the small Dot.
      But to experiment is a different thing, of course...

    • @squalazzo
      @squalazzo 7 лет назад +1

      and the original amazon product, with its array of microphones, is incredibly reliable even in noisy rooms, while the raspberry one, can't ear you talking if there's music playing...
      a raspberry + a mic array cost more than an Echo Dot...

    • @pioupioupioupioupify
      @pioupioupioupioupify 7 лет назад

      Hmm, yes, that's probably the case, the authentic raspberries are disappointingly slow. I have an orange pie on order that I want to try, maybe it will perform better. So far I was using my desktop to prototype voice recognition and it works well, especially with the google APIs.

    • @ufohunter3688
      @ufohunter3688 7 лет назад

      I use the voice recognition on my Acer Android tablet all the time. It has no problem of taking dictation and notes even when I speak fast. Some words are misunderstood, but I go through the text once to format it. I correct those few mistakes.
      The trick is not to look at the screen and just speak normally. Then when you go back to edit, you can pick out the mistakes easily. I found it to be about 90% accurate hands free.

    • @ufohunter3688
      @ufohunter3688 7 лет назад

      If I had to learn only one programming language today, it would be python.
      However, I started out with K&R C back in '84 (On a PC running Dos and a "C" compiler from Life Boat Associates).
      Every modern language, seems to be a water-down version of C. So why switch?
      Ease of use. One python statement may take many lines of C code. But with C, you can do logical operations at the speed of machine language. There lays the difference and the power of C. That's why ALL compilers are written in C.

  • @peterkaczmarczyk4891
    @peterkaczmarczyk4891 7 лет назад

    Hi Mister Swiss Accent
    First of all, i would like to thank you for your excellent video tutorials. i know how much time you are spending on this stuff. Big Thumbs up.
    Encouraged by this video i started to build my own automation system. But to be honest this stuff nearly screwed me up. Being a newbie it showed to be tough work to get my system running. I spend nearly 3 weeks to set up the raspberry, the development tools and to build my own firmware.
    I got stuck nearly every problem that could occur during the build process. Fiddling with linux was one of the issues.
    Due to some basic programming experience i thought that it would be easy to build my firmware.Wrong assumption.
    The build process was a trial and error approach due to the spare information for the firmware build. Most annoying was the fact that there is a plethora of information in the internet. But as a newbie i could not figure out if this information was useful for managing my problems. Most items i found were outdated, wrong context or even worse just false.
    Finally i found 2 major information that helped me out.
    I would like to ask you if it is possible from your side to provide us with a video showing a brief overview of setting up the environment, the build process and TOOLS (i.e. Platformio vs. Arduinoi) and hints to avoid the pitfalls for the build process.
    One of my major time consuming issue was to figure out how to configure the right Arduino Development Environment. Newbies will find really nothing starting for the first time.
    Thanks again
    Regards

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      This is, what I call learning! We all went through it and it is not easy to get a shortcut. Because of the fact, that, as you described, if you do not know, you cannot distinguish between good and bad.
      Concerning Arduino: This could have been a simple one. I have no idea why you even bothered with platformio. Even I do not do this...
      My channel is not targeted to the beginners. So, the chance is small that I will do a general introduction. I try to do introductions to particular topics.
      But with your experience, you fit now perfectly to this channel ;-)

    • @peterkaczmarczyk4891
      @peterkaczmarczyk4891 7 лет назад

      Thanks for your reply. You are right basic stuff is covered all over the internet. My motivation to ask you for build tutorial was the fact that i got stucked with Tasmota due to a stupid misunderstandig: to get this firmware running. I just had to hardcode my access point into the firmware code. With espurna i had trouble with the ap issue as well because of the IP address.
      Thanks and good luck

  • @waltsteinchen
    @waltsteinchen 7 лет назад +2

    Great video Andreas!
    Guess getting things done without arguing is the reason why so man *men* use Alexa ;-)
    I also started using the fauxmoESP library (and still have 9 devices running that way).
    But in the meantime I switched to implementing real Alexa skills, because you the have more options that way (the fauxmoESP is limited to say switch ON/OFF).
    This is done by a LAMBDA function (this is java script) implemented in Amazon, calling back to a WebService in my house.
    This way I was able to implement (translated to english) things like "Alexa query home status" .. and she is replying with some system parameters in my house ... or "Alexa query callers" which goes to my DSL router (a Fritzbox), reading out the latest callers while I'm absent and telling them to me.
    Since I'm diabetic I implemented a few functions where I can tell Alexa to store the amount of insuling I injected per voice and querying later .. so she tells me ... 5 entries injected 1 hour and 10 minutes ago.
    Very handy!

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      Sounds very interesting. Is this a paid service? It is definitively something I want to try. Is there a good tutorial?
      And maybe I need some additional help...

  • @RobEinstein
    @RobEinstein 7 лет назад

    I think you know, you could have run 'alexa' in the raspberry pi (just attaching a microphone).
    Really well done btw!!!! Congratulation and thank you for sharing your projects with us!

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад +1

      Concerning Alexa: See my last comment.
      And thank you for your nice words!

    • @RobEinstein
      @RobEinstein 7 лет назад

      I watched the video and wrote the comment (didn't reload the page...) just seen you commented about it. You're right.
      You're welcome. Keep up the great work! Love your videos.

  • @MMphego
    @MMphego 7 лет назад +4

    Andreas, where do you get the time to make all this?
    Great work, I love your channel

  • @garrypkeogh
    @garrypkeogh 7 лет назад

    Well done Andreas, more inspiration. I am still waiting for LoRa hardware and in an idle moment last week ordered a USB microphone to add AI to a not very busy Raspberry Pi3. Parallel projects (well sort of) in Ireland and Switzerland. Thanks again!

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      I read, that the Microphone on the Raspby does not work well. So, it seems more experimental. I will try the way to enhance Alexa by programming it on AWS. One of my subscribers already did it. So, we can compare at the end...

  • @damny0utoobe
    @damny0utoobe 7 лет назад +1

    espurna... what a great find

  • @Emtron_Technologies
    @Emtron_Technologies 7 лет назад +1

    Excellent idea Andreas.

  • @dl8cy
    @dl8cy 7 лет назад

    Jetzt hab ich wieder Zeit Deine spannenden Videos zu schauen - der Stress ist vorbei, gestern war Prüfung und heute war die Zulassung im Briefkasten 73 DL8CY

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      +Mike Herbst Herzliche Gtatulation!

    • @dl8cy
      @dl8cy 7 лет назад

      Danke :-)

  • @lawaver
    @lawaver 5 лет назад +1

    Hi, I am just starting out with IoT and do enjoy your videos. In this video you say you have saved all the necessary libraries (ESP Sensor Espurna 1.6.9) on the IOTAppstory website. I cannot find these anywhere on the website. I have even registered but still with no luck. Can you point me in the right direction please. Kind regards...

    • @AndreasSpiess
      @AndreasSpiess  5 лет назад +1

      This is a very old video. Maybe you watch the newest about IOTappstory. A lot changed since then

  • @rusttaf
    @rusttaf 4 года назад

    Hi Andreas, this is just great channel, thank you for sharing your experiences with all of us.
    Have you ever considered controlling home heating system on your own?

    • @AndreasSpiess
      @AndreasSpiess  4 года назад

      Our heating systems are completely automatic. They switch on in autumn and off in spring. The temperature is controlled separately for every room. So I do not have to add a lot ;-)

  • @chuxxsss
    @chuxxsss 7 лет назад

    Andrea's I wish you had done this last year. When I was having problems with the sonoffs and Node-red. I must reprogram the boards for Alexa. I wrote my own code which is crap but works. Do you have to upgrade the tasmato software from the IOTstore cloud server? Also great episode I don't know where you fine the time mate. Wind turbine blades together may send a photo soon.

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад +1

      Tasmota so far does not work with IOTappstory.com. Maybe I will port it once. But it is similar to Espurna. And of course, I am interested in your "wind experiments"!

  • @AndersJackson
    @AndersJackson 7 лет назад

    You should not use spaces in host names. You can use A-Z, 0-9 - and _. Upper or lower case doesn't matter for the name, but usually by convention one usually uses lower case for host names.

  • @philmurphy3662
    @philmurphy3662 6 лет назад

    Hi Andreas,
    Will this work with google mini as I don’t have an Alex?
    Thank you for your help I love your vids and look forward to Sundays having a coffee and learning something new.
    Cheers
    Phil

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      I do not know as I do not own ad google mini. Maybe somebody knows more than me?

  • @squalazzo
    @squalazzo 7 лет назад +2

    hi Andreas!
    what about Alexa, how did you get it? As far as I know, it's sold only in USA, UK and maybe Germany... and, did you have to do special mods to you amazon account to have it working in Switzerland? Do Amazon make regional restrictions on its use?
    thanks

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад +6

      +squalazzo Do not tell Mr. Trump: It is an illegal immigrant and I smuggled it from Germany to Switzerland...
      And yes, I can not enter the place I live. But because this is close to the border, the weather is similar. And she knows our radio stations.

    • @johnerrington9371
      @johnerrington9371 7 лет назад +2

      You can export via an export house like opas.com. Initially you could only set a US time zone, but recently all time zones can be set. This means time based functions (eg set an alarm for time t) now work on local time. No need to tell Mr Trump anything once you have one - Alexa is always listening and the NSA will already know :-)

    • @axelao9661
      @axelao9661 7 лет назад +1

      if you wanna buy one maybe you might look at this web page .
      www.bigapplebuddy.com/
      Is a shop in New York, that send products (only sold in the USA) to Europe.
      If you want to get a free quote, they will respond to you with a very detailed quote (trust me, I did it). The total price: 50$ service fee + shipping cost + U.S sales taxes + product cost(amazon dot, google home,amazon echo...).
      i couldn't buy one because...$$$$$$$

  • @jean-claudechevalley5663
    @jean-claudechevalley5663 5 лет назад

    Hello Andreas, I'm trying today, in 2019 (about 3 years after you published this video), to follow your explanations and build my own Sonoff Basic and PIR_sensor. Just to know, your ESPURNA bin file is not anymore on IOTAppStory. So, I need to recompile myself and also, if I get your "github.com/SensorsIot/Espurna...", it use a first version of IOTappStory .... After 3 years, it's totaly normal but just to say, it was not so easy (for me). Thanks a lot for your job!

    • @AndreasSpiess
      @AndreasSpiess  5 лет назад

      As you mentioned, I can not support all project repositories. If you want you can create a pull request...

  • @chixxxxi
    @chixxxxi 7 лет назад

    Thanks for the video Andreas, I learned a lot. What I don't understand: Is your override node always giving out what you put in, ie a string or a number? I am trying something with BigTimer, works fine, but puts out a string when in manual mode and a number when in auto mode. Gruess us Bärn

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      You can see what the node does if you read the code. If I remember right, it passes the input to the output if the override is off.

    • @chixxxxi
      @chixxxxi 7 лет назад

      Thanks, I have got that up and running in the meantime.

  • @cooljey86
    @cooljey86 6 лет назад

    Nice Andreas! I’m just starting to get into Node Red. I’m trying to create a two way switch with Tasmota T1 touch. Right now it works one way but not both ways. Meaning A switch controlling B switch but I can’t seem to get B controlling A

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      I do not know Tasmota. But I am sure you will succeed if you want!

    • @cooljey86
      @cooljey86 6 лет назад

      Andreas Spiess what I meant was, how to group the switches as one on Node red?

  • @tonybell1597
    @tonybell1597 6 лет назад

    Mind is well and truly Blown Andreas, however, first step: Account on IOTAppstory created....

  • @ufohunter3688
    @ufohunter3688 7 лет назад

    I am pretty sure I saw a project that used a Pi to do the Alexa thing as well. You might be able to use that and make a complete solution in one go.

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      +UFOhunter There is a discussion about that below in the comments...

    • @ufohunter3688
      @ufohunter3688 7 лет назад

      I got to learn to scroll through the comments first. Sorry

  • @Inspironator
    @Inspironator 7 лет назад

    Hahaha, I liked your joke, "that one is worth the price of Alexa"

  • @Nisse1002
    @Nisse1002 7 лет назад

    Please help! In the Movie at 8.20. You should reboot the Sonoff to start the upload of the espurna firmware to the device. It only goes back to the config screen. I don't see any activity on the serial monitor as decribed in the movie. Is config of my device wrong in IOT maybe?

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      Remote diagnostics is hard. Did you follow all steps? What do you see in the Serial?

  • @MauroSedrani
    @MauroSedrani 7 лет назад

    Great stuff, as usual!

  • @Ed19601
    @Ed19601 7 лет назад +11

    Video #128, How to make Alexa speak with a Swiss accent

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад +3

      Tough problem, I think. Maybe, Amazon will do it if they sell it here...

  • @AlexandreLeone
    @AlexandreLeone 7 лет назад

    Fantastic!

  • @JohnJCouture
    @JohnJCouture 6 лет назад

    Dr. Spiees, thank you for the excellent channel. I echo the comments below ... where do you find the time to do this and still have a regular job.
    Anyway I have been through this video and #93 and #34 and .... When I load IASLoader and compile it using an ESP8266-201 I get
    Arduino: 1.8.5 (Windows 8.1), Board: "Generic ESP8266 Module, 80 MHz, ck, 26 MHz, 40MHz, DIO, 1M (512K SPIFFS), v2 Prebuilt (MSS=536), Disabled, None, 115200"
    Build options changed, rebuilding all
    Y:\arduino\code\libraries\IOTAppStory-ESP8266\src\IOTAppStory.cpp: In member function 'int IOTAppStory::dPinConv(String)':
    Y:\arduino\code\libraries\IOTAppStory-ESP8266\src\IOTAppStory.cpp:526:56: error: 'D0' was not declared in this scope
    if (orgVal == "D0" || orgVal == "16") return D0;
    ^
    Is it because I am using the ESP8266-201? I don't have a Wemos.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      It is very important you use the newest library downloaded from GitHub and the 2.4 release for ESP32. If you still have problems the best way is to open an issue on Github.

  • @Tab13111
    @Tab13111 3 года назад

    Maybe it was a mistake to watch this video next to an echo at 11pm 🤣

    • @AndreasSpiess
      @AndreasSpiess  3 года назад +1

      :-)) Now I know I should "hide" the command...

  • @ufohunter3688
    @ufohunter3688 7 лет назад +12

    I can't keep up with technology. Its moving faster than I can learn! Anyone else have this problem?
    By the time I finish something. I have to had learned 10 things to do that one thing. By the time I am done, something new comes along and bam... all over again!
    It has been my experience, that if you want your orders followed, get married... I am sure your wife will follow your orders to the letter! (Devil's advise)

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад +7

      +UFOhunter 1. Priority is fun. So I learn what seems interesting for me.
      And I am married. So, for sure, you live in another country. Here, the women do not need an Alex ;-) Only men an Alexa.

    • @rowifi
      @rowifi 7 лет назад

      UFOhunter Yeah, you are so right! I do hardware software mechanical etc, and all these new frameworks keep coming 10 to the dozen. It's hard to know which technology is the latest and best way to go.

    • @MotSter
      @MotSter 7 лет назад

      Yup. It Never Stops

    • @TheKetsa
      @TheKetsa 7 лет назад +2

      Dont worry, it'll get even worse as technology progresses faster and faster and your aging brain slows down. . .

    • @fullyboricua2554
      @fullyboricua2554 7 лет назад +1

      @UFOHunter that will only be true if you fall for every "technology hype" that pops out every other day.
      The basic are (and will be) still the same. The tech used in this project is WAAAAYYY overkill.
      And if you think this is moving fast, I invite you to take a look at web development technologies/frameworks in the last 5 years!

  • @magnusnelenius649
    @magnusnelenius649 7 лет назад

    Hi Andreas, I have made the PIR-sensor with the same components as in your video, including the tantalum capacitor across the ESP8266 on the WeMos board. It works but I get lots of false triggers and I don't have a cat to blame :-( Have you seen this also?

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      I have several of them working in my lab without problems. Maybe a small capacitor across the output pin of the sensor or a little more distance between the sensor and the ESP helps.

    • @magnusnelenius649
      @magnusnelenius649 7 лет назад

      OK, I will try that and/or an adjustable PIR-sensor.

  • @Jhinsydney
    @Jhinsydney 7 лет назад

    Awesome!!!!!

  • @vinceherried497
    @vinceherried497 7 лет назад

    I see you put a cap across your Wemos mini. What symptoms does this cure? I notice I have occasions where I have to request upload several times. Does the cap fix that?

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      If you mean the (yellow) Kapton tape: This is to prevent a short between the Wemos and the PIR sensor. The box is quite small.

    • @TheKetsa
      @TheKetsa 7 лет назад

      I believe he's talking about the tantalum capacitor.

    • @vinceherried497
      @vinceherried497 7 лет назад +1

      the tantalum capacitor

  • @MMphego
    @MMphego 7 лет назад

    Andreas, Do you have any tutorial on how to flash ESPurna firmware on a Sonoff switch?

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      No. Just as I showed in this video.

    • @MMphego
      @MMphego 7 лет назад

      Thanks, I followed the wiki page: bitbucket.org/xoseperez/espurna/wiki/ArduinoIDE.md
      How did you get Amazon to ship you the Amazon Echo dot, I have been trying to order from the UK to South Africa, but they don't ship outside UK?

  • @metaspan
    @metaspan 5 лет назад

    Perhaps you should consider running a Mycroft instead of Alexa or Google home. They claim to be more privacy conscious.

  • @magnusnelenius649
    @magnusnelenius649 7 лет назад

    Hi again, I am planning to use the Sonoff T1 switch and I discovered that I have to use a newer version of Espurna than the current 1.6.9. New newest version (as 2017-08-25) seems to be 1.9.0. Was it much work to make it IoTAppStory-compatable and could you give me a hint how to do that upgrade?

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      +Magnus Nelénius Maybe you wait for the next video about Iotappstory We even have now a library in the Arduino IDE (just search for iotappstory)

    • @magnusnelenius649
      @magnusnelenius649 7 лет назад

      Excellent! Looking forward to that!

  • @thomaskaktus1644
    @thomaskaktus1644 7 лет назад

    Hi Andreas, how to initiate the Sonoff to download a selected Programm of IotAppstory.com. On my build PIR Sensor is a button on D3. Reset Button on Sonoff does not work. Thanks Thomas

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      I suggest you wait for the new video about IOTappstory.com

    • @thomaskaktus1644
      @thomaskaktus1644 7 лет назад

      I definitely will see it, but I can't wait. I'll try to rebuild your voice and motion controlled bench lite and ran from one issue to another. For my tests with my Flash issue I compiled a Tasmota it I give it a try now. Maybe i try your version with another Sonoff

  • @azizbayouni5691
    @azizbayouni5691 6 лет назад

    Is it possible to restore EWeLink firmware to Sonoff after flashing tasmota ?

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      I do not know if you get the .bin file of EWLink

  • @Andrew-rc3vh
    @Andrew-rc3vh 2 года назад

    I thought this was the original meaning of the word hacker: a guy who buys a bit of corporate hardware made by Americans who employ a kind of techno-protectionism and manages to modify it so the hardware does what they want as opposed to what the corporation wants it to do. Recall Tim Berners-Lee hacking that word processor by using a spare 32bit space in the encoding to use for an IP address.

    • @AndreasSpiess
      @AndreasSpiess  2 года назад

      I agree and still use the word in this context.

  • @Brainstorm4300
    @Brainstorm4300 7 лет назад

    *Someone give me a link to download the bug books!*

  • @vinceherried497
    @vinceherried497 7 лет назад

    at 10:21 I see a tantilum capacitor on the wemos mini

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      +Vince Herried Aha. Capacitor! I made a video where I showed the influence of such a capacitor on the current spikes. If you run at 3.3 volt this might make a difference

    • @vinceherried497
      @vinceherried497 7 лет назад

      I saw that video. But thought the wemos devices had sufficient capacitors. I'm working on a project with a ESP12s board and definitely need caps for it. Now I will try capacitor add on, on my wemos minis

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      +Vince Herried Maybe it is an overkill. I never checked. The Wemos have a quit good voltage regulator.

  • @kisssys5414
    @kisssys5414 6 лет назад

    I was able to use Esptool and flash two Sonof Switches. They accept my credentials and come up with a new IP address. I have never been able to get the screen that allows me to enter the Iotappstory ID. I flashed with the latest loader bin. Anyone have any suggestions.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      Maybe you send an email at info@IOTappstory.com. Maybe Onno can help you.

    • @kisssys5414
      @kisssys5414 6 лет назад

      I was finally able to get this to work as it shown by compiling the IASloader and uploading from Arduino. Exactly want I wanted to stay away from because of it's inability to be backward compatible with other projects I have. I have to have several versions from 1.0.1 to 1.8.3 of Arduino to work all my projects. Using your compiled file and esptool appeared to work normally except for the fact it never gave me the 4 row menu with IOTappstory. After a lot of time I can get on with this project.

  • @raulmad6600
    @raulmad6600 6 лет назад

    Hi Andreas i cannot find the Sonoff Standard Espurna firmware iotappstory.com

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      Espurna and IOTappstory are not compatible so far.

  • @thinkwareltd
    @thinkwareltd 7 лет назад

    Hi Andreas,
    Tried creating an account on iotappstory (thinkware) but won't let me login. Followed reset password etc, but still no luck.

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      +Christopher Taylor I will flag it to Onno, who is the owner of the backend

    • @onnodirkzwager3537
      @onnodirkzwager3537 7 лет назад

      Hi Chris we have sent you an email with solutions. Please let us know how it went.

  • @soeren72
    @soeren72 7 лет назад

    Is there a forum connected to iotappstory ? My ESP8266 contacts iot but i get: 500 ESP MAC not configured for updates

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      There is no forum. Did you look at the log files in iotappstory.com? There, you should get more info for debugging.

    • @soeren72
      @soeren72 7 лет назад

      Ok, It was in the log that I saw it did contact on the initial firmware, but as I understand it, I got the "500 ESP MAC not configured for updates" When the project was to be loaded onto the ESP, do I need a portforward in my router/NAT

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      Was your username also soeren72?

    • @soeren72
      @soeren72 7 лет назад

      No, it's sorlok

    • @onnodirkzwager3537
      @onnodirkzwager3537 7 лет назад

      Hi Sorlok welcome at IAS
      Looking at the logs it seems like you added your device and project after your initial testing.
      If so, a simple retry of the update procedure (short btn press) should result in a succesfull download of the demo blink app.
      If you keep having problems please contact me at iotappstory@gmail.com and we will get this figured out.

  • @geoffstate
    @geoffstate 7 лет назад

    At 7:10min you select the app we need but you did not say how we get this app into our own selection list. I have tried from iotappstory.com/firmware-item/67/sonoff-standard-espurna# but clicking the "Add to My Apps" link does nothing.

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      +Geoff Jenkins Did you watch the videos concerning iotappstory? There, I go more into the details.

    • @geoffstate
      @geoffstate 7 лет назад

      Andreas Spiess Yes but I had forgotten. For older folks you need to add an audio referral like you often do in your videos. I did get there eventually, thanks.

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      +Geoff Jenkins As you write: old guys sometimes forget things ;-) sorry for that!

  • @peterl1699
    @peterl1699 7 лет назад

    you got a new sub🙉

  • @Benjamin-gw7gd
    @Benjamin-gw7gd 7 лет назад

    Hallo Andreas,
    Ich han d idee gha, en server zum downloade vo chliine dateie zmache zB es beld aber well ichs ned über miis nodemcu zum laufe bring han ich dänkt du de König vom esp8266 chönntisch doch es schpanneds video dezue mache wie me SPIFFS zäme met emne Http server im heimnetzwerk mache cha. En spezielle NAS so zäge.
    Und no en frog, ben ech de einzigscht schwiizer do?

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      +Seníor Jesus Ich bin leider überhaupt nicht gut in Html und kann das nicht. Ich glaube auch, dass das sehr sehr langsam wäre. Da würde ich eher zu einem PI zero oder Orange Pi tendieren. Die sind besser in so was. Und auch nicht viel teurer.
      Es hat viele Schweizer Zuschauer. Die meisten melden sich vermutlich nicht und von denen, die sich melden, schreiben fast alle in Englisch, vermutlich, damit es die andern auch verstehen.

    • @Benjamin-gw7gd
      @Benjamin-gw7gd 7 лет назад

      With client.setNoDelay(1) speeds up to 187kps are possible so it wouldnt be so slow. Thanks for the fast response :). Keep up the good work

  • @thomaskaktus1644
    @thomaskaktus1644 7 лет назад

    Hi all, i tried to flash 2 sonoff basic with the IOPAppstory loader and now both are Dead. Im still able the reflash them with everything i want, but nothing happens. Even a simple Blink example does not work. Has anyone done a backup of the original Firmware and can can provide it to me? I searched tons of hours with no luck, and so i ask hereThanks a lotThomas

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      I think, the Sonoff firmware is proprietary.

    • @thomaskaktus1644
      @thomaskaktus1644 7 лет назад

      yes it is, but with ESP Tool it should be possible to create a backup as bin file anyway.

    • @thomaskaktus1644
      @thomaskaktus1644 7 лет назад

      somehow like this: python ./esptool.py --port /dev/ttyUSB4 --baud 115200 read_flash 0x00000 0x400000 backup.img

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      This is the result of your command: 1drv.ms/u/s!AifVcl0bSyX8hZtEN65iOOdeIZJ8bw

    • @thomaskaktus1644
      @thomaskaktus1644 7 лет назад

      Hi Andreas , this is quite nice of you, trying to help me. What i wrote before is a snippet i found on another page. Obviously the image is to big for a Sonoff. So Adress Room has to be adjusted. I guess it should be python ./esptool.py --port /dev/ttyUSB4 --baud 115200 read_flash 0x00000 0x100000 backup.img
      Can you retry this for me too? Thanks a lot
      Thomas

  • @magnusnelenius649
    @magnusnelenius649 7 лет назад

    Hi Andreas,
    I finally got time and tried to install this on a Sonoff but run into a problem after a new firmware was downloaded from IoTAppstury.com.
    A lost my connection to my local WiFi and the user/password for mobile-access don't work.
    My workflow and console aoutput is below.
    Do you have a clue what's wrong?
    BR
    Magnus
    1) Flash Sonoff_Loader (1M-128k).bin with ESP8266 Flash Downloader
    2) Green LED on Sonoff is blinking
    3) Disconnect power
    4) wait 20 sec
    5) Connect power
    6) Got the message:
    !!!!!!!!!!!!!!! Please press reset button. ONLY FIRST TIME AFTER SERIAL LOAD! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    7) Disconnect power
    8) Enter SSID, password and name AP-name: IP-phone
    9) Device downloads Receiving sonoff-standard-espurna-1.6.9-p67.bin and Receiving lab-light-espurna-1.6.9-2061.spiffs.bin
    10) AFter reset it can no loger access my WiFi and starts up it's own accesspoint instead
    11) The AP-name is also not changed to IP-phone
    12) Trying to connect via mobile phone but it won't accept any credentials (tried: admin, fibonacci, SONOFF_07E452)
    I have also tried to compile my own Sonoff Espruna with same result. One differense is that I dont't have a spiffs.bin in that case (don't know how to make one).
    When I press the button on the Sonoff the status for the relay changes but no WiFi-connection :-(
    Some output from serial monitor: (at first I have WiFi-access 192.168.0.105 but after sketch update no WiFi access)
    Connected to WiFi... :-)
    ------------------ Writing Config --------------------------------
    Stored Odi_Network
    Going to IOTappStory.com
    MAC: xx:xx:xx:xx:xx:xx
    IP = 192.168.0.105
    Updating Sketch from...
    Update_server iotappstory.com
    UPDATE_URL /ota/esp8266-v1.php
    FIRMWARE_VERSION IOTappStoryLoader V1.2
    SKETCH_UPDATE_FAILD Error (6): Update error: ERROR[6]: Stream Read Timeout
    Updating Sketch from...
    Update_server iotappstory.com
    UPDATE_URL /ota/esp8266-v1.php
    FIRMWARE_VERSION IOTappStoryLoader V1.2
    SKETCH_UPDATE_OK
    Updating SPIFFS from...
    Update_server iotappstory.com
    UPDATE_URL /ota/esp8266-v1.php
    FIRMWARE_VERSION IOTappStoryLoader V1.2
    ---------- SPIFFS_UPDATE_NO_UPDATES ------------------
    Returning from IOTAppstory
    ets Jan 8 2013,rst cause:1, boot mode:(3,7)
    load 0x4010f000, len 1384, room 16
    tail 8
    chksum 0x2d
    csum 0x2d
    v09f0c112
    @cp:0
    ld
    ESPurna 1.6.9
    xose.perez@gmail.com
    tinkerman.cat
    ChipID: 07E452
    CPU frequency: 80 MHz
    Last reset reason: Software/System restart
    Memory size: 1048576 bytes
    Free heap: 32960 bytes
    Firmware size: 443344 bytes
    Free firmware space: 450560 bytes
    [SETTINGS] EEPROM size: 4096 bytes
    [SETTINGS] Settings size: 3085 bytes
    [SETTINGS] Saving
    [WEBSERVER] Webserver running on port 80
    [RELAY] Number of relays: 1
    [BUTTON] Number of buttons: 1
    [LED] Number of leds: 1
    [LED] Led auto indicator is ON
    Wi-Fi not connected...
    [MAIN] Time: Time not set
    [MAIN] Uptime: 20 seconds
    [MAIN] Free heap: 29080 bytes
    [MAIN] Power: 3127 mV
    [WIFI] Creating access point
    [WIFI] MODE AP --------------------------------------
    [WIFI] SSID SONOFF_xxxxxx
    [WIFI] PASS admin
    [WIFI] IP 192.168.4.1
    [WIFI] MAC yy:yy:yy:yy:yy:yy
    [WIFI] ----------------------------------------------
    [MDNS] OK

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      The ESP seems to wait for your input from your smartphone. You should find a network with the name SONOFF_xxxxxx and if you connect to it, maybe you get directly to a screen. otherwise, you have to enter 192.168.4.1. Maybe it helps...

    • @magnusnelenius649
      @magnusnelenius649 7 лет назад

      Yes, I can connect to 192.168.4.1 from my smartphone but the problem is that it won't accept any of the usernames/password that I have tried (admin won't work) so I got stuck with wrong credentials. Is there a way to reset the saved credentials?

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      This display asks for the WLAN credentials

    • @magnusnelenius649
      @magnusnelenius649 7 лет назад

      Thanx for pointing me to the right direction so I could test some more. The problem was that my smartphone cropped the verification dialog and only showed the fields for username (not password) and OK button. Problem solved.

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      :-)

  • @ThatGuy-nv2wo
    @ThatGuy-nv2wo 7 лет назад

    Title spelled wrong, missing "h"

  • @t540985
    @t540985 5 лет назад

    This is one of my ho,me lamps using Sonoff S20 upgraded with i4things example - feel free to switch it ON or OFF :) it actually goes On or OFF :)
    www.b2net.net/wimbledon/me_l.html
    example : github.com/i4things/NodeAPI/tree/master/examples/ESP8266-01/1CH_RELAY/thing

  • @franzmaurer2744
    @franzmaurer2744 7 лет назад

    Hi Andreas,
    hopefully you can help me out.
    I installed the Raspberry Pi Zero W DietPi with fixed IP address 192.168.1.5
    Starting from a PC 192.168.1.1 I get Peter's menu and unning Node_RED, SqlLite, etc works fine. MQTT messages flow constantly in that environment. Settings in Node-RED for a MQTT node: Server: 192.168.1.5, Port 1883, no SSL, Client ID blank, Security: blanks, use legacy MQTT 3.1 support selected.
    I want to add Sonoff MQTT functionality. After several trials I ended up with Arendst Sonoff-Tasmota code, which loads fine on the Sonoff Basic. I get the Sonoff Basic menu on my PC or smart phone and I am able to manipulate the Sonoff using the console and the commands from
    github.com/arendst/Sonoff-Tasmota/wiki/Commands
    It uses the PubSubClient for MQTT from knolleary.net and the latest Sonoff-Tasmota firmware 5.1.320170520.
    The standard sonoff.ino code is used on the Sonoff. In user_config.h is defined:
    #define MQTT_HOST "192.168.1.5"
    #define MQTT_Port 1883
    #define MQTT_USER ""
    #define MQTT_PASS ""
    My problem: I cannot connect via MQTT to the RPi (the WiFi connection is OK). Error message is:
    MQTT: Attempting connection...
    mDNS: Query done with 0 mqtt services found
    MQTT: Connect FAILED to 192.168.1.5:1883, rc 5. Retry in 10 seconds
    rc= 5 means: MQTTCONNECT_UNAUTHORIZED - the client was not authorized to connect.
    So I guess the client MQTT_USER is not really empty or the RPi does expect some user information.
    Do you have any clue how to get connected from the Sonoff to the RPi DietPi MQTT?
    Thanks in advance.
    Franz

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      I would check the broker with MQTTlens (a Chrome add-on). Then, you see, if it works without user/pwd. Or you check the Mosquitto docu on how to switch it off.
      Make also sure that mosquitto really runs (by using mosquitto_sub and _pub), and mosquitto -v to check what happpens.

    • @AndreasSpiess
      @AndreasSpiess  7 лет назад

      +Franz Maurer Glad to read that it works now...

  • @dijoxx
    @dijoxx 4 года назад

    The video itself is good, but I really dislike the "without coding" part. This approach adds a lot of external dependencies and complexity instead of doing it in a lean way with the code. Also takes away all the fun and geekiness of the maker spirit.