Hat, ugy jon ki, hogy nem rakok bele minden, emiatt kisebb, viszont eleg "bobeszedu" (beszedes item nevek, a OBIS code is benne van), emiatt nagyobb:
{
"current_tariff": {
"obis_code": "96.14.0",
"value": "0001",
"unit": ""
},
"breaker_status": {
"obis_code": "96.50.68",
"value": "ON",
"unit": ""
},
"active_threshold": {
"obis_code": "17.0.0",
"value": "90.000",
"unit": "kW"
},
"active_energy_consumption_total": {
"obis_code": "1.8.0",
"value": "006147.097",
"unit": "kWh"
},
"active_energy_consumption_t1": {
"obis_code": "1.8.1",
"value": "002226.010",
"unit": "kWh"
},
"active_energy_consumption_t2": {
"obis_code": "1.8.2",
"value": "001921.087",
"unit": "kWh"
},
"active_energy_consumption_t3": {
"obis_code": "1.8.3",
"value": "000000.000",
"unit": "kWh"
},
"active_energy_consumption_t4": {
"obis_code": "1.8.4",
"value": "000000.000",
"unit": "kWh"
},
"active_energy_production_total": {
"obis_code": "2.8.0",
"value": "001868.759",
"unit": "kWh"
},
"active_energy_production_t1": {
"obis_code": "2.8.1",
"value": "001690.597",
"unit": "kWh"
},
"active_energy_production_t2": {
"obis_code": "2.8.2",
"value": "002178.162",
"unit": "kWh"
},
"active_energy_production_t3": {
"obis_code": "2.8.3",
"value": "000000.000",
"unit": "kWh"
},
"active_energy_production_t4": {
"obis_code": "2.8.4",
"value": "000000.000",
"unit": "kWh"
},
"reactive_energy_consumption_total": {
"obis_code": "3.8.0",
"value": "000273.519",
"unit": "kvarh"
},
"reactive_energy_production_total": {
"obis_code": "4.8.0",
"value": "003929.308",
"unit": "kvarh"
},
"reactive_energy_q1_total": {
"obis_code": "5.8.0",
"value": "000190.647",
"unit": "kvarh"
},
"reactive_energy_q2_total": {
"obis_code": "6.8.0",
"value": "000082.872",
"unit": "kvarh"
},
"reactive_energy_q3_total": {
"obis_code": "7.8.0",
"value": "001122.290",
"unit": "kvarh"
},
"reactive_energy_q4_total": {
"obis_code": "8.8.0",
"value": "002807.018",
"unit": "kvarh"
},
"instantaneous_voltage_l1": {
"obis_code": "32.7.0",
"value": "234.6",
"unit": "V"
},
"instantaneous_voltage_l2": {
"obis_code": "52.7.0",
"value": "236.0",
"unit": "V"
},
"instantaneous_voltage_l3": {
"obis_code": "72.7.0",
"value": "238.4",
"unit": "V"
},
"instantaneous_current_l1": {
"obis_code": "31.7.0",
"value": "007",
"unit": "A"
},
"instantaneous_current_l2": {
"obis_code": "51.7.0",
"value": "000",
"unit": "A"
},
"instantaneous_current_l3": {
"obis_code": "71.7.0",
"value": "001",
"unit": "A"
},
"instantaneous_power_factor": {
"obis_code": "13.7.0",
"value": "0.987",
"unit": ""
},
"instantaneous_power_factor_l1": {
"obis_code": "33.7.0",
"value": "0.997",
"unit": ""
},
"instantaneous_power_factor_l2": {
"obis_code": "53.7.0",
"value": "0.949",
"unit": ""
},
"instantaneous_power_factor_l3": {
"obis_code": "73.7.0",
"value": "0.686",
"unit": ""
},
"frequency": {
"obis_code": "14.7.0",
"value": "50.01",
"unit": "Hz"
},
"instantaneous_active_power_consumption": {
"obis_code": "1.7.0",
"value": "02.097",
"unit": "kW"
},
"instantaneous_active_power_production": {
"obis_code": "2.7.0",
"value": "00.000",
"unit": "kW"
},
"instantaneous_reactive_power_q1": {
"obis_code": "5.7.0",
"value": "00.000",
"unit": "kvar"
},
"instantaneous_reactive_power_q2": {
"obis_code": "6.7.0",
"value": "00.000",
"unit": "kvar"
},
"instantaneous_reactive_power_q3": {
"obis_code": "7.7.0",
"value": "00.000",
"unit": "kvar"
},
"instantaneous_reactive_power_q4": {
"obis_code": "8.7.0",
"value": "00.334",
"unit": "kvar"
}
}
Van egy ilyen tombom, csak azokat kuldom MQTT-n ami ebben benne van:
const obis_t sx631[] = {
{"96.14.0", "current_tariff", "Current tariff"},
{"96.50.68", "breaker_status", "Breaker status"},
{"17.0.0", "active_threshold", "Actual threshold elecricity"},
{"1.8.0", "active_energy_consumption_total", "Positive active energy, total"},
{"1.8.1", "active_energy_consumption_t1", "Positive active energy, tariff 1"},
{"1.8.2", "active_energy_consumption_t2", "Positive active energy, tariff 2"},
{"1.8.3", "active_energy_consumption_t3", "Positive active energy, tariff 3"},
{"1.8.4", "active_energy_consumption_t4", "Positive active energy, tariff 4"},
{"2.8.0", "active_energy_production_total", "Negative active energy, total"},
{"2.8.1", "active_energy_production_t1", "Negative active energy, tariff 1"},
{"2.8.2", "active_energy_production_t2", "Negative active energy, tariff 2"},
{"2.8.3", "active_energy_production_t3", "Negative active energy, tariff 3"},
{"2.8.4", "active_energy_production_t4", "Negative active energy, tariff 4"},
{"3.8.0", "reactive_energy_consumption_total", "Positive reactive energy, total"},
{"4.8.0", "reactive_energy_production_total", "Negative reactive energy, total"},
{"5.8.0", "reactive_energy_q1_total", "Reactive energy in I quadrant, total"},
{"6.8.0", "reactive_energy_q2_total", "Reactive energy in II quadrant, total"},
{"7.8.0", "reactive_energy_q3_total", "Reactive energy in III quadrant, total"},
{"8.8.0", "reactive_energy_q4_total", "Reactive energy in IV quadrant, total"},
{"32.7.0", "instantaneous_voltage_l1", "Instantaneous voltage in phase I"},
{"52.7.0", "instantaneous_voltage_l2", "Instantaneous voltage in phase II"},
{"72.7.0", "instantaneous_voltage_l3", "Instantaneous voltage in phase III"},
{"31.7.0", "instantaneous_current_l1", "Instantaneous current in phase I"},
{"51.7.0", "instantaneous_current_l2", "Instantaneous current in phase II"},
{"71.7.0", "instantaneous_current_l3", "Instantaneous current in phase III"},
{"13.7.0", "instantaneous_power_factor", "Instantaneous power factor"},
{"33.7.0", "instantaneous_power_factor_l1", "Instantaneous power factor in phase I"},
{"53.7.0", "instantaneous_power_factor_l2", "Instantaneous power factor in phase II"},
{"73.7.0", "instantaneous_power_factor_l3", "Instantaneous power factor in phase III"},
{"14.7.0", "frequency", "Frequency"},
{"1.7.0", "instantaneous_active_power_consumption", "Positive active instantaneous power"},
{"2.7.0", "instantaneous_active_power_production", "Negative active instantaneous power"},
{"5.7.0", "instantaneous_reactive_power_q1", "Reactive instantaneous power I quadrant"},
{"6.7.0", "instantaneous_reactive_power_q2", "Reactive instantaneous power II quadrant"},
{"7.7.0", "instantaneous_reactive_power_q3", "Reactive instantaneous power III quadrant"},
{"8.7.0", "instantaneous_reactive_power_q4", "Reactive instantaneous power IV quadrant"},
};