Screenlogicpy

Latest version: v0.10.1

Safety actively analyzes 622142 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.10.1

Fixes:
- Fixed super chlorination stopping if any SCG settings were changed.
- Super chlorination would be turned off if any SCG setting(s) were set without also explicitly defining the super chlorinate setting.
- SCG settings now use existing super chlorinate setting instead of defaulting to `0`.

0.10.0

Breaking Changes:
- Require python 3.10+
- Portions of codebase now use union type hints
- Refactor exception handling
- Methods that lead to making a request to the protocol adapter will no longer return a `bool` indicating success. Instead an appropriate exception will be raised if an error is encountered.
- Add more granular `ScreenLogicException`:
- `ScreenLogicCommunicationError` - Base class for all communication errors.
- `ScreenLogicLoginError` - The login was explicitly rejected.
- `ScreenLogicConnectionError` - Connection to the protocol adapter was lost.
- `ScreenLogicRequestError` - Protocol adapter indicated an unknown or malformed request.
- `ScreenLogicResponseError` - Protocol adapter returned an unexpected response.

Changes:
- Make set_scg_config and set_chem_data kwargs only.
- Supports needing to only supply the changed value(s), not all values set with pool command.
- Refactor unit/integration testing.
- Make actual unit tests for many functions.
- Add support for pulling testing data from .json files.
- Support testing against multiple data sets.
- Support for creating data sets from HA diagnostic exports.

Added:
- Add support for getting and setting pool controller date/time.
- Support for syncing pool controller date/time to the host's date/time.
- Support getting/setting Super Chlorination settings.
- CLI support for:
- Setting user-set IntelliChem values:
- Calcium Hardness
- Cyanuric Acid
- Total Alkalinity
- Salt/TDS
- Setting super chlorinate values:
- Enabled (On/Off)
- Run Time Hours
- Getting and setting pool controller date and/or time.
- Exporting a testing data set.

0.9.4

Fixes:
- Reset colors list on each config update
- This fixes unintended internal data growth each time a gateway _reconnects_ to a protocol adapter.

Changes:
- Cancel/cleanup outstanding requests (futures) on connection loss
- Add additional debug logging.
- Client ID on gateway subscription
- Any errors when attempting to create connection

0.9.3

Changes:
- Change SCG setpoint `step` value for pool and spa to 1

0.9.2

Changes:
- Filter Chlorinator state to low bit (0x01) in data.
- Limits Chlorinator state to 1 or 0.

0.9.1

Changes:
- Don't exclude any data keys regardless of equipment config
- Decisions on what data to include in the data `dict` based on equipment config or seemingly 'invalid' values will no longer be made within `screenlogicpy`. Any calling application will be responsible for filtering irrelevant information from their user.
- Don't attempt to reconnect during ping or remove_client requests.
- These requests are not critical and can interrupt or block the desired connection sequence.
- Don't retry a failed request if no longer connected to the protocol adapter.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.