#157

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.ย. 2017
  • We often have a few ESP8266 implemented around or lab or homes, inaccessible and in nice boxes. This is why we love Over-the-Air or OTA updates of its firmware.
    Already a year ago, I came up with the idea of an Appstore for these devices to make OTA easy and to support software distribution for this small devices.
    Today, we announce the next step: The official Arduino Library.
    In this video, I will show you:
    - How to download a prebuilt ESP8266 App to your device without any programming
    - How to change this App on the fly without touching your ESP
    - How to write your own sketch or how to enable one of your existing sketches for IOTappStory
    - And how to manage many deployed ESP8266 devices without hassle
    Please use at least version 1.0.5 of the Arduino library
    Wemos D1 Mini goo.gl/ZTp7vV
    OLED Sheild goo.gl/PFqh26
    Button Sheild goo.gl/VzroNp
    Wemos Dual Base goo.gl/MBncPD
    Battery Shield goo.gl/YkLxCp
    DHT11 Sheild goo.gl/QtTrDg
    Lolin board goo.gl/z1tjdc
    Lolin base goo.gl/EwHDx4
    IOTappstory is a hobby project. Therefore do depend important infrastructure on it. Read also the legal disclaimer at the end of this video.
    Supporting Material and Blog Page: www.sensorsiot.org
    Github: www.github.com/sensorsiot
    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)
    Official Wemos Store: s.click.aliexpress.com/e/jUzBiIq
    / sensorsiot
    / spiessa
    www.instructables.com/member/...
    Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my main job
    Disclaimer
    Last updated: September 03, 2017
    The information contained on iotappstory.com website (the "Service") is for general information purposes only.
    iotappstory assumes no responsibility for errors or omissions in the contents on the Service.
    In no event shall iotappstory be liable for any special, direct, indirect, consequential, or incidental damages or any damages whatsoever, whether in an action of contract, negligence or other tort, arising out of or in connection with the use of the Service or the contents of the Service. iotappstory reserves the right to make additions, deletions, or modification to the contents on the Service at any time without prior notice.
    iotappstory does not warrant that the website is free of viruses or other harmful components.
    This Disclaimer is licensed by TermsFeed to iotappstory.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 383

  • @AbcDef-hl2ic
    @AbcDef-hl2ic 6 ปีที่แล้ว +1

    What a great job Andreas! So much congratulations and so much thanks! It gaves me a lots of ideas! Have a great Sunday.

  • @alexisfyra
    @alexisfyra 6 ปีที่แล้ว +1

    Great integration scenario!
    Your videos are getting more interesting week by week.
    Thank you

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      You are welcome. Actually. this idea is not new...

  • @edwardbasnet1396
    @edwardbasnet1396 6 ปีที่แล้ว +1

    Its really helps me on my project. Actually all of the tutorial you have created helps me. Thank you so much Andreas and Onno.

  • @arpitjayaswal8646
    @arpitjayaswal8646 6 ปีที่แล้ว +2

    Hi Andreas.. You are doing an awesome job. Thank you very much for this cool development.

  • @northshorepx
    @northshorepx 6 ปีที่แล้ว +1

    Very good work Andreas. I love your commitment to the community.

  • @mentar
    @mentar 6 ปีที่แล้ว

    Thanks for putting this together Andreas, I've been thinking of writing a web based a pull OTA update server for a project but it was overkill (for 10 devices) in that specific case, glad to see you've helped put this together!

  • @garrypkeogh
    @garrypkeogh 6 ปีที่แล้ว +3

    What a powerful asset to the community! Well done Andreas ;)

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      It was not only me. Onno did most of the work.

  • @aura-comms4633
    @aura-comms4633 6 ปีที่แล้ว

    Hello Andreas,
    I want to congratulate you for the work you have done with this IAS. I have been following your videos for a while and they are by far the best tutorials on TH-cam, specially for ESP. I am truly amazed with the updates on the AppStore. Keep on the good work.

    • @aura-comms4633
      @aura-comms4633 6 ปีที่แล้ว

      I am having problems updating sketches:
      Checking for App(Sketch) updates from: iotappstory.com/ota/esp8266-v1.php
      Update Failed. Error (-103): Forbidden (403)
      Checking for App(Sketch) updates from: iotappstory.com/ota/esp8266-v1.php
      Update Failed. Error (-103): Forbidden (403)
      Checking for SPIFFS updates from: iotappstory.com/ota/esp8266-v1.php
      Update Failed. Error (-103): Forbidden (403)
      Checking for SPIFFS updates from: iotappstory.com/ota/esp8266-v1.php
      Update Failed. Error (-103): Forbidden (403)
      Is there a problem with the site? has it anything to do with security updates? I hope it gets solved soon. I can't wait to use it. Thanks

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Maybe you check what is written in the log of iotappstory.com. This should give you some hints. Otherwise, you also can write a mail to Onno (info@iotappstory.com)

  • @MikeKranidis
    @MikeKranidis 6 ปีที่แล้ว +1

    Mr. Andreas Spiess you did a perfect extension for the ESP8266 in the space of OTA and not only. Please accept my congratulations. You are one of the Masters! 1001 thank you.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      Thank you for your nice words! I am glad I get so many positive feedback. And I am sure, Onno too. He had lots of work the last days.

  • @Salfke
    @Salfke 6 ปีที่แล้ว

    I'm Impressed,
    i've never have done OTA programming; but after seeing this video i must give it a try and use it,
    Everything will go a lot easier!
    thank you very much!

  • @HansVledder
    @HansVledder 6 ปีที่แล้ว +1

    Thumbs up! Great progress there Andreas. Revolutionary I'd say!

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      The better is the enemy of the good ;-)

    • @HansVledder
      @HansVledder 6 ปีที่แล้ว

      I agree fully!

  • @deangreenhough3479
    @deangreenhough3479 6 ปีที่แล้ว

    Good Morning Andreas.
    🤗🤗🤗🤗🤗🤗🤗🤗
    This is a wonderful piece of work, well thought out and delivered.
    You are enabling so many others and providing such clear and concise instructions, your work is an absolute pleasure to follow and replicate.
    I intend to fully implement this in all my projects. You have provided the virgin soil and I feel compelled to get gardening 🤓
    I'm really surprised at how a Swiss man can have such a wonderful impact on my life. In so many respects you are a man to be both admired and respected.
    I note 40k subscribers, well deserved and expect 100k to follow very quickly.
    Thank you not only for the Sunday video, but for the outstanding contribution you have made to the community .
    👍

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      I am just preparing a speech for next Sunday's Maker Faire in Zurich ("How to become a TH-camr") and asked socialblade.com for the predictions of my subscribers. It says I have to work for another 574 days to get to 100k ;-)

    • @deangreenhough3479
      @deangreenhough3479 6 ปีที่แล้ว

      Andreas Spiess How very precise you are my friend😀

    • @deangreenhough3479
      @deangreenhough3479 6 ปีที่แล้ว +1

      I hope one day to meet you in person and shake your hand

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      I am sure this will happen one day. I have some plans in mind...

  • @ThirdPer3on
    @ThirdPer3on 6 ปีที่แล้ว

    Love your work! Gives me a reason to move into something a little more exciting then standard Arduino stuff. :P
    Thanks for your work!

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      It is always good to leave the comfort zone. Enjoy it!

  • @nicksharp7680
    @nicksharp7680 6 ปีที่แล้ว +2

    Amazing project, thanks guys, much appreciated!

  • @majidnasr3329
    @majidnasr3329 6 ปีที่แล้ว

    Dear guy with the sweet Swiss accent,
    Thank you so much for such a nice work, brilliant.
    For those who have any problems regarding IOTAppStory, I had a big problem with compiling the Arduino code and every time Arduino Ide had giving me an error. So, I completely deleted Arduino IDE and install it again and I followed the instruction which is written in IOTappStory.com and everything sorted out.
    This is a revolution in IOT with no doubt and I am impatient to see your next friendly detailed video.
    All The Best,
    Majid.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Thanks for your feedback. It will help others

  •  6 ปีที่แล้ว +1

    Congratulations Andreas, thanks for sharing, cheers from Brazil

  • @ReevansElectro
    @ReevansElectro 6 ปีที่แล้ว

    What an impressive body of work! You deserve our thanks and eternal gratitude.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      I might be the inventor and the communicator, but Onno is the hard worker behind the scenes.

    • @deangreenhough3479
      @deangreenhough3479 6 ปีที่แล้ว +1

      Andreas Spiess gratitude to Onno🙏🙏🙏

  • @naldoxable
    @naldoxable 6 ปีที่แล้ว

    Another great work, congratulations!

  • @megapwn333
    @megapwn333 6 ปีที่แล้ว

    I can't wait to try it out and contribute to the project!

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      You are welcome to create pull requests. We could need some help (documentation, json download of configuration data, port of Espurna or Tasmota to the platform, port of the library to ESP32 etc).

  • @WJCarpenter
    @WJCarpenter 6 ปีที่แล้ว +1

    This is a great idea, and from this video, it seems to be very well executed. I signed up at IOTappstory immediately!
    I couldn't find a way to send you a comment via the web site, so please excuse me for mentioning this small web site bug here. You have inadvertently made it difficult for someone to say they are from the United States in their profile. The country field requires at least 4 characters, so "US" and "USA" don't work. But it also will not accept a space, so "United States" will not work. It's an optional field, so it's not critical.
    Keep up the good work. I've already watched a couple of your earlier videos. Very informative and well-scripted.

    • @onnodirkzwager3537
      @onnodirkzwager3537 6 ปีที่แล้ว

      Bill Carpenter, thanks for the feedback, just fixt it (y)

  • @daskasspatzle2396
    @daskasspatzle2396 6 ปีที่แล้ว +1

    Awesome :-)
    And i additionally learned that 30 minute time zones exist.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      My first version also did not account for that. Then came the Indian viewers and told me...

  • @avejst
    @avejst 6 ปีที่แล้ว

    Thanks for sharing, What a big work you have done. Well done :-)

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      You are right. It took some time!

  • @TheJay6621
    @TheJay6621 6 ปีที่แล้ว +1

    Wow.. OTA is Nice but with this ease it is VERY NICE.. thanks for sharing.. subscribed..On the spot!!

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      Thank you for your support. I saw you on my TH-cam counter ;-)

  • @Zmeu1975
    @Zmeu1975 6 ปีที่แล้ว +1

    Well done guys, great job.

  • @HobbyelektronikerCh
    @HobbyelektronikerCh 6 ปีที่แล้ว

    Super Lösung! Das werde ich gelegentlich ausprobieren.
    Wir sehen uns nächsten Sonntag. Deinen Vortrag an der Maker Faire Zürich möchte ich nicht verpassen.
    Gruss René

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Bin gerade am powerpointen. Damit ich ihn noch ein wenig liegen lassen kann...

  • @MrBrymstond
    @MrBrymstond 6 ปีที่แล้ว +1

    Great Job with making these video's. I've yet to start playing with a Arduino

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Yes, this is probably a good idea...

  • @Nama20242
    @Nama20242 6 ปีที่แล้ว

    Great work much needed for this most useful boards

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I hope it works when you try it...

  • @weirdscix
    @weirdscix 6 ปีที่แล้ว +1

    This looks very interesting, I've got a bunch of NodeMCU ESP8266 compatibles just sitting in a box not sure what I could do with them, this opens up a lot of possibilities

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      Glad to help you using these little devices. I like them.

  • @megapwn333
    @megapwn333 6 ปีที่แล้ว

    Great work this is very good!

  • @asiw
    @asiw 6 ปีที่แล้ว +6

    Just brilliant, this is such an improvement on the original version. Thank you. How far off do you think we are with the ESP32?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      No idea! I do not have enough experience yet.

    • @blackgt0
      @blackgt0 6 ปีที่แล้ว +1

      Anything new on ESP32 support? Most programs I have found make the jump to ESP32 relatively easily. Usually just update a couple header files for new references + adding the extra pins. I have yet to dive into OTA functionality though so forgive me if I am blatantly ignorant here :)

  • @golfamigo
    @golfamigo 6 ปีที่แล้ว +1

    Great job, It's really save a lot of time.

  • @silverheart21
    @silverheart21 6 ปีที่แล้ว +1

    Superb .. thanks !

  • @MikeK131982
    @MikeK131982 6 ปีที่แล้ว +1

    whoohooo what a great thing!!!!
    thanks a lot!!!

  • @myounges
    @myounges 6 ปีที่แล้ว

    Excellent! Thanks!

  • @AlexGoris
    @AlexGoris 6 ปีที่แล้ว +1

    Hi +Andreas Spiess, great video as always! I will work this afternoon on modyfing the WirelessTankLevelGauge (which made an appearance in your video!!! :D) to use the new library.
    Some tips: In your video you show how to load the IASLoader sketch from the library examples, but on your WIki something completely different is described, using esptool.py and an ESP8266-Loader.bin which does not exist on your github. I think the wiki needs an update :)

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      +Alex Goris We have to update the wiki...

    • @AlexGoris
      @AlexGoris 6 ปีที่แล้ว

      +Andreas Spies I nearly finished porting my WirelessTankLevelGauge project to the new library. It's a lot more pleasant to work like this, great progress! One thing I can't seem to get working. If I upload a new bin file and trigger my device to update, it correctly downloads and flashes the new software. However at that point all application parameters are lost (except the one I left at default settings). Is there a way to make the ESP remember these settings after a firmware update?

    • @AlexGoris
      @AlexGoris 6 ปีที่แล้ว

      +Andreas Spiess: Did you see my previous comment? It looks like a bug to me, should I open an issue on your github page?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      +Alex Goris Just wait till I have some time....

  • @csongorvarga
    @csongorvarga 6 ปีที่แล้ว

    Fantastic!

  • @GaaraMeepo
    @GaaraMeepo 6 ปีที่แล้ว +1

    This seems pretty awesome, I'm going to dust off my wemos tonight :D

  •  6 ปีที่แล้ว +2

    1e6 thanks for this excellent present!

  • @albygnigni
    @albygnigni 6 ปีที่แล้ว

    Great idea and work, looking Forward to use it! A question: can the update button be an interrupt instead of a loop Call?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      The button can be in an interrupt routine. The "call Home", however, is too long. We did not use interrupts because interrupts are not easily supported in Arduino libraries.

  • @TheDefpom
    @TheDefpom 6 ปีที่แล้ว +1

    Very nice.

  • @amrelsayed4363
    @amrelsayed4363 6 ปีที่แล้ว

    Very Nice!

  • @SierraLimaOscar
    @SierraLimaOscar 6 ปีที่แล้ว +1

    Excellent idea and execution! Do I understand correctly that any app you upload stays private to your account until you decide to publish it?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Yes. The owner has to publish the app if he decides to do. Nobody else.

  • @flexchannel1
    @flexchannel1 6 ปีที่แล้ว

    LOVE IT!

  • @VeganRashad
    @VeganRashad 6 ปีที่แล้ว

    Thank you!!!!

  • @pedrocavaglieri
    @pedrocavaglieri 6 ปีที่แล้ว

    Genial! Thank you very much

  • @JerryEricsson
    @JerryEricsson 6 ปีที่แล้ว +1

    Looks very interesting I must look into this deeper, it may be something very useful to me. The next few days are not so great for experimenting as I am scheduled for a lower GI tomorrow so today is "prep" day, not a lot of fun but we all must do this to remain healthy as we grow older. As I have said before, my mission in life is to learn at least one new thing every day, as I believe it will keep my mind young and healthy. Thanks for allowing me to learn from you today.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I am with you. I know exactly what you are talking about :-( But I am glad I can do it before something bad happens
      BTW: I have a similar concept of learning and this is the root for this channel.

  • @AndrewBorrill1
    @AndrewBorrill1 6 ปีที่แล้ว

    Really great to see the improvements to the service, will definitely give your new library a try out. I do worry a bit about cloud based services as remote updates into the future could go wrong for several reasons. The service could be suspended/stopped or become buggy due to a new update, examples of this recently are Samsung TV's and AirBnB locks which had remote updates which have gone spectacularly wrong, the devices may only get back online by an engineer visit to reload the firmware. Sparkfun have also suspended their IOT database to new users. Sparkfun may have the answer though as they do allow their server to be downloaded to be used locally. For example it can be run on your own network say with a Raspberry Pi. When your service has matured, you could take a similar approach (if you feel inclined) for a downloadable version (which could be a basic version without the bells and whistles) so that the service can be run locally to service a house/business devices. This would allow security of operation for those who feel that a cloud service might be a bit of a risk.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      The interface to IOTappstory is based on Arduino's standard and you can implement your own web server if you like. It just would not have the comfort of IOTappstory.com. But it would be able to distribute the code. There is example code around for that and I even did a video about it in the beginning. So, as a fallback, this is possible.

  • @poweredbysergey
    @poweredbysergey 6 ปีที่แล้ว +1

    Thanks

  • @CristiIstrate
    @CristiIstrate 6 ปีที่แล้ว

    Great progress. How was your trip to Romania ?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +2

      It was very interesting. I learned a lot and discovered, Romania is much nicer than its image in the rest of Europe. Had also some fun and nice discussions with @voltlog

  • @EwaldBurger
    @EwaldBurger 6 ปีที่แล้ว +1

    Hi Andreas,
    Great work, thanks for all your and Onno's effort!
    I have spent quite some time with iotappstory and had/have some difficulties. One being I can't find a way to add a self made app to my apps in iotappstory. I have exported the bin file, but when I press the upload button in iotappstory and select that bin file, nothing happens. In your video I see that you see the selected path/file name in the box, but in my case it stays empty.
    What could I be doing wrong?
    Regards,
    Ewald

    • @EwaldBurger
      @EwaldBurger 6 ปีที่แล้ว

      Time to go to bed now...:-)

    • @onnodirkzwager3537
      @onnodirkzwager3537 6 ปีที่แล้ว

      If you keep having issues email us your user and project name iotappstory@gmail.com

  • @paulhendrix8599
    @paulhendrix8599 6 ปีที่แล้ว

    Thanks for marking closed source apps. Not touching those.

  • @hogfanboy9443
    @hogfanboy9443 6 ปีที่แล้ว

    Andreas you are amazing. I was updating an IFTTT button I created based on your video #108 and thought what about using iotappstory. I was wanting to control my own way of getting into the config mode or update mode, instead of holding the flash button down for 4 or 10 seconds (or any pin condition). I wonder if you could think about just giving us functions to do those and then one could best decide how to enter those modes with their specific project.

    • @hogfanboy9443
      @hogfanboy9443 6 ปีที่แล้ว

      Andreas thanks again for your great work. I spent a little time looking at IOTappstory.h file it looks like all the function call are there. Sorry I asked before looking. It seems to be working very well with an ESP-01S.
      Keep up the great work Thumbs up!

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      No problem. Glad you found it.

  • @Hasitier
    @Hasitier 6 ปีที่แล้ว

    Hi Andreas and thanks for the great Video. I think you mentioned that the ESP 01 with its 1M flash memory might be supported in the IOTAppstory with the new 2.4 release. Is this the case? If so I think this would scream for an MQTT button similar to your ITTT button to get a usage for all the ESP 01 laying around and never been used. I might program this myself if no one else has done this yet.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I did not try it so far with OTA or IOTappstory. Maybe you try and report back?

    • @Hasitier
      @Hasitier 6 ปีที่แล้ว

      Ok. I will give this a try when I'm back from holiday.

  • @shrikantnikam2426
    @shrikantnikam2426 4 ปีที่แล้ว

    I am your fan

  • @DavidLeeMenefee
    @DavidLeeMenefee 6 ปีที่แล้ว +2

    What, am I first!....Thumbs up. This is my favorite subject....PEACE

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      Yes, you were first. Thanks!

  • @cody83462
    @cody83462 6 ปีที่แล้ว +22

    I might be wrong, but there is no information at all about security. Looks like those ESPs load unsigned code over an unencrypted connection over the internet. This would be really bad.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +3

      You are right.

    • @waltsteinchen
      @waltsteinchen 6 ปีที่แล้ว +1

      Can't await ESP32 support, (switched all my projects to that one .., ) .. anyway great work Andreas!!

    • @AndersJackson
      @AndersJackson 6 ปีที่แล้ว

      Are there any work done about that problem?

    • @ahaveland
      @ahaveland 6 ปีที่แล้ว +2

      Not using ssl/tls or ssh is inexcusable. Net traffic is saturated with nefarious organizations using millions of compromised machines and there's nothing they would like more than to add another army of IoT devices to their ddos, spamming, scamming, doxing, bot and other capabilities.
      I block, ban and report tens of thousands of them all day, every day and yet ISPs do next to nothing to contain them. It's pandemic.

    • @AndersJackson
      @AndersJackson 6 ปีที่แล้ว

      SSL/TLS or SSH are not needed. But to verify that the content/program downloaded is from a creditable source is. So just have a proper certificate in the web server are not enough here, or even needed. But a way of verify data downloaded is.

  • @svenhartmann8611
    @svenhartmann8611 6 ปีที่แล้ว

    Mit diesem Video und der öffentlichen Bibliothek habe ich es endlich hinbekommen. Danke.
    Für Anfänger wäre es gut noch zu erwähnen, dass vorher die ArduinoJSON Library noch installiert werden muss.
    Eure Webseite hat ein bissel Probleme mit Chrome (z.B. "Select an app" lässt sich nicht per X schließen).
    Ein Forum gibt es nicht oder?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Im moment nicht. Am besten verwendest du das Feedback Formular. Onn liest die mails regelmässig.

  • @filzli
    @filzli 6 ปีที่แล้ว +8

    Hi Andreas, do I understand it correctly that the app store is closed source? I am not completely comfortable having binaries running in my network that I do not know and could change at any time. I'd prefer to self host this - any way I can do that?
    Forgive me for being so sceptical, but given that you already mention free accounts, I would expect those to become non free at some point - like many similar products in history (who claimed never to do that).

    • @RichardEricCollins
      @RichardEricCollins 6 ปีที่แล้ว +1

      phil this site is not running on your network. The code on the esp8266 is open. You have what you need.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      1. The Backend is closed source. It would be a big effort to make it open Source. You still can use the example php files as a trivial backend on your own webserver.
      2. If somebody wants to use it to make money, we would like to anticipate. Nothing else...

    • @filzli
      @filzli 6 ปีที่แล้ว

      Richard Collins I think you misunderstood my question. yes but the apps that come from the store run on the esps.. This would be a wet dream for someone evil.. (I'm glad it's just our trusty source of electronic video enjoyment, Andreas)

    • @filzli
      @filzli 6 ปีที่แล้ว

      Andreas Spiess thanks for the reply! gotcha, although, gotcha partly - where do you see the big effort? I'd be happy to help with such things.

    • @Razwer
      @Razwer 6 ปีที่แล้ว +7

      I completely agree. Though i'm 100% sure Andreas has good intentions, if i wear my tinfoil hat, this doesn't fly with me either. If Andreas server gets compromised, for whatever reason, anyone using this service is potentially compromised as well. Especially with the lack of security on the ESP8266 platform.
      Thus, though I will give huge props to Andreas and Onno for building this, from a cyber security perspective, i will likely not engage in this service.

  • @matteogiovo7605
    @matteogiovo7605 6 ปีที่แล้ว

    very amazing guide! but how long i have to wait before the new firmware get downloaded by the esp? seconds or minutes? because i tried to use the blink example in iotappstory and after changed it from the projects board. but after 10 minutes i did not get the update...

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      The fast and the slowblink do not change automatically. You have to press the button for 4 seconds. The IASblink should change after a minute or so.

    • @matteogiovo7605
      @matteogiovo7605 6 ปีที่แล้ว

      Andreas Spiess ok, but my problem is that the esp doesn't search for the new firmware to download :O

  • @albertcaba8844
    @albertcaba8844 6 ปีที่แล้ว

    Hi Andreas , thank you once more for your videos. I would like to hear your suggestion about my current MQTT project. I am using Cloudmqtt free plan , but as I am planning to exceed the 10 connections limitations , I need to think where to go from here. So I was wondering , how do you manage? Do you have your own MQTT broker accessible from internet? Do you use bridge to not reach to these 10 limit connections ? Is there any other free service I could use? It would be interesting to have a video exposing the different options , when your project gets bigger. Thank you!

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I have videos about using a Raspberry zero as an MQTT broker. This is, how I do it. The advantage is, that you do not depend on a free service without any service level agreement

  • @omaryanas435949
    @omaryanas435949 6 ปีที่แล้ว +2

    Genius..

  • @michaelgraff6978
    @michaelgraff6978 6 ปีที่แล้ว +1

    Is the back-end code open source? If not, can you go over the security aspects, specifically about using a MAC as the download credentials? What's to keep someone from downloading the code for another project if it's only based on the fairly guessable MAC address?

    • @onnodirkzwager3537
      @onnodirkzwager3537 6 ปีที่แล้ว

      Michael, the backend is not open source.
      We more or less started a as proof of concept hobby project and are at the start of a long list of updates. The feedback from the firtst few months has shown we are on to something and people like the idea.
      The library was just the beginning. One of things on the list is having a dedicated wiki page going over the security aspects....how and why we do things we do etc. We will post these updates in the news section and your welcome to give suggetions in the comments on iotappstory or send them to iotappstory@gmail.com
      But to give you a start:
      - only your device can start a call home (update) action.
      - cred are a combination of mac, chip id and activation code
      - Future updates will go over https. (althought a quite crude form because of the limitations of the esp)
      We are moving our server monday evening and https wil follow

    • @michaelgraff6978
      @michaelgraff6978 6 ปีที่แล้ว

      Are there plans to open it up then, or is it intended to remain closed source?

    • @onnodirkzwager3537
      @onnodirkzwager3537 6 ปีที่แล้ว

      The website and CP are intended to stay closed source. But you never know what the future brings.
      The library and php file that handel esp request are and will always be open source.

    • @michaelgraff6978
      @michaelgraff6978 6 ปีที่แล้ว

      I personally have a huge issue with trusting this in either a commercial or hobby environment, where I may have devices distributed far and wide, which then depends on a system that I cannot verify the security of, nor guarantee the lifetime of. If it were open source, anyone could replicate the functionality, and anyone could look at the source to audit at least that part of security.
      If there is a feature list, and approximate order of intent to work on security issues, I'd be a lot happier.
      I have to admit a strong urge to implement a similar solution, but open source...

  • @preseli
    @preseli 6 ปีที่แล้ว

    I love this concept - I have been hosting my own OTA updates but this has the possibility of making it much easier! Thank You.
    I am having a problem setting it up. When I get to (in your video 6:17) all I see is 'Confirmation Needed' I can not enter my Activation code. I have everything set up from new on a clean PC as per the instructions. I'm baffled! Would love some advice. Thank you

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Maybe you check the log in IOTappstory. Usually, this helps to find the error.

    • @onnodirkzwager3537
      @onnodirkzwager3537 6 ปีที่แล้ว +1

      preseli, please try again, there was unannounced maintenance by our hosting. I posted a message in the CP at the time. But this might not have been noticeable enough...

    • @preseli
      @preseli 6 ปีที่แล้ว

      Andreas - thank you but I have not got that far, I have not been able to associate it with my account, I have not had the window to be able to enter the number so how will it show on my log?!!

    • @preseli
      @preseli 6 ปีที่แล้ว

      thank you Onno.
      This is proving to be difficult because if I don't manage to associate this the next time it boots up it does not start the config interface meaning I have to reflash the esp8266 to wipe the eeprom and start over.
      I understand why you are doing the activation the way you do, it makes it a more secure system, but there are times when it would make a lot more sense if we could enter the MAC address straight into our account!
      Without the app running on the ESP it isn't going to try to handshake with your servers.
      I even tried reading the URL for sending the activation code in the video and sending that as a GET direct to the ESP to see if it would send it to your servers but that didn't work either.
      I have an older Arduino ecosystem on my Mac because OTA updates is really flaky on the current version. I have to find another free computer here in the office to be able to reflash with your ecosystem and a current arduino ide

    • @preseli
      @preseli 6 ปีที่แล้ว

      Onno - I had looked at the announcements but I didn't get that message

  • @logmaker3609
    @logmaker3609 6 ปีที่แล้ว

    Hi Andreas, I check out the code (on the arduino site) and it's impressive work! I was wondering could you handle the button in a interrupt? IAS.buttonLoop() this probely speeds up the loop()?
    This could be a great platform to update your own product everywhere in the world.
    I do understand the sceptical arguments about the closed source from a developmeners view. I this stage I recommend to make the app code open source. So people have a transperant view in what they download. And everybody can learn from the code.
    However we all download apps on android and IOS without knowing the code. So on the consumer view it not an issue. But people who join iotappstory in this stage are not yet the consumers but developers.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Using an interrupt is for sure possible, but so far not necessary because the speed of the processor was fast enough. But you can fork the library and make your proposal.

  • @IncaTrails
    @IncaTrails 6 ปีที่แล้ว

    Holy Crap - *that worked*(!)

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      And the new IOTappstory concept evolved quite a lot ;-)

  • @tablatronix
    @tablatronix 6 ปีที่แล้ว

    Are you using a custom fork of wifimanager or just hooks ?

    • @onnodirkzwager3537
      @onnodirkzwager3537 6 ปีที่แล้ว

      For Wifi AP management we forked and modified the WifiManager from kentaylor which in its turn was a fork from tzapu
      github.com/iotappstory/ESP8266-Library

  • @fassesweden
    @fassesweden 6 ปีที่แล้ว

    Super job Andreas! What needs to be done to support esp32? Can I help in any way?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      There are mainly two things which have to be done:
      1. Check, if the library technically also runs on the ESP32 and adapt it if needed
      2. Make small changes to the backend
      You could help by executing step 1. and make the IASloader run. Then, Onno would see which messages are sent by the ESP32 and could adapt its programs. It would be great because I do not have the time to do it for the moment.

    • @fassesweden
      @fassesweden 6 ปีที่แล้ว

      Andreas Spiess yes I Will try this today!

    • @squalazzo
      @squalazzo 6 ปีที่แล้ว +1

      Andreas Spiess what about privacy and security? How can Onno see these messages on our devices? What can you see? And why no https?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +2

      1. The log shows all, what the platform gets (fields and its content). The library is open source if you want to check ;-)
      2. I would love to have https. Onno is investigating the backend. And maybe a viewer pulls the library and adds https?

    • @Razwer
      @Razwer 6 ปีที่แล้ว

      Andreas Spiess adding https to the client side is trivial to the backend supporting it. Also you would have to load the specific certificate chain of the backend, which is still bugged in the latest 8266 arduino sdk.
      There are a few tricks to circumvent this but it relies to backend mechanisms.

  • @ugetridofit
    @ugetridofit 6 ปีที่แล้ว

    Will you be adding support for the ESP32 ?

  • @marcelobenitezabc
    @marcelobenitezabc 6 ปีที่แล้ว

    Hi Andreas.... let me ask you a quick one....
    I have already perfomed setps #1 and #2 (2.4. esp 8266 version and account in iot store)
    I'm missing setp#3 (download first time fimware to my board)--but I have a doubt here..how does this firmware affect if I want to keeo on developing locally and uploading through usb??
    does is affect at all?
    regards

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      The complete firmware will be replaced if you do an OTA upload. Each firmware has to have the ability to work with iotAppstory.com and download the next firmware. This is the purpose of the library.

  • @MrDeicide1
    @MrDeicide1 6 ปีที่แล้ว

    Andreas, I think we have enough of a tutorial library to build a nice little robot, with a plethora of sensors for navigation, 6DoF, compass, gps and local mapping...
    A nice little AI brain from Zabaware, so we can speak to it, WiFi so it can go online and learn by itself... on a mini ITX board.
    For a start - it can have simple on-wheels locomotion, have him get used to the World, then move on to more complex robot bodies.
    We can ALL participate in the project, and contribute ideas to this parallel series of videos.
    Or are you scared old man? (so trolling)

  • @omaryanas435949
    @omaryanas435949 6 ปีที่แล้ว

    Hi Andreas, if I wanted to push the same sketch to 400 controllers, then do I need to get a specific subscription for that? I have created an account and I did not find any place to apply for a commercial subscription...

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      We only have a few "commercial" users and therefore did not publish an agreement. But it is planned to open it also as a paid offer and it should be possible to do 400 devices without a problem. Version 2 is in the test and it is much better and easier to use. Also compatible with ESP32. Maybe you write an e-mail to info@iotappstory.com?

  • @ERICRAC
    @ERICRAC 6 ปีที่แล้ว

    Hi Andreas,
    I've two question :
    Do you expect to make IOTappstory.com available to ESP32 ?
    IOTappstory.com is also available for professional use with 1000x IoT connected ?
    Thanx,

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      1. we hope we soon can port the library to the ESP32.
      2. Yes. This is the plan. But you would be our first customer ;-)

  • @gavinsmalley1513
    @gavinsmalley1513 6 ปีที่แล้ว

    I first watched this video some months ago and thought this was a good idea then, however only now have I had need to use it. I have a big problem though - every time I release a new version of my test project all my user-set configurations are deleted even though I have set "false" for erasing config on first boot.
    A quick look through the library seems to suggest that it erases user-specified config at first boot irrespective of whether the flag is true or false. This is a real shame as it means I cannot use this awesome facility.
    Is there a way of preserving user-specified config across firmware updates?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Maybe you wait for a few weeks. Version 2 is on the way and will have much more possibilities...

    • @gavinsmalley1513
      @gavinsmalley1513 6 ปีที่แล้ว

      Andreas Spiess That is most interesting news, sir! I shall look forward to it eagerly. Is there perhaps a list of intended enhancements somewhere?

  • @RichardEricCollins
    @RichardEricCollins 6 ปีที่แล้ว

    Why not have the settings for the app on the Web portal instead of using the button and local Web page? Intresting project. :-)

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Absolutely the better choice for many scenarios. Planned for the next version (using json files)

  • @wbsimsjr
    @wbsimsjr 6 ปีที่แล้ว

    So I've followed along, but Arduino IDE is still wanting a port, Does this method still require an initial opening up the device and flashing it through the pins??? Is there a USB radio required similiar to the Xbee radio devices?

    • @onnodirkzwager3537
      @onnodirkzwager3537 6 ปีที่แล้ว

      I dont know wat kind of esp you are using but yes you still have to flash it through the pins at least 1 time with the IASloader you will find in the IOTAppStory-esp8266 examples folder. Make sure you are using the arduino esp8266 core (v2.4) and our latest library (1.0.6)

    • @wbsimsjr
      @wbsimsjr 6 ปีที่แล้ว

      Apologies for the lateness in replying, Irma is headed our way and we've been helping out. Great information! I've got several methodologies I'm going to try out, I've outfitted the whole house with Sonoff ESP devices and once it's "done", I want to transition from the Itead MQTT to a service running on my servers.. the ESP's I referenced were 2 that I bought on Amazon when I started trying out IoT devices, the firmware was spotty, but based on a ESP8266Ex, from the design of the board, the info I found said it's a 12E.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Good luck with Irma. I hope, nobody will be hurt!

  • @rajilsaraswat9763
    @rajilsaraswat9763 6 ปีที่แล้ว

    It will be nice if you could do a video on Sonoff B1 bulb.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I am not sure. Is it hackable? Can we open the case without destroying it?

    • @rajilsaraswat9763
      @rajilsaraswat9763 6 ปีที่แล้ว

      Andreas Spiess yes, tasmota firmware supports it. The top of the bulb is removable. There are some photos of the pcb on tasmota github (look in issues page).

  • @arpitjayaswal8646
    @arpitjayaswal8646 6 ปีที่แล้ว +2

    I have installed IOTappstory library but while compiling i am getting this error
    C:\Users\arpit\Documents\Arduino\libraries\IOTAppStory-ESP8266\src\IOTAppStory.cpp:8:25: fatal error: ArduinoJson.h: No such file or directory
    #include
    ^
    compilation terminated.
    Please help

    • @arpitjayaswal8646
      @arpitjayaswal8646 6 ปีที่แล้ว

      Nevermind I got the solution. Thank you very much

    • @DenfordBerriman
      @DenfordBerriman 6 ปีที่แล้ว

      What was the solution. I just had same problem.

    • @IncaTrails
      @IncaTrails 6 ปีที่แล้ว

      Install library github.com/bblanchon/ArduinoJson

  • @zeffofx
    @zeffofx 6 ปีที่แล้ว

    good day sir, is the appstory will work on esp07 despite not having as much memory as esp12s?

    • @onnodirkzwager3537
      @onnodirkzwager3537 6 ปีที่แล้ว

      Rai Blue-spark, ota needs at least 1MB, so it will work with your personal apps. But it won't always be compatible with published apps unless they are compiled for 1 MB

    • @zeffofx
      @zeffofx 6 ปีที่แล้ว

      I see, Thank you very much for the information.

  • @aizukanne
    @aizukanne 6 ปีที่แล้ว

    Hi Andreas,
    Does this work with the ESP32 as well?

  • @belenjimenezg
    @belenjimenezg 5 ปีที่แล้ว

    Hi Andreas! I have an ESP32. I'm using the library httpUpdate for OTA Updates. What is the difference between httpUpdate and ArduinoOTA? Thanks

  • @deangreenhough3479
    @deangreenhough3479 6 ปีที่แล้ว

    Hi Andreas.
    Ive been working with IOTAppStory for the last few days and wanted to use it as a basis for my future projects, it meets many needs, configuring an AP, Wifi credentials and of course the added benefit of being able to check for firmware updates.
    Ive also been working with your DailyTaskNTP sketch, which has been great for reducing power consumption, I love how clever this work is.
    The problem I am facing is how to Incorporate these 2 sketches, whilst maintaining the lower power benefits.
    The project is a water softener distance measurement using the VL53LOX and measures once a day to Ubidots with text alert when the salt block needs changing.
    As I wish to deploy this to friends, I require the functionality of the setting up wifi.
    Will it be possible to maintain the low power levels as we dont ideally want to have any code in loop...
    Your guidance would be gratefully received
    Happy New Year

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      I suggest you put a loop after reset for the setup. It is similar than the IOTappstory example. If everything is done you "switch" to a power saving mode. This would resemble the NTP example with the sleep. There, of course, you cannot setup the credentials etc. You would have to reset the device to get back to the config status.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      The software update can be done by "calling Home" during every 10th or so Ubidots update (you do not need to do it often, maybe only every few days). Then, you are connected to the internet and can execute the "callhome() function.

    • @deangreenhough3479
      @deangreenhough3479 6 ปีที่แล้ว

      Excellent, Thank you so much for the advice, I will proceed with that. That will keep me busy for a while

  • @donmcarthur7786
    @donmcarthur7786 3 ปีที่แล้ว

    I updated the IOTAppStory-ESP library to V. 2.1.0-RC4 and loaded IASLoader.ino. I get error compiling for board NopdeMCU 1.0. I tried it with Generic ESP8266 with the same result. ESP8266 boards 2.7.4.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      Maybe you go to their discord channel for support.

  • @fttx
    @fttx 6 ปีที่แล้ว

    Hi, i'm getting false positive from my PIR sensor when i use it whith the ESP8266. PIR model: BISS0001.
    Any suggestion?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Increase the distance between the two devices and maybe add capacitors between VCC and GND and between GND and the output pin

  • @AndreasSpiess
    @AndreasSpiess  6 ปีที่แล้ว +3

    IOTappStory.com is down for maintenance. We will keep you updated...

    • @onnodirkzwager3537
      @onnodirkzwager3537 6 ปีที่แล้ว +1

      We just pust the 1.0.6 release to the Arduino. This should arrive to your lib manager within 1 hour. Can't wait? Download it yourself from: github.com/iotappstory/ESP8266-Library/releases

    • @JyskMaker
      @JyskMaker 6 ปีที่แล้ว +1

      dosent work, cant connect after setup wifi.

    • @onnodirkzwager3537
      @onnodirkzwager3537 6 ปีที่แล้ว

      Allan Madsen, I retested and had success. Send us an email with your user and device name and we'll figure it out. iotappstory@gmail.com

    • @onnodirkzwager3537
      @onnodirkzwager3537 6 ปีที่แล้ว

      Art Becker, sorry to hear, please send me an email with your user name and we will figure this out. iotappstory@gmail.com

    • @JyskMaker
      @JyskMaker 6 ปีที่แล้ว

      I don't have a device name, can't give it a activation code. After i install de IotLoader, and goto to the setup, give it a wify / password, nothing more????

  • @TrasteIAm
    @TrasteIAm 6 ปีที่แล้ว +1

    I tried the IoT app store just the other week and nothing was working, I guess i'll have to give it another shot. :)

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      We were in the middle of the changes... Sorry about that.

    • @TrasteIAm
      @TrasteIAm 6 ปีที่แล้ว

      No worries, just happy to hear it is not abandoned. Thank you for the update and your great work.

  • @josephtannenbaum8696
    @josephtannenbaum8696 4 ปีที่แล้ว

    Your IOTstory account does not accept United States as country. This appears to be an extremely interesting project. Good work.

    • @AndreasSpiess
      @AndreasSpiess  4 ปีที่แล้ว

      Maybe you place the question on the Discord support channel? You should find the link on the homepage.

  • @legoscratch
    @legoscratch 6 ปีที่แล้ว

    Does the ESP have to be connected to reprogram it or is it actually over the air programming?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      It is OTA

    • @legoscratch
      @legoscratch 6 ปีที่แล้ว

      Andreas Spiess ...so the ESP can reprogram itself?

    • @onnodirkzwager3537
      @onnodirkzwager3537 6 ปีที่แล้ว

      legoscratch, all you need is power and a WiFi connection. The esp basicly has room for two "programs", receives the new program, does some checks and reboots from this received program.

    • @legoscratch
      @legoscratch 6 ปีที่แล้ว

      Onno Dirkzwager that's very cool, does this work with the esp32 as well?

    • @onnodirkzwager3537
      @onnodirkzwager3537 6 ปีที่แล้ว

      legoscratch we are still waiting for the ota support in the arduino esp32 core. As soon as this arrives we will support it!

  • @oldpasink4452
    @oldpasink4452 6 ปีที่แล้ว

    I like the video, but this is one of many that start out saying how great OTA is for devices that are unaccessible, then halfway through the video, tell you to "press a button" or do something else that you need access to the device to do. Any way around that?

    • @onnodirkzwager3537
      @onnodirkzwager3537 6 ปีที่แล้ว

      You could set your device to check for updates every 24 hours (or whatever time you like). In the examples folder their is a sketch called VirginSoil_Full which demonstrates this.

    • @oldpasink4452
      @oldpasink4452 6 ปีที่แล้ว

      Onno Dirkzwager I meant like changing the time zone in the video example.

    • @onnodirkzwager3537
      @onnodirkzwager3537 6 ปีที่แล้ว +1

      James Sinkiewicz, sorry misread your question... Wel the thinking was: you have to setup your device with WiFi cred at least once, so why not set time zone when your there anyway.
      It also spares resources on the main app not having to keep the config pages in ram all the time.
      But you could always wright something that is more suited to your project. All the tools / parts are there.

    • @oldpasink4452
      @oldpasink4452 6 ปีที่แล้ว

      Onno Dirkzwager Where does one go for assistance? Different app won't upload after changing to it in a project, etc. Some of this video has changed. Would like to recommend changes to website, etc.

    • @onnodirkzwager3537
      @onnodirkzwager3537 6 ปีที่แล้ว

      James we appriciate your feedback. If it's app specific use the comment section below the app on the apps pages. There are a few feedback forms on the website. But in this case I think the best thing is to send an email to iotappstory@gmail.com

  • @makerken
    @makerken 6 ปีที่แล้ว

    Fantastic implementation, I've been watching your videos a while, and now have a chance to try it out.
    Installed the latest versions of everything yesterday. Changing only the blink duration of the IASBlink sketch and then uploading the .ino today, on update I get:
    Checking for App(Sketch) updates from: iotappstory.com/ota/esp8266-v1.php
    Update Failed. Error (-106): Verify bin header failed
    Is this problem server side, or is it a check I can remove in the header, suggestions?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      1. I would look at the log in IOTappstory.com
      2. Did you implement the 2.4 version of the ESP framework?

    • @makerken
      @makerken 6 ปีที่แล้ว

      Thanks!
      v2.4.0-rc1 installed under Boards Manager. I was pretty sure but checked. The IASLoader worked over serial, and I was able to load your IASBlink and another established app OTA, just not my own blink.
      Possibly a verification change

  • @markludwig5805
    @markludwig5805 6 ปีที่แล้ว

    Andreas…great work. I have done all the updates and have IOTAppStore working very well on non WIFI sketches. My ESP8266 WIFI Client sketch which connects to another ESP8266 WIFI Server will download a new App the 1st time only then I get: “Update Failed. Error (-1): HTTP error: connection refused”. I have to reload IASLoader and enter SSID and Password again. IOTAppStory will download App/sketch the 1st time only. I think my SSID and Password for IOTAppStory are getting lost or over written by the WIFI Client sketch. Any Ideas how to fix?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Did you have a look at the log on IOTappstory? it usually shows what the backend got and sent out. This usually helps me debugging.

  • @muctop17
    @muctop17 6 ปีที่แล้ว

    Hi Andreas! How's about security? I have to input my WiFi password. Where is this stored? That's why I use an isolated guest account for IoT devices. Is there any encryption for connection and storage of updates?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      1. The Wi-Fi password is stored in your ESP, as usual
      2. So far, we do not use HTTPS. Maybe in the future...

  • @taohawaii
    @taohawaii 6 ปีที่แล้ว

    This is fantastic! But... When you give away something great, people always ask for more. Which is why I am shameless in asking if there is a possibility you could figure out a way to turn this into a programmer for an external microcontroller. I.E. OTA updates to (optionally) the ESP8266 OR a connected ATMEGA328P?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I never heard or used OTA on Arduinos. I think, their memories are too small.

    • @taohawaii
      @taohawaii 6 ปีที่แล้ว

      Okay, bummer. I was just thinking that since a lot of people use ESP8266's as cheap alternatives to wifi shields, it would be kinda handy to do what you are doing but pull down Arduino firmware onto the free space of the ESP8266 and flash it using a routine that uses GPIO to drive the ISP pins.

  • @martinblanz1929
    @martinblanz1929 6 ปีที่แล้ว

    I have peroblems with IOTAppstory.com. No code is downloaded vis OTA. Error in log: 500 ESP MAC is not configured for updates... What can I do ?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I think, your project is not configured properly. Maybe you check the log file on IOTappstory.com?

  • @JyskMaker
    @JyskMaker 6 ปีที่แล้ว +1

    There is some errors on the site. :-)
    Under Projects, Device(S) You miss some of the text, CPU: 80 Flash and so on (Bouth in Crom and firefox browser.
    And under FIRMWARE Select App, no text in Version, only a emty dropdown box.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      The box is not empty, just "white on white" in Chrome. If you go down, you can read it. The other browsers seem to work ok.

    • @JyskMaker
      @JyskMaker 6 ปีที่แล้ว

      not in firefox, that is the browser i normaly use, just tryed crome, to see if that was the same problem. :-)

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      +Allan Madsen It seems to be only in Chrome. Not easy to debug...

    • @JyskMaker
      @JyskMaker 6 ปีที่แล้ว

      When its up again i can make a screen shot, dos iot have a fb site / group??

  • @ljl451
    @ljl451 6 ปีที่แล้ว

    Hello,
    I tried to compile the IASLoader example, but I get the following error:
    ---
    C:\......\IOTAppStory-ESP8266\src\IOTAppStory.cpp:8:25: fatal error: ArduinoJson.h: No such file or directory
    #include
    ---
    Do you know why?
    Thanks

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      This error comes from not installing the Arduino json library. You can do that with sketch->include libraries->manage libbraries. Search now for "arduinojson" and install the library.

  • @fhwessels
    @fhwessels 6 ปีที่แล้ว

    Hi will your software work with Platformio as well?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I do not know PlatformIO. So, I do not know...

    • @fhwessels
      @fhwessels 6 ปีที่แล้ว

      Andreas this is a mush better development environment for arduino and esp. You should have a look at it here is the link platformio.org

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I know about it, but never found the time to use it :-(

    • @butteredcat4368
      @butteredcat4368 6 ปีที่แล้ว

      but.. to be able to upload sketch by ota u need to pay 10$/month, billed yearly so 120$, does it true?

  • @majidnasr3329
    @majidnasr3329 6 ปีที่แล้ว

    Dear Andreas,
    Any update with V2 ??

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      A video should be ready in the next month

  • @duncanx99
    @duncanx99 6 ปีที่แล้ว

    Hi Andreas
    I'm confused - very confused!!!
    Problem 1.
    I signed up, followed all the steps and uploaded the IASLoader sketch to a Sonoff. I can see the network, but when I try and connect, I get "Connecting - Saved - Network Access Denied"...
    Arduino version is: 1.8.1
    ESP8266/Arduino is: 2.4.0-rc1
    OS is: Windows 10
    Problem 2.
    I tried to change the 'photo' on my IOTAppStory account - nothing changed.
    Problem 3.
    The "Community" section was where I was expecting to be able to post this, but all that's there is a list of members. Try the WiKi section - no, not there either. Tried every other section, without finding anything obvious.
    What am I doing wrong???
    Thanks

    • @duncanx99
      @duncanx99 6 ปีที่แล้ว

      I've just tried it with my laptop - but... that won't connect at all to the INITLoader network, despite being less than 1m apart.
      I'm sure this is a good idea for those who can get it to work.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      The best place to debug this is here: github.com/iotappstory/ESP8266-Library/issues . Onno will help you to get it running, I am sure. Maybe we have to put a link on the website. Would have been more convenient for you. Sorry.

  • @Lompies100
    @Lompies100 6 ปีที่แล้ว

    Cannot get IASLoader to work?
    Pressed reset after getting "No Connection. Try to connect with saved PW...." But only garbage shows up?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Strange. Did you use the newest library? And did you connect with your smartphone to the ESP8266? And did you push the reset switch once after flashing the loader via Serial?

    • @Lompies100
      @Lompies100 6 ปีที่แล้ว

      Yes to first and last question. Could not connect using cellphone as the connection did not appear under wifi connections available. I also have a problem with ArduinoOTA - the network connection does not appear. So it could be my router blocking the address? That's why I found your solution.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      The router is not involved in the connection to the smartphone because the ESP creates a different network. Watch your Serial monitor to find out what the ESP does.

  • @hanstanner4639
    @hanstanner4639 6 ปีที่แล้ว

    Nice concept, however...
    When using Board version 2.3.0 I am can configure the board, but it will not download the app giving me a 403 error as described by other users
    When using 2.4.0 RC1 I do get a blank screen when connecting to 192.168.4.1 (it does not stop loading). Serial keeps showing
    *WM: 192.168.4.1
    *WM: HTTP server started
    *WM: Request redirected to captive portal
    *WM: Handle root
    *WM: Handle root
    *WM: Request redirected to captive portal
    *WM: Handle root
    *WM: Handle root
    *WM: Request redirected to captive portal
    *WM: Handle root
    I am using Library 1.06 already, so this should not be the problem.
    Any hints?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Your board started as an Access Point and is waiting for input from your Smartphone. Did you connect it to the ESP Wi-Fi network first?

    • @hanstanner4639
      @hanstanner4639 6 ปีที่แล้ว

      Thanks. I got it working from the cell phone, but not from Chrome. Need to investigate more as I upload additional devices. Also, is there more technical documentation available? I think I checked all the Wiki. I am particularly interested to see an EEPROM map and how much EEPROM is still available for application and at what location. Also I would like to better understand the installation process of a new app version, i.e. how much RAM is needed for download and upgrade management, and what happens if e.g. communication fails somewhere in the process. Thanks again for your support.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      In Chrome it is ridiculously slow sometimes as the PC seems to send "unnecessary" stuff to the ESP.