Skip to content

Conversation

@tuna-f1sh
Copy link
Collaborator

@tuna-f1sh tuna-f1sh commented Apr 1, 2025

InfluxDB doesn't support list etc. so filter fields to int or float.

The BikeSpeedData isn't very useful as import so add calculated_speed and calculated_distance. These are cached values that when calculate_speed and calculate_distance are called, will be saved.

update_speed_data will do this if a wheel_circumference_m is passed. The ANT+ devices which use this dataclass have a optional wheel_circumference_m added to do this - one must initiate with this keyword arg to do this.

Closes #117

@tuna-f1sh tuna-f1sh merged commit 04bb025 into master Apr 3, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exception during influx write: Type: "<class 'list'>" of field: "bike_speed_event_time" is not supported

2 participants