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.45.tar.gz
(27.2 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.45-py3-none-any.whl
(27.7 kB
view details)
File details
Details for the file wittiot-1.0.45.tar.gz.
File metadata
- Download URL: wittiot-1.0.45.tar.gz
- Upload date:
- Size: 27.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2afdc81e90ee353a47475d2cbd76004e4f2841977ec2506bf4b6686e67bef7e
|
|
| MD5 |
8efd04f92ef30aa745f9e5bfa4a05045
|
|
| BLAKE2b-256 |
c60a34914bc308f8b8ae99ebdbcc7b640cb2f574e3fb9fea53342565b5c0641a
|
File details
Details for the file wittiot-1.0.45-py3-none-any.whl.
File metadata
- Download URL: wittiot-1.0.45-py3-none-any.whl
- Upload date:
- Size: 27.7 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 |
5ea86d0de344b66ab9b64fc7a4b3d47207e63297ebd79b05a5aa9df6a6fd9c1b
|
|
| MD5 |
22fc2fb37bbff8fe3e22e1b56f56e2a7
|
|
| BLAKE2b-256 |
58fc8d676c6ce0fec7600e9141508b008d45efe3740596115d15fb60dfd0c215
|