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.3.tar.gz (3.5 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.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mywatering_client-0.2.3.tar.gz
Algorithm Hash digest
SHA256 9ca478a10b8a604a1a9cc5e51501263092f183c5e9df678f4ecc1007689bc3a9
MD5 88423f9a130f316d999e37b16a428abc
BLAKE2b-256 d7afa6b348410dfe91a8219313eefb5ae8e9cc891eb9190675f1250203c51ab9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mywatering_client-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0817307072b447407c3dc0cbe3233e104112c85633e005c4c26bf1de7b480adc
MD5 3c1c4fb1eff71616f9458f99b1163127
BLAKE2b-256 f602b95a30a9ba66462b7de842438906c63c3d353bed632ecde028798fba4471

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