Get data from P1 Meter

Début du curl

array(27) { ["wifi_ssid"]=> string(9) "NETGEAR20" ["wifi_strength"]=> int(100) ["smr_version"]=> int(50) ["meter_model"]=> string(19) "Fluvius 253769484_A" ["unique_id"]=> string(28) "3153414733313035313035303737" ["active_tariff"]=> int(2) ["total_power_import_kwh"]=> float(14551.814) ["total_power_import_t1_kwh"]=> float(5487.318) ["total_power_import_t2_kwh"]=> float(9064.496) ["total_power_export_kwh"]=> float(10759.567) ["total_power_export_t1_kwh"]=> float(7678.702) ["total_power_export_t2_kwh"]=> float(3080.865) ["active_power_w"]=> int(-24) ["active_power_l1_w"]=> int(103) ["active_power_l2_w"]=> int(0) ["active_power_l3_w"]=> int(-128) ["active_voltage_l1_v"]=> float(234.3) ["active_voltage_l2_v"]=> int(0) ["active_voltage_l3_v"]=> float(234.9) ["active_current_a"]=> float(8.49) ["active_current_l1_a"]=> float(3.45) ["active_current_l2_a"]=> float(3.25) ["active_current_l3_a"]=> float(1.79) ["active_power_average_w"]=> int(18) ["montly_power_peak_w"]=> int(5049) ["montly_power_peak_timestamp"]=> int(261102193000) ["external"]=> array(0) { } }

Data to save in csv

Save dans le csv mensuel car la dernière entrée n'est pas du jour actuel (0 = 7).