316cfa84f8a39c7a53fbfbafe9efac7d5b81e65e
- Implement migration script to add ftp_username and ftp_password columns to nl43_config table. - Create set_ftp_credentials.py script for updating FTP credentials in the database. - Update requirements.txt to include aioftp for FTP functionality. - Enhance index.html with FTP controls including enable, disable, check status, and list files features. - Add JavaScript functions for handling FTP operations and displaying file lists.
slmm
Standalone NL43 addon module (keep separate from the SFM/terra-view codebase).
Run the addon API:
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8100
Endpoints:
GET /healthGET /api/nl43/{unit_id}/configPUT /api/nl43/{unit_id}/configGET /api/nl43/{unit_id}/statusPOST /api/nl43/{unit_id}/status
Use app/services.py to wire in the TCP connector and call persist_snapshot with parsed DOD/DRD data.
Description
Languages
Python
76.7%
HTML
21.1%
Shell
2%
Dockerfile
0.2%