Hungaryarpanghosh8453/fitbit-grafana
A script to fetch data from Fitbit servers using their API and store the data in a local influxdb database and visualize them with Grafana
📊 Kết nối Fitbit – InfluxDB – Grafana tự động, không cần cài đặt phứ tạp
Tự động thu thập mọi số liệu sức khỏe từ Fitbit, lưu vào InfluxDB và vẽ dashboard trên Grafana chỉ với vài lệnh Docker.
Dự án fitbit-grafana của arpanghosh8453 là một script Python dùng Fitbit API để lấy dữ liệu sức khỏe từ tài khoản Fitbit, lưu trữ vào cơ sở dữ liệu InfluxDB cục bộ (hỗ trợ cả InfluxDB 1.x và 2.x), đồng thời cung cấp dashboard Grafana mẫu để trực quan hóa trực tiếp. Dự án hỗ trợ cả workflow Docker Compose, tự động refresh token, backfill dữ liệu lịch sử và thu thập thông minh theo rate limit.
✨ Điểm nổi bật
- Tự động thu thập dữ liệu: Lấy toàn bộ số liệu từ Fitbit API mỗi khoảng thời gian nhất định.
- Hỗ trợ InfluxDB 1.x và 2.x: Tương thích đa phiên bản InfluxDB (hỗ trợ hạn chế cho 2.x).
- Dữ liệu sức khỏe đầy đủ: Nhịp tim (intraday), bước chân hàng giờ, giấc ngủ, SpO2, nhịp thở, HRV, phút hoạt động, pin thiết bị...
- Tự động làm mới token: Xử lý OAuth refresh token tự động.
- Hỗ trợ backfill lịch sử: Thu thập lại dữ liệu cũ từ trước khi thiết lập.
- Tích ứng với rate limit: Tránh lỗi quá tải API bằng cơ chế chờ thông minh.
- Triển khai bằng Docker: Cài đặt nhanh qua Docker Compose.
- Hỗ trợ Google Health API: Cập nhật theo xu hướng chuyển đổi từ Fitbit Web API sang Google Health API.
💡 Vì sao đáng chú ý
Không cần viết code hoặc cấu hình phứ tạp — chỉ với vài bước Docker Compose, bạn có thể có một hệ thống giám sát sức khỏe cá nhân hoàn chỉnh tích hợp ba công cụ mạnh: Fitbit (dữ liệu), InfluxDB (lưu trữ thời gian thực) và Grafana (trực quan hóa). Đặc biệt, dự án đã cập nhật hưỗng dẫn chuyển đổi sang Google Health API, giúp người dùng mới tuân thủ xu hướng không dùng Fitbit Web API truyền thống.
#Fitbit #Grafana #InfluxDB #HealthTracking #TiniX
Similar Projects
Discover other similar projects and AI models.
A Dockerized python Script to fetch Garmin health data and populate that in a InfluxDB Database, for visualization long term health trends with Grafana
利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
Full-stack observability · Metrics · Logs · Traces · Flows · Topology · Infrastructure · APM · NPM · DBM · RUM · Synthetics · Cloud · AI SRE · OpenTelemetry · SNMP · NetFlow/IPFIX/sFlow · IPMI · Redfish · 2000+ integrations
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.