forked from libreqoe/libreqos
libreqos docs v2.0 integrations-powercode.md
1.0 kB · 23 lines
Markdown

Powercode Integration #

Version: LibreQoS v2.0 (archived, v2.0-only). For current releases see the LibreQoS v3 documentation.

First, set the relevant parameters for Powercode (powercode_api_key, powercode_api_url, etc.) in /etc/lqos.conf.

To test the Powercode Integration, use

python3 integrationPowercode.py

On the first successful run, it will create a ShapedDevices.csv file. You can modify the network.json file manually to reflect Site/AP bandwidth limits. ShapedDevices.csv will be overwritten every time the Powercode integration is run. You have the option to run integrationPowercode.py automatically on boot and every X minutes (set by the parameter queue_refresh_interval_mins), which is highly recommended. This can be enabled by setting enable_powercode = true in /etc/lqos.conf.