Update system api

This commit is contained in:
2025-12-30 00:52:36 +01:00
parent ca40197b4a
commit 9476cc3559
158 changed files with 496 additions and 1223 deletions

View File

@@ -7,7 +7,6 @@ COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV PYTHONUNBUFFERED=1
ENV FLASK_APP=app.py
ENV FLASK_RUN_HOST=0.0.0.0
ENV FLASK_RUN_PORT=5000

View File

@@ -37,6 +37,6 @@ if __name__ == '__main__':
)
forwarder = MQTTForwarder(client_id, local_broker, api_broker)
forwarder.start(f"/customer/{client_id}/#", f"/board-mate/{client_id}/telemetry")
forwarder.start(f"/customer/telemetry/#", f"/board-mate/{client_id}/telemetry")
app.run(host="0.0.0.0", port=5000, debug=False)