Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/idcrook/pivitals
Python program to monitor and log (using MQTT) Raspberry Pi vitals
https://github.com/idcrook/pivitals
Last synced: 1 day ago
JSON representation
Python program to monitor and log (using MQTT) Raspberry Pi vitals
- Host: GitHub
- URL: https://github.com/idcrook/pivitals
- Owner: idcrook
- License: mit
- Created: 2023-03-14T22:02:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-14T22:49:40.000Z (almost 2 years ago)
- Last Synced: 2025-01-14T04:13:36.624Z (7 days ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pivitals
Python program to monitor and log (using MQTT) Raspberry Pi vitals```shell
# Install a python3 dev setup and other libraries
sudo apt install -y python3-pip python3-venv build-essential \
python3-setuptools python3-wheel git
``````
# place a clone of this repo in ~/projects/
mkdir -p ~/projects
cd ~/projectsgit clone https://github.com/idcrook/pivitals.git
cd pivitals
```### create virtualenv
```shell
$ cd ~/projects/pivitals
$ python3 -m venv .venv
$ source .venv/bin/activate
(.venv) $ pip install --no-cache-dir -r requirements.txt
```## test
```shell
(.venv) $ python create_cfg.py
(.venv) $ cp config.example.json config.secrets.json
# EDIT config.secrets.json
(.venv) $ python
```