Sensor types failing to be acknowledged. #1053
Labels
FR - Enhancement
New feature or request
GH - Upstream First
Temporarily impossible because of other factors
Upstream - Klippy
For everything Klipper related
Fluidd Version
latest
Browser
Chrome, Firefox, Safari, Edge, Other (Please tell us below)
Device
Desktop PC, Laptop, Mobile device (Phone, Tablet or similar), Other (Please tell us below)
Operating System
Windows, macOS, Linux, Android, iOS, Other (Please tell us below)
What happened
Any sensor listings with field names NOT listed in the below table are ignored and not displayed.
export interface Sensor { name: string; prettyName: string; key: string; color?: string; type: string; temperature: number; pressure?: number; humidity?: number; target?: number; measured_min_temp?: number; measured_max_temp?: number; maxTemp?: number; minTemp?: number; }
What did you expect to happen
To display all sensor data.
How to reproduce
Use of any sensor that uses values other than temp, humidity, or pressure, i.e., bmeXXX, sgp30, sgp40 (gas/voc/raw/altitude)
Additional information
Values being read from klipper/moonraker.
Values for bme860 sensor being excluded are 'gas', 'altitude' is not included in the python script.
{"result": {"eventtime": 101907.375592499, "status": {"bme280 BME680": {"temperature": 22.52, "pressure": 995.3988310515684, "humidity": 61.29085867958693, "gas": 12858837.485172005}}}}
Values for sgp40 sensor being excluded are 'gas', 'voc', 'compensated_raw_gas', 'raw', is not included in the python script.
{"result": {"eventtime": 102016.242367304, "status": {"sgp40 SGP40": {"temperature": 22.5, "humidity": 61.45285423930575, "gas": 33125, "voc": 0}}}}
The text was updated successfully, but these errors were encountered: