Έλεγχος σύνδεσης Evocon API…
Production Runs
5,141
rows in MySQL
Products
30
synced from Evocon
Stations
4
active stations
Data From
2025-09-28
→ 2026-12-04
Last Sync
Σήμερα
2026-12-04 22:05
Idle Days
0
weekdays with no production

⚙️ API Configuration

Runs Endpoint https://api.evocon.com/api/reports/oee_json_shift_product_team_stops_speedlosses_scrap
OEE Endpoint https://api.evocon.com/api/reports/oee_json
API Key ✅ Configured ••••F4B3
API Secret ✅ Configured ••••cQg0
Auth Method HTTP Basic Auth (key:secret → Base64)
Data Fetched Per-shift production runs — product, station, shift, meters (goodQty), kWh recalculated from MySQL 5-min tables
Batch Size One calendar month per API call · 2s pause between batches
Stations Fetched UC1200 (id=1) FV75 (id=3) UC250 (id=4) FV200 (id=5)
✅ All weekdays have production data.

🏭 Per-Line Status — from 2025-10-01  ·  924 total shifts/line

🏭 UC 1200
924
Σύνολο
1,254
Παραγωγή
0
Ανενεργές
136% παραγωγή
📏 99.877 m 🏷️ 20 products
2025-10-01 → 2026-12-04
🏭 FV75
924
Σύνολο
1,303
Παραγωγή
0
Ανενεργές
141% παραγωγή
📏 3.520.208 m 🏷️ 21 products
2025-10-01 → 2026-12-04
🏭 UC 250
924
Σύνολο
1,269
Παραγωγή
0
Ανενεργές
137% παραγωγή
📏 465.913 m 🏷️ 24 products
2025-10-01 → 2026-12-04
🏭 FV200
924
Σύνολο
1,278
Παραγωγή
0
Ανενεργές
138% παραγωγή
📏 942.437 m 🏷️ 15 products
2025-10-01 → 2026-12-04

🏷️ Products (30 in MySQL)

