Firmware for the manager
Python JavaScript Makefile Smarty C HTML
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
libs
scripts
.gitignore
.landscape.yaml
README.md
license.txt
logging.conf
requirements.txt
solmanager.config.example
solmanager.py
supervisord.conf.sample

README.md

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