Skip to main content

A library for interfacing with Davis Weatherlink IP loggers

Project description

Skyentific

Skyentific is a Python library for retrieving current weather conditions from a Davis Skyentific IP Logger.

Features

  • Retrieve current weather observations including temperature, humidity, wind speed, and more
  • Automatically retry failed requests with configurable delays
  • Extensive logging for diagnosing issues
  • Fully type-hinted for ease of use and maintainability

Installation

Install Skyentific using pip:

pip install skyentific

Usage

Here's a basic example of how to use Skyentific to retrieve the current weather conditions:

from skyentific import get_current_condition

host = '192.168.1.100'
port = 22222

try:
    observation = get_current_condition(host, port)
    print(f"Temperature: {observation.outside_temperature}°C")
    print(f"Humidity: {observation.outside_humidity}%")
    print(f"Wind Speed: {observation.wind_speed} km/h")
except Exception as e:
    print(f"Error: {e}")

Command Line Usage

After installing the skyentific package, you can use the skyentific command line script to retrieve current weather conditions from a Skyentific IP Logger.

skyentific <host> <port>
  • host: The hostname or IP address of the Skyentific IP Logger.
  • port: The port number to connect to.

The script will output the current weather conditions in JSON format.

Example:

skyentific 192.168.1.100 22222

Documentation

Full documentation is available at https://skyentific.readthedocs.io/.

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details on how to contribute to the project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Thanks to the Davis Instruments team for providing the Skyentific IP Logger and documentation.

Support

If you have any questions, issues, or feature requests, please open an issue on GitHub.

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

skyentific-0.1.0.tar.gz (10.6 kB view details)

Uploaded Source

File details

Details for the file skyentific-0.1.0.tar.gz.

File metadata

  • Download URL: skyentific-0.1.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for skyentific-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c39af04c618832231bb318cb144394257cdb566bc8b4a9c7640e757297c8376e
MD5 4eaca468797d718114b25b72542d41a7
BLAKE2b-256 7fb51e24bdb76e1c34f8329f6e364645d6ab67c46dbf868677bcab192f2fab22

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page