Skip to main content

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


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.4.tar.gz (15.7 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.4-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mywatering_client-0.2.4.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","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.4.tar.gz
Algorithm Hash digest
SHA256 18eee1a68ac12b2a4d637c7837a5289af21337816ce61b3f32892b9c75d02f7f
MD5 3a05e0f2ff44f0ca938d339eca2b84e1
BLAKE2b-256 f239028f0705ae8f7a1847f9a500c10d3ee2ad1afb04a305f173b066926ba997

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mywatering_client-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 269d4d023f1f7b989dde7850bba5a7151ecf294907af05d02aa8d62f36e32f6f
MD5 b6a22615cf6f6ae0dcb3b1300772dc2f
BLAKE2b-256 4a94a4e26b80359665ca447668c8f523ac8deef001ede94478287485df1545c4

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