#144

  Рет қаралды 95,934

Andreas Spiess

Andreas Spiess

Күн бұрын

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: github.com/aut...
ETH Zurich CoAP Test Server: coap://129.132.15.80:5683/
Copper Firefox add-on: addons.mozilla...
Supporting Material and Blog Page: www.sensorsiot.org
Github: www.github.com...
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)
/ sensorsiot
/ spiessa

Пікірлер: 198
@HariWiguna
@HariWiguna 7 жыл бұрын
Andreas, you're amazing! In 6 minutes (I watch KZbin at 2X speed), you taught me what COAP is and how it's different from MQTT. Thanks for sharing your knowledge!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
So, two Swiss equal one American (at least in English language ;-)
@paulham
@paulham 7 жыл бұрын
2x is so fast. I like 1.25x for slower talking videos
@reanimationxp
@reanimationxp 7 жыл бұрын
I can't agree more Andreas. I love you and your videos so much. Thank you for making them!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+ReanimationXP :-)
@asiw
@asiw 7 жыл бұрын
Fantastic. You never ceases to amaze me. This is really interesting and useful but I have no idea how you manage to do so much. Looking forward to the next episode. Thank you for sharing so much with us. Best wishes Arthur
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
If I want to be successful on KZbin, this is how it has to be ;-)
@jesuschal
@jesuschal 7 жыл бұрын
One of the most exciting, didactic and inspirational 13 minutes I have ever had! Looking forward full of anxiety to #145!!!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+jesuschal Thanks!
@dachoeks3
@dachoeks3 7 жыл бұрын
Just wanted to say that as always I enjoyed your video and to point out that your approach in presenting information is superb. Flow of the video is always well structured and easy to follow. I always get excited when I receive an email that says you have posted a new video. Keep up the good work!!!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thank you for your nice words. The next mail should come tomorrow, 6AM Basel time...
@dachoeks3
@dachoeks3 7 жыл бұрын
Andreas Spiess Looking forward to it! Thanks
@your-digital-bodyguard
@your-digital-bodyguard 7 жыл бұрын
Andreas, you're an amazing teacher! You have a gift sir, taking difficult topics and explaining them in such a simple way. I wish you were my Engineering Professor when I learned.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks your for your nice words!
@nomadic_rider42
@nomadic_rider42 7 жыл бұрын
you, sir, deserve at least 1M subscribers. Thank you for very well explained videos.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You are welcome!
@martinrasmussen5898
@martinrasmussen5898 5 жыл бұрын
The balance of what level to explain stuff is emminent! Not something I find often. Good job :)
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Thank you!
@Perspectologist
@Perspectologist 7 жыл бұрын
I had not heard of CoAP. Thanks for the introduction. I am looking forward to learning more about it.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+Perspectologist You are welcome!
@JC.72
@JC.72 7 жыл бұрын
Thanks for the great presentation! CoAP's service structure feels easier to grasp and when it is presented under the coap:// protocol within a browser, it feels much more user friendly. Hoping that MQTT will have such ability in the future.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You are welcome!
@cislom
@cislom 7 жыл бұрын
Great video - I really appreciate the way you outline the steps and walk thru them explaining as you go. Very easy for me to learn and understand, and very interesting too!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thank you for your feedback. It helps me staying on the track...
@maheshwarbanuk4389
@maheshwarbanuk4389 2 жыл бұрын
Simple and concise with real examples! great turorial!!
@AndreasSpiess
@AndreasSpiess 2 жыл бұрын
Thank you!
@DavidVincentSSM
@DavidVincentSSM 6 жыл бұрын
I've been looking for a consice explanation of coap!! Thanks for making this video. I remember when I was messing around with Mqtt back in 2016 and couldn't find a simple explanation of coap. Thanks for making a video I can forward to others at work!!
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
Thank you for your nice words. COAP was also new to me. This was the reason for this video
@DemetrisStavrou
@DemetrisStavrou 7 жыл бұрын
Great video Andreas. Useful summary and comparison of the two protocols. Liked the wireshark analysis as well. Looking forward for the follow up video!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Good to read that you like my content!
@guatagel2454
@guatagel2454 Жыл бұрын
Andreas, thank you very much! I needed some starting point for CoAP, and I knew that you will have a video about it. Thank you!
@AndreasSpiess
@AndreasSpiess Жыл бұрын
Glad it was helpful!
@jitenpradhan5619
@jitenpradhan5619 5 жыл бұрын
Sir, I am really impressed with your teaching approach. You taught me how simply many things can be explained. Hope you will guide us in future as well.
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Thank you for your nice words!
@deangreenhough3479
@deangreenhough3479 7 жыл бұрын
Great work Andreas 👍 Definitely useful and interesting. Having mastered MQTT with the aid of your work, I'm ready for COAP😀 My interest spiked when you made a wonderful comparison with MQTT, that really helped me to make sense and importantly why I would want to use it. As always looking forward to everything you produce. Your time and effort is gratefully received. 🙏
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I think, at your Sunday breakfast you will see a usage of this new technology...
@deangreenhough3479
@deangreenhough3479 7 жыл бұрын
Andreas Spiess ohh 😲 I'm really happy about that🎯
@JimWangTube
@JimWangTube 7 жыл бұрын
Every episode opened my eyes more. Thanks!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You are welcome!
@chuxxsss
@chuxxsss 7 жыл бұрын
Great to see you using the Wireshark filters Andreas. We ready need a Ikea in my home town as the closes one is 170 km away.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
They tell us here, that 170 km in your country is like 17 km here in Switzerland. So, your IKEA is only about 50% further away than mine... And here, they started a Web Shop. Maybe this helps in your situation even more.
@chuxxsss
@chuxxsss 7 жыл бұрын
Andreas Spiess Maybe it does, how you make me laught. Now off for some milk it's only 7 km away. Or in your terms 70 km's one way that is 140 kms round trip.
@avejst
@avejst 7 жыл бұрын
Thanks for sharing. nice to get new information for the IoT communication😀👍
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You are welcome!
@MortenCopenhagen
@MortenCopenhagen 7 жыл бұрын
Andreas you are my hero. Thanks for another great video. looking forward to Sunday morning for the next one. Cheers.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
The next one is simpler (I hope, at least)...
@joepremkes
@joepremkes 7 жыл бұрын
Hi Andreas, thanks for this very informative video. CoAP was new for me, so this was very welcome information. Danke!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I think, CoAP was new to many of us. This was the reason I thought, I create this video
@ericyeh1995
@ericyeh1995 5 жыл бұрын
Thank you! All the tools you introduced are just pure gold I just wish I was able to find this video way sooner!
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
You are welcome!
@nicklaspersson4687
@nicklaspersson4687 7 жыл бұрын
Amazing how you keep on finding interesting topics to make these great videos on.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I did not find it. If found me...
@MMphego
@MMphego 7 жыл бұрын
Thanks for sharing, Andreas your tutorials are always hitting the nail on the head.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks!
@nikolasrosener2327
@nikolasrosener2327 7 жыл бұрын
Great video, Andreas! For the average home gamer using something like the ESP8266 MQTT will probably always be the easier solution, but there are huge benefits for using CoAP on a more industrial scale: Transparent CoAPHTTP Proxies exist, allowing you to reuse existing infrastructure. Reliability is part of the protocol, but how much you want to pursue it is left to the implementations. There are extensions to CoAP like CoAP-Observe that enable you to deal with sleepy nodes very well. You should take a look if the IKEA system supports it! A small implementation of CoAP (including DTLS!) can run on systems with less than 10 KiB RAM and 100 KiB ROM. It also works great with low power lossy networks like 6LoWPAN. This means huge cost savings when dealing in big volumes. CoAP is also more flexible. In a student project, we implemented a decentralized home automation system with CoAP that did not need any external cloud or central server to function. Apart from the much better privacy, such a system also allows for more fine-grained authentication (what devices on your network should your IoT Fridge be allowed to see?). It is very promising in M2M applications as well, where you can use the RESTful design and the multicast discovery mechanics to build self-configuring interoperable systems. If standardized correctly, this could mean a generic "IoT switch" could turn on and off any "IoT light bulb" regardless of vendor or further capabilities. The combination of these two architectures could allow an Internet of Things were you yourself are actually in control of your data, devices and interoperability instead of the people that build them. This is of course only wishful thinking ;)
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks for your comment. I think, we will see the advantage of the discovery mechanism if we deal with the IKEA bulbs. As I said in the video, fortunately, both concepts are different and have advantages and disadvantages. And this is good. We have the choice. I do not like if two different standards are too similar, because this only creates confusion, uncertainty, and cost.
@thomashorstmann8524
@thomashorstmann8524 7 жыл бұрын
I'm already looking forward to watch the part two.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Already in production...
@CarltonDodd
@CarltonDodd 7 жыл бұрын
Andreas, you've really got me excited about home automation! I'm renting an apartment, so I can't do some things. I have managed to get about half my lights working with Alexa (mostly on ESP8266+relay). I'm working on getting MQTT going, and probably a Home Assistant front end, so that my control doesn't disappear if my internet connection goes down.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I think, your situation is the biggest obstacle for home automation: houses without the needed infrastructure like wiring. So, Home Automation systems are either extremely expensive, or not nice to look at...
@ericjacobsen6901
@ericjacobsen6901 7 жыл бұрын
The Sonoff device from Itead is another choice - consumer ready using ESP8266. I ordered several a few days ago. Hopefully I can watch Andreas videos about them before they arrive. :-) #99, 111, 113, 122, ...
@CarltonDodd
@CarltonDodd 7 жыл бұрын
Eric Jacobsen - I have a couple of Sonoffs I'm tinkering with myself. Thanks for the episode listings. My ESP8266 setup is controlling a 2 relay module, that replaced a couple of switches for built-in lights in my apartment (I'll put the switches back when I leave). Right now, they are just running Fauxmo to work with Alexa, but I want to build an MQTT setup so I can still control my lights if my internet connection isn't working. I also like Andreas' motion sensor idea using Node-Red. I have some places I'd like the lights to come on temporarily if I go into the room, but stay on if I tell them to.
@SamFugarino
@SamFugarino 7 жыл бұрын
Andreas, so happy to have find your channel. Good stuff!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Welcome aboard!
@alexmiszkiel5791
@alexmiszkiel5791 7 жыл бұрын
Can't wait till the follow up of this as I've just bought some Ikea lights and have started looking at home automation :P
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You have to wait till Sunday, 6AM
@alexmiszkiel5791
@alexmiszkiel5791 7 жыл бұрын
Andreas Spiess which timezone? :)
@gertux
@gertux 7 жыл бұрын
Andreas I'm really sorry I started this lengthy discussion with my linguistic pun on the previous trådfri video. It can be an interesting discussion but it's a rabbit hole for a technical channel like yours.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
No problem at all for me. It was very interesting to see, how much we are still "patriots" compared to "Europeans" ;-)
@DulacMarcel
@DulacMarcel 7 жыл бұрын
Hi Andreas, here a big fan from Holland. I looked at every video. it's giving me ideas and I learned a lot. I want to thank you for that. groeten, ( :) ) Marcel
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thank you for your nice feedback!
@maur8
@maur8 7 жыл бұрын
Can't wait for the next episode! :)
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
:-)
@kareemsharawi4778
@kareemsharawi4778 6 жыл бұрын
Simple yet great video, thanks a lot.
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
You are welcome!
@bfkmnemonic
@bfkmnemonic 7 жыл бұрын
Thank you for a lot of great videos. Just a quick note. There is also a PATCH method in restful API.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks for the tip. I did not know that.
@andreaskleber4040
@andreaskleber4040 5 жыл бұрын
very cool and understandable overwiew
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Thank you!
@bubbleiobyericracineux1737
@bubbleiobyericracineux1737 7 жыл бұрын
Very good course, as always...
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks!
@lucascamargo4298
@lucascamargo4298 7 жыл бұрын
Very good explanation Schweiz, Congratz! Danke!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+Lucas Camargo Thanks!
@marceloap140
@marceloap140 7 жыл бұрын
THANKS ANDREAS,
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You are welcome!
@anumsheraz4625
@anumsheraz4625 7 жыл бұрын
Andreas, you're too good !
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
:-)
@_stephan_barfknecht659
@_stephan_barfknecht659 7 жыл бұрын
Hi Andreas, many thanks for this and all the other really good videos and explanations. Short question: you refer to video #27 for RESTful APIs, but that contains 3D-Printing. Did you maybe mean video#29 instead which talks about "Calling RESTful JSON Services"???
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Yes, you are right. Sorry for my mistake
@ismettopal7564
@ismettopal7564 7 жыл бұрын
Good work, as always.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks!
@paulmacgiollacaoine8619
@paulmacgiollacaoine8619 7 жыл бұрын
Always a 👍 for you sir, the quality & frequency of your output is so impressive. How does wireshark perform on the RPi?
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
It does its job. In general, the speed is not as high as on my desktop. But this is ok. I also do not have a lot of experience, I only use it occasionally if I want to solve a particular problem.
@OthmanAlikhan
@OthmanAlikhan 3 жыл бұрын
Thanks for the video =)
@AndreasSpiess
@AndreasSpiess 3 жыл бұрын
My pleasure!
@MauroSedrani
@MauroSedrani 7 жыл бұрын
Very interesting. Thanks!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
You are welcome!
@SebastianWetzel21
@SebastianWetzel21 7 жыл бұрын
good video!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks!
@PhG1961
@PhG1961 7 жыл бұрын
Great ! As usual !
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks!
@rkaid577
@rkaid577 7 жыл бұрын
Great video!
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks!
@ufohunter3688
@ufohunter3688 7 жыл бұрын
I'm too invested in MQTT to change. I don't even see features that are unique and wanted badly. Who here knows the limit of data transfer (Bandwidth in MB/S or KB/S) using a RPI running Mosquitto? I have not been able to find that info! I want to connect an ESP8266 to my lab test equipment but not sure at what speed it can stream data back to me through MQTT.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+UFOhunter I think, it is not about change. It is more to understand the differences. And if I want to use MQTT for the IKEA bulbs, I have to deal with COAP.
@oliviertopas7867
@oliviertopas7867 7 жыл бұрын
Hello Andeas, thank you very much for all your easy explained videos. If you hacked the IKEA Gateway, do you think it would be possible to use the Tradfri Remotes and Motionsensors as seperates device. I use FHEM to automate my home, but unfortunatly all the plugins I cloud find weren't able to use the triggers as seperate device and they get uselesse when the bulbs are managed by fhem. regards
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
The remotes still work with my gateway (in parallel to the signal from the Raspberry. But, of course, you cannot connect tehm to your Raspi because they use Zigbee. But you can read the status of your bulbs with the Raspi.
@Landrash
@Landrash 7 жыл бұрын
The reason Trådfri doesn't translate in swedish is because it's not a proper swedish word but a play on words 🙂
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
From the lengthy discussions, I also learned, that the same applies for Danish...
@koma-k
@koma-k 7 жыл бұрын
Same for Norwegian. It's a perfectly valid compound word (if a bit clumsy), but not in the dictionaries. And while Google translate translates the "Danish" Trådfri to "wire-free", if you try with Norwegian you get "suture-less". Isn't machine translation fun? ;-)
@martinrasmussen5898
@martinrasmussen5898 5 жыл бұрын
True. The correct danish word is "trådløs" though. "Tråd" meaning wire, "løs" meaning without
@ouilogique
@ouilogique 7 жыл бұрын
Again a very interesting video. Thank you, Andreas. Do you know if it is possible to use the ESP8266 as MQTT broker?
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I never saw a 8266 as a broker
@RaadYacu
@RaadYacu 7 жыл бұрын
So with MQTT there is the broker, how is it done in COAP. I only got that there is a client and Server. I understood the COAP's client/server model ( UDP ), but does that mean this is a point to point ? Can a client also be a server as is in MQTT?
@LoveleshPatel06
@LoveleshPatel06 7 жыл бұрын
Raad Yacu with CoAP you can decide whether to keep server or client or both depending on the architecture.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
As I presented in the video, usually, you have no broker with CoAP.
@daskasspatzle2396
@daskasspatzle2396 7 жыл бұрын
Very informative :-)
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks!
@serhioromano
@serhioromano 7 жыл бұрын
Any attempt to create protocol based on HTTP to solve modern tasks will fail. It is not designed for that especially for IoT. HTTP based protocols will consume to much power (battery), too much traffic. I only listened your video till this statement that it is HTTP based and I quite. I do not have time to learn doomed technologies. Even if it has so many features and simple and convenient to use. I'd better spend time to learn something worth. So thank you for informing me on the nature of CoAP.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Glad it helped!
@enricosaccheggiani3192
@enricosaccheggiani3192 5 жыл бұрын
thanks a lot for your video it helps me a lot
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
You are welcome!
@carlborgen
@carlborgen 2 жыл бұрын
Seems like the discovery would be a major upside for coap as well. That mqtt doesn't have this really makes things more cumbersome to set up.
@AndreasSpiess
@AndreasSpiess 2 жыл бұрын
As soon as an MQTT node is connected to a broker it easily can be detected according its messages (Home Assistant does that, for example).
@carlborgen
@carlborgen 2 жыл бұрын
@@AndreasSpiess oh ok, then maybe it is only my shelly devices that dont have mqtt Discovery implemented, and therefor need an external script
@AndreasSpiess
@AndreasSpiess 2 жыл бұрын
@@carlborgen I just started with Home Assistant, and it discovered my Shellies...
@carlborgen
@carlborgen 2 жыл бұрын
@@AndreasSpiess So are you running your shellies via mqtt then or the CoIoT protocol? Because when I ran them over mqtt I had to use the discovery script, which resulted in other issues. So I have now renounced my mqtt purist ideas and run them over the CoIoT integration as well
@AndreasSpiess
@AndreasSpiess 2 жыл бұрын
@@carlborgen I played with both. Currently, I use the Shelly integration of HA
@kanapkazpasztetem
@kanapkazpasztetem 4 жыл бұрын
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 :(
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
I did not use it since then. So I hav no additional info.
@mohamadnourbader1068
@mohamadnourbader1068 3 жыл бұрын
this extension is not available anymore and I tried many Github repository to solve this problem but is still not solved . how I can solve this problem
@AndreasSpiess
@AndreasSpiess 3 жыл бұрын
I use now Zigbee2MQTT for the IKEA bulbs (see my video). It works quite well.
@fingerprint8479
@fingerprint8479 5 жыл бұрын
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.
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Maybe you google for an example. I showed what I know.
@fingerprint8479
@fingerprint8479 5 жыл бұрын
@@AndreasSpiess Hi, thanks. I tried Google but could not find any scenario with some ideas of how a measurement in one client could propagate and influence another client. But will keep looking. Thanks for your great videos.
@kke
@kke 4 жыл бұрын
Have you tried LWM2M? I'm looking into trying it.
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
No, never tried.
@carlborgen
@carlborgen 2 жыл бұрын
Also, is CoAP ip dependent? I guess an upside with MQTT is that you don't have to worry about giving everything static ip adresses?
@AndreasSpiess
@AndreasSpiess 2 жыл бұрын
No difference. Both need an IP address (because they reside in a Wi-Fi network) which can be static or not. COAP uses UDP, BTW.
@carlborgen
@carlborgen 2 жыл бұрын
@@AndreasSpiess sure they both need an ip, my point was that the mqtt device doesnt stop working in case the dhcp server suddenly changes the device ip. As I understand coap identifies devices by ip, whereas mqtt only identifies via topics?
@AndreasSpiess
@AndreasSpiess 2 жыл бұрын
@@carlborgen I assume the node knows its server or broker address and initiates communication. If the server address changes the problem is the same. But I do no more remember the details of COAP
@carlborgen
@carlborgen 2 жыл бұрын
​@@AndreasSpiess When I added a shelly device to HA over CoIoT (Based on CoAP) I had to add the node via it's ip-address. Which is why I was worried that maybe it would break if my routers dhcp server suddenly decided to assign the node a new dynamic ip. Worth testing
@AndreasSpiess
@AndreasSpiess 2 жыл бұрын
@@carlborgen I do not assign all addresses to DHCP to have space for static addresses.
@bendaniel2271
@bendaniel2271 2 жыл бұрын
Google translate used to convert "the Grapes of Wrath" into "the Angry Raisins"
@AndreasSpiess
@AndreasSpiess 2 жыл бұрын
:-))
@marcoc.t.2177
@marcoc.t.2177 4 жыл бұрын
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?
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
This is an old video and I do no more remember. But I made newer videos using IKEA Zigbee bulbs and witches.
@marcoc.t.2177
@marcoc.t.2177 4 жыл бұрын
@@AndreasSpiess tnx a lot for the answer!i will search and look for it.
@IEEEASUSB0
@IEEEASUSB0 4 жыл бұрын
What replaces Copper Plugin now after firefox stopped it?
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
I do not know.
@froople
@froople 7 жыл бұрын
You're the man, Andreas! Awesome video :D
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks!
@CapApollo
@CapApollo 7 жыл бұрын
mqtt is like and irc chat.. qos is very important in iot. plus you can have many servers and broker to broker.. nodes are infinite, in arduino works great..
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
My words...
@Tore_Lund
@Tore_Lund 8 ай бұрын
Wireless in Danish is "Trådløs" Exactly like in German "Drahtlos". "Trådfri" - "Wire free" is very much a Swedish word, which doesn't exist in Danish. Why Google don't know that?
@AndreasSpiess
@AndreasSpiess 8 ай бұрын
Maybe I did not ask properly :-(
@DiegoRoccia
@DiegoRoccia 5 жыл бұрын
So even if you are using the gateway you still need the remote? Is there any way to get rid of it?
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
I do not know one.
@DiegoRoccia
@DiegoRoccia 5 жыл бұрын
@@AndreasSpiess ok thank you for answering
@gg-gn3re
@gg-gn3re 4 жыл бұрын
Doesn't MQTT use TCP normally, by default?
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
I do not know if MQTT is bound to a particular lower laywer communication. I just use it ;-)
@Ed19601
@Ed19601 7 жыл бұрын
fyi: the new openhabian 2.1 supports Tradfri
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
+Ed19601 Thanks for the info. From where I stand now, it is not complicated to support it.
@adriansandstrom9931
@adriansandstrom9931 5 жыл бұрын
👍
@fingerprint8479
@fingerprint8479 5 жыл бұрын
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 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: github.com/mkovatsc/Copper4Cr and it works great. Regards
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
This is an old video and I do no more remember the details. So I cannot help you :-(
@philippegosset4914
@philippegosset4914 3 жыл бұрын
Copper Firefox add-on: addons.mozilla.org/de/firefox the link is loose !
@AndreasSpiess
@AndreasSpiess 3 жыл бұрын
Thank you for the link!
@RandomPsychic
@RandomPsychic Жыл бұрын
and 5 years on, where is part2?
@AndreasSpiess
@AndreasSpiess Жыл бұрын
Things moved in different directions...
@RandomPsychic
@RandomPsychic Жыл бұрын
@@AndreasSpiess So would you still recommend CoAP?
@AndreasSpiess
@AndreasSpiess Жыл бұрын
@@RandomPsychic I cannot recommend COAP because it is just a protocol. You use it if you need it ;-) It is a well known standard
@alexisentonfire
@alexisentonfire 7 жыл бұрын
very similar to ble protocol
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
I so far never looked at BLE. But I am sure, I will have to one day...
@Rizon1985
@Rizon1985 7 жыл бұрын
Can I play the annoying complainer for a moment. - REST is a pattern/architecture style. Most, what are claimed, REST APIs on the internet don't follow the pattern and are called HTTP APIs/web APIs instead of REST APIs. - The methods are part of the HTTP RFC (2616). REST didn't invent them and they're not REST methods. REST requires CRUD-like operations that you apply to an identifier and it's only in the context of HTTP that this becomes OPTIONS/GET/HEAD/POST/PUT/DELETE/TRACE/CONNECT. Or in CoAP (7252) it becomes GET/PUT/POST/DELETE. - The URI is part of the URI RFC (3986) so again REST didn't invent them. REST doesn't care if you use /books/id/1930 or /books?id=1930 but it requires that a resource is identified by it's URI. REST is a buzzword and wrongly used most of the time. It was simply a pattern made by the same guy designing the HTTP protocol and used to explain HTTP. A few years ago some asshole must have used it on Twitter. Patterns are like fashion, they never go away but simple people forget and greedy people profit from reinventing something that doesn't require effort anymore.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
Thanks for your insight. I am glad I am only a simple engineer and not historian nor judge! For me, questions like "does it help to solve the problem?" or "What are the differences between concepts in the light of solving a particular problem?" are more important.
@mmecanicafina3977
@mmecanicafina3977 7 жыл бұрын
@Rizon1985. You are correct, but beside the point. The video does an admirable work of explaining in very understandable terms (even to the layman, I believe) the basic concepts and differences between the protocols. It focuses on the relevance of the concepts, rather than on establishing first a full historic perspective and academically correct taxonomy. I believe focusing on relevance to be a perfectly correct, effective, and desirable approach for this kind of work and its target audience. I also believe your observations are correct, but they are most relevant and useful within the scope of a computer science course.
@Rizon1985
@Rizon1985 7 жыл бұрын
I agree it's a beginner type of video but REST has become this buzzword that confuses beginners. I even meet professional people who use the word REST like it's a protocol or a framework. People payed to know it, don't know it is nothing more than an architecture pattern. It's perfectly normal in education to first learn a concept in an easy form and then expand it. And that's what this video also does and it's good. But I feel it says that GET/POST/PUT/DELETE defines a REST API. I know it's a minor thing in most eyes and it's not the main subject of the video. That's why I called it the "annoying complainer". If people understand HTTP, MQTT and CoAP are protocols and what some of the differences are, the video has succeeded in the main message.
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
If we want to be really precise: If you listen closely to my video, you will hear twice "concept of REST" and never REST protocol.
@Rizon1985
@Rizon1985 7 жыл бұрын
I don't mean you said REST protocol. But for example at 3:12 you talk about RESTful methods while you're talking about HTTP or maybe already CoAP methods It might make someone think there is a thing as a RESTful method but it can't because REST isn't a language or framework or standard. /LED/ for example would better be /LEDs/ returning the collection and /LED/{id} for a specific LED because the machine at 192.168.0.10 can have multiple LEDs. Or if only asking if a LED is turned on rather than the full details it would be /LEDs/status/{id}. But in your reply you would also communicate your service structure and available methods for the objects. So you have a CoAP API at 192.168.0.10 but it isn't REST. Which is perfectly fine because making a service REST is terribly complicated and time consuming.
@lifeboy6969
@lifeboy6969 4 жыл бұрын
Er du Dan?
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
??
@superchdk
@superchdk 4 жыл бұрын
He asks if you are "Dan"? I think its an abreviation of Danish or "Dansker"
@wombora
@wombora 7 жыл бұрын
MQ Titi *gnihihihih* #iam12yearsold
@ultimatewinfails6950
@ultimatewinfails6950 4 жыл бұрын
Ich hetts gärn uf schwyzrdüttsch ghört - abr guet lärnt mer da englisch :-))
@AndreasSpiess
@AndreasSpiess 4 жыл бұрын
Tönt ja fast wie Schweizerdeutsch. Mit meinem Akzent ;-)
@sharifnabulsi2525
@sharifnabulsi2525 7 жыл бұрын
Andreas
@AndreasSpiess
@AndreasSpiess 7 жыл бұрын
?
@perkleinschmidt6798
@perkleinschmidt6798 4 жыл бұрын
😂😂😂say in your Ch accent in German "Troodd-ffriiii" will be like in Swedish or in Norwegian "trådfri"
@randomsam83
@randomsam83 Жыл бұрын
Tradfri is Dutch, the language of Germans. Get your facts straight!
@AndreasSpiess
@AndreasSpiess Жыл бұрын
You are right!
#145 IKEA Trådfri Hack with Gateway, Raspberry connection
13:57
Andreas Spiess
Рет қаралды 123 М.
Girl, dig gently, or it will leak out soon.#funny #cute #comedy
00:17
Funny daughter's daily life
Рет қаралды 10 МЛН
Фейковый воришка 😂
00:51
КАРЕНА МАКАРЕНА
Рет қаралды 7 МЛН
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 50 МЛН
How 3 Phase Power works: why 3 phases?
14:41
The Engineering Mindset
Рет қаралды 922 М.
#163 Wi-Fi Sniffer as Sensor for Humans
14:21
Andreas Spiess
Рет қаралды 143 М.
#176 BLE Human Presence Detector using an ESP32 (Tutorial, Arduino IDE)
11:17
#112 LoRa / LoRaWAN De-Mystified / Tutorial
20:25
Andreas Spiess
Рет қаралды 1 МЛН
How the Best Hackers Learn Their Craft
42:46
RSA Conference
Рет қаралды 2,6 МЛН