12-21-2023, 09:05 PM
Hi,
While doing the calibration I see that for some measurements I have more samples. These measurements are much more accurate compared to these with for example only 50 SPS.
Makes sense, and therefore I want to perform calibration with all higher settings since I'm using constant loads with power factor 100.
But I don't find how I can configure esphome to have all measurements with higher SPS values.
If've tried sample_interval for the ct_clamp sensor but that doesn't seem to have effect.
I do see a lot of entries of "switch to input X" which follow eachother very quickly, maybe I need to delay that somehow?
Line 638: [20:51:05][D][ct_clamp:041]: 'Measured Current-16' - Raw AC Value: 0.015A after 469 different samples (2345 SPS)
Line 651: [20:51:05][D][ct_clamp:041]: 'Measured Current-8' - Raw AC Value: 0.014A after 324 different samples (1620 SPS)
Line 702: [20:51:06][D][ct_clamp:041]: 'Measured Current-14' - Raw AC Value: 0.012A after 10 different samples (50 SPS)
Line 704: [20:51:06][D][ct_clamp:041]: 'Measured Current-13' - Raw AC Value: 0.015A after 10 different samples (50 SPS)
Line 706: [20:51:06][D][ct_clamp:041]: 'Measured Current-3' - Raw AC Value: 0.029A after 10 different samples (50 SPS)
Line 708: [20:51:06][D][ct_clamp:041]: 'Measured Current-9' - Raw AC Value: 0.013A after 8 different samples (40 SPS)
Line 715: [20:51:06][D][ct_clamp:041]: 'Measured Current-5' - Raw AC Value: 0.025A after 370 different samples (1850 SPS)
Any tips on how to get high SPS values like clamp 16, 8 and 5 in example above?
Regards,
Nick
While doing the calibration I see that for some measurements I have more samples. These measurements are much more accurate compared to these with for example only 50 SPS.
Makes sense, and therefore I want to perform calibration with all higher settings since I'm using constant loads with power factor 100.
But I don't find how I can configure esphome to have all measurements with higher SPS values.
If've tried sample_interval for the ct_clamp sensor but that doesn't seem to have effect.
I do see a lot of entries of "switch to input X" which follow eachother very quickly, maybe I need to delay that somehow?
Line 638: [20:51:05][D][ct_clamp:041]: 'Measured Current-16' - Raw AC Value: 0.015A after 469 different samples (2345 SPS)
Line 651: [20:51:05][D][ct_clamp:041]: 'Measured Current-8' - Raw AC Value: 0.014A after 324 different samples (1620 SPS)
Line 702: [20:51:06][D][ct_clamp:041]: 'Measured Current-14' - Raw AC Value: 0.012A after 10 different samples (50 SPS)
Line 704: [20:51:06][D][ct_clamp:041]: 'Measured Current-13' - Raw AC Value: 0.015A after 10 different samples (50 SPS)
Line 706: [20:51:06][D][ct_clamp:041]: 'Measured Current-3' - Raw AC Value: 0.029A after 10 different samples (50 SPS)
Line 708: [20:51:06][D][ct_clamp:041]: 'Measured Current-9' - Raw AC Value: 0.013A after 8 different samples (40 SPS)
Line 715: [20:51:06][D][ct_clamp:041]: 'Measured Current-5' - Raw AC Value: 0.025A after 370 different samples (1850 SPS)
Any tips on how to get high SPS values like clamp 16, 8 and 5 in example above?
Regards,
Nick