leodesigner / espNowFloodingMeshLibrary2

ESP8266/ESP32 ESPNOW/Broadcast Arduino Flooding mesh library
Mozilla Public License 2.0
29 stars 8 forks source link

Thanks and a few suggestions for telemetry #3

Open ArminPP opened 3 years ago

ArminPP commented 3 years ago

Hello leodesigner, I wanted to thank you very much for continuing the project.

I think the Floodingmesh library is the best mesh library for Arduino/ESP right now and I've already used it (the original one) for a prototype. (btw: I used a "Olimex Gateway" as Gateway between Mesh and Ethernet. So I did not need the serial connection or a Raspberry PI...) At the moment I'm stuck on another project, but I want to continue working with your library later :-)

The idea with the telemetry data is great, I've already asked arttupii for a diagnosis function ... Maybe the RSSI level of the slave will also be included in the future? A second wish would be if there is a "message header" with a simple routing table: e.g. JSON {"2": [{"n": 1, "r": - 68}, {"n": 255, "r": 0}, {"n": 1, "r": 0}, {"n": 0, "r": 0}]} (borrowed from:https://nootropicdesign.com/projectlab/2018/10/20/lora-mesh-networking/) So it would be possible to visualize the entire network like as: meshNetwork

Anyway, thank you once again for developing the lib further, 👍 I wish you a wonderful holiday and a happy new year 2021

leodesigner commented 3 years ago

Thank you @ArminPP. This is definitely encouraging :)

Unfortunately I had no much time working on it lately. The blog post about the whole project is still in progress. I wanted to share a Gephy visualisation attempt. The network graph was exported with: https://github.com/leodesigner/esp_mesh_mqtt_gateway/blob/master/stats_listener.py

Screenshot 2020-11-16 at 23 01 47

Very nice option with ESP32 <> Ethernet gateway too. In my case I run Node-Red and mosquito mqtt broker on Orange-PI.

Unfortunately RSSI is not available for ESPNOW protocol at the moment. The only way to estimate it is a number of packets received from each neighbour node.

Btw, we can control node TX power via regular Wifi tx power control (this is in the code of example project https://github.com/leodesigner/esp_mesh_pir_sensor/blob/90b76448235abb046ed8edc4e426c6662cbfb4ef/src/main.cpp#L126)