Coopdis / easyMesh

Library to create a simple mesh network on Arduino/esp8266
MIT License
527 stars 123 forks source link

Raspberry Pi as mesh node #30

Open nemo9955 opened 7 years ago

nemo9955 commented 7 years ago

I want to write a python port for this library that basically allows a Raspberry/Orange/Banana/Panda board to create a wifi hotspot and have at least one ESP8266 node connected to it.

After some easyMesh source code skimming, I'm thinking of doing something like this :

What do I want from this port, ordered from most important to least :

BlackEdder commented 7 years ago

I wrote easyMesheD that can receive messages and send messages to the mesh. It does need to actively connect to the mesh, so if you want to also connect to the wider network at the same time then you need two network cards on your raspberry pi.

I am currently writing an improved version as well that basically act as a full node as part of painlessMesh, which is a fork of easyMesh (easyMesh seems to have been abandoned).

nemo9955 commented 7 years ago

This seems like a good enough solution, thank you! I'll try to put it on a raspberry and check it out.

durvesh09 commented 7 years ago

Hi,

Had you succeeded in using raspberry pi as a mesh node ?

nemo9955 commented 7 years ago

No, I had problems with the whole mesh and postponed it. There is this working library, but again, some mesh problems and the fact that it's written in D made me not bother with finding a solution.

https://gitlab.com/BlackEdder/painlessMeshListener

durvesh09 commented 7 years ago

Thanks. But the painlessMeshListener is not working. Infact there is no any procedure regarding its usage.

BlackEdder commented 7 years ago

I put some notes on its usage on the painlessMesh wiki and in the readme (although indeed minimal). Maybe if you raise some issues I can help you solve your problem. You can also try to contact me on gitter. https://gitter.im/painlessMesh/Lobby