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.44.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.44-py3-none-any.whl
(27.7 kB
view details)
File details
Details for the file wittiot-1.0.44.tar.gz.
File metadata
- Download URL: wittiot-1.0.44.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 |
679521fe7eda402fb7303db0a92886627b4e6e49febdbabc6204d31a5fc26e86
|
|
| MD5 |
0b52c702b9ba7bfe89f95c3486f8c3e5
|
|
| BLAKE2b-256 |
8246df55bfe2835042e2ce117b16ce1a400859c0c47ebfe7496bda243e65f457
|
File details
Details for the file wittiot-1.0.44-py3-none-any.whl.
File metadata
- Download URL: wittiot-1.0.44-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 |
b0014c90c41ced5f0fea8d92ee2af73ff22fc84778da25e107cb4d3a9f63284b
|
|
| MD5 |
5d3fa7c0acc1e5585acd1bbcc9f65d29
|
|
| BLAKE2b-256 |
baa0422534c15d99542b93caf5bfe676c84bb21dedaec5766d0eca158d6b222b
|