Evocon ID Κωδικός Προϊόν Βάρδιες Μέτρα Πρώτη Τελευταία
207 224030000900000 POLIDREN OD 90 ΜΑΥΡΟ 360 ΡΟΛ.50m 41 20.903 2026-10-05 2026-10-31
184 235014500750000 CAVIDOTTO OD 75 ΚΟΚΚΙΝΟ 450N ΡΟΛ.50m 223 143.663 2026-10-31 2026-10-31
259 CAD000002P/BL/25 CAVIDOTO OD/DN 32 BLUE ITALINE 450N 25m 61 183.285 2026-10-31 2026-10-31
254 CAVIDOTTO DN/OD 32 BLUE 450N ITALINE COIL 50MT CAVIDOTTO DN/OD 32 BLUE 450N ITALINE COIL 50MT 57 177.736 2026-10-31 2026-10-31
178 235014500320000 CAVIDOTTO OD 32 ΚΟΚΚΙΝΟ 450N ΡΟΛ.50m 346 857.965 2026-10-31 2026-10-31
179 235014500400000 CAVIDOTTO OD 40 ΚΟΚΚΙΝΟ 450N ΡΟΛ.50m 196 874.380 2026-10-31 2026-10-31
225 211010804000001 ECOPAL ΕΝΣ. OD 400 SN8 ΜΠΑΡΑ 6m 122 21.053 2026-10-31 2026-10-31
162 211010403150000 ECOPAL OD 315 SN4 ΜΠΑΡΑ 6m 154 10.706 2026-10-31 2026-10-31
163 211010803150000 ECOPAL OD 315 SN8 ΜΠΑΡΑ 6m 101 20.776 2026-10-31 2026-10-31
173 235014501600000 CAVIDOTTO OD 160 ΚΟΚΚΙΝΟ 450N ΡΟΛ.50m 61 43.713 2026-10-31 2026-10-31
171 235014501400000 CAVIDOTTO OD 140 ΚΟΚΚΙΝΟ 450N ΡΟΛ.50m 125 42.923 2026-10-31 2026-10-31
198 211010802000000 ECOPAL OD 200 SN8 ΜΠΑΡΑ 6m 112 60.715 2026-10-31 2026-10-31
237 235017501100000 CAVIDOTTO OD 110 ΜΑΥΡΟ 750N ΡΟΛ.50m 85 76.277 2026-10-05 2026-10-05
187 235017500900000 CAVIDOTTO OD 90 ΜΑΥΡΟ 750N ΡΟΛ.50m 51 55.717 2026-10-05 2026-10-05
16 235014500900000 CAVIDOTTO OD 90 ΚΟΚΚΙΝΟ 450N ΡΟΛ.50m 174 136.548 2026-10-05 2026-10-05
277 235017500500002 CAVIDOTTO OD 50 ΜΑΥΡΟ-4 ΜΠΛΕ 750N ΡΟΛ.50m 20 28.714 2026-10-05 2026-10-05
243 235017500500000 CAVIDOTTO OD 50 ΜΑΥΡΟ 750N ΡΟΛ.50m 71 58.555 2026-10-05 2026-10-05
286 235014500500004 CAVIDOTTO OD 50 ΜΑΥΡΟ 450N ΡΟΛ.50m OUT LINE 5 31.996 2026-10-05 2026-10-05
180 235014500500000 CAVIDOTTO OD 50 ΚΟΚΚΙΝΟ 450N ΡΟΛ.50m 133 520.063 2026-10-05 2026-10-05
241 235017500500001 CAVIDOTTO OD 50 ΜΠΛΕ 750N ΡΟΛ.50m 6 23.499 2026-10-05 2026-10-05
287 235017500630001 CAVIDOTTO OD 63 ΚΟΚΚΙΝΟ 750N ΡΟΛ.50m 3 4.998 2026-10-05 2026-10-05
181 235014500630000 CAVIDOTTO OD 63 ΚΟΚΚΙΝΟ 450N ΡΟΛ.50m 138 460.098 2026-10-05 2026-10-05
11 211010806300001 ECOPAL ΕΝΣ. OD 630 SN8 ΜΠΑΡΑ 6m 183 7.449 2026-10-05 2026-10-05
14 211010805000001 ECOPAL ΕΝΣ. OD 500 SN8 ΜΠΑΡΑ 6m 131 16.468 2026-10-05 2026-10-05
7 211010408000001 ECOPAL ΕΝΣ. OD 800 SN4 ΜΠΑΡΑ 6m 17 993 2026-10-05 2026-10-05
6 211010808000001 ECOPAL ΕΝΣ. OD 800 SN8 ΜΠΑΡΑ 6m 86 3.816 2026-10-05 2026-10-05
248 211010406300000 ECOPAL OD 630 SN4 ΜΠΑΡΑ 6m 10 1.200 2026-10-05 2026-10-05
10 211010406300001 ECOPAL ΕΝΣ. OD 630 SN4 ΜΠΑΡΑ 6m 15 2.573 2026-10-05 2026-10-05
8 211010404000001 ECOPAL ΕΝΣ. OD 400 SN4 ΜΠΑΡΑ 6m 35 5.881 2026-10-05 2026-10-05
205 224030001600000 POLIDREN OD 160 ΜΑΥΡΟ 360 ΡΟΛ.50m 150 10.911 2026-10-05 2026-10-05

🖥️ Sync Scripts — Windows Server

backfill_evocon_runs.py
Full re-fetch: Evocon API → SQL Server (dbo.PoliEcoRuns). Use when production run data is missing or wrong.
python backfill_evocon_runs.py
sync_polieco_to_mysql.py
Full sync: SQL Server (dbo.PoliEcoRuns) → MySQL. Run after backfill_evocon_runs.py.
python sync_polieco_to_mysql.py
fetch_evocon_runs.py
Scheduled task (every 15 min): fetches last 2 days Evocon → SQL Server. Should run automatically on Windows.
python fetch_evocon_runs.py
backfill_mysql_direct.py
Direct path: Evocon API → MySQL. No SQL Server dependency. Use for gap fixes or Linux server.
python backfill_mysql_direct.py
backfill_polieco_shifts.py
Complete shift log: Evocon API → dbo.PoliEcoShifts (incl. idle shifts). Gives full timeline per line.
python backfill_polieco_shifts.py
check_data_integrity.py
Diagnostic: compares products & row counts across Evocon API vs MySQL. Run to verify sync.
python check_data_integrity.py
Gap Fix Procedure:
  1. Edit BACKFILL_START / BACKFILL_END in backfill_evocon_runs.py to cover the missing range
  2. Run python backfill_evocon_runs.py — re-fetches from Evocon, updates SQL Server
  3. Run python sync_polieco_to_mysql.py — pushes SQL Server → MySQL
  4. Reload this page to verify gaps are resolved