Skip to main content

Arctic Spa Hot Tub library

This library talks to Arctic Spa brand hot tubs and reports sensor information.

As of this initial library version, this only supports polling the hot tub for status information, not controlling it.

Overview

To request status information from the hot tub, create an ArcticSpa object with the device's hostname and call poll():

import asyncio
from arctic_spa import ArcticSpa

spa = ArcticSpa('192.168.123.42')
packets = asyncio.run(spa.poll())

packets is a list of the latest packets received by the network client. poll() will return once all the requested types have been returned. Currently this only supports requesting Live and OnzenLive packet types, but may return other types if the hot tub sends them in addition to the requested packets.

See network.py for a complete example.

Network Discovery

You can search the local subnet for a hot tub. To do so, provide the local address of the calling code and the subnet mask you'd like it to scan:

searcher = NetworkSearch(local_addr, subnet_mask)
results = asyncio.run(searcher.search())

results is a list of all the discovered devices (empty if there are none).

See network.py for a complete example.

License

Copyright (c) 2022 Steve Pomeroy steve@staticfree.info

This is licensed under the Apache 2.0 software license.

Disclaimer

This library is neither endorsed nor sponsored by Arctic Spa. By using this library, you agree to take full responsibilty for any actions that may occur from the use of this library.

That said, we love our Arctic Spa hot tub and don't want to damage it, so we try very hard to not do anything risky with it.

Metadata

Release files for arctic-spa 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arctic-spa 0.0.1
File Size Uploaded Provenance
arctic_spa-0.0.1.tar.gz 16.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for arctic-spa 0.0.1
File Interpreter ABI Platform
arctic_spa-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 31.6 kB

Release files / arctic_spa-0.0.1.tar.gz

Download URL arctic_spa-0.0.1.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3382ca92d25b3a9d798811caff57ff2641c7fb0e72b1ab386abb6c1714f68b45
BLAKE2b-256 checksum
How to use checksums
f2160081492afc2e41737bd15e414c5ffccc36ae012ba26f0c55db3190931171
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release files / arctic_spa-0.0.1-py3-none-any.whl

Download URL arctic_spa-0.0.1-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd8785b9db6520b3a5b30b5d5f2bc405a98014f855a6f9737008b370c1006f24
BLAKE2b-256 checksum
How to use checksums
78755c84eb11c9de2331e221b1e62732e0f1d1202610b2ed9f64d3465e599fc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Security for arctic-spa 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page