update docker deployment and changing seed kandang name

This commit is contained in:
Alberto-Audrix committed 2026-08-31 11:10:32 +07:00
1 parent 76f4d0106a
commit 74dd3faf60
40 files changed
+1253 -122

No files matched your search

+4 -4
View File
@@ -1,12 +1,12 @@
"""Extract real 10-minute IoT snapshots for the Sukawarna Kandang 5 cycle window.
"""Extract real 10-minute IoT snapshots for the Sukawarna Kandang 2 cycle window.
The public IoT API (dashboard.cpsp.id/api/iot/flocks/) polls the coop every 10
minutes, so a full cycle day holds up to 144 rows. This script scans the API's
history for flock 686df69f407b21002da8750c (Kandang 5 Lantai 1) inside the
history for flock 686df69f407b21002da8750c (Kandang 2 Lantai 1) inside the
seeded cycle window 2026-05-22 .. 2026-07-09 and writes every snapshot to
``iot_panel_10min_extract.json``. The Django seed command reads this cache so
Kandang 5 Lantai 1 is seeded from real sensor readings; the other floors and
Kandang 4 are generated from it.
Kandang 2 Lantai 1 is seeded from real sensor readings; the other floors and
Kandang 1 are generated from it.
"""
import json
import sys