MyWatering client
Project description
My watering client
My watering client is counterpart of my watering project.
Installation
uv tool install mywatering-client
NOTE: If you are facing installation troubles you might need to install python3-dev package.
sudo apt-get update
sudo apt-get install python3-dev
Running
Run it manually from commandline.
watering-cli temperature -s "https://your.server.com" -c <client number> -u <user> -p <password>
watering-cli water -s "https://your.server.com" -c <client number> -u <user> -p <password>
And then you can put it in your cron.
PATH="/home/myusername/.local/bin:$PATH"
0 * * * * watering-cli temperature -s "https://my.server.com" -c 1 -u myusername -p mypassword > /home/myusername/temperature.log 2>&1
*/5 * * * * watering-cli water -s "https://my.server.com" -c 1 -u myusername -p mypassword > /home/myusername/watering.log 2>&1
Contributing
Please sync repository and install pre-commit before commiting and pushing your changes.
uv sync
uv run pre-commit install
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mywatering_client-0.2.0.tar.gz.
File metadata
- Download URL: mywatering_client-0.2.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f0de9ee555511de9cb22407bfec8e4881015f43356b068b9644e218b628f35e
|
|
| MD5 |
e878a84c6d1e9bb13ccdca89a99ed06a
|
|
| BLAKE2b-256 |
3fa36c1e63adb5b67d9be11fccc18551d5eed037dbc054489905d69930e987b6
|
File details
Details for the file mywatering_client-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mywatering_client-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eac46e884d855997751dec5dfd417cc1852b3f4176d311485d3c49a95f5820df
|
|
| MD5 |
ddf6d8989887d2bf7c5ba3bf29f60116
|
|
| BLAKE2b-256 |
8f569bcd4a95f56c451c85978e2e1b0661e84e9e5052b5eb59e682827cec68f6
|