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.2.tar.gz (3.2 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.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mywatering_client-0.2.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.2

File hashes

Hashes for mywatering_client-0.2.2.tar.gz
Algorithm Hash digest
SHA256 439d6ea0a953c8409612ce895ccc4f768fbb604e6f75216a2b77b2284b66b174
MD5 eb7c1aeac55ddc6c234457e60ca4ebe1
BLAKE2b-256 db3c212d077359d7026510e0ef107cd51a4c2ef840a267e251bb0573fc0eb3f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mywatering_client-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f5fcccd83a0848891fd5e962a8203af93f2c340f3dedd34d1dfc7d2b4b8fd752
MD5 69566da92e68b60c3b7f215e9a64a08a
BLAKE2b-256 7105a80bb75975182d756e549d49f0a992b4799a3858f235563b7d591abe604c

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