Hi Sergegsx,
Welcome to the forum and thanks for the compliments.
All the information related to this framework are and will be posted on the
dedicated "Gateway" page.
I don't think I have such specific documentation, but part of the guide and install I try to explain how everything works and interacts. I plan to enhance this page and add more documentation once I free up from other projects I have going on.
My architecture is pretty simple. The hardware is composed of a gateway based on RaspberryPi, which sits on the local LAN at a dedicated address and has a "gateway Moteino" that is the relay to the remote wireless nodes that can control things or report sensors/metrics. The gateway Moteino is attached via serial (either GPIO or USB) and talks to the main gateway application,
gateway.js which acts as a relay between the web and the Moteino framework of nodes via secured websockets for real time updates. The sample definitions for sample hardware I offer is included in
metrics.js and settings for email/sms and database are stored in
settings.js. I just released a new version of it which can allow you to add non-moteino based nodes and communicate to IP based nodes like ESP8266 via a REST HTTP interface using the
nodeJS request module. This is mentioned in this recent
blog post. I know this is a very big picture but I hope it helps. The core application logic is included in the following files: gateway.js, metrics.js, index.php, which you can check out at this [urlhttps://github.com/LowPowerLab/RaspberryPi-Gateway]Github repo[/url].
Best,
-Felix