A small package to pull data from Ecowater water softeners
Project description
Ecowater Softner
Ecowater_Softner is a Python library for collecting information from Ecowater water softeners.
Installation
Use the package manager pip to install ecowater.
pip install ecowater_softener
Usage
from ecowater_softener import Ecowater
ecowaterDevice = Ecowater('username', 'password', 'serialnumber')
# returns 'days until the device is out of salt'
ecowaterDevice.daysUntilOutOfSalt()
# returns 'the salt level' as an integer
ecowaterDevice.saltLevel()
# returns 'the salt level in percent' as an integer
ecowaterDevice.saltLevelPercent()
# returns 'the amount of water used today' as an integer
ecowaterDevice.waterUsageToday()
# returns 'the average amount of water used daily' as an integer
ecowaterDevice.waterUsageDailyAverage()
# returns 'the amount of water available' as an integer
ecowaterDevice.waterAvailable()
# returns 'the amount of water flow' as an integer
ecowaterDevice.waterFlow()
# returns 'the units for the water measurements'
ecowaterDevice.waterUnits()
# returns 'true or false depending on whether recharge is enabled'
ecowaterDevice.rechargeEnabled()
# returns 'true or false depending on whether there is a recharge scheduled'
ecowaterDevice.rechargeScheduled()
# returns 'true or false depending on whether the device is online'
ecowaterDevice.deviceStatus()
Credits
Thanks to Kyle Johnson for his work on using python to interface with Ecowater water softeners. Most of this libraries code is built upon code which he wrote. You can read his article regarding scraping data from Ecowater water softeners at https://gnulnx.net/2020/02/18/ecowater-api-scraping/
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
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
Close
Hashes for ecowater_softener-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28963bcba2fe8ddd7a31803784ea8f866fb1433eec6a788c140b13686d6efa07 |
|
MD5 | 9e8fa86802b6e3f41d05358e2349a82c |
|
BLAKE2b-256 | 436b2c3cdecc670d7d804b3e15117554da3688c1ab2c18401b52411b7912f9aa |