python-selve-new 2.5.4__tar.gz → 2.5.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/PKG-INFO +1 -1
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/python_selve_new.egg-info/PKG-INFO +1 -1
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/__init__.py +13 -8
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/_version.py +3 -3
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/util/serial_transport.py +1 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/.github/FUNDING.yml +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/.github/architect.chatmode.md +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/.github/ask.chatmode.md +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/.github/code.chatmode.md +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/.github/debug.chatmode.md +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/.github/workflows/python-publish.yml +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/.github/workflows/tests.yml +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/.gitignore +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/.idea/.gitignore +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/.idea/misc.xml +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/.idea/modules.xml +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/.idea/python-selve-new.iml +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/.idea/vcs.xml +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/CHANGELOG.md +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/LICENSE +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/README.md +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/coverage_xdist_example.txt +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/debug_response.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/debug_test.bat +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/direct_hardware_test.bat +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/direct_hardware_test.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/generate_coverage.bat +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/package.sh +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/pyproject.toml +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/python_selve_new.egg-info/SOURCES.txt +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/python_selve_new.egg-info/dependency_links.txt +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/python_selve_new.egg-info/requires.txt +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/python_selve_new.egg-info/top_level.txt +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/release.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/run_all_tests.bat +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/run_hardware_tests.bat +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/run_integration_tests.bat +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/run_mock_tests.bat +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/run_single_test.bat +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/run_tests.bat +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/commands/__init__.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/commands/command.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/commands/device.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/commands/event.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/commands/firmware.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/commands/group.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/commands/iveo.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/commands/param.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/commands/senSim.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/commands/sender.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/commands/sensor.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/commands/service.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/device.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/gateway.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/group.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/iveo.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/senSim.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/sender.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/sensor.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/util/__init__.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/util/errors.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/selve/util/protocol.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/setup.cfg +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/setup.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/setup_and_test.bat +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/__init__.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/conftest.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/integration/README.md +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/integration/__init__.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/integration/conftest.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/integration/test_device_integration.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/integration/test_selve_gateway_integration.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/integration/test_selve_hardware.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/integration/test_selve_integration.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/test_import.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/test_replacement.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/__init__.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/mock_utils.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_command_coverage.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_commands.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_device.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_device_classes_coverage.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_device_commands_extended.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_gateway_configuration_issues.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_gateway_error_handling_fixed.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_group.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_group_commands.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_missing_components.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_mock_commands.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_mock_devices_and_groups.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_mock_sensors_and_senders.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_param_commands_extended.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_port_discovery.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_selve_advanced_coverage.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_selve_core_coverage.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_selve_edge_cases.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_selve_gateway.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_selve_init_comprehensive.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_selve_init_response_coverage.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_selve_init_simple.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_selve_main_class_extensive.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_sender_commands_extended.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_sensim_commands_extended.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_sensor_commands_extended.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_service_command_errors.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_service_commands.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_util.py +0 -0
- {python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_utility_coverage.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-selve-new
|
|
3
|
-
Version: 2.5.
|
|
3
|
+
Version: 2.5.5
|
|
4
4
|
Summary: Python library for interfacing with selve devices using the USB-RF controller. Written completely new.
|
|
5
5
|
Home-page: https://github.com/Kannix2005/python-selve-new
|
|
6
6
|
Author: Stefan Altheimer
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-selve-new
|
|
3
|
-
Version: 2.5.
|
|
3
|
+
Version: 2.5.5
|
|
4
4
|
Summary: Python library for interfacing with selve devices using the USB-RF controller. Written completely new.
|
|
5
5
|
Home-page: https://github.com/Kannix2005/python-selve-new
|
|
6
6
|
Author: Stefan Altheimer
|
|
@@ -256,6 +256,8 @@ class Selve:
|
|
|
256
256
|
|
|
257
257
|
|
|
258
258
|
async def startWorker(self):
|
|
259
|
+
if self._tx_task is not None and not self._tx_task.done():
|
|
260
|
+
return # already running
|
|
259
261
|
self._LOGGER.debug("Starting worker")
|
|
260
262
|
self._pauseWorker.clear()
|
|
261
263
|
self._stopThread.clear()
|
|
@@ -1436,14 +1438,17 @@ class Selve:
|
|
|
1436
1438
|
async def _movement_poll_loop(self, device_id: int, interval: float = 0.5, timeout: float = 60.0) -> None:
|
|
1437
1439
|
"""Poll DeviceGetValues every *interval* seconds until movement stops or timeout."""
|
|
1438
1440
|
elapsed = 0.0
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1441
|
+
try:
|
|
1442
|
+
while not self._stopThread.is_set() and elapsed < timeout:
|
|
1443
|
+
await asyncio.sleep(interval)
|
|
1444
|
+
elapsed += interval
|
|
1445
|
+
if self.getDevice(device_id, SelveTypes.DEVICE) is None:
|
|
1446
|
+
break
|
|
1447
|
+
await self.updateCommeoDeviceValuesAsync(device_id)
|
|
1448
|
+
except asyncio.CancelledError:
|
|
1449
|
+
pass
|
|
1450
|
+
finally:
|
|
1451
|
+
self._movement_tasks.pop(device_id, None)
|
|
1447
1452
|
|
|
1448
1453
|
async def moveDeviceUp(self, device: SelveDevice | IveoDevice, type=DeviceCommandType.MANUAL):
|
|
1449
1454
|
if device.communicationType is CommunicationType.COMMEO:
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '2.5.
|
|
22
|
-
__version_tuple__ = version_tuple = (2, 5,
|
|
21
|
+
__version__ = version = '2.5.5'
|
|
22
|
+
__version_tuple__ = version_tuple = (2, 5, 5)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'g289213896'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/.idea/inspectionProfiles/profiles_settings.xml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/python_selve_new.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/integration/test_device_integration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/integration/test_selve_integration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_device_classes_coverage.py
RENAMED
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_device_commands_extended.py
RENAMED
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_gateway_configuration_issues.py
RENAMED
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_gateway_error_handling_fixed.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_mock_devices_and_groups.py
RENAMED
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_mock_sensors_and_senders.py
RENAMED
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_param_commands_extended.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_selve_advanced_coverage.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_selve_init_comprehensive.py
RENAMED
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_selve_init_response_coverage.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_selve_main_class_extensive.py
RENAMED
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_sender_commands_extended.py
RENAMED
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_sensim_commands_extended.py
RENAMED
|
File without changes
|
{python_selve_new-2.5.4 → python_selve_new-2.5.5}/tests/unit/test_sensor_commands_extended.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|