#144 Internet Protocols: CoAP vs MQTT, Network Sniffing, and preparation for IKEA Tradfri Hacking



In this video,
– We will discuss the relevance of the COAP protocol and where it is used
– Create an idea about the concept of RESTful APIs I already used in video #27
– Understand the basic differences between COAP and MQTT
– Use COAP on ESP8266
– We will learn a little on how to “spy” networks using Wireshark
– And of course, we will be prepared to hack the IKEA Tradfri gateway in the next video

Links:
ESP8266 CoAP Library:
ETH Zurich CoAP Test Server: coap://129.132.15.80:5683/
Copper Firefox add-on:

Supporting Material and Blog Page:
Github:
If you want to support the channel and buy from Banggood use this link to start your shopping: (no additional charges for you)

20 Replies to “#144 Internet Protocols: CoAP vs MQTT, Network Sniffing, and preparation for IKEA Tradfri Hacking”

  1. Marco C.T.

    I'm sorry i'm not so good but i would like to understand how to repeat the signal to control bulbs situated out of range of the gateway, can you suggest me how to solve the problem?

  2. Kanapka Z Pasztetem

    well… here we are 2 years later…
    is there any good CoAP library for the Arduino framework?
    The "CoAP-simple-library" is too simple 🙁 There is also "ESP CoAP" but so far I didn't manage to get it working 🙁

  3. FingerPrint

    Dear Mr Andreas, on the browser view at around 7:45 the browser shows a service exposed by the COAP server named LED. I checked the https://github.com/automote/ESP-CoAP and the coapserver.ino and did not find this "LED" but something as "LEDSTATE". I am trying to understand how this COAP thing works and trying to make it work with a ESP32. I am trying to understand how the server exposes these services and by clarifying this "LED" question above you will sure help me understand where it comes from. Many tanks and congrats for the nice tutorials.

    By the way, I found a Copper agent that works with the current version of Chrome that may be of interest at: https://github.com/mkovatsc/Copper4Cr and it works great.

    Regards

  4. FingerPrint

    Dear Mr Andreas, thanks for the valuable video. Currently I am playing with ESP32, I would like to see how a client (with a, say, temperature sensor) and another client (with, say, a humidity sensor) could send their information to a COAP server that would, according with some pre established parameters, switch on a pump (or provide this info so a third client could do so). Thanks again.

Leave a Reply

Your email address will not be published. Required fields are marked *