#303

  Переглядів 84,834

Andreas Spiess

Andreas Spiess

День тому

Wireless mesh networks are fascinating because they adapt to changing situations and can bridge longer distances than point-to-point connections. Today we will have a look into the standard Zigbee mesh technology, learn its pros and cons, and compare it with Wi-Fi and LoraWAN networks.
Mesh networks are a little anarchic, and maybe this is why they are fascinating for many free-thinking Makers. But is this true? To find this out, we will:
- Compare mesh networks with star or “hub-n-spoke” networks
- Look at the different roles in a mesh network
- Look at the pros- and cons of a mesh structure
- Enable a Raspberry Pi and a cheap USB dongle to act as a network coordinator
- Find a way to chart the network for analysis automatically
- Try out various network constellations and see if and how it adapts
- Connect the network to Node-Red
- And glimpse into other mesh networks
I am a proud Patreon of GreatScott!, Electroboom, Electronoobs, EEVblog, and others.
Links:
Zigbee2MQTT: www.zigbee2mqtt.io/
IOT STack for Raspberries: github.com/gcgarner/IOTstack
Ikea Tradfri: www.ikea.com/ch/en/search/pro...
Xiaomi ZigBee devices: s.click.aliexpress.com/e/BGsdpble
Philips Hue: www2.meethue.com/en-us
CC2531 Dongles and programmers: s.click.aliexpress.com/e/dP2miONi or bit.ly/2NogMdv
Zigbee Modules: s.click.aliexpress.com/e/5OjauYUY
Other examples: bit.ly/2NqWH65 or bit.ly/2Nspl71
Conbee2: amzn.to/2LRUxtS
File to create an SVG map: drive.google.com/file/d/1xTSs...
#CommissionsEarned: The links above usually are affiliate links which support the channel (no additional cost for you).
Supporting Material and Blog Page: www.sensorsiot.org
Github: www.github.com/sensorsiot
My Patreon Page: / andreasspiess
My Bitcoin address: 19FSmqbBzb5zsYB1d8Bq4KbxVmezToDNTV
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission (of your purchases the next 24 hours) to buy new stuff for the channel
For Banggood bit.ly/2jAQEf4
For AliExpress: bit.ly/2B0yTLL
For ebay.com: ebay.to/2DuYXBp
profile.php?...
/ spiessa
www.instructables.com/member/...
Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my primary job

