sample_waveform
Capture one AC cycle of raw voltage/current samples from a CT input to identify connected load type via harmonics, crest factor, and phase lag.
Instructions
Capture one AC cycle of raw voltage and current samples (about 640 pairs) from a single CT input and describe the shape of the current: crest factor, 3rd/5th/7th harmonics, distortion and phase lag. This shows what kind of load is on the circuit right now: a heater draws a clean sine in phase with voltage, a motor lags, electronics draw a peaky current rich in harmonics. It is a snapshot of everything on that CT, not of one appliance. Values are raw ADC counts, not amps or volts, and have no CT/VT phase correction, so angles are approximate. Needs the admin user on a password-protected device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | Input name from discover, or the input's channel number. | |
| include_samples | No | Include the raw V,I sample pairs after the summary. |