Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.88 KB

README.md

File metadata and controls

40 lines (30 loc) · 1.88 KB
Master branch Develop branch
Code Health Code Health

This repo contains the software to run on the manager. It:

  • connects to the SmartMesh IP manager
  • formats received data/notifications as sensors objects
  • stores objects locally
  • syncs locally-stored objects with the SolApi

Installing and Running


                         +-----+SolManager-----+                +-------------+
+-------------+          |                     +--------------> |   SolApi    |
| SmartMeshIP |          |   +-------------+   |     HTTP:443   +-------------+
|   Manager   +<------------>+ JsonManager |   |
|             | API port |   +-------------+   |
+-------------+          |                     |
                         +---------------------+

Configuration

  • Create a copy of solmanager.config.sample, name it solmanager.config
  • Modify the configuration fields as you see fit for your deployment

Supervisor

For the solmanager to restart automatically in Linux:

  • Install supervisor: sudo apt-get install supervisor
  • Place the supervisor configuration: sudo cp supervisord.conf.sample /etc/supervisor/conf.d/solmanager.conf
  • In that configuration file, replace #SOL_MANAGER_PATH by the path where the solmanager/ directory is
  • Restart supervisor service: sudo service supervisor restart