Skip to main content

MyWatering client

Project description

My watering client

My watering client is part of mywatering 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mywatering_client-0.2.7.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mywatering_client-0.2.7-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file mywatering_client-0.2.7.tar.gz.

File metadata

  • Download URL: mywatering_client-0.2.7.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mywatering_client-0.2.7.tar.gz
Algorithm Hash digest
SHA256 dce2b6f7cdf750cf7049d7863f6fa5c2db2f3ce547d2fe8f08c756e5cbf9c0c7
MD5 e251f90da1848118467e318a2813c0c2
BLAKE2b-256 9e8335ca4e6cbe27bdec03b5fd64111a0b9aacb6d291568bd3568115b0221620

See more details on using hashes here.

File details

Details for the file mywatering_client-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: mywatering_client-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mywatering_client-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9fb62cd652d07111ea81464537d6fd50acc0f551cda4d388c13dfa99e3cf6d90
MD5 7dee27f260b458a4af9b1e71d2b7bb81
BLAKE2b-256 706e841ebd0ac22916047434df1b05a1b4c3abf46ad5a99399f68cc82841b4a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page