dylanmsu / RN2483_PeerToPeer

A peer to peer example for the RN2483
0 stars 0 forks source link

Feature idea - Mysensors #2

Open Cloolalang opened 3 years ago

Cloolalang commented 3 years ago

Hi Dylan, I really like you project. I wonder is f you know about mysensors, they have an API for the Semtech RF95 Lora chips. I found your project because I was looking for a way to integrate mysensors with the RN2483.

It would be really cool if it could be done so that the RN2483 could be made into a transparent modem for Lora peer 2 peer. the Mysensors protocol is very basic but quite powerful for a simple sensor network, and the ESP32 MQTT-Radio gateway is available. Cheers Patrick

dylanmsu commented 3 years ago

@Cloolalang Hi, Thank you for your idea!

Do you mean to use the RN2483 to communicate with the RF95 running the mysensors API? Ive only tested it with two RN2483 modems running my library so im not sure if its easy to implement right now.

This repo is however in an early development stage so there is still alot to do. I will make the code more object oriented so using other modems will be possible in the future. I will definetly try to implement this feature in the future!

Cloolalang commented 3 years ago

Hi, No actually I was thinking that one could send mysensors frames over Lora (p2p) using the RN2483 on both ends. Currently MySenors frames can be send with serial (RS485) and so its possible to make a link using two transparent uart radios like the HC12 instead of over a cable like RS485. But the RN2483 is a very good quality Lora radio and can be made to sleep etc. (and its complaint with radio standards, which other boards like RF95 is not).

I develop Lorawan using the RN2483, but I never got round to peer 2 peer operation and that can be very useful.

So I propose that RN2483 is combined with the Mysensors API, this API is open source, tree- topology with the various interesting possibilities such as Node-Gateway, Node-Node, Repeater Nodes etc. Its a nice alternative to LoraWan and the gateway would be much cheaper (single-channel gateway made out of an RN2483 and an ESP32 for example) I dont have the skill to code it unfortunately!

Similar projects are:

Radioshuttle with the TTGO board

Radiolib - RF95

Meshtastic - Radiolib

Cheers Patrick