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.42.tar.gz (24.6 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.42-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wittiot-1.0.42.tar.gz
  • Upload date:
  • Size: 24.6 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.42.tar.gz
Algorithm Hash digest
SHA256 19342c957f1a1e668552f6f0c53c29e6dc186a2e52817d7c9d48458f96604853
MD5 9527f5c8248d480d1e42db6dc9e7b60c
BLAKE2b-256 f49155856d3453a1f023aed7b44b33deed28377cc447a8f6fbb4321abd560d64

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wittiot-1.0.42-py3-none-any.whl
  • Upload date:
  • Size: 25.0 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.42-py3-none-any.whl
Algorithm Hash digest
SHA256 94def61481923257c6c7117d489370253b03a9ab2c4c3b5791b7b661bd07ca04
MD5 94faaee0a43ffdad3c89396d7f1e30d5
BLAKE2b-256 9c9d4b9d4a7bf3e20f664873372f119fd10d33eea40a6428d7b96d1d21d22b56

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