pyacs is a tr069 acs written by python. The following features have been finished.
- GetRPCMethods
- Inform
Note - make sure you have installed python3(3.10 is recommended) in your platform.
pip install --user pipenv
pipenv install
Please change the SECRET_KEY
by generating your own. The SECRET_KEY
is used to sign cookies.
-
The main configuration file for TR-098. The Common section is used as default values which can be overriden by a specific CPE configuration.
-
To override values for a specific CPE create a section with the serialnumber including leading zeros as shown for 0000123456.
-
After changing values in the tr098.ini the CPE cell can be either rebooted or wait until the CPE is informing us again (see periodic inform / tr069).
pipenv run python pyacs.py
Note - for ACS, "ManagementServer.URL" must be set to "http://[ip]:80/acs" in CPE.
Note - for web server, you can visit "http://localhost/" to initiate "Connection Request".
Ensure the xml files contain an extra newline (ascii 0xa) on the end of the request.
Note - please see Issues for known bugs
It doesn't use any external database (mysql) or cache system (redis) to reduce the amount of external dependencies and simplify the setup.