From c32b9afea526fde3bbecb2c15a118b81d3287a98 Mon Sep 17 00:00:00 2001 From: Tim-Oliver Husser Date: Sun, 8 Sep 2024 14:26:44 +0200 Subject: [PATCH 1/2] more logging --- pyobs/mixins/motionstatus.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyobs/mixins/motionstatus.py b/pyobs/mixins/motionstatus.py index 0f7f0a47..1702033c 100644 --- a/pyobs/mixins/motionstatus.py +++ b/pyobs/mixins/motionstatus.py @@ -43,9 +43,10 @@ async def _change_motion_status(self, status: MotionStatus, interface: Optional[ if interface is None: # did status change? if self.__motion_status != status: - # set it + # log and set it changed = True self.__motion_status = status + log.info("Changed motion status to %s.", status) # also set all individual interfaces for i in self.__motion_status_interfaces: @@ -63,6 +64,7 @@ async def _change_motion_status(self, status: MotionStatus, interface: Optional[ # set it self.__motion_status_single[interface] = status changed = True + log.info("Changed motion status for interface %s to %s.", interface, status) # combine status self.__motion_status = self._combine_motion_status() From 2ea527f97c4cc00c68e121564caebb1bb1df98bd Mon Sep 17 00:00:00 2001 From: Tim-Oliver Husser Date: Sun, 8 Sep 2024 14:27:05 +0200 Subject: [PATCH 2/2] v1.17.1 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 95ca44cd..4c7348a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "pyobs-core" packages = [{ include = "pyobs" }] -version = "1.17.0" +version = "1.17.1" description = "robotic telescope software" authors = ["Tim-Oliver Husser "] license = "MIT"