Look at LowPowerLab RFM69 examples.
In gateway sketch you can see how to handle incoming messages, in others how to send messages.
Combine this two and you obtain node, which is able to send messages to any node and receive messages too.
But it is not realy "mesh" , it is normal "peer to peer" network.
RFM69 has got good range, so in normal house real mesh is not needed, I think.
What I consider real mesh is MySensors with parent nodes or ESP-MESH:
Posts made by kimot
RE: is mesh n/w possible using RFM69 without using gateway?
RE: Sonoff gateway: sketch uploads fine but doesn't run
run command ( it is for Linux - use com with its number in Windows )
esptool.py --port /dev/ttyUSB0 flash_id
Sonnof must response with its chip ID
Something like this:
Connecting... Manufacturer: e0 Device: 4016
If it does, chip and connection is ok....
RE: My experiences with MySensors
I am not user "roadman", but I am using MySensors and ESP8266 ( Wemos) so hopefully I can answer some of your questions.
I am using only one wifi access point (AP or router) in my home without problems.
But you can use one AP for your computers and TV and etc. and other for your sensors.
AP hw is cheap....
My house is 8x12 meters and wifi AP is in 2nd floor about in center of house.
It covers the entire house and very close ( 3m )out of house.
Near this wifi AP is RFM69 MySensors gateway, which covers up to the edge of my property 60 meters away.
( may further )
MySensors is goot for nodes a far away in my garden and for nodes with low energy consumption and fast reaction when wake up.
When MySensors node is sleeping and then wake up, it immediately continues in program flow immediately from the place of "sleep" command.
Wemos, when sleeping an wake ups, reboots and must connect to AP, which takes 8s to 2s when we do some tweakings.
But Wemos is very user friendly.
You can use some "ready use" solutions like ESPeasy or Tasmota and configure your node trough its web page.
Configure means select which sensor connect to which pin, send value to which contrtoller etc.
Write some programs or scripts:
All without the need to compile a new program.
And you can send to your controller what you want, not just what is implemented in MySensors.
( Using JSON API in my case with Domoticz )
And your controller can send anything to your node.
And for "MESH" topology.
Arduino "painlessMesh" library for ESPs exists.
But I think it is more easier to use more AP units - they are cheap ....
RE: Graphing of time measured events
Domoticz has a nice dummy counter or dummy incremental counter, where you can enter the unit quantity.
MySensors unfortunately is unable to send data to these counters.
I am using them with ESP8266 to send energy consumption of my floor heating or number of actions of my relays.
So I recommend to use DzVents scripts in Domoticz instead of node-red.
I see two ways.
Send from node for example in watts or m3 or litters.
With DzVents translate this value to time in minutes in Domoticz created dummy counter.
Write DzVents script for your switch, which saves time for ON action and when OFF action occurs, calculate time interval and adds minutes to dummy counter.
Then you can see the beautiful statistics for each day of the entire year back and the actual total value too.
For example here for my relay actions:
( "zapnuti" = "relay on" )