- Fri Jun 30, 2017 10:47 am
#67773
Since my original post on this thread, I have followed a course on "Instructables", and have been able to wire a button and a LED to a NodeMCU, and have it send notification that the button was pressed to website AdafruitIO (AIO), and to have IFTTT detect the trigger on AIO and send a) an email, and b) a command back to the NodeMCU to tell it to light the LED.
So, I have made a start, but I still have a long way to go to accomplish the project outlined at the top of this thread.
I don't mind using Lua or AT commands, but the NodeMCUs will now be installed in four houses along the same side of the road. Let's call them A,B,C,D. The wireless signal will have to penetrate walls, so house A will not be able to communicate with D, but adjacent houses should be OK. I favour a P2P network, as each node, if triggered, will alert a neighbour, but if no help arrives within a few minutes, it will call other houses by using intermediate nodes, then finally use the WiFi router in the house that caused the alert to signal a family member by SMS.
Although I am a retired computer engineer, my networking experience has all been on mainframe channels and computer centre LANs like FDDI, Fibre Channel, SCSI, HIPPI, etc - I have very limited knowledge of WiFi or Internetworking, so I need quite a lot of pretty basic information to get me going. I'm really depending on pointers from people like you, who know the subject much better than I do. I have also downloaded three books on Lua, so I have some reading to do.
I do not intend to commercialise the product, so when it is complete, I will write it up and make it available to all.
My immediate questions concern setting up a P2P network between several (up to 6) NodeMCU boards. Can anybody give me links or help me out?