{
  "meta": {
    "last_update": "2026-04-25T23:31:13.317082+00:00",
    "source": "seko_web",
    "owner_id": "GBL2146SEKO",
    "device_count": 0,
    "ref_start": "2026-01-01",
    "ref_days": 114,
    "archive_total_events": 16440,
    "archive_new_events_this_poll": 0
  },
  "devices": [],
  "summary": {
    "total_litres_month": 0,
    "total_litres_year": 0,
    "total_litres_ref": 0,
    "total_cost_month": 0,
    "total_cost_year": 0,
    "total_cost_ref": 0,
    "cost_per_litre": 0,
    "chemicals_count": 0,
    "pumps_online": 0,
    "pumps_total": 0,
    "ref_days": 114
  },
  "chemicals_today": [],
  "chemicals_month": [],
  "chemicals_year": [],
  "chemicals_ref": [],
  "machine_totals_ref": {},
  "dosing_events_24h": [],
  "dosing_events_meta": {
    "window_hours": 24,
    "total_events": 0,
    "by_pump": {
      "Pumpe 1 (Small-Block)": {
        "event_count": 0,
        "total_litres": 0.0,
        "chemicals": []
      },
      "Pumpe 2 (Large-Block)": {
        "event_count": 0,
        "total_litres": 0.0,
        "chemicals": []
      }
    }
  },
  "cycle_correlation": {
    "status": "no_events",
    "cycles": [],
    "by_program": {}
  },
  "chemical_analysis": {
    "status": "ok",
    "pump_start": "2026-03-21",
    "first_event_day": "2026-03-26",
    "last_event_day": "2026-04-25",
    "days_with_data": 31,
    "aggregated_view": {
      "source": "seko_ctrl_get_chemical_usage",
      "note": "Diese Werte kommen vom offiziellen Seko-Aggregat-Endpoint und stimmen mit deiner BWA überein.",
      "summary": {
        "total_cost_month": 0,
        "total_cost_year": 0,
        "total_litres_month": 0,
        "total_litres_year": 0,
        "avg_cost_per_litre": 0
      },
      "chemicals_today": [],
      "chemicals_month": [],
      "per_machine_month": [],
      "ref_days": 114,
      "total_cost_ref": 0,
      "total_litres_ref": 0
    },
    "totals": {
      "total_events": 16440,
      "total_ml": 3508969.1,
      "total_litres": 3508.97,
      "total_cost_eur": 15994.96,
      "total_cycles_correlated": 23,
      "note": "Event-basierte Zahlen: unvollständig (~30% Abdeckung). Für absolute Mengen/Kosten: aggregated_view nutzen."
    },
    "projection": {
      "based_on_days": 28,
      "avg_daily_cost_eur": 563.08,
      "avg_daily_ml": 123558.3,
      "monthly_cost_eur": 16892.4,
      "monthly_litres": 3706.8,
      "yearly_cost_eur": 205524.22,
      "yearly_litres": 45098.8
    },
    "by_program_size": {
      "Daunenbetten 40°__large": {
        "program": "Daunenbetten 40°",
        "machine_size": "large",
        "cycle_count": 1,
        "total_ml": 10121.4,
        "total_cost_eur": 49.01,
        "total_water_l": 250.7,
        "machines": [
          "D"
        ],
        "avg_ml_per_cycle": 10121.4,
        "avg_cost_per_cycle": 49.0147,
        "avg_water_l_per_cycle": 250.7,
        "std_ml_per_cycle": 0,
        "price_per_wash": 12,
        "margin_per_cycle": -37.0147,
        "margin_pct": -308.5,
        "chemicals": [
          {
            "chemical": "Total",
            "total_ml": 4014.2,
            "total_cost_eur": 20.874,
            "avg_ml_per_cycle": 4014.2
          },
          {
            "chemical": "Sanyplus",
            "total_ml": 3975.1,
            "total_cost_eur": 11.7257,
            "avg_ml_per_cycle": 3975.1
          },
          {
            "chemical": "SG Clean",
            "total_ml": 2132.1,
            "total_cost_eur": 16.415,
            "avg_ml_per_cycle": 2132.1
          }
        ]
      },
      "Buntwäsche sensitiv 60°__large": {
        "program": "Buntwäsche sensitiv 60°",
        "machine_size": "large",
        "cycle_count": 1,
        "total_ml": 19255.1,
        "total_cost_eur": 97.13,
        "total_water_l": 91.4,
        "machines": [
          "F"
        ],
        "avg_ml_per_cycle": 19255.1,
        "avg_cost_per_cycle": 97.1327,
        "avg_water_l_per_cycle": 91.4,
        "std_ml_per_cycle": 0,
        "price_per_wash": 12,
        "margin_per_cycle": -85.1327,
        "margin_pct": -709.4,
        "chemicals": [
          {
            "chemical": "Energy",
            "total_ml": 13156.8,
            "total_cost_eur": 69.0753,
            "avg_ml_per_cycle": 13156.8
          },
          {
            "chemical": "Sanyplus",
            "total_ml": 3978.7,
            "total_cost_eur": 11.7355,
            "avg_ml_per_cycle": 3978.7
          },
          {
            "chemical": "SG Clean",
            "total_ml": 2119.6,
            "total_cost_eur": 16.3219,
            "avg_ml_per_cycle": 2119.6
          }
        ]
      },
      "Intensiv Waschen 60°__large": {
        "program": "Intensiv Waschen 60°",
        "machine_size": "large",
        "cycle_count": 2,
        "total_ml": 23688.4,
        "total_cost_eur": 124.51,
        "total_water_l": 457.6,
        "machines": [
          "E",
          "F"
        ],
        "avg_ml_per_cycle": 11844.2,
        "avg_cost_per_cycle": 62.2537,
        "avg_water_l_per_cycle": 228.8,
        "std_ml_per_cycle": 11471.1,
        "price_per_wash": 12,
        "margin_per_cycle": -50.2537,
        "margin_pct": -418.8,
        "chemicals": [
          {
            "chemical": "Energy",
            "total_ml": 16578.1,
            "total_cost_eur": 87.0372,
            "avg_ml_per_cycle": 8289.0
          },
          {
            "chemical": "Sanyplus",
            "total_ml": 4046.7,
            "total_cost_eur": 11.9372,
            "avg_ml_per_cycle": 2023.3
          },
          {
            "chemical": "SG Clean",
            "total_ml": 2690.6,
            "total_cost_eur": 20.7198,
            "avg_ml_per_cycle": 1345.3
          },
          {
            "chemical": "Proofing",
            "total_ml": 373.1,
            "total_cost_eur": 4.8131,
            "avg_ml_per_cycle": 186.6
          }
        ]
      },
      "Buntwäsche 40°__large": {
        "program": "Buntwäsche 40°",
        "machine_size": "large",
        "cycle_count": 2,
        "total_ml": 39321.0,
        "total_cost_eur": 189.5,
        "total_water_l": 424.7,
        "machines": [
          "D",
          "E"
        ],
        "avg_ml_per_cycle": 19660.5,
        "avg_cost_per_cycle": 94.748,
        "avg_water_l_per_cycle": 212.3,
        "std_ml_per_cycle": 8018.4,
        "price_per_wash": 12,
        "margin_per_cycle": -82.748,
        "margin_pct": -689.6,
        "chemicals": [
          {
            "chemical": "Sanyplus",
            "total_ml": 17062.8,
            "total_cost_eur": 50.3331,
            "avg_ml_per_cycle": 8531.4
          },
          {
            "chemical": "Total",
            "total_ml": 12891.6,
            "total_cost_eur": 67.0377,
            "avg_ml_per_cycle": 6445.8
          },
          {
            "chemical": "SG Clean",
            "total_ml": 9366.6,
            "total_cost_eur": 72.1251,
            "avg_ml_per_cycle": 4683.3
          }
        ]
      },
      "Intensiv Waschen__small": {
        "program": "Intensiv Waschen",
        "machine_size": "small",
        "cycle_count": 1,
        "total_ml": 4326.3,
        "total_cost_eur": 16.85,
        "total_water_l": 61.4,
        "machines": [
          "B"
        ],
        "avg_ml_per_cycle": 4326.3,
        "avg_cost_per_cycle": 16.8534,
        "avg_water_l_per_cycle": 61.4,
        "std_ml_per_cycle": 0,
        "price_per_wash": 6,
        "margin_per_cycle": -10.8534,
        "margin_pct": -180.9,
        "chemicals": [
          {
            "chemical": "Megasoft",
            "total_ml": 2406.2,
            "total_cost_eur": 9.264,
            "avg_ml_per_cycle": 2406.2
          },
          {
            "chemical": "Sanyplus",
            "total_ml": 1481.0,
            "total_cost_eur": 4.368,
            "avg_ml_per_cycle": 1481.0
          },
          {
            "chemical": "SG Clean",
            "total_ml": 375.4,
            "total_cost_eur": 2.89,
            "avg_ml_per_cycle": 375.4
          },
          {
            "chemical": "Total",
            "total_ml": 63.7,
            "total_cost_eur": 0.3314,
            "avg_ml_per_cycle": 63.7
          }
        ]
      },
      "Buntwäsche sensitiv__small": {
        "program": "Buntwäsche sensitiv",
        "machine_size": "small",
        "cycle_count": 3,
        "total_ml": 34157.9,
        "total_cost_eur": 159.56,
        "total_water_l": 254.1,
        "machines": [
          "B"
        ],
        "avg_ml_per_cycle": 11386.0,
        "avg_cost_per_cycle": 53.1862,
        "avg_water_l_per_cycle": 84.7,
        "std_ml_per_cycle": 6341.0,
        "price_per_wash": 6,
        "margin_per_cycle": -47.1862,
        "margin_pct": -786.4,
        "chemicals": [
          {
            "chemical": "Energy",
            "total_ml": 24362.3,
            "total_cost_eur": 127.9029,
            "avg_ml_per_cycle": 8120.8
          },
          {
            "chemical": "Sanyplus",
            "total_ml": 6731.9,
            "total_cost_eur": 19.8594,
            "avg_ml_per_cycle": 2244.0
          },
          {
            "chemical": "Megasoft",
            "total_ml": 3063.8,
            "total_cost_eur": 11.7963,
            "avg_ml_per_cycle": 1021.3
          }
        ]
      },
      "Buntwäsche__medium": {
        "program": "Buntwäsche",
        "machine_size": "medium",
        "cycle_count": 3,
        "total_ml": 30907.0,
        "total_cost_eur": 123.44,
        "total_water_l": 157.6,
        "machines": [
          "C"
        ],
        "avg_ml_per_cycle": 10302.3,
        "avg_cost_per_cycle": 41.1467,
        "avg_water_l_per_cycle": 52.5,
        "std_ml_per_cycle": 9923.7,
        "price_per_wash": 8.5,
        "margin_per_cycle": -32.6467,
        "margin_pct": -384.1,
        "chemicals": [
          {
            "chemical": "Sanyplus",
            "total_ml": 12288.7,
            "total_cost_eur": 36.2559,
            "avg_ml_per_cycle": 4096.2
          },
          {
            "chemical": "Energy",
            "total_ml": 10975.6,
            "total_cost_eur": 57.6249,
            "avg_ml_per_cycle": 3658.5
          },
          {
            "chemical": "Megasoft",
            "total_ml": 7552.7,
            "total_cost_eur": 29.0802,
            "avg_ml_per_cycle": 2517.6
          },
          {
            "chemical": "Total",
            "total_ml": 85.4,
            "total_cost_eur": 0.444,
            "avg_ml_per_cycle": 28.5
          },
          {
            "chemical": "SG Clean",
            "total_ml": 4.6,
            "total_cost_eur": 0.0351,
            "avg_ml_per_cycle": 1.5
          }
        ]
      },
      "Buntwäsche sensitiv 40°__large": {
        "program": "Buntwäsche sensitiv 40°",
        "machine_size": "large",
        "cycle_count": 2,
        "total_ml": 36007.9,
        "total_cost_eur": 169.95,
        "total_water_l": 263.0,
        "machines": [
          "E",
          "F"
        ],
        "avg_ml_per_cycle": 18004.0,
        "avg_cost_per_cycle": 84.9737,
        "avg_water_l_per_cycle": 131.5,
        "std_ml_per_cycle": 183.5,
        "price_per_wash": 12,
        "margin_per_cycle": -72.9737,
        "margin_pct": -608.1,
        "chemicals": [
          {
            "chemical": "Energy",
            "total_ml": 27705.1,
            "total_cost_eur": 145.452,
            "avg_ml_per_cycle": 13852.5
          },
          {
            "chemical": "Sanyplus",
            "total_ml": 8302.8,
            "total_cost_eur": 24.4953,
            "avg_ml_per_cycle": 4151.4
          }
        ]
      },
      "Express 30°__large": {
        "program": "Express 30°",
        "machine_size": "large",
        "cycle_count": 3,
        "total_ml": 63757.0,
        "total_cost_eur": 308.65,
        "total_water_l": 526.1,
        "machines": [
          "D",
          "E",
          "F"
        ],
        "avg_ml_per_cycle": 21252.3,
        "avg_cost_per_cycle": 102.884,
        "avg_water_l_per_cycle": 175.4,
        "std_ml_per_cycle": 6135.6,
        "price_per_wash": 12,
        "margin_per_cycle": -90.884,
        "margin_pct": -757.4,
        "chemicals": [
          {
            "chemical": "Sanyplus",
            "total_ml": 25851.6,
            "total_cost_eur": 76.2603,
            "avg_ml_per_cycle": 8617.2
          },
          {
            "chemical": "Energy",
            "total_ml": 15810.5,
            "total_cost_eur": 83.0025,
            "avg_ml_per_cycle": 5270.2
          },
          {
            "chemical": "SG Clean",
            "total_ml": 13798.1,
            "total_cost_eur": 106.2432,
            "avg_ml_per_cycle": 4599.4
          },
          {
            "chemical": "Total",
            "total_ml": 8296.8,
            "total_cost_eur": 43.146,
            "avg_ml_per_cycle": 2765.6
          }
        ]
      },
      "Buntwäsche__small": {
        "program": "Buntwäsche",
        "machine_size": "small",
        "cycle_count": 2,
        "total_ml": 55384.9,
        "total_cost_eur": 260.87,
        "total_water_l": 92.4,
        "machines": [
          "A",
          "B"
        ],
        "avg_ml_per_cycle": 27692.5,
        "avg_cost_per_cycle": 130.435,
        "avg_water_l_per_cycle": 46.2,
        "std_ml_per_cycle": 2722.0,
        "price_per_wash": 6,
        "margin_per_cycle": -124.435,
        "margin_pct": -2073.9,
        "chemicals": [
          {
            "chemical": "Energy",
            "total_ml": 40039.8,
            "total_cost_eur": 210.2118,
            "avg_ml_per_cycle": 20019.9
          },
          {
            "chemical": "Sanyplus",
            "total_ml": 9352.0,
            "total_cost_eur": 27.5859,
            "avg_ml_per_cycle": 4676.0
          },
          {
            "chemical": "Megasoft",
            "total_ml": 5993.2,
            "total_cost_eur": 23.0724,
            "avg_ml_per_cycle": 2996.6
          }
        ]
      },
      "Buntwäsche 60°__large": {
        "program": "Buntwäsche 60°",
        "machine_size": "large",
        "cycle_count": 3,
        "total_ml": 176963.1,
        "total_cost_eur": 775.39,
        "total_water_l": 636.3,
        "machines": [
          "D",
          "F"
        ],
        "avg_ml_per_cycle": 58987.7,
        "avg_cost_per_cycle": 258.4646,
        "avg_water_l_per_cycle": 212.1,
        "std_ml_per_cycle": 10467.6,
        "price_per_wash": 12,
        "margin_per_cycle": -246.4646,
        "margin_pct": -2053.9,
        "chemicals": [
          {
            "chemical": "Sanyplus",
            "total_ml": 54007.1,
            "total_cost_eur": 159.324,
            "avg_ml_per_cycle": 18002.4
          },
          {
            "chemical": "Megasoft",
            "total_ml": 49332.7,
            "total_cost_eur": 189.9342,
            "avg_ml_per_cycle": 16444.2
          },
          {
            "chemical": "Energy",
            "total_ml": 31659.0,
            "total_cost_eur": 166.209,
            "avg_ml_per_cycle": 10553.0
          },
          {
            "chemical": "Total",
            "total_ml": 25281.5,
            "total_cost_eur": 131.4678,
            "avg_ml_per_cycle": 8427.2
          },
          {
            "chemical": "SG Clean",
            "total_ml": 16682.9,
            "total_cost_eur": 128.4588,
            "avg_ml_per_cycle": 5561.0
          }
        ]
      }
    },
    "by_program": {
      "Daunenbetten 40°": {
        "program": "Daunenbetten 40°",
        "cycle_count": 1,
        "total_ml": 10121.4,
        "total_cost_eur": 49.01,
        "machines": [
          "D"
        ],
        "sizes": [
          "large"
        ],
        "avg_ml_per_cycle": 10121.4,
        "avg_cost_per_cycle": 49.0147
      },
      "Buntwäsche sensitiv 60°": {
        "program": "Buntwäsche sensitiv 60°",
        "cycle_count": 1,
        "total_ml": 19255.1,
        "total_cost_eur": 97.13,
        "machines": [
          "F"
        ],
        "sizes": [
          "large"
        ],
        "avg_ml_per_cycle": 19255.1,
        "avg_cost_per_cycle": 97.1327
      },
      "Intensiv Waschen 60°": {
        "program": "Intensiv Waschen 60°",
        "cycle_count": 2,
        "total_ml": 23688.4,
        "total_cost_eur": 124.51,
        "machines": [
          "E",
          "F"
        ],
        "sizes": [
          "large"
        ],
        "avg_ml_per_cycle": 11844.2,
        "avg_cost_per_cycle": 62.2537
      },
      "Buntwäsche 40°": {
        "program": "Buntwäsche 40°",
        "cycle_count": 2,
        "total_ml": 39321.0,
        "total_cost_eur": 189.5,
        "machines": [
          "D",
          "E"
        ],
        "sizes": [
          "large"
        ],
        "avg_ml_per_cycle": 19660.5,
        "avg_cost_per_cycle": 94.748
      },
      "Intensiv Waschen": {
        "program": "Intensiv Waschen",
        "cycle_count": 1,
        "total_ml": 4326.3,
        "total_cost_eur": 16.85,
        "machines": [
          "B"
        ],
        "sizes": [
          "small"
        ],
        "avg_ml_per_cycle": 4326.3,
        "avg_cost_per_cycle": 16.8534
      },
      "Buntwäsche sensitiv": {
        "program": "Buntwäsche sensitiv",
        "cycle_count": 3,
        "total_ml": 34157.9,
        "total_cost_eur": 159.56,
        "machines": [
          "B"
        ],
        "sizes": [
          "small"
        ],
        "avg_ml_per_cycle": 11386.0,
        "avg_cost_per_cycle": 53.1862
      },
      "Buntwäsche": {
        "program": "Buntwäsche",
        "cycle_count": 5,
        "total_ml": 86291.9,
        "total_cost_eur": 384.31,
        "machines": [
          "A",
          "B",
          "C"
        ],
        "sizes": [
          "medium",
          "small"
        ],
        "avg_ml_per_cycle": 17258.4,
        "avg_cost_per_cycle": 76.862
      },
      "Buntwäsche sensitiv 40°": {
        "program": "Buntwäsche sensitiv 40°",
        "cycle_count": 2,
        "total_ml": 36007.9,
        "total_cost_eur": 169.95,
        "machines": [
          "E",
          "F"
        ],
        "sizes": [
          "large"
        ],
        "avg_ml_per_cycle": 18004.0,
        "avg_cost_per_cycle": 84.9737
      },
      "Express 30°": {
        "program": "Express 30°",
        "cycle_count": 3,
        "total_ml": 63757.0,
        "total_cost_eur": 308.65,
        "machines": [
          "D",
          "E",
          "F"
        ],
        "sizes": [
          "large"
        ],
        "avg_ml_per_cycle": 21252.3,
        "avg_cost_per_cycle": 102.884
      },
      "Buntwäsche 60°": {
        "program": "Buntwäsche 60°",
        "cycle_count": 3,
        "total_ml": 176963.1,
        "total_cost_eur": 775.39,
        "machines": [
          "D",
          "F"
        ],
        "sizes": [
          "large"
        ],
        "avg_ml_per_cycle": 58987.7,
        "avg_cost_per_cycle": 258.4646
      }
    },
    "daily_series": [
      {
        "date": "2026-03-26",
        "events": 62,
        "total_ml": 11280.2,
        "total_cost_eur": 53.9206,
        "by_chem_ml": {
          "Energy": 5650.8,
          "SG Clean": 997.8,
          "Sanyplus": 2334.3,
          "Megasoft": 1675.1,
          "Total": 622.3
        }
      },
      {
        "date": "2026-03-27",
        "events": 96,
        "total_ml": 24716.9,
        "total_cost_eur": 113.6194,
        "by_chem_ml": {
          "Sanyplus": 7771.9,
          "Total": 5217.2,
          "SG Clean": 3245.2,
          "Energy": 4226.3,
          "Megasoft": 4256.3
        }
      },
      {
        "date": "2026-03-28",
        "events": 69,
        "total_ml": 13338.4,
        "total_cost_eur": 61.1778,
        "by_chem_ml": {
          "Sanyplus": 2860.9,
          "Energy": 4341.8,
          "Megasoft": 3462.1,
          "Total": 1589.0,
          "SG Clean": 1084.6
        }
      },
      {
        "date": "2026-03-29",
        "events": 106,
        "total_ml": 27687.9,
        "total_cost_eur": 125.4843,
        "by_chem_ml": {
          "Sanyplus": 5710.3,
          "Total": 977.6,
          "SG Clean": 2020.4,
          "Megasoft": 8317.2,
          "Energy": 10662.3
        }
      },
      {
        "date": "2026-03-30",
        "events": 106,
        "total_ml": 34306.3,
        "total_cost_eur": 157.149,
        "by_chem_ml": {
          "Sanyplus": 8909.3,
          "Energy": 5263.2,
          "SG Clean": 4190.2,
          "Megasoft": 9226.8,
          "Total": 6649.3,
          "Proofing": 67.5
        }
      },
      {
        "date": "2026-03-31",
        "events": 129,
        "total_ml": 43307.3,
        "total_cost_eur": 204.4645,
        "by_chem_ml": {
          "Energy": 15477.8,
          "SG Clean": 4081.5,
          "Sanyplus": 8673.1,
          "Total": 3057.4,
          "Megasoft": 11572.5,
          "Proofing": 445.0
        }
      },
      {
        "date": "2026-04-01",
        "events": 71,
        "total_ml": 19760.7,
        "total_cost_eur": 92.2119,
        "by_chem_ml": {
          "Sanyplus": 4130.0,
          "Energy": 3818.2,
          "Megasoft": 6397.9,
          "SG Clean": 1706.0,
          "Total": 3328.0,
          "Proofing": 380.5
        }
      },
      {
        "date": "2026-04-02",
        "events": 84,
        "total_ml": 25019.3,
        "total_cost_eur": 115.0729,
        "by_chem_ml": {
          "Sanyplus": 4824.8,
          "Energy": 8536.5,
          "SG Clean": 2339.3,
          "Megasoft": 7738.2,
          "Total": 1580.5
        }
      },
      {
        "date": "2026-04-03",
        "events": 106,
        "total_ml": 31170.3,
        "total_cost_eur": 143.0029,
        "by_chem_ml": {
          "Sanyplus": 6787.1,
          "Total": 1769.7,
          "SG Clean": 2437.3,
          "Megasoft": 7795.4,
          "Energy": 12380.8
        }
      },
      {
        "date": "2026-04-04",
        "events": 127,
        "total_ml": 38972.5,
        "total_cost_eur": 187.5315,
        "by_chem_ml": {
          "Sanyplus": 8644.6,
          "Energy": 11576.9,
          "SG Clean": 3599.7,
          "Megasoft": 10405.3,
          "Total": 3603.9,
          "Proofing": 1142.1
        }
      },
      {
        "date": "2026-04-05",
        "events": 47,
        "total_ml": 12185.6,
        "total_cost_eur": 53.6398,
        "by_chem_ml": {
          "Sanyplus": 3108.3,
          "Total": 1699.5,
          "SG Clean": 1110.8,
          "Megasoft": 4158.5,
          "Energy": 2108.4
        }
      },
      {
        "date": "2026-04-06",
        "events": 79,
        "total_ml": 18620.5,
        "total_cost_eur": 88.6374,
        "by_chem_ml": {
          "Sanyplus": 3904.2,
          "Energy": 8298.4,
          "SG Clean": 1772.4,
          "Megasoft": 3550.5,
          "Total": 1024.5,
          "Proofing": 70.4
        }
      },
      {
        "date": "2026-04-07",
        "events": 84,
        "total_ml": 19024.7,
        "total_cost_eur": 95.8488,
        "by_chem_ml": {
          "Sanyplus": 4452.6,
          "Energy": 5968.2,
          "SG Clean": 1984.0,
          "Total": 2339.4,
          "Megasoft": 3456.3,
          "Proofing": 824.2
        }
      },
      {
        "date": "2026-04-08",
        "events": 70,
        "total_ml": 23685.3,
        "total_cost_eur": 113.6745,
        "by_chem_ml": {
          "Sanyplus": 4496.8,
          "Energy": 13393.2,
          "Megasoft": 3368.2,
          "SG Clean": 1802.5,
          "Total": 624.6
        }
      },
      {
        "date": "2026-04-09",
        "events": 97,
        "total_ml": 20632.3,
        "total_cost_eur": 93.9147,
        "by_chem_ml": {
          "Sanyplus": 4361.7,
          "Energy": 9081.6,
          "Megasoft": 4692.7,
          "Total": 1567.5,
          "SG Clean": 928.8
        }
      },
      {
        "date": "2026-04-10",
        "events": 48,
        "total_ml": 7586.4,
        "total_cost_eur": 35.7927,
        "by_chem_ml": {
          "Sanyplus": 1717.0,
          "Energy": 910.2,
          "Megasoft": 2868.4,
          "Total": 1261.1,
          "SG Clean": 452.9,
          "Proofing": 376.8
        }
      },
      {
        "date": "2026-04-11",
        "events": 120,
        "total_ml": 34706.6,
        "total_cost_eur": 160.7464,
        "by_chem_ml": {
          "Sanyplus": 6896.1,
          "Energy": 13203.8,
          "SG Clean": 2333.3,
          "Total": 1815.2,
          "Megasoft": 10081.0,
          "Proofing": 377.2
        }
      },
      {
        "date": "2026-04-12",
        "events": 120,
        "total_ml": 37863.4,
        "total_cost_eur": 170.8269,
        "by_chem_ml": {
          "Sanyplus": 8788.0,
          "Energy": 10794.1,
          "Megasoft": 12128.5,
          "SG Clean": 3817.6,
          "Total": 2335.1
        }
      },
      {
        "date": "2026-04-13",
        "events": 67,
        "total_ml": 11319.1,
        "total_cost_eur": 52.4013,
        "by_chem_ml": {
          "Sanyplus": 2311.8,
          "Energy": 4257.7,
          "SG Clean": 779.6,
          "Total": 982.4,
          "Megasoft": 2919.8,
          "Proofing": 67.9
        }
      },
      {
        "date": "2026-04-14",
        "events": 59,
        "total_ml": 10937.0,
        "total_cost_eur": 53.1314,
        "by_chem_ml": {
          "Sanyplus": 1553.6,
          "Total": 158.6,
          "Energy": 6652.1,
          "Megasoft": 1820.7,
          "SG Clean": 752.0
        }
      },
      {
        "date": "2026-04-15",
        "events": 60,
        "total_ml": 10100.4,
        "total_cost_eur": 50.6035,
        "by_chem_ml": {
          "Sanyplus": 1780.7,
          "Total": 731.1,
          "SG Clean": 572.0,
          "Energy": 4801.5,
          "Megasoft": 1838.3,
          "Proofing": 376.7
        }
      },
      {
        "date": "2026-04-16",
        "events": 65,
        "total_ml": 14292.2,
        "total_cost_eur": 67.8293,
        "by_chem_ml": {
          "Sanyplus": 2478.7,
          "Energy": 4392.5,
          "SG Clean": 1059.6,
          "Megasoft": 4955.8,
          "Total": 1027.7,
          "Proofing": 377.8
        }
      },
      {
        "date": "2026-04-17",
        "events": 83,
        "total_ml": 15794.9,
        "total_cost_eur": 76.2117,
        "by_chem_ml": {
          "Sanyplus": 3771.1,
          "Total": 1781.4,
          "Energy": 5693.3,
          "SG Clean": 1299.5,
          "Megasoft": 2872.1,
          "Proofing": 377.5
        }
      },
      {
        "date": "2026-04-18",
        "events": 63,
        "total_ml": 8787.1,
        "total_cost_eur": 42.5342,
        "by_chem_ml": {
          "Sanyplus": 2106.1,
          "Total": 1270.2,
          "Energy": 2480.4,
          "SG Clean": 519.8,
          "Megasoft": 2033.7,
          "Proofing": 376.9
        }
      },
      {
        "date": "2026-04-19",
        "events": 145,
        "total_ml": 44901.8,
        "total_cost_eur": 208.7438,
        "by_chem_ml": {
          "Sanyplus": 10018.4,
          "Energy": 19612.4,
          "Megasoft": 9031.9,
          "SG Clean": 3603.0,
          "Total": 2636.1
        }
      },
      {
        "date": "2026-04-20",
        "events": 119,
        "total_ml": 28687.4,
        "total_cost_eur": 128.071,
        "by_chem_ml": {
          "Sanyplus": 6764.0,
          "Energy": 5480.9,
          "SG Clean": 2566.9,
          "Total": 4560.5,
          "Megasoft": 9315.2
        }
      },
      {
        "date": "2026-04-21",
        "events": 71,
        "total_ml": 13763.4,
        "total_cost_eur": 61.7645,
        "by_chem_ml": {
          "Sanyplus": 3463.4,
          "Energy": 2712.3,
          "Megasoft": 4239.6,
          "SG Clean": 1429.9,
          "Total": 1918.1
        }
      },
      {
        "date": "2026-04-22",
        "events": 3657,
        "total_ml": 596166.0,
        "total_cost_eur": 2725.5842,
        "by_chem_ml": {
          "Sanyplus": 141161.3,
          "Energy": 230459.1,
          "SG Clean": 51759.7,
          "Total": 26292.9,
          "Megasoft": 146493.0
        }
      },
      {
        "date": "2026-04-23",
        "events": 2486,
        "total_ml": 374345.8,
        "total_cost_eur": 1662.5404,
        "by_chem_ml": {
          "Sanyplus": 97293.1,
          "Energy": 54103.2,
          "Total": 69924.4,
          "SG Clean": 35155.4,
          "Megasoft": 117496.5,
          "Proofing": 373.1
        }
      },
      {
        "date": "2026-04-24",
        "events": 2326,
        "total_ml": 367183.5,
        "total_cost_eur": 1693.5132,
        "by_chem_ml": {
          "Sanyplus": 69168.8,
          "Total": 24042.8,
          "Megasoft": 107488.4,
          "SG Clean": 31030.7,
          "Energy": 135382.1,
          "Proofing": 70.7
        }
      },
      {
        "date": "2026-04-25",
        "events": 5618,
        "total_ml": 1568826.0,
        "total_cost_eur": 7105.3149,
        "by_chem_ml": {
          "Sanyplus": 394960.8,
          "Energy": 583653.4,
          "Megasoft": 365309.2,
          "Total": 104887.7,
          "SG Clean": 120014.8
        }
      }
    ],
    "anomalies": [
      {
        "machine": "C",
        "program": "Buntwäsche",
        "ended_at": "2026-04-25T12:07:21.935133+00:00",
        "actual_ml": 24336.4,
        "avg_ml": 10302.3,
        "deviation_pct": 136.2,
        "actual_cost": 98.4708,
        "threshold_pct": 25
      },
      {
        "machine": "D",
        "program": "Express 30°",
        "ended_at": "2026-04-25T10:52:49.956980+00:00",
        "actual_ml": 29928.8,
        "avg_ml": 21252.3,
        "deviation_pct": 40.8,
        "actual_cost": 147.8388,
        "threshold_pct": 25
      },
      {
        "machine": "B",
        "program": "Buntwäsche sensitiv",
        "ended_at": "2026-04-25T10:13:31.022487+00:00",
        "actual_ml": 18439.8,
        "avg_ml": 11386.0,
        "deviation_pct": 62.0,
        "actual_cost": 88.0056,
        "threshold_pct": 25
      },
      {
        "machine": "C",
        "program": "Buntwäsche",
        "ended_at": "2026-04-25T09:27:11.147805+00:00",
        "actual_ml": 3334.4,
        "avg_ml": 10302.3,
        "deviation_pct": -67.6,
        "actual_cost": 10.0518,
        "threshold_pct": 25
      },
      {
        "machine": "C",
        "program": "Buntwäsche",
        "ended_at": "2026-04-25T08:32:47.982460+00:00",
        "actual_ml": 3236.2,
        "avg_ml": 10302.3,
        "deviation_pct": -68.6,
        "actual_cost": 14.9175,
        "threshold_pct": 25
      },
      {
        "machine": "B",
        "program": "Buntwäsche sensitiv",
        "ended_at": "2026-04-25T08:20:43.032565+00:00",
        "actual_ml": 3063.8,
        "avg_ml": 11386.0,
        "deviation_pct": -73.1,
        "actual_cost": 11.7963,
        "threshold_pct": 25
      }
    ],
    "settings_used": {
      "pump_start_date": "2026-03-21",
      "machine_size_map": {
        "A": "small",
        "B": "small",
        "C": "medium",
        "D": "large",
        "E": "large",
        "F": "large"
      },
      "machine_prices": {
        "small": 6,
        "medium": 8.5,
        "large": 12
      },
      "default_anomaly_pct": 25,
      "anomaly_thresholds": {}
    }
  }
}