КОМЕНТАРІ: 260
@metallitech
@metallitech 4 роки тому
"like the hippies before AIDS", lol that came out of nowhere.
@AndreasSpiess
@AndreasSpiess 4 роки тому
Not everybody agrees to the fact ;-)
@dilenkozi
@dilenkozi 4 роки тому
@@AndreasSpiess I certainly don't - unsubscribed
@TheBraddigan
@TheBraddigan 4 роки тому
@@dilenkozi Well I turned on notifications for the channel. Rekt.
@marwinthedja5450
@marwinthedja5450 4 роки тому
...shows image of bikers XD
@joshuaburns9339
@joshuaburns9339 4 роки тому
​@@AndreasSpiess I was about to subscribe until that came out so the blue. Not a funny joke.
@ByronWatts
@ByronWatts 10 місяців тому
It took me almost three seconds to dredge up the definition of anarchic. Cool stuff.
@AndreasSpiess
@AndreasSpiess 10 місяців тому
Thank you!
@enochfuryan9094
@enochfuryan9094 4 роки тому
I like how you explain things: clear and to the point. Thanks.
@AndreasSpiess
@AndreasSpiess 4 роки тому
You are welcome!
@PichanPerkele
@PichanPerkele 4 роки тому
Love that pointing stick❤️
@AndreasSpiess
@AndreasSpiess 4 роки тому
Thank you!
@longnamedude3947
@longnamedude3947 4 роки тому
I love the humor of your videos, it makes them very entertaining, and easy to remember notable stuff haha Keep up the great content, but remember, don't overload yourself :)
@AndreasSpiess
@AndreasSpiess 4 роки тому
Thank you for your feedback! I hope that I am old enough to say "no" sometimes. We will see...
@avejst
@avejst 4 роки тому
Fantastic walk through as always Thanks for sharing👍😀
@AndreasSpiess
@AndreasSpiess 4 роки тому
You are welcome!
@edwardvanhazendonk
@edwardvanhazendonk 2 роки тому
Thanks for the thorough and clear explanation!
@AndreasSpiess
@AndreasSpiess 2 роки тому
My pleasure!
@jobe451
@jobe451 4 роки тому
Thanks for those insights. I myself am currently transfering my house be fully Zigbee based. At the moment I have 40+ devices connected. As a controller I use a raspberry pi with an open source hub called "iobroker". I am very fond of iobroker, since it allows to add all types of "adapters" such as zigbee, node-red, mqtt and so on.
@AndreasSpiess
@AndreasSpiess 4 роки тому
There are a few different packages around like Home Assistant etc. So far I did not look into them. But I hear a lot of good things.
@SmithyScotland
@SmithyScotland 4 роки тому
Thank you, thank you, thank you. Running IOTMENU with node red zigbee and 433_rtl. IOTMENU saved so much time over installing everything separately. Now thinking I must go visit ikea this morning
@AndreasSpiess
@AndreasSpiess 4 роки тому
Just replacing bulbs with connected ones is a simple way to automate a home...
@FlevopolderAviator
@FlevopolderAviator 4 роки тому
Hi Andreas great video again! FYI - for the Xiaomi Aqara power plug you show on the end of the video I use an adapter from Skross. These adapters are low profile and fit perfectly our EU wall sockets.
@AndreasSpiess
@AndreasSpiess 4 роки тому
Thank you for the tip. But adding one or two Skross adapters would probably more than double its price ;-)
@FlevopolderAviator
@FlevopolderAviator 4 роки тому
Andreas Spiess that’s true but still cheaper than a zwave smartplug from Fibaro, Aeotec etc. Wifi plugs like sonoff’s do not mesh, so for me although the adapter doubles the price its a good choice.
@michaelemmenegger3576
@michaelemmenegger3576 4 роки тому
Wow, bin Anfänger und komme aus der Mechanik, aber deine Videos sind der Hammer!
@AndreasSpiess
@AndreasSpiess 4 роки тому
Vielen Dank. Ich verstehe dafür nichts von Mechanik ;-)
@JoseAlcerreca
@JoseAlcerreca 4 роки тому
Thanks for this, exactly what I needed!
@AndreasSpiess
@AndreasSpiess 4 роки тому
You are welcome!
@Geyer128
@Geyer128 4 роки тому
It is also possible to bind ZigBee switches direct to a lamp over ZigBee 2 mqtt. That has the advantage, that the lamp and the switch still work when the coordinator fails.
@AndreasSpiess
@AndreasSpiess 4 роки тому
I do not think so. Maybe if you use only stuff from one supplier.
@willy.verbiest
@willy.verbiest 4 роки тому
very educational video, thanks for working it all out
@AndreasSpiess
@AndreasSpiess 4 роки тому
Glad you liked it!
@SteveWrightNZ
@SteveWrightNZ 4 роки тому
very cool, thanks Andreas.
@AndreasSpiess
@AndreasSpiess 4 роки тому
You are welcome!
@HansVledder
@HansVledder 4 роки тому
Andreas, I can assure you, Dutch do like to pair with Swedes … :-)
@VolkerHett
@VolkerHett 4 роки тому
Some sort of quantum entanglement I assume :D
@AndreasSpiess
@AndreasSpiess 4 роки тому
I hope so. Mine refused right away ;-)
@HansVledder
@HansVledder 4 роки тому
@@AndreasSpiess They can be a bit stubbørn at first ...
@ChrisFredriksson
@ChrisFredriksson 4 роки тому
@@AndreasSpiess - I can also assure you, Swedes also like to pair with Dutch.. why would I otherwise be subscribed to this channel? :D
@LeifNelandDk
@LeifNelandDk 4 роки тому
@@ChrisFredriksson Dutch != Swiss
@scientifix69
@scientifix69 4 роки тому
Andreas, hue bulbs must be un-registered from the hue hub before they can join the zigbee controller. There are a few ways to do this, but the only "almost" reliable procedure involves the phillips hue remote (a very good zigbee device on its own merit). Then the hue bulb automatically pair with the zigbee controller.
@AndreasSpiess
@AndreasSpiess 4 роки тому
I know that, but did not say it exactly because of the intended joke. I have no hue remote (the bulb was expensive enough ;-) ). So I tried to reset it with the IKEA remote... But zigbee2mqtt will offer in the future a new reset feature which should help. Let's hope.
@stromcontainer
@stromcontainer 4 роки тому
Thank you for this very informative Video! It will help to setup different Network (instead of 2.4GHz) around the house and will integrate into Node Red. I'm glad to not have sold my Xiaomi devices yet. Make Switzerland more anarchic :-)
@AndreasSpiess
@AndreasSpiess 4 роки тому
Zigbee is also on 2.4 GHz ;-)
@stromcontainer
@stromcontainer 4 роки тому
@@AndreasSpiess I should have been more precisely (-: - "instead of 2.4GHz means" - instead of 802.1 wifi devices Right now, I got all Zigbee2Mqtt working and all "old" Mi-Devices are registered - next step will be integration of IKEA bulbs (rather inexpensive at the moment - €8 - together with Node Red and Alexa - I hope, this will work somehow
@rodstartube
@rodstartube 4 роки тому
nice you took zigbee's ;-)
@AndreasSpiess
@AndreasSpiess 4 роки тому
They are now cheap enough to be mainstream.
@skewedmaker
@skewedmaker 4 роки тому
Excellent video! I've seen a lot of stories recently about IoT security being the new target for hackers. Any thoughts on that, or maybe something to address in a future video?
@AndreasSpiess
@AndreasSpiess 4 роки тому
This is not my specialty, so you should not expect anything about it on this channel. I do not have too much fear because we all create single devices which are not very interesting to attack. Attachers love big numbers of the same devices. Less effort for more success.
@SittingDuc
@SittingDuc 4 роки тому
Hello. When pairing Xiaomi (in particular), have you ever managed to pair one "in place" - I.e. out of range of the coördinator, but in range of a router? Or, have you always paired by bringing the Xiaomi to only 1-2m away from the coördinator dongle? Otherwise, nice overview of ZigBee, thanks! :)
@AndreasSpiess
@AndreasSpiess 4 роки тому
As I mentioned I was sitting in front of the screen to see the effect. I am not sure if pairing via router is supported. I anyway pair my devices in front of the computer because I also want to enter a name for it.
@SittingDuc
@SittingDuc 4 роки тому
@@AndreasSpiess Usually I pair next to the dongle as well, but I've been having trouble when moving the end node (motion sensors in particular) to it's permanent home and it stops talking. Even though it can almost see a cc2530 router from the install site. Was interested if anyone else was having issues, or if it's just me :)
@electronic7979
@electronic7979 4 роки тому
İ like it your video. İt is helpful 👍
@AndreasSpiess
@AndreasSpiess 4 роки тому
Thank you!
@alessandrocostantini4712
@alessandrocostantini4712 4 роки тому
Pretty interesting, indeed. When a BLE 5x analysis and comparison ?
@AndreasSpiess
@AndreasSpiess 4 роки тому
I do not see a lot of BLE devices for home automation for the moment...
@alessandrocostantini4712
@alessandrocostantini4712 4 роки тому
In Smart Lighting applications (Internet of Lighting, Connected Lighting or IoT Lighting) BLE is becoming primary choice. Link to the topic was mesh feature now part of BLE stack from 5.0 release, included built-in light-oriented commands in order ti be bridged into DALI
@AndreasSpiess
@AndreasSpiess 4 роки тому
My reference for popularity is AliExpress ;-)
@MoritzvonSchweinitz
@MoritzvonSchweinitz 4 роки тому
Am I the only one surprised that the products from different manufacturers can inter-operate and talk to each other like that? That is awesome! Is that part of the ZigBee standard, or is there some other standard whose symbol we can look for on products?
@wassfila
@wassfila 4 роки тому
That's thanks to two things. Zigbee standard on lower level, and then, good working people on higher lever from the zigbee2mqtt community, that decrypt the zigbee frames and add support for devices. On some cases it is out of the box, on others it is harder. I always check the zigbee2mqtt supported devices page before buying : www.zigbee2mqtt.io/information/supported_devices.html
@hiphopsuperman
@hiphopsuperman 2 роки тому
I assume a light would have to be left on to function as a router? Thanks for the great video!
@AndreasSpiess
@AndreasSpiess 2 роки тому
No. It only has to be plugged in. Zigbee does the switching remotely.
@marijnfly
@marijnfly 4 роки тому
Did you reset the Hue lamp before trying to pair and bond? From personal experimentation, it seems Hue products only allow connections to new devices after a reset. Otherwise, it can only connect to the device which it was connected to before and denies all others.
@AndreasSpiess
@AndreasSpiess 4 роки тому
My problem was, that it did not want to reset using the IKEA button. I read that zigbee2mqtt will support this resetting process in the future.
@daveserdelka2953
@daveserdelka2953 Рік тому
Cool!
@AndreasSpiess
@AndreasSpiess Рік тому
Thank you!
@savaliyadnk
@savaliyadnk 3 роки тому
How much node we can connect in one gateway?
@Alan_UK
@Alan_UK 3 роки тому
Hi Andreas. I'm enjoying your channel. Re Zigbee. The wall timer on my electric hot water immersion has failed (again!) so I've ordered a Sonoff Zigbee switch and a Zigbee dongle and intend to implement zigbee2MQTT with my new Domoticz system. It would be nice to monitor the temperature of the hot water tank (on the outside) but I cannot find any reasonably priced sensors. Commerical offerings are over 100 Euros/£s and the cheap room thermostats are only good for up to 60 Celsius and are measuring air temperature. Do you have any suggestions please?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I never built a Zigbee sensor myself, So I have no suggestion.
@paste
@paste Рік тому
Kannst du mir mal bitte erklären, in welchen Zusammenhang die Hippies, Aids und Zigbee stehen?
@eberger02
@eberger02 Рік тому
Any idea if the Zigbee radiator valve heads are end nodes or routers? I’m only questioning because although they are battery powered it is big batteries (2 AA), the battery life seems a bit short for an end node on 2AA and there was no mention anywhere where I bought them from of needing to buy routers and they would sell loads of valve heads with only 1 hub (12 I think). Incidentally I bought some eWeLink compatible power switches that were not Sonoff made and I don’t think they are routers as they don’t expand the mesh strength. Then I bought some Sonoff ones and they definitely extend the network. They were very cheap, but it was a false economy if they only act as end nodes.
@AndreasSpiess
@AndreasSpiess Рік тому
AFAIK: All mains connected devices are routers, the rest not. I do not know if there are exceptions.
@albygnigni
@albygnigni 4 роки тому
It would be interesting to see a comparison with WiFi meshes and BLE meshes, both can be built on ESP32 and the WiFi one also on ESP8266. I have built a WiFi mesh network with sonoff devices to lower the clients connected to the WiFi router using painlessMesh.
@AndreasSpiess
@AndreasSpiess 4 роки тому
I might try a Wi-Fi mesh one day. But I do not have a real use case because our house is very small.
@gsge
@gsge 4 роки тому
@@AndreasSpiess Please try my code for IOT network and see how it compare with ESPNow and Lora cost wise and power consumption wise. My code is at github.com/happytm/BatteryNode. I am using it for a month now with bare ESP8266 chip, BME280 environment sensor, APDS9960 light sensor, TP4056 battery charger, LIR2450 110 mah button cell battery and 53 x 30 mm 30ma 5V micro solar panel.
@rjmiller2553
@rjmiller2553 4 роки тому
Is there multipath mesh Networks with zigbee? Multiple routers connecting and resending the same device signal at time?
@AndreasSpiess
@AndreasSpiess 4 роки тому
I did not investigate the routes of messages and if they are transferred via several routes. I just saw that the network was self-healing.
@petervan7372
@petervan7372 3 роки тому
Thanks for the video. A question, Is it possible to configure one XBee module as coordinator in WI-FI mode (to interface with smartphone) as well as in ZigBee mode transmitting data to other ZigBee modules hooked up with Arduino that are used to control LED lights? I want to build a mesh network using one XBee module connecting with Raspberry PI4 as coordinator to act like a hub interacting with a smartphone via WI-FI, to control endpoint XBee modules/Arduino to adjust LED lightings, probably with another XBee only module as router in the network.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You have to ask the supplier of XBee. I do not own such modules. Zigbee and Wi-Fi are very different protocols.
@petervan7372
@petervan7372 3 роки тому
@@AndreasSpiess thanks Andreas. XBee supports ZigBee and WI-FI. I asked the manufacture, they said it'll work, but I need to figure out how.
@bbogdanmircea
@bbogdanmircea 4 роки тому
I have a bunch of ESP32 and ESP8266 ordered, I want to do an automation for temperature monitoring and plant watering, of course with graphics and internet access? Do I need also a raspi ? What is the best setup, through WiFi or will also Zigbee work?
@AndreasSpiess
@AndreasSpiess 4 роки тому
Maybe you watch my Raspberry Pi playlist? There you should find some scenarios lik you want to build. It is not a simple task.
@guenaule
@guenaule 4 роки тому
i developped a project with a raspberry pi in zigbee, maybe it can help you (github.com/monk31/gateway_zigbee-3.0)
@bbogdanmircea
@bbogdanmircea 4 роки тому
@@AndreasSpiess I will for sure watch it, but what I found lacking for all the home automation IOT projects is a proper documentation of all the tools and what each of them is supposed to do. And then you get stuck at some point and it gets very frustrating to get further. At this moment I already tried a github project that is supposed to water plants but of course it does not work properly.
@jeroenjeroen
@jeroenjeroen 4 роки тому
Hi Andreas, Thanks for a nice clear explanation and peek into the possibilities of this mesh network . With, quoting you, the Dutch and the Swedes not wanting to mate will probably be taken care of by the attractive blonde Swedes. As they will with Sonos. Of course reliability and redundancy is a big plus. Not for nothing the basic topology of the internet itself in TCP. Side note: you go to bed too late!
@AndreasSpiess
@AndreasSpiess 4 роки тому
We had nice people for dinner. So I had to finish a little later than usual ;-)
@nonginmeiraba4407
@nonginmeiraba4407 4 роки тому
My question is not related to this video: Q. 🤔 will it be a problem to use multiple Lora modules at same time? will they create interference???? I think cheap nrf module will cause interference if two transmitter send message in same time... will such thing happen in Lora module also???
@AndreasSpiess
@AndreasSpiess 4 роки тому
Transmitters never have problems with interference. Only receivers care about more than one channel either on the same or on a similar frequency. These problems have to be solved by the respective network technologies (for example resend messages if they did not arrive).
@soovui
@soovui 4 роки тому
Hi Andrea, great work. I am interested on the Graphviz but I don't know how to make it work. How to run the map.sh script and do I need to install any related Graphviz software on my Pi?
@wassfila
@wassfila 4 роки тому
Hi, dependencies to be installed are listed in the script. graphviz, one of them is a command line tool. Also the mosquitto command assumes you run it where your broker is installed. You can see my comment about graphviz on a web tool, but it won't be easier than the shell script to get it running. A good starting points would be help manuals for mosquitto_pub / _sub commands and graphviz.
@soovui
@soovui 4 роки тому
@@wassfila thanks a lot for your replied. But I still dont understand how the script works. Do I need to put Pub or Sub to each of my control devices? I saw router can be monitored too, how the router pub or sub their existence? I am sorry, I might asking silly question. I got everything running perfectly but just don't know how the script set auto run or how it works that able to generate a fantastic network graph. Do I need to add anything in node red?
@wassfila
@wassfila 4 роки тому
@@soovui Hi, no issues, I'll try to help. The more you ask questions, the easier it is. So first, after you install graphviz, you run the script with source command or .script search for "how to run a script on linux" for more details. When it comes to what the mosquitto_pub does, it sends a message (the payload) to the zigbee2mqtt running program itself, which is the program talking to the coordinator flashed zigbee dongle, that coordinator knows everything as all zigbee messages go through it and it can trigger a sort of zigbee ping to check on other devices. Zigbee2mqtt not only publishes sensors info on mosquitto network, but also subscribes itself and use the zigbee2mqtt/bridge topic to take requests from users such as that shell script. More info on what you can do with the bridge subtopic in here (search for bridge on this page) www.zigbee2mqtt.io/information/mqtt_topics_and_message_structure.html
@soovui
@soovui 4 роки тому
@@wassfila Hi Wassim, tq so much for yr help and extremely appreciated. I try to run the script given by Andrea, run sudo chmod +x map.sh but I got connection refused : cannot authorised but I am happy seeing some results that an svg file created but zero byte might due to unauthorised connection. What happen ya... From Andrea video, there is no username and password required on the script. I like to try to add username and password but I don't know how.
@wassfila
@wassfila 4 роки тому
@@soovui I see you progress, mosquitto_sub / _pub can be used with -u username -p password. official doc is here mosquitto.org/man/mosquitto_pub-1.html and a good google search with beginners example is here www.steves-internet-guide.com/mosquitto_pub-sub-clients/ you can try to run the sub and pub commands alone without the script, by cpying them on two different consoles, and check the output on the console first without the ">" file redirect and "&" required inside the script, also check withoutthe -C if that is for clean session and requiring an id. Both consoles of course to be run where mosquitto is running, check first with subscription to everything with topic zigbee2mqtt/#
@mountainrunner1955
@mountainrunner1955 3 роки тому
Funktioniert das gut, wenn mal der Strom ausfaellt und alle netzbetriebenen Router und der Coordinator neu bootet? Verbindet sich alles einwandfrei? (By the way, the Xiaomi plug should be now available with EU plug....seen on Aliexpress and Amazon)
@AndreasSpiess
@AndreasSpiess 3 роки тому
Wir haben hier wenig Stromausfälle... Aber natürlich bleibt ein Risiko mit all diesen Dingen.
@aldi175
@aldi175 4 роки тому
Something about Bluetooth 5 mesh would be interesting, how does it compare to Zigbee?
@AndreasSpiess
@AndreasSpiess 4 роки тому
So far I do not see a lot of BLE devices for Home Automation. Maybe later, when the technology will be ready for use.
@TheHugePotato
@TheHugePotato 4 роки тому
I'm working for a company that had probably the biggest impact on Bluetooth Mesh. We are developing smart lamps with focus on commercial spaces. Bluetooth Mesh is not really that popular yet as the software is not there yet for other uses. For lighting we do already have commercial installations with hundreds of nodes. We have multiple manufacturer contracts (with giants like Osram and Zumtobel to name the few) so the future is looking bright, pun intended. As for comparisons to Zigbee. I won't give you a very detailed answer right now but there are a few key pros that make Bluetooth Mesh probably the best candidate for the future. 1. Bluetooth radio in basically every appliance or gadget 2. No single point of failure 3. Good performance with hundreds of nodes 4. Whole stack is defined. From radio to application. That makes Bluetooth Mesh certified devices compatible with each other. Not always the case with other radio protocols that do not define the application stack. 5. Good security with network and application layer encryptions. It may be a few more years before you see Bluetooth Mesh usage at homes,
@marvinblue6825
@marvinblue6825 4 роки тому
Very interesting. I'm looking forward to this 😀. I once looked for methods to build a encrypted Bluetooth Network with ESP32s. But I found only one proprietary Projekt.
@TheHugePotato
@TheHugePotato 4 роки тому
@@marvinblue6825 Espressif apparently has a SIG-certified Bluetooth Mesh stack so you can try to play with it. I gotta warn that it may be little complicated though :)
@jesuschal3802
@jesuschal3802 4 роки тому
Talking about Bluetooth steering smart lighting www.plejd.com/en (dutch pairing warning: made in Sweden)
@RobertGexyz
@RobertGexyz 4 роки тому
For the usage with Node Red zigbee2mqtt is not neccesary. There already exists a node-red-contrib-zigbee node. This is similar to zigbee2mqtt, because it uses same zigbee herdsman library.
@crc-error-7968
@crc-error-7968 2 роки тому
Hello, do you know if is it possible to change a device from router to endpoint? Because I am using some smart plugs (seen by zigbee2mqtt as router) that most of the time are not connected to main power (like the smart plugs for Christmas lights).
@AndreasSpiess
@AndreasSpiess 2 роки тому
I do not know if this is forseen in the concept without changing the firmware. And I doubt you will find new firmware for those devices.
@crc-error-7968
@crc-error-7968 2 роки тому
@@AndreasSpiess Thank you very much for the reply :) It is what I suspected.. oh well not a big issue! Have a nice 2022 Andreas! And please continue to provide useful contents like you always did :) Grazie ancora Ciao Roberto
@nurdi0001
@nurdi0001 4 роки тому
Any recommendations on router devices?
@AndreasSpiess
@AndreasSpiess 4 роки тому
No. My DIY devices worked and the IKEA router also worked.
@sakshamgarg9681
@sakshamgarg9681 3 роки тому
sir between lorawan and zigbee which is better for smart parking
@AndreasSpiess
@AndreasSpiess 3 роки тому
I do not know. You have to define your requirements and then select the right technology.
@ACTlVISION
@ACTlVISION 4 роки тому
what do you think about thread and IP-addressable nodes?
@AndreasSpiess
@AndreasSpiess 4 роки тому
I do not know thread, but I will dig into it.
@ACTlVISION
@ACTlVISION 4 роки тому
@@AndreasSpiess it uses IEEE 802.15.4 and is supported by the nrf52840 on 2.4ghz (crazy low power) plus they have an official docker image to use a raspberry pi 3b as a border router (gateway) the protocol is just so "new" it's not really available in retail products yet--so not really a fair comparison with zigbee--but very promising for redundancy with self-healing, ipv6 scalability, and better security/provisioning than most other mesh standards
@AndreasSpiess
@AndreasSpiess 4 роки тому
I read that Zigbee Wil exchange parts of its stack with thread.
@davidpf76
@davidpf76 4 роки тому
Hallo Andreas, ich möchte Zigbee + ESP durch Amazon Echo steuern (ESP auf WLAN mit Sinric durch Amazon Echo mache ich Schon aber WLAN ist instabil und reicht nicht für die Entfernung dass ich habe).. Sollte ich den XBee Modul zusammen basteln oder gibt es andere kleines/günstiger Variant? Vielen Dank!
@AndreasSpiess
@AndreasSpiess 4 роки тому
Du kannst ja sehen wie ich die diversen Module mit MQTT verbinde und dann entscheiden.
@Gladers.
@Gladers. 2 роки тому
Thank you! Ok so IKEA trådfri Lamp can act as a ZigBee Router. But what if I break the power to the lamp from a switch, then I guess it wont work anymore?
@AndreasSpiess
@AndreasSpiess 2 роки тому
These bulbs are switched by Zigbee. So they should be powered all the time. Otherwise it would not make a lot of sense (for me)...
@Gladers.
@Gladers. 2 роки тому
@@AndreasSpiess True! Tell that to my family using the wall switch all the time ;) I guess the only solution is to remove the switches..
@mathicalee
@mathicalee 4 роки тому
As far as I know, thread can have multiple border routers which has the connectivity to the outside world.
@AndreasSpiess
@AndreasSpiess 4 роки тому
I will have a look into thread.
@filiphicl2195
@filiphicl2195 4 роки тому
I recently bought a Xiaomi mi gateway with some ZigBee sensors and I'm trying to connect it with node-red but I need some token which is for some reason really hard to get. Can anybody help me how to do it? Or should I just use the method used in this video?
@AndreasSpiess
@AndreasSpiess 4 роки тому
I do not know the Xiaomi gateway. So I cannot help.
@Hasitier
@Hasitier 4 роки тому
Hallo Andreas. Hab ich das richtig verstanden? Freifunk ist bei euch in der Schweiz nicht erlaubt? Gibt’s dafür nen Grund?
@AndreasSpiess
@AndreasSpiess 4 роки тому
Ja. Das anonyme Benutzen scheint nicht erlaubt.
@ziomalZparafii
@ziomalZparafii 3 роки тому
6:06 why different names (SSID) for Wi-Fi networks? Having multiple AP with the same SSID but different channels makes more sense. And with MESH technology end devices like phones switches smoothly in the background. [ok, you mentioned MESH few seconds later, but still, without it just keeping the same SSID did the trick]
@AndreasSpiess
@AndreasSpiess 3 роки тому
In the old days it was needed. Now no more, you are right.
@certified-forklifter
@certified-forklifter 4 роки тому
Hi Andreas, could you please have a quick look on the channel "bnbe club" because he talked about one of your videos and made a CO2 kit ;)
@AndreasSpiess
@AndreasSpiess 4 роки тому
I am already one of his subscribers :-)
@certified-forklifter
@certified-forklifter 4 роки тому
@@AndreasSpiess Oh, that is awesome!
@georgeseese
@georgeseese 10 місяців тому
Two questions: (1) A network router normally goes between networks. How do these routers separate into two or more networks @2:44? (2) What does zigbee2MQTT mean @8:08? Isn't zigbee a version of MQTT?
@AndreasSpiess
@AndreasSpiess 10 місяців тому
@2:44: Router is a Zigbee role. It is different to an internet router. @8:08: Zigbee2MQTT creates MQTT messages from messages inside the Zigbee network. A Zigbee network consists of several layers also below MQTT. It is not comparable.
@georgeseese
@georgeseese 10 місяців тому
@@AndreasSpiess re:router: Whoever defined role of Zigbee "router" should explain that role. What exactly does it do? Why is the word "router" selected when that has a [different] well-established role in the internet? re:"Zigbee2MQTT": MQTT was invented around 1999 and is the basis for sensor networks and the publish-subscribe paradigm. (Bluetooth as a peer-peer product does not use it; there's no pub-sub). But home automation requires pub-sub. Where are these layers of "Zigbee2MQTT" explained so we can see they're not comparable? Are these layers of OSI? Doesn't Zigbee work without "Zigbee2MQTT"? (From my experience, when I connected Zigbee dongle to RPI, and it discovered a Philips bulb, I do not remember installing "Zigbee2MQTT". Was it done automatically?) Zigbee and other automation products (some are proprietary) utilize the MQTT protocol in the same way that email products like Gmail follow the SMTP protocol. So I still don't understand the purpose of "Zigbee2MQTT", as if "Zigbee" must be translated to "MQTT". When Matter products are rolled out, will there be a Matter2MQTT?
@AndreasSpiess
@AndreasSpiess 10 місяців тому
@@georgeseese In Matter, the role of Zigbee2MQTT will be taken over by the "Border Router". Similar, but not the same...
@phillkelley7700
@phillkelley7700 4 роки тому
7:33 I’m sure the position of the highlighter pen was purely coincidental and not a wry and highly astute comment on the appalling “collectively shooting themselves in both feet” situation going on across The English Channel.
@AndreasSpiess
@AndreasSpiess 4 роки тому
We will see how they deal with the new situation after the voting ;-) Maybe resilience will be important...
@richard_wenner
@richard_wenner 4 роки тому
Delightful topic coverage - loved the hippie comment! :)
@cherrymountains72
@cherrymountains72 4 роки тому
Can you explain it to me because I don’t understand the hippie comment?
@AndreasSpiess
@AndreasSpiess 4 роки тому
I thought, this is how we can keep it best. And I love the film "Easy Rider"
@Peter_S_
@Peter_S_ 4 роки тому
@@AndreasSpiess Maybe you have some jokes about black people too? How about some jokes about Jews? 🤦‍♀️ I know!!! How about stereotyping women... that always gets a laugh from men.
@richard_wenner
@richard_wenner 4 роки тому
@@cherrymountains72 Everything/body connected to every other body/thing. I'ts a 'free love' comment harping back to the 1960's. (Otherwise - it's just a pair of sad old men, trying to regain their youth, operating off-topic (on a different wavelength) - I'm afraid).
@richard_wenner
@richard_wenner 4 роки тому
@@Peter_S_ Not sure you understood the reference. This is not an offensive channel.
@LinuxFanboy
@LinuxFanboy 4 роки тому
Hi Andreas, the link to Ikea Tradfri gives a 404
@AndreasSpiess
@AndreasSpiess 4 роки тому
Thanks. Now it should work...
@raphaelb5172
@raphaelb5172 10 місяців тому
Like the hippies before aids XD you got me there lol
@Aemilindore
@Aemilindore 4 роки тому
the problem with zigbee is that you can't do multiple transmissions in the same CH at the same time like in LoRa. So we cant have as many nodes as LoRa using Zigbee. I would love to be proven wrong
@AndreasSpiess
@AndreasSpiess 4 роки тому
Your statement is true for all RF connections. This is why protocols have to take cate of that. By using algorithms for time slicing or by sending acknowledgements back to the transmitter. LoRaWAN uses an „Aloa“ protocol which has none of those.
@MagivaIT
@MagivaIT 4 роки тому
woah, whats going on with your sound fading in and out ? ive had nothing but realiability problems with ikea spot lights and styalised bulbs (the old fashioned looking ones), they dont always respond which is very annoying
@AndreasSpiess
@AndreasSpiess 4 роки тому
Nobody else mentioned the fading sound, and I did not recognize it in my check before uploading. Where is it the worst?
@claeswelinder2014
@claeswelinder2014 4 роки тому
I must know... why no Node2?
@AndreasSpiess
@AndreasSpiess 4 роки тому
Because this video is not about music.
@sridhar2rok
@sridhar2rok 4 роки тому
That dialogue: this is called after play; not foreplay :-)
@AndreasSpiess
@AndreasSpiess 4 роки тому
:-)
@richardkuhne5054
@richardkuhne5054 4 роки тому
How about more videos about micro python or circuit python? Would love to have an esp32 micro python wireless mesh network with mqtt and ota updates
@AndreasSpiess
@AndreasSpiess 4 роки тому
I will cover micropython in hte future, but maybe not the mesh aspect.
@jaysukhchavda8122
@jaysukhchavda8122 4 роки тому
Esp8266 mesh are possible or not?
@RakshithPrakash
@RakshithPrakash 4 роки тому
YES
@TheBodgybrothers
@TheBodgybrothers 4 роки тому
Its limited by node depth due to memory restrictions.
@JoeKhleif
@JoeKhleif 4 роки тому
Thank you. I am creating a network of iot devices associated with a new service I am proposing to my company. Your examples are a good way for me to explain to mgmt. I will recreate the info in power point. Thank you. I will join paid subscribers
@AndreasSpiess
@AndreasSpiess 4 роки тому
Thank you for your support! And I hope you can convince management...
@boonedockjourneyman7979
@boonedockjourneyman7979 4 роки тому
Could you provide info on your wireless manufacturer? I can’t understand you. Years of explosive work has trashed my ears.
@AndreasSpiess
@AndreasSpiess 4 роки тому
I used products of various manufacturers. You should find the links in the video description. BTW: UKposts has a "closed caption" button where it automatically creates text for my videos. I do not know how good it is with my Swiss accent...
@squalazzo
@squalazzo 4 роки тому
SVG viewers: just drag them on any modern browser :)
@AndreasSpiess
@AndreasSpiess 4 роки тому
I started with tat. But unfortunately, I was not able to pan and zoom. This is necessary to see the details. But maybe I missed something.
@BootlegEL
@BootlegEL 3 місяці тому
Iam Dutch and love to pair with a Swedish but our Hue is a Facist.
@AndreasSpiess
@AndreasSpiess 2 місяці тому
I understand what you mean :-))
@ploppymacplop
@ploppymacplop 4 роки тому
"Each can connect with each, like the Hippies before AIDS........" I nearly wet myself
@AndreasSpiess
@AndreasSpiess 4 роки тому
That is how it was ;-)
@wombatincombat9121
@wombatincombat9121 4 роки тому
So... Hippies found Mesh Networking? I guess Wikipedia needs to add this new Fact. 😁
@AndreasSpiess
@AndreasSpiess 4 роки тому
You did not know that? This is taught here in school ;-)
@condemil
@condemil 4 роки тому
Thank you for the video, I wasn't aware about availability_timeout and added it now. Few tips: I have Zigbee2MqttAssistant in Docker to check Zigbee network github.com/yllibed/Zigbee2MqttAssistant You can use one of these models to print adapter for chinese socker: www.thingiverse.com/thing:3096800 or www.thingiverse.com/thing:2581670 Soon there will be EU version of socket homekitnews.com/2019/12/12/mi-smart-plug-eu-version-first-look/
@AndreasSpiess
@AndreasSpiess 4 роки тому
Hi Dimitry, thank you for the links. I was looking to the container for the Zigbee2mqttAssistant and I will try it when i have time. Unfortunately the new version in your link is more a "German version" and still will not work here. But at least all countries which use the German system will have a solution...
@michibosire5000
@michibosire5000 2 місяці тому
"Each can connect with Each, like the hippies before AIDS"💀💀
@spastikmaniac
@spastikmaniac 4 роки тому
Do you consider the IKEA "amplifier" a good solution to extend range? www.ikea.com/us/en/p/tradfri-signal-repeater-30400407/
@AndreasSpiess
@AndreasSpiess 4 роки тому
It worked in my setup. That is what I can say.
@pawel19677
@pawel19677 2 роки тому
@@AndreasSpiess will it work with solar microinverters which are using zigbee? My gate that are collecting data from them need to be at first floor where is no signal from roof.
@thomashorstmann8524
@thomashorstmann8524 4 роки тому
If you want to dive deeper into the zigbee communication, here is an interesting link for wireshark and a cc2531 sniffer. www.cd-jackson.com/downloads/ZigBeeWiresharkSniffer.pdf
@AndreasSpiess
@AndreasSpiess 4 роки тому
Thank you for the link. Maybe one day when I have enough time. Link saved ;-)
@chuxxsss
@chuxxsss 4 роки тому
Andreas the Conbee why not hack the device and open up the firmware. It will probably be Linux. Been watching some show on it very interesting. No gold this weekend. More batteries tto test on my channel. Have a Merry Christmas and Happy New Year to you and your family and friends . Stay safe.
@AndreasSpiess
@AndreasSpiess 4 роки тому
It is not yet Christmas. So no surprise you did not find gold ;-)
@jhvhest
@jhvhest Рік тому
_Dutch do not want to pair with sweeds_ 😂 Kind regards from the netherlands.
@AndreasSpiess
@AndreasSpiess Рік тому
:-))
@CortVermin
@CortVermin 3 роки тому
like the hippies before aids.. -yes *takes notes*... wait what :D
@zadintuvas1
@zadintuvas1 4 роки тому
That adapter is the worst: it even doesn't work on EU outlets, because it should be round.
@AndreasSpiess
@AndreasSpiess 4 роки тому
It is not only their fault. It is also not easy to keep up wit all the different standards around the world...
@boonedockjourneyman7979
@boonedockjourneyman7979 4 роки тому
Excellent for deeply committed nerds. But: What % of “makers” understand or would use anything this complex? Based on what’s happening in the Bay area, you’re missing the point entirely. This stuff is for pushing high priced consumer products.
@AndreasSpiess
@AndreasSpiess 4 роки тому
I do not know a percentage. But the video got around 30'000 views. So a few "*nerds" seem to understand it ;-)
@gsge
@gsge 4 роки тому
Another very informative video. I have created simple DIY IOT network code in star topology which is low cost using ESP8266 devices. My test shows it is more power efficient than even ESPNow protocol. Ever since you publish ESPNow protocol video I wanted to create a network which is lower cost compared to Lora network and more power efficient than ESPNow network. I was able to achieve that goal but It is still work in progress and I hope to get some help from your viewers to improve it and possibly port it to ESP32 hardware. My other goal is to use it for long distance communication like your video # 291 and 292 using ESP32 devices. My code is at github.com/happytm/BatteryNode Thank you again.
@wassfila
@wassfila 4 роки тому
Interesting work indeed. I think zigbee, thread and 802.15.4 based protocols differ from wifi on the power consumtion and on the standard differing between sleeping devices and non sleeping ones. Custom protocols can be more efficient even, and simpler than standards. They have other limitations such as, they are not standards, yet, they can get popular. Good luck for your work.
@gsge
@gsge 4 роки тому
@@wassfila Thank you.
@AndreasSpiess
@AndreasSpiess 4 роки тому
Thank you for the link. Looks promising! I will have a look into it when I have time.
@gsge
@gsge 4 роки тому
@@AndreasSpiess Thank you for your consideration.
@kwinzman
@kwinzman 4 роки тому
"Like the hippies before AIDS" xD
@Peter_S_
@Peter_S_ 4 роки тому
Stupid bigotry that relies on multiple tropes, and nothing more.
@dd0356
@dd0356 4 роки тому
Another interesting topic, but the swiss accent is now gone especially for the 2.4Ghz mesh!! by the way, i have a wifi ap connected with lan cables per concrete floor. wifi mesh via wifi didn't work for me, its get "confusing" but we do like anarchy here. anyhow, such a scheme might create the need for wifi police, ukposts.info/have/v-deo/fZKWqHppg4OTxoU.html and by the way hue is no longer philips, its "signify" and its mesh sometimes works and sometimes not...but i do like the mesh idea. maybe i will get that programmable chip oneday, right now i am entangled in the mesh created by my wife.
@AndreasSpiess
@AndreasSpiess 4 роки тому
I am glad to read the word "wife" in your comment, and hope that the mesh is strong enough ;-) An thank you for the video link. I enjoyed it!
@dd0356
@dd0356 4 роки тому
unfortunately, i was exposed within a week and she saw the multi-meters and oscilloscope. so i took her to a few palaces from the past and took her shopping, and she enjoyed it ukposts.info/have/v-deo/r6qonoWIbY56rnk.html but i have to say, shopping for women is more complicated than buying from bangood. they know their stuff well. ukposts.info/have/v-deo/anR-qqSvjWN0q2w.html but thanks to my experience with datasheets and specs, even the shopkeepers were impressed by my shopping and bargaining skills ;-)
@AndreasSpiess
@AndreasSpiess 4 роки тому
Amer Fort is really impressive! And it was interesting to watch what your women buy ;-) Glad to read that you can use your skills to impress her. Good start!
@0dium.
@0dium. 4 роки тому
this technology doesn't fit me .. I live in a flat :D
@AndreasSpiess
@AndreasSpiess 4 роки тому
Lucky you!
@reinux
@reinux 3 роки тому
This dude's got the weirdest vibe
@AndreasSpiess
@AndreasSpiess 3 роки тому
:-)
@gigajoules6636
@gigajoules6636 3 роки тому
This video is unrealistic. How am I supposed to afford a property with multiple floors?
@AndreasSpiess
@AndreasSpiess 3 роки тому
We have here small houses with multiple floors because the land is extremely expensive.
@spielautomat9751
@spielautomat9751 4 роки тому
like the hippies before aids .. hahaaaa .. der vergleich bleibt hängen. :-D
@AndreasSpiess
@AndreasSpiess 4 роки тому
War Absicht...
@diegocoy5332
@diegocoy5332 4 роки тому
1:29 wtf?
@thearchibaldtuttle
@thearchibaldtuttle 4 роки тому
Anything wrong with it? A colorful analogy!
@AndreasSpiess
@AndreasSpiess 4 роки тому
Only the truth. I am sure it will help memorize the content ;-) At least for the guys which were already alive back then.
@Peter_S_
@Peter_S_ 4 роки тому
@@AndreasSpiess Maybe truth in your head, but it's just as true as saying every Swiss citizen is a Heroin® junkie. The Summer of Love WAS NOT ABOUT FREE SEX, it was about caring for each other and advancing humanity. It was more than a decade before the rise of AIDS but sadly people thousands of kilometers away don't understand that and appear confused. I'm a Hippie from San Francisco and I've only led only long term committed relationships. I've also worked in the medical field in San Francisco, one of the two points of origin of AIDS, and I watched over 100 patients with AIDS die in the most agonizing ways. Your generalizing is based in degrading stereotypes and not worthy of merit.
@zebble1
@zebble1 4 роки тому
@Andreas Spiess, please stick to your brilliant technical videos. They have always been helpful and very well done. I did a double-take on the AIDS comment as well as it seemed so out of place and out of character. It didn’t add anything positive to this video and has indeed offended more than a few, including myself.
@Gigamegawatts
@Gigamegawatts 4 роки тому
Chill out folks - it was just a "Dad joke". Andreas is clearly a nice guy, and no offense was intended.
@toasterficker
@toasterficker 4 роки тому
Lol. Like the hippies
@AndreasSpiess
@AndreasSpiess 4 роки тому
:-)
Rutgers University Confirmed: Meshtastic and LoRa are dangerous
13:27
Andreas Spiess
Переглядів 686 тис.
#300 How to measure CO2 and VOC with Arduino. Which one is better?
21:13
Andreas Spiess
Переглядів 98 тис.
Improve Zigbee network performance and stability with these 3 tips
11:41
Home Automation Guy
Переглядів 160 тис.
What is Zigbee?
8:53
Home Automation Guy
Переглядів 26 тис.
Smart Home Protocols Explained
18:25
Home Automation Guy
Переглядів 128 тис.
How Mesh Networks Work
5:09
The Berkman Klein Center for Internet & Society
Переглядів 214 тис.
VLANs in OpenWrt 21
28:27
OneMarcFifty
Переглядів 153 тис.
Why Millions Of Gamers Are Boycotting Asus
12:20
Logically Answered
Переглядів 48 тис.
Radar Sensors from $3 to over $100: Which one is Best?
14:31
Andreas Spiess
Переглядів 142 тис.
Choosing the Right Mesh Networking Technology for Your Application
5:15
Digi International Inc.
Переглядів 94 тис.
Iphone yoki samsung
0:13
rishtan_vines
Переглядів 4,2 млн
Why the wiggling? Introduction to MacroLab3D
0:42
MacroLab3D
Переглядів 8 млн
Тестируем Wi-Fi 7 на Xiaomi - 46 Гбит/с?!
17:02
Rozetked
Переглядів 374 тис.
Я нашёл беспроводной HDMI за 30$
0:30
𝙈𝙄𝙎𝙃𝘼𝙍𝙄𝙉
Переглядів 705 тис.
СТОИТ ЛИ БРАТЬ RTX 3060 В 2024?
11:50
Ян Шелест
Переглядів 97 тис.