I’ve seem to have found some calibration constants in the firmware dump, but for the shelly EM3:
"rms": {
"current_a": 3229050,
"current_b": 3293054,
"current_c": 3293157,
"current_n": -1449377154,
"current_s": 839891,
"voltage_a": -683106,
"voltage_b": -710907,
"voltage_c": -691744
},
"angles ü": {
"angle0": 192,
"angle1": 216,
"angle2": 204
},
"powers": {
"totactive": {
"a": -1345202,
"b": -1346942,
"c": -1351825
},
"apparent": {
"a": 85048,
"b": 85049,
"c": 85047
}
},
"energies": {
"totactive": {
"a": 3459,
"b": 3458,
"c": 3460
},
"apparent": {
"a": 16159,
"b": 16147,
"c": 16147
}
}
I’ve just got a second firmware dump, 4 or 5 days after the first dump and the values are the same. During these days the EM3 was reading my main consumption.
I found also this:
ADE7880
ADE7880_set_lcycacc_mode_phA error
Error setting LINECYC register
Couldn't get the etalon values
Energymeter Not Calibrated. Start calibration first
Error initializing energimeter's parameters
Error setting LCYCMODE register
Error setting MASK0 register
So now i have shelly EM fully hacked without calibration data and a shelly 3EM not hacked with what appear to be the full set of calibration constants.
Regarding the ticket i’ve managed to get 2 answers with a short sentence in each. Not bad i still have hope they will answer me back again.
@dBC what do you make of all this?