Receives external heart beat HTTP requests into a Flask server (e.g. Amazfit --> Zepp --> 3rd party glue-app --> Tasker --> HTTP GET Task --> TXT file in PC hard drive) and builds a speedometer-looking PNG to be used inside a stream.
It is composed of three parts:
- An Heart Beat Rate uploader, which can be this other project or Tasker (paid).
- The one that is an HTTP server that writes an integer into
heart_rate.txt
; - The one that reads
heart_rate.txt
and writesvuMeter_rendered.png
, which can be used as anImage Source
onOBS
.
Python (3.10) and the libraries:
- Flask
- Pillow
In order to start the first part (HTTP data to file), run runserver.bat
.
In order to start the second part (file to image), run rundaemon.bat
.