Monitoring power and energy in the smart home
Project description
mywattsmon
A minimal Python application for monitoring electrical power and energy in the smart home.
- Support for devices such as energy meters, smart plugs, etc.
- 24/7 monitor process with scheduled data storage
- Optional monitor window
- Low resource requirements
- Easily configurable via JSON file
- Extendable with your own device classes
A computer running Python version 3.11 or higher is required. For SBCs such as Raspberry Pi, a hard disk (e.g. a USB SSD) is recommended, as SD cards are generally not suitable for continuous operation.
Installation
The application should be installed in a user directory, as it saves data and can be extended individually.
python -m pip install mywattsmon -U -t <target directory>
Alternatively, the release file can be downloaded from the respository and unpacked.
Usage
In the following, it is assumed that the application has been installed on a Linux computer into the user's home directory (e.g. into /home/u1/mywattsmon) and that the calls are made from the home directory (/home/u1).
Start the monitor process (exit with Ctrl+C):
python -m mywattsmon.app.monitor
Start the monitor window (exit with Ctrl+C, in the window using the exit button or escape key):
python -m mywattsmon.app.window
Note: When the application is started for the first time, the data directory mywattsmon-data is created parallel to the application directory. Among other things, this contains the configuration file config.json with a configuration of the device class Mock. As this class provides random numbers, the application can be executed directly after installation without further configuration.
Further information
- Documentation: /mywattsmon/doc/*
- Repository: https://github.com/berryunit/mywattsmon
- License: MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mywattsmon-0.9.5.tar.gz
.
File metadata
- Download URL: mywattsmon-0.9.5.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 050158b4c173a4f1f676c778237c92aff0ab63a9b81495b13ee3f35fad1c8d15 |
|
MD5 | 5df1cba390b82a8f7f86911256c6244f |
|
BLAKE2b-256 | 139797ad475ef20d5010e0b9c7d9665c24bf86cfb7ca74d7a7756b2bd815c330 |
File details
Details for the file mywattsmon-0.9.5-py3-none-any.whl
.
File metadata
- Download URL: mywattsmon-0.9.5-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6d1b305d7aa184a4d80b348ef6580844900589e19dfac69cca92db4a8673b61 |
|
MD5 | ff1228b438ab921c562cf2d297e0e051 |
|
BLAKE2b-256 | 25b04d58e5b40f6c87f5f68f38c77487c2f1a3a979104622a05a2098f4980dc7 |