Skip to main content

WSView Plus support

Project description

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

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

wittiot-1.0.43.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wittiot-1.0.43-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file wittiot-1.0.43.tar.gz.

File metadata

  • Download URL: wittiot-1.0.43.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for wittiot-1.0.43.tar.gz
Algorithm Hash digest
SHA256 b929b3a969346365f352fe1d49377666b5d6c72de34ad9928b2e4cf89f2b97ea
MD5 e405e4881136fa1ad8957a43e33a7cd1
BLAKE2b-256 0fc3e9be088e1b3a12e1b3b85844e536d6ef4596a5a07f2e3d7a2043ed8efb88

See more details on using hashes here.

File details

Details for the file wittiot-1.0.43-py3-none-any.whl.

File metadata

  • Download URL: wittiot-1.0.43-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for wittiot-1.0.43-py3-none-any.whl
Algorithm Hash digest
SHA256 793932a16602874f4a85612cbf6f60a4b6f7ca849e1451a5747aa5807de3816d
MD5 e7aee1eeb29202651b3c58294e414cc0
BLAKE2b-256 6ca4019d02ec011d84d6f3c7bd5523313443d7db0204aa37892f802d9a0c9346

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