Closed
Description
After upgrading to 0.6.0 I keep getting the following error:
2023-05-19T03:56:51.245268Z ERROR brian_backend::amber: Failed to write to influxdb: InfluxDB encountered the following error: influxdb error: "{"error":"unable to parse 'amber/usage/E2 duration=30u,per_kwh=33.036441802978516,renewables=9.333999633789063,kwh=0,cost=0 1684411201000000000': invalid number"}
"
But If I downgrade to 0.5.2 it works fine. The schema in question is:
**#[derive(InfluxDbWriteable)]
struct UsageReading {
duration: u16,
per_kwh: f32,
renewables: f32,
kwh: f32,
cost: f32,
time: chrono::DateTime<Utc>,
}
This is with influxdb 1.10.0
Metadata
Metadata
Assignees
Labels
No labels