An open API service indexing awesome lists of open source software.

https://github.com/jrhahn/pico_pi_scale_cloudless


https://github.com/jrhahn/pico_pi_scale_cloudless

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

Welcome to PicoPiScale!

This is repository contains the code and 3d models for the drink monitor.

Contents:
- app: The code for the smart phone app to set up and monitor the drink monitor.
- backend: The code for the backend server that the drink monitor communicates with.
- cad: The 3d models for the drink monitor.
- client: [deprecated] The code for the client that communicates with the drink monitor. Helpful for debugging the REST communication on your computer.
- [firmware](./firmware/README.md): micro python code that runs on the pico pi board.
- material: pictures and videos of the system in action.
- schematics: the schematics for the pico pi board.

Make sure to install the precommit hooks by running `pre-commit install` in the root of the repository (if you don't
have [pre-commit](https://pre-commit.com/#install) installed, install it).
This will install [ruff](https://github.com/astral-sh/ruff) for code linting. For automatic fixing, simply run ```ruff . --fix``` in the root of the repository
(or any other location that contains code that needs formatting).

Hint: use direnv and uv! For this, edit your ```/.config/direnv/direnvrc``` and add the following lines:
```bash
function use_venv() {
uv venv
source .venv/bin/activate
}

function use_standard-python() {
source_up_if_exists

dotenv_if_exists

source_env_if_exists .envrc.local

use venv

uv sync
}
```