RepositoryPythonHUHungary
arpanghosh8453

arpanghosh8453/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

932sao
84fork
9issue
1lượt xem

📊 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

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
arpanghosh8453/garmin-grafana

A Dockerized python Script to fetch Garmin health data and populate that in a InfluxDB Database, for visualization long term health trends with Grafana

3.6k
Nov 8, 2026
RepositoryPython
harry0703/MoneyPrinterTurbo

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

145.1k
Nov 22, 2026
RepositoryTypeScript
grafana/grafana

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.

78.0k
Nov 22, 2026
RepositoryGo
netdata/netdata

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

81.6k
Nov 22, 2026
RepositoryPython
donnemartin/system-design-primer

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

378.7k
Sep 15, 2026
RepositoryPython
practical-tutorials/project-based-learning

Curated list of project-based tutorials

290.3k
Nov 16, 2026
RepositoryPython
TheAlgorithms/Python

All Algorithms implemented in Python

226.3k
Nov 13, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

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...

♥0
166.8M
Jun 1, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

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.

188.1k
Nov 21, 2026