picogw-plugin-admin
v1.0.10
Published
Admin plugin of picogw
Downloads
353
Readme
node-picogw-plugin-admin is a mandatory plugin module for PicoGW, a Home Automation and Building Automation devices gateway server, developed by Kanagawa Institute of Technology, Smart House Research Center, released under MIT license. This is automatically installed when you install PicoGW.
Plugin API
GET /v1/admin
Admin plugin root. Currently, the admin plugin is responsible to network and server management.
GET /v1/admin/net
The network object in the admin plugin.
This object monitors ARP table and associates IP address with the MAC address to detact change of IP address. PicoGW currently only support IPv4 network. Internally, the detected MAC address is exposed to other plugin to trace devices.
GET /v1/admin/server_status
Runs 'vmstat' command to monitor server memory and other statuses.