Wittiot
Python library for accessing Wittiot / WSView Plus weather station data via local LAN API.
Installation
pip install wittiot
Usage
import asyncio
import logging
from aiohttp import ClientSession
from wittiot import API
async def main():
# Replace with your device IP
HOST = "192.168.1.110"
async with ClientSession() as session:
api = API(HOST, session=session)
try:
# Get all sensor data
data = await api._request_loc_allinfo()
print(f"Data from {HOST}:")
print(data)
except Exception as e:
print(f"Error: {e}")
if __name__ == "__main__":
logging.basicConfig(level=logging.INFO)
asyncio.run(main())
Supported Devices
- GW1100
- GW2000
- WN1900
- And other Ecowitt/Wittiot devices supporting local API
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wittiot-1.0.46.tar.gz
(27.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
wittiot-1.0.46-py3-none-any.whl
(28.2 kB
view details)
File details
Details for the file wittiot-1.0.46.tar.gz.
File metadata
- Download URL: wittiot-1.0.46.tar.gz
- Upload date:
- Size: 27.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
748289a3caaf37b2d82bd58d17852d7aa60c274d7d69fd1a907f896f444e452e
|
|
| MD5 |
bca5552839fcf88420a5cbf7db4a7af4
|
|
| BLAKE2b-256 |
81cf8cee773b02755307b9d93b102d02380154f41a6bb50b779c84d3d725a0b7
|
File details
Details for the file wittiot-1.0.46-py3-none-any.whl.
File metadata
- Download URL: wittiot-1.0.46-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d5684fd16f2d994f4d34ee691a5804850c53ae9d3d8271b5f1eef164730760c
|
|
| MD5 |
e0a056885ce40d23086f8c010ebf4353
|
|
| BLAKE2b-256 |
65aef51eb1d99a3c11a99ead729ebec00838199ce6b766bda0bd20f73ee36c57
|