Super rookie question - can those esps pull double duty. Can they each run a motion sensor, and use the mesh to relay signals back to home assistant. Thanks in advance all.
@keepitdialedРік тому
Damn. So rad
@keepitdialedРік тому
Dude. This just reeks of intelligent design. Well done mate.
@haroldmoore2563Рік тому
looks great!
@YigalBZРік тому
Nice design. Can you share the code?
@NickReynoldsРік тому
This is a very old version of what is now m2mMesh github.com/ncmreynolds/m2mMesh
@dunk_law2 роки тому
I am interested to know if you used proximity measurement - filter_weak_signal ?
@NickReynolds2 роки тому
Each node uses the concept of 'echo quality', ie. does it see its own packets repeated back to it. Poor echo quality roughly implies weak signal between two nodes.
@bomber3212 роки тому
Hi Nick, this is really interesting and could be a base for a project im working on, do you have any news on if we can have a play with the code? thanks in advance
@NickReynolds2 роки тому
A much later version of this is now on GitHub. It needs further work, I could really do with constructive feedback on it. github.com/ncmreynolds/m2mMesh
@bomber3212 роки тому
@@NickReynolds I apprectiate that thank you, I'm a novice dodder so I shall do my best and give some feedback.
@shivmptel65832 роки тому
What is this bro ?
@NickReynolds2 роки тому
It's the sync lights on some mesh network nodes built with PainlessMesh. I'm not using it any more, it's an old video.
@fotografofrancisleyРік тому
@@NickReynolds TEM CODIGO?
@mikemurphy18962 роки тому
great !
@hamsterbrigade2 роки тому
Are those cases 3d printed?
@NickReynolds2 роки тому
No, they are electrical junction boxes.
@Bianchi772 роки тому
Nice video, keep it up, thank you :)
@klausjuhantalo84152 роки тому
Hi Nick. Nice demo. Can you release this and others can collabrate also..
@NickReynolds2 роки тому
Your comment has made me come back to this and try to knock it into acceptable shape. While I've been using it myself a bit, it's not consistent or documented and lacks examples. Trying to get a few of the essential info fixed up at the moment.
@klausjuhantalo84152 роки тому
@@NickReynolds Good. You can email me and we can see if I can help you on that.
@klausjuhantalo84152 роки тому
@@NickReynolds Hi Nick. Any progress on this? Please contact me, i will help also on this..
@NickReynolds2 роки тому
@@klausjuhantalo8415 I've been doing loads of work over the last weeks trying to get the code I removed during a big rewrite integrated back in, a full set of examples and some basic documentation sorted. You don't seem to have any contact details visible.
@klausjuhantalo84152 роки тому
@@NickReynolds Now i have, ukposts.info/the/yg2CEGvBOTz2kMykC3t78Q.htmlabout
@jasperkoolschijn32982 роки тому
Very intresting, I am looking for this. are you willing to share the demo code ? maybe by github or something.
@mudpi16982 роки тому
This is very interesting. Nick, I am working on a project based the garden and would like to talk more on collaborating using this sort of system. What is a good way to connect?
@Rayyarhs3 роки тому
cool.
@dimitrijevasiljevic3 роки тому
This type of mesh would be ideal for a project I am working on. I have 5 sensor nodes that need to send a millisecond time-stamp to the main node every time they are tripped. I'm most interested in them syncing to a common counter/clock you mentioned since that would allow me to calculate accurate round trip time, and speed of moving objects without worrying about latency. How did you manage to implement that? Does painless mess have that feature?
@NickReynolds3 роки тому
I stopped using PainlessMesh and started writing this mesh based on ESP-Now quite some time back. I've never quite finished it, but ESP-Now broadcast frames allow you to get things in pretty close sync probably in the 10s of ms range.
@dimitrijevasiljevic3 роки тому
@@NickReynolds Is there any way I can get some insight in how you wrote it? Could i parallelise the message sending with the sync elements so I won't get a problem if I have a transmission at the same time of a sync?
@diegomestrecam76743 роки тому
Hello. this looks promessing. good job!!! I se in the comments that is still a work in progress. how are you doing so far? I hope we get to play with this soon! Thanks for the video :)
@NickReynolds3 роки тому
Since then I've done a massive rewrite during pandemic lockdown, as modern versions of the Arduino ESP8266 core support ESP-Now broadcasts. It handles discovery much better and scales better, but I still haven't got around to a version I'm happy to release.
@tablatronix3 роки тому
ANSI god
@gr0nis3 роки тому
Hi! Are you going to release this as a library or at least make the repository publicly available? I need this for a project but implementing it from scratch seems unnecessary since you have implemented a solid base.
@NickReynolds3 роки тому
I'm afraid I've never quite finished it. I've started looking at it again recently.
@juozasgecevicius66603 роки тому
@@NickReynolds im more than happy to help you with this in a few months!
@keepitdialedРік тому
@nick - rookie here again, what would you recommend now that two years have gone by if I guy wants to replicate this kind of ninja for his portable esp32 cam pit motion detector network for securing up air bnbs.
@doditv64674 роки тому
how to build this ?
@NickReynolds4 роки тому
This is done with a mesh network library I've been working on sporadically but it's not stable enough for release just yet. I'm doing some work on it over the next few weeks so it might get there. I keep saying that though.
@The_Unobtainium4 роки тому
So good. How is the progress? Any news?
@NickReynolds4 роки тому
I've been doing a bit of work in the background but I'm not yet happy with the code so haven't released it. The project I need it for is in March so I'll be concentrating on it in February.
@joeybab34 роки тому
Awesome idea! You said the range test went really nicely, what types of ranges were you seeing?
@SingenDrake814 роки тому
Here's a pat on the back - Now what about a tutorial ?
@NickReynolds4 роки тому
I'm still working very slowly on making the code solid enough to release. It works but doesn't scale as well as I would like. I've had about 30 nodes working but it starts to break down and things drop out of the mesh at that point. I'm doing a minor rewrite where it does much less spamming of the network with updates.
@JasonWho5 років тому
I was just coming across ESP-Now yesterday and couldn't believe it hadn't been integrated into the big name firmwares like Tasmota/ESPHome/Espurna/etc. The Smart Home use cases are a plenty from relationships between chips (switches, bulbs, outlets, sensors), range extending where devices can be several hops away from the slave but still receive the message and let the rest know it's been received, mesh networking as you have here, etc etc. Looking forward to your progress on this!
@sunitraut5 років тому
How did you implement broadcasting in Esp now ?
@NickReynolds5 років тому
I'm not actually using broadcasts, for things that need to go to all peers it's unicast to them all.
@akshathsinghal46745 років тому
Awesome work! When will you release the code or update on this work?
@NickReynolds5 років тому
I am still slowly working on this, but it's a hobby project and quite time-consuming.
@loay36605 років тому
great! can you send the code
@NickReynolds3 роки тому
I'm afraid I've never quite finished it. I've started looking at it again recently.
@HX20035 років тому
Great work!
@guatagel24545 років тому
Thank you!
@shaunreynolds100able5 років тому
WELL DONE.. are you going to publish what you did. really interested in collaborating with you.
@NickReynolds5 років тому
Yes, my intention is to release this once it is in a fit state. I am making slow progress towards this.
@TomRobinsonChannel4 роки тому
Nick Reynolds any update on releasing it? I’ve been using painlessMesh but would be interested in trying a ESP Now version.
@danielbazzi43255 років тому
in a little confused. did you use esp-now or esp-mesh?
@NickReynolds5 років тому
I have implemented my own mesh network using ESP-Now as the transport and a variant of the routing algorithm from BATMAN. It is a variant of it as BATMAN doesn't map directly onto the features available in ESP-Now, relying on broadcasts. www.open-mesh.org/projects/batman-adv/wiki/BATMAN_IV
@danielbazzi43255 років тому
@@NickReynolds woow. thks so much for the info. I'm working with espmesh but you are far away from my knowledge.
@NickReynolds5 років тому
@@danielbazzi4325 I'm just at the first stages of getting this working. Once it reaches a stage where it might be usable by others I plan to release it as a library. The reason I am doing this is that I found the mesh solutions that use conventional AP+STA mode worked but responded badly to packet loss or changes in topology if things moved and my project will involve wearable devices. It also MIGHT mean longer range between nodes but that's hard to quantify.
@mazmazen5 років тому
Is it wemos inside? Can we see the code
@NickReynolds5 років тому
These are Wemos D1 mini pro, because I like the D1 boards for prototyping and they have an external antenna.
@ChuckSommerville5 років тому
Whats the limit of how many will mesh?
@NickReynolds5 років тому
It's not specifically limited, but eventually you'll run out of heap and right now I'm using uint8_t as an index that would limit things at 254. There's no reason that uint8_t couldn't be an uint16_t but I bet you'd have run out of heap by then anyway. I've only managed to get it to 16 nodes but that's because I ran out of ways to power the ESPs. As I'm using ESP-Now you can have 20 peers per node, but that's just local peers and the mesh as a whole can be bigger. NB: peer to peer communication is NOT encrypted, this is not a requirement for what I'm doing. I've done some artificial capping of local peers to test managing that but really need to build more of a test rig to get real world answers. I've got a drawer full of ESP-01s kicking around unused, just need to solder up a way to plug lots in at once. At the moment I'm doing routing advertisements more frequently than is really necessary and this will limit performance too. This is me feeling my way with a work in progress, not a delivered project.
@Lennypl15 років тому
Grate project, you use public library?
@NickReynolds5 років тому
No, this is me writing my own Arduino library to do this.
@deshbhakti54675 років тому
@@NickReynolds can u please make tutorial on this if this is okay for you .
@leonardodavinci596110 років тому
Leuk project. Is het ook mogelijk om het aansluitschema en het programma beschikbaar te stellen?