Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calibration issue M16v2
#1
Hi,

I've been strugeling with a calibration issue.

Code:
[13:25:21][D][ct_clamp:041]: 'Measured Current-16' - Raw AC Value: 0.010A after 216 different samples (432 SPS)
[13:25:21][D][sensor:094]: 'Measured Current-16': Sending state 0.13940 A with 5 decimals of accuracy

This is in the logging
But I specified this in the yaml config

Code:
  - platform: ct_clamp
    sensor: ai16
    id: Measured_Current_16
    name: "Measured Current-16"
    sample_duration: 500ms
    update_interval: 20s
    accuracy_decimals: 5     
    filters:
    - calibrate_linear:
      - 0.0 -> 0
      - 0.007 -> 0.004
      - 0.008 -> 0.004
      - 0.009 -> 0.004
      - 0.010 -> 0.004
      - 0.011 -> 0.004
      - 0.056480 -> 1.775
      - 0.114445 -> 3.61
      - 0.204695 -> 6.49
      - 0.286630 -> 9.01
      - 0.340460 -> 10.684
      - 0.535860 -> 16.89

A measured raw value of 0.010 should result in a 0.004 current value, but instead 0.13940 is the result.

What am I doing wrong here?

Thanks,
Rien
Reply


Messages In This Thread
Calibration issue M16v2 - by RdP - 04-20-2024, 11:54 AM
RE: Calibration issue M16v2 - by admin - 04-20-2024, 12:02 PM
RE: Calibration issue M16v2 - by RdP - 04-20-2024, 12:45 PM
RE: Calibration issue M16v2 - by admin - 04-21-2024, 12:47 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)