#29 Internet of Things with ESP8266/Arduino IDE #1: Calling RESTful JSON Services

Поділитися
Вставка
  • Опубліковано 22 сер 2024

КОМЕНТАРІ • 141

  • @robertblaylock618
    @robertblaylock618 7 років тому +33

    Dear Friend With the Swiss Accent,
    I truly enjoy watching your Tutorials. You must enjoy doing them, as I know it must be quite time consuming and involve a lot of work.
    I have watched others, but find yours to be among the absolute best. So many treat the subject matter as common knowledge, often skipping over some of the more important information. Then go on to talk about how they have overclocked the board or system and are able to send enormous amounts of useless data from nonexistent apps. they never intend to put together to all parts of the globe.
    Thank you for taking the time to share your wealth of knowledge. It is truly helpful, and easy to understand. And, your accent is no trouble at all to understand, but does help in remembering wonderful people from the world over can work together to make good things happen.
    Robert Blaylock

    • @AndreasSpiess
      @AndreasSpiess  7 років тому +15

      Thank you very much for your nice words. This is exactly the intention of this channel: To use modern technology in a good way, and share knowledge. Because knowledge can be multiplied, other than most physical things.

  • @Dardain
    @Dardain 7 років тому

    Nice video! Two additional hints that were not mentioned but might be helpfull:
    1. Some webtechnologies allow you to choose in which format you want the HTTP Reply by adding .xml or .json at the end of the uri.
    2. Use yield() instead of delay(1). This allows the scheduler to switch context (and do WiFi stuff) without the break.

    • @AndreasSpiess
      @AndreasSpiess  7 років тому +1

      (1) Thanks for the tip. Unfortunately, I do not (yet?) know a lot about web technologies. So, I have to use what is available as services. I am not able to create my own...
      (2) I know the difference between yield and delay and if I used delay, it usually had a reason (even if I do no more remember, why). Normally, as you wrote, yield is the one to use.

  • @tonybell1597
    @tonybell1597 6 років тому

    Marvellous Andreas, always steered clear of Web Service API's, but will now dive into the IOT and see what I can find! Many thanks, keep up the grand work....

    • @AndreasSpiess
      @AndreasSpiess  6 років тому

      Connected devices are very interesting. Watch for example my newest videos about Google Calendar...

  • @dab19940604
    @dab19940604 5 років тому

    Dear friend, I hope you continue helping people the way you do on these videos, I just found your videos in 2019 and they really help me with some projects I have for my home city! Thank you!

  • @javierpallalorden
    @javierpallalorden 8 років тому +1

    Grüezi Andreas, Merci vielmal! Keep up the very nice videos!

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      +Javier Palla Lorden Werde ich versuchen. Das nächste sollte über's WE folgen...

  • @MehrdadGivehchi
    @MehrdadGivehchi 7 років тому +2

    Andreas
    Many thanks for such great tutorial videos!

  • @Biky750
    @Biky750 7 років тому

    Hello Andreas,
    what a great piece of information! You helped me a lot to understand. Thank you!

  • @enricosaccheggiani3192
    @enricosaccheggiani3192 4 роки тому

    Sehr interessant, ich bin angemeldet , du hast viele meine problem risolviert. Danke sehr

  • @robertkes
    @robertkes 8 років тому +3

    Nice tips with delay(1).

  • @yonneh.
    @yonneh. 8 років тому

    Please don't query web services every second. It gives a time when you query it; you could store that time to a variable, and loop (using sufficient yield() instructions) for a second, decrementing the time each loop, and end up with the same result.
    Even the NTP queries could be removed entirely by adding a simple RTC Module...
    Querying the same information every second wastes your bandwidth (and the servers), and with enough concurrent devices, could overload the web service. Try to limit repeated connections as much as possible.

    • @AndreasSpiess
      @AndreasSpiess  8 років тому +1

      Each web service has a purpose and its purpose defines when it has to be called. In my example, the real-time info of the public transportation vehicle can change every second. This is the purpose of this whole project. This is why I call the web service so often. I do not remember how often I call it, but if I remember right, the timeis variable and it becomes shorter as the departure time gets closer. If I call it every second, this would be a mistake. It is also only called a few minutes before departure, not always.
      RTC modules were necessary before the connected devices. The have a few important disadvantages:
      1. You need additional hardware (RTC module and backup battery)
      2. You need a possibility to input the time (at least set the current time once)
      3. You need a display to show the time you entered.
      Even if I would set the time through the web interface, number 1. would still be valid.
      To replace hardware by software is the name of the today's game, not the contrary.
      Concerning bandwidth: If you watch one UA-cam video you used more bandwidth than my device in 100 years...

  • @TheRealSasquatch
    @TheRealSasquatch 8 років тому

    Great idea and well thought through. Thanks

  • @jacobwcrosby
    @jacobwcrosby 7 років тому +5

    Really *REALLY* need to be editing out that OBNOXIOUS beeping sound... I've come to expect much more from your videos. Thank you for the efforts regardless!

    • @AndreasSpiess
      @AndreasSpiess  7 років тому +7

      What exactly did you expect?

    • @PatrikKron
      @PatrikKron 7 років тому +4

      Jacob Crosby I totaly agree, I'm very glad I did not listen to this in my headphones !. It was so much lauder than the rest of the sounds in the video that I just thought it was a firealarm needing a battery change. Resulting in me running around my house to figure out wish firealarm that was responsible for the noice.

    • @ThatGuy-nv2wo
      @ThatGuy-nv2wo 7 років тому

      Is not so loud

    • @jacobwcrosby
      @jacobwcrosby 7 років тому

      Patrik Kron lol I can imagine it sounding like it is coming from everywhere, running around searching for what the hell all the siren is from... Hehe

    • @jacobwcrosby
      @jacobwcrosby 7 років тому +3

      Andreas Spiess Andreas Spiess I apologize if this comment came across in a negative way, it was intended to be complimentary, in that your videos are usually of a higher quality than the majority of the videos of this kind that I come across on YT... The audio in your work is typically of a higher quality, so when I say that I have come to expect more, I mean that your work is usually impeccable. :-) Again, I do thank you kindly for all of the hard work and effort that you put into sharing your knowledge and working to educate those of us that are without the knowledge that you possess.
      Be well!

  • @TechnoEveryday
    @TechnoEveryday 2 роки тому

    🆒 Thank you so much for uploading this video.
    👍👍👍👍👍
    Sharing with community 🇵🇰

  • @Maheshl43
    @Maheshl43 6 років тому

    You are really superb personality....i want to meet you some day...

  • @neilvermeulen5283
    @neilvermeulen5283 6 років тому

    Thank you Andreas.

  • @shsftech3792
    @shsftech3792 4 роки тому

    Very nice!

  • @LearningToFly77
    @LearningToFly77 8 років тому

    Hallo Andreas,
    erstmals vielen Dank! Super Videos die du da machst, habe schon sehr viel gelernt ;-)
    Ich habe einen ESP8266 programmiert mit der Arduino IDE, damit er von einem DHT22 Temperatur und Luftfeuchtigkeit an Thingspeak sendet. Funktioniert alles soweit recht gut. Nur ist der ESP auch als Accesspoint sichtbar und das möchte ich nicht. Wie kann ich das deaktivieren? Ist das in einem speziellen Register abgelegt?
    Mfg
    Stefan (auch mit Swiss Accent ;-)

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      wifi.mode() bestimmt das. wifi.mode(WIFI_STA) ist, was du brauchst und wifi.mode(AP_STA) was du hast. Das Statement mache ich vor das wifi.begin. Die ESP chips merken sich das auch wenn sie abgeschaltet werden...

  • @avitans703
    @avitans703 6 років тому

    Thank you for sharing with us all this information , unfortunately I'm a beginner that starting to explore it. I'm trying to follow your ESP8266 videos and I'm missing one basic part which is what are the type of models we have ? which one to buy? how to define and connect it to the arduino IDE some basic stuff, I'm sorry if i missed such and can u please direct me to such information?

    • @AndreasSpiess
      @AndreasSpiess  6 років тому

      This channel usually does not cover the basics. I am sure you find this information by googling. There are a ton of videos on how to start with the ESP8266.

  • @ineffableseul
    @ineffableseul 3 роки тому

    can i use esp8266 for localhost? and not using internet service provider????

    • @AndreasSpiess
      @AndreasSpiess  3 роки тому +1

      You can do many things, if you know how.

  • @keshavdk3080
    @keshavdk3080 8 років тому

    Interfaced arduino uno with esp8266-01 Wi-Fi module, 16*2 LCD ...now I have a webpage where it has two text boxes and submit button.So now when I type something on text box and click on submit button ,the text should get displayed on LCD . I tried for led toggle from internet example .it is working . at commands everything is working . I am new to server and web concept. I tried get method with HTML in webpage.but could not succeed. Some people said try php. Any idea.

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      I am not a web person, too. So I can not give yoi advice on that.

    • @keshavdk3080
      @keshavdk3080 8 років тому +1

      Ok Sir. Thank you.

  • @alejandrotrujillo5679
    @alejandrotrujillo5679 5 років тому

    Hello Andreas I hope you can help me. I'm using a ESP8266 an my problem is that yesterday my code worked perfectly, then made some changes on some conditions and now I still can upload both codes, and create a server in which I can interact but neither the new nor the old code turns the relay on and won't send info to the serial monitor.

    • @AndreasSpiess
      @AndreasSpiess  5 років тому +1

      Unfortunately, I cannot do remote debugging. I am sure you will find the error yourself.

    • @alejandrotrujillo5679
      @alejandrotrujillo5679 5 років тому

      @@AndreasSpiess Thanks again for answering ;) just found it was the board type LOLIN (WEMOS) D1 R2 & mini instead of WeMos D1 R1. Don't really understand the difference but I'll search for it. Thanks again!!

  • @chrisw1462
    @chrisw1462 6 років тому

    Ok.. for future reference.. beeps that loud, repeated more than once or twice, are AnNoYiNg!!!! And then it got faster!.. eesh...

  • @whynot8140
    @whynot8140 7 років тому

    wery good work. BRAVO.

    • @AndreasSpiess
      @AndreasSpiess  7 років тому

      Thanks! There are many more videos about the ESP and the internet in the playlist if you are intersted. This was just my beginning and I learned quite a bit since then.

  • @Abdullbasit1985
    @Abdullbasit1985 8 років тому

    very good tutorial but your screen resolution is very hi that we can't read most of text

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      +Abdullbasit AlHaita Thank you for the comment. I will try to avoid it in the future. You find the code on Github (link in hte comment.

  • @debabanerjee8029
    @debabanerjee8029 7 років тому

    Sir,
    I have watched your previous videos which help me a lot. But I am facing a problem for using NODE MCU 12 E OUTPUT pin, that is I am unable to use GPIO19(D0), GPIO0(D3),GPIO3(D9) as output pin. They are not giving any OUTPUT(HIGH/LOW) . is it not possible to use them as output pins? which pins can be used for input/output?
    any help in this regards will be highly appreciated.
    thank you.
    DEBASISH BANERJEE

    • @AndreasSpiess
      @AndreasSpiess  7 років тому

      1. D0 is GPIO16
      2. D9/D10 are RX and TX. D9 conflicts with your USB to Serial converter. D9 is only usable for the ESP-12 module alone
      3. D3 is used to program the chip. So, it might conflict with the programming logic of the nodeMCU board. Similar to D9. Look at the diagram of the nodeMCU board and you will see it.

    • @debabanerjee8029
      @debabanerjee8029 7 років тому

      Thank you Sir, But my question is can I use TX/RX pins D10/D9 as simple output pin like digitalWrite(D9, HIGH) when the ESP-12e module is not connected with usb? I directly powered it through a 5 volt voltage regulator to its Vin pin.

    • @AndreasSpiess
      @AndreasSpiess  7 років тому +1

      I think, you tried it already and it did not work. I think, I answered the question, why it does not work. Because it is connected to the output of the USB to serial chip on the NodeMCU board. And it you try to connect two outputs, the stronger wins. Obviously, this time, it is the USB to Serial chip ;-)

  • @colfaxschuyler3675
    @colfaxschuyler3675 8 років тому

    I am enjoying your videos. I want to play, but... There are too many choices! Andreas, help the confused noobies out.
    How about doing an "Idiot's guide to ESP8266 models, and what to look for to make sure you get something good for cheap"?
    I've spent a couple days looking at listings from FastTech, Banggood, DealExtreme, AlieExpress, etc. and sheesh there's a lot out there. Are those companies reliable, are those usable items, or is that "no-name junk"?
    Some sites advertise a 12F.... I don't think that's a typo, because I see it all over - but 12F isn't listed on the ESP8266 wiki.
    Can you explain what the meaning and significance is if it says NodeMCU, "Witty", LUA, WeMos, or stuff like that? What's a ESPduino? A "Witty cloud development" board? Is it worth getting a board that advertises "1M flash" or is that still too small for OTA? Argh!
    I've seen a couple "beta boards" and dev boards for less than $10 that include built-in stuff like temp/humidity sensors, RGB LED, relays, switches... it would sound like this would let you be up and experimenting immediately - but there's no documentation.
    Color me frustrated. I just want a quick and simple way to play around with web-enabled micro controllers.

    • @AndreasSpiess
      @AndreasSpiess  8 років тому +1

      +Marc Visconte as a start you can watch my video #41. There you should find answers t many of your questions. The different platforms all sell the same models. I use Aliexpress and banggod. Both are good.
      You cannot make big mistakes as the investment is usually less than 10$. I always buy two. If I have problems I just change the board. If the error persists, its my mistake ;-)
      Come back after that and ask again, probably a little more specific.

    • @colfaxschuyler3675
      @colfaxschuyler3675 8 років тому

      Excellent. I haven't seen #41. I'll do that on my lunch break or after work today! Thank you

    • @colfaxschuyler3675
      @colfaxschuyler3675 8 років тому

      anguissette Thank you. I looked at that before, but was undecided. I've got to start somewhere. - I think I'll get one - it's about 5 at FastTech... I've ordered from them before. At 3, I'd get two (so I can make them play Marco Polo).

  • @muhammadnurabidin6473
    @muhammadnurabidin6473 7 років тому

    if i want to control via localhost, how to connect the json?

  • @Aemilindore
    @Aemilindore 7 років тому

    Another great Video.

  • @PROtechDOWN
    @PROtechDOWN 3 роки тому

    Processor? I thought it’s a micro controller

    • @AndreasSpiess
      @AndreasSpiess  3 роки тому

      Every MCU has a microprocessor inside...

  • @yashshah8261
    @yashshah8261 7 років тому

    i want to control bandwidth,latency or packet loss with esp-8266. Could you help me out?

    • @AndreasSpiess
      @AndreasSpiess  7 років тому

      No, unfortunately, I do not unterstand internet protocols

    • @yashshah8261
      @yashshah8261 7 років тому

      Can we atleast change channel frequency of transmission in esp8266?

  • @HazemYoussry
    @HazemYoussry 8 років тому

    nice video keep up

  • @Weglobaltech
    @Weglobaltech 8 років тому

    Hello, why you don't use MQTT protocol?

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      I use different protocols to have some choice. In another video, I used MQTT

  • @arsenegeorgy3149
    @arsenegeorgy3149 5 років тому

    please is it possible to send http DELETE request with ESP8266 ?

  • @yaozeng3311
    @yaozeng3311 7 років тому

    Thank you for your excellent Tutorials, we have several ESP8266 and DA14580 BLE modules, LoRa module with FCC, CE certification, I wonder is it possible that you help me test these modules?
    Thank you for sharing valuable knowledge with us.
    It is really helpful for wirelss tech fans.

    • @AndreasSpiess
      @AndreasSpiess  7 років тому +1

      I will only cover things I did not use before. So, if you have an innovative product, which is interesting for my viewers, I can integrate it in my mailbag, if you send me one

  • @gerardmelvin8670
    @gerardmelvin8670 5 років тому

    YOU HELP 96 K WELL DONE AND THANK YOU .

  • @rytis7219
    @rytis7219 8 років тому

    I have LoLin NodeMcu v3 board and it doesn't respod to commands, like AT. And when I restart it with the button it shows this:
    ets Jan 8 2013,rst cause:2, boot mode:(3,6)
    load 0x4010f000, len 1384, room 16
    tail 8
    chksum 0x2d
    csum 0x2d
    v09f0c112
    ~ld
    What should I do?

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      Which sketch did you load to the board?

    • @rytis7219
      @rytis7219 8 років тому

      Empty sketch, now tried this:
      void setup() {
      Serial.begin(115200);
      Serial.println("Begin");
      }
      void loop() {
      while (1 == 1);
      delay(100);
      }
      Output:
      Soft WDT reset
      ctx: cont
      sp: 3ffef130 end: 3ffef300 offset: 01b0
      >>>stack>>>
      3ffef2e0: feefeffe feefeffe 3ffee2d0 40201fe8
      3ffef2f0: feefeffe feefeffe 3ffee2e0 40100114

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      Just one ; at the wrong place. Enter a Serial.print("TEST"); command above the delay and you will find out, where. Come back, if you do not find it.

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      BTW: It will still crash till you remove the ;

    • @rytis7219
      @rytis7219 8 років тому

      Added that print line and it doesn't even print it to the console.

  • @coli24200
    @coli24200 7 років тому

    Hi Andreas, you can use this lib #include for decoding encondig JSON strings it will simplify it it.
    it works under ESP , github.com/bblanchon/ArduinoJson , I used it for enconding data over a serial stream and it seems to work very well..

    • @AndreasSpiess
      @AndreasSpiess  7 років тому

      I tried the library, but for my purpose I found it too big, and if I remember, I had also some issues with it. Maybe it works now better. In a future project, I would try it again.

  • @MPElectronique
    @MPElectronique 7 років тому

    Andreas, i didnt find your code in your github :(

    • @AndreasSpiess
      @AndreasSpiess  6 років тому

      If you press the link you find a newer version of the code

  • @tamyboy1
    @tamyboy1 5 років тому

    what is this loud beeping in the audio ?

  • @timm3802
    @timm3802 7 років тому

    Hi Andreas
    Greetings from Denmark and thanks for some great videos.
    You are such an expert in ESP8266, so maybe you can guide me in the right direction :D
    I'm building a IR remote for my "homeautomation system", and have a ready to go solution with IR connected to a UNO.
    Now I want to control it with a esp8266f, to get it wireless, so it can talk with the the homeautomation server. But when i'm compiling the code I get a interrupt error..of course (as the esp8266 don't have this interrupt)
    It's a fairly simple code for a UNO, so the question is
    1. do I find another esp8266 type
    2. CAN it be done with a esp8266f at all
    3. do I find another IR library
    4. do I use the UNO as IR sender and talk with the esp8266f via serial communication
    5. do I change the source code in the IR library (no sure if it can be done)
    I use Ken Shirriff's *awesome* IRremote library: github.com/shirriff/Arduino-IRremote
    And it do not support the esp8266!
    Here is his Hardware specifications:
    Board/CPU Send Pin Timers
    ATtiny84 6 1
    ATtiny85 1 TINY0
    ATmega8 9 1
    Atmega32u4 5, 9, 13 1, 3, 4
    ATmega48, ATmega88, ATmega168, ATmega328 3, 9 1, 2
    ATmega1284 13, 14, 6 1, 2, 3
    ATmega164, ATmega324, ATmega644 13, 14 1, 2
    ATmega8535 ATmega16, ATmega32 13 1
    ATmega64, ATmega128 13 1
    ATmega1280, ATmega2560 5, 6, 9, 11, 46 1, 2, 3, 4, 5
    Teensy 1.0 17 1
    Teensy 2.0 9, 10, 14 1, 3, 4_HS
    Teensy++ 1.0 / 2.0 1, 16, 25 1, 2, 3
    Teensy 3.0 / 3.1 5 CMT
    Teensy-LC 16 TPM1
    The table above lists the currently supported
    My idea was nr 4, but again I think it's a lot of work to do, and when thinking of the esp8266f 's memory and cpu power.
    It should definitely do it all and more, so I think it's a overkill.
    Some of the hardware in the list I know and some I don't. But it dont list the esp8266.... :(
    Any ideas would be great.
    So thanks in advance.
    Tim M.
    ----------------------------
    Compile with Uno:
    Sketch uses 3,724 bytes (11%) of program storage space. Maximum is 32,256 bytes.
    Global variables use 526 bytes (25%) of dynamic memory, leaving 1,522 bytes for local variables. Maximum is 2,048 bytes.
    ----------------------------
    Compile with ESP8266 :
    #include
    compilation terminated.
    Using library Arduino-IRremote-master at version 2.2.1 in folder: C:\Users\Test\Documents\Arduino\libraries\Arduino-IRremote
    exit status 1
    Error compiling for board Generic ESP8266 Module.

    • @AndreasSpiess
      @AndreasSpiess  7 років тому +1

      1. You can use your Arduino and add and ESP-01 with the "AT firmware". Then, your Arduino does everything and uses the ESP via serial. this is a simple way. If you use the Example files, the effort is not big. But you have to deal with http requests etc. Do not forget the 5v-3.3 volt level converter...
      2. If you want to get rid of the Arduino, you have to rebuild your project, because your library does not support ESP8266. Maybe this library helps: github.com/markszabo/IRremoteESP8266. Or you google a little more and find another one. Also here, you have to deals with http requests etc.

    • @timm3802
      @timm3802 7 років тому

      ok, super. Thanks for your input Andreas :O)
      I didn't see this at all. And will try it out right now.

  • @halukyilmaz9621
    @halukyilmaz9621 8 років тому

    hello, where is arduino rest sending code?

    • @AndreasSpiess
      @AndreasSpiess  8 років тому +1

      +Haluk YILMAZ All code runs in the ESP8266. No Arduino necessary

    • @halukyilmaz9621
      @halukyilmaz9621 8 років тому

      +Andreas Spiess thank you for share, but how can i send rest quest to web site ? example is there is a rest /json sample like [/api/getAccounts] and value is { "data"="2"} how can i send? and another question is possble to websocet post/get ?

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      +Haluk YILMAZ I am not an internet protocol specialist and had to learn and try out the things I use in this scenario myself. So, I am not a big help in internet protocol specific questions.

  • @jesuishalil
    @jesuishalil 8 років тому

    Does the piezo buzzer need a resistor?

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      Usually not. Just if it is too loud. I do not exactly know how they are rated. I either add a small resistor or close the hole with hot glue.

    • @jesuishalil
      @jesuishalil 8 років тому

      What I am more worried about is the maximum current draw of the pins on your esp8266(dont want to break anything=P), I looked up a random piezo on ebay and it says 1.5 - 15 volts, 16 mA, for an arduino 16mA would be perfectly fine , on adafruit's huzzah-esp8266 they say maximum IO current draw is 12ma per pin. I am sure it will work just fine, but I myself would have a transistor circuit amplifier in there just to be safe.

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      +Flo wey in my newest design i used a FET transistor to solve that problem. I had some problems with a few buzzers (they had a bad tone).
      I never measured the current because so far, output pins were always protected against short overload and i only make 0.1 sec beeps. But if you want to be sure, use a logical level FET. Pay attention that it is completely on with the Vgs 3V. With an n channel FET you have to connect the buzzer to 3.3 V or even jto 5V.

    • @jesuishalil
      @jesuishalil 8 років тому

      I bought 100 2n2222 npn bjt transistors a while ago, and they are easy to wire, with 180 ohms or so it will fully allow conduction between C and E up to 400 ma or something like that.Good to know you've changed your wiring for piezo, i will take precautions when working with piezos =)

  • @HazemYoussry
    @HazemYoussry 8 років тому

    Can you provide us the code of this project ?

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      +Hazem Youssry I put the link in the comment of all videos now. Be aware that ist is still work in progress

    • @HazemYoussry
      @HazemYoussry 8 років тому

      +Andreas Spiess thank you but it's project doc only shared on github not the code

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      +Hazem Youssry Thank you for this info. You are right. I am not using github very often and obviously did not commit the code. And of course, I should have checked it myself!
      Now it should be there.

  • @MilanRotovnik
    @MilanRotovnik 6 років тому

    Please send the arduino program code? :)

    • @AndreasSpiess
      @AndreasSpiess  6 років тому

      Usually, my code is on my GitHub and the link in the description.

  • @norm1124
    @norm1124 8 років тому

    Hallo Andy, schicke Lösung. Hast Du schon diese Library für JSON untersucht? github.com/bblanchon/ArduinoJson/blob/master/README.md

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      +norm1124 Danke für's Kompliment. Nein. ich habe diesen Parser nicht verwendet, weil ich ihn nicht gekannt hatte und mein json-String ja denkbar einfach ist.
      Werde aber mal Versuche mit der Library machen. Der ESP-12 sollte ja genügend Speicher haben.