fhempy: tuya (lokal)

Begonnen von dominik, 26 April 2022, 19:12:25

Vorheriges Thema - Nächstes Thema

ChrisA4

-- Journal begins at Sat 2022-09-24 06:40:46 CEST. --
Sep 28 23:06:19 fhem fhempy[11919]:     status = await self._connected_device.status()
Sep 28 23:06:19 fhem fhempy[11919]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/tuya/pytuya/__init__.py", line 484, in status
Sep 28 23:06:19 fhem fhempy[11919]:     status = await self.exchange(STATUS)
Sep 28 23:06:19 fhem fhempy[11919]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/tuya/pytuya/__init__.py", line 463, in exchange
Sep 28 23:06:19 fhem fhempy[11919]:     msg = await self.dispatcher.wait_for(seqno)
Sep 28 23:06:19 fhem fhempy[11919]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/tuya/pytuya/__init__.py", line 250, in wait_for
Sep 28 23:06:19 fhem fhempy[11919]:     await asyncio.wait_for(self.listeners[seqno].acquire(), timeout=timeout)
Sep 28 23:06:19 fhem fhempy[11919]:   File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
Sep 28 23:06:19 fhem fhempy[11919]:     raise exceptions.TimeoutError() from exc
Sep 28 23:06:19 fhem fhempy[11919]: asyncio.exceptions.TimeoutError
Sep 28 23:34:02 fhem fhempy[11919]: 2022-09-28 23:34:02,393 - INFO     - fhempy.lib.fhem_pythonbinding: Start update...
Sep 28 23:34:02 fhem fhempy[11919]: 2022-09-28 23:34:02,395 - INFO     - fhempy.lib.pkg_installer: Attempting install of fhempy
Sep 28 23:34:12 fhem fhempy[11919]: 2022-09-28 23:34:12,614 - INFO     - fhempy.lib.pkg_installer: Successfully installed fhempy update!
Sep 28 23:34:12 fhem fhempy[11919]: 2022-09-28 23:34:12,777 - INFO     - fhempy.lib.fhem_pythonbinding: Restart initiated...
Sep 28 23:34:12 fhem fhempy[11919]: 2022-09-28 23:34:12,865 - INFO     - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
Sep 28 23:34:12 fhem fhempy[11919]: 2022-09-28 23:34:12,867 - INFO     - websockets.server: server closing
Sep 28 23:34:22 fhem fhempy[11919]: 2022-09-28 23:34:22,906 - INFO     - websockets.server: connection closed
Sep 28 23:34:32 fhem fhempy[11919]: 2022-09-28 23:34:32,906 - INFO     - websockets.server: connection closed
Sep 28 23:34:32 fhem fhempy[11919]: 2022-09-28 23:34:32,909 - INFO     - websockets.server: connection closed
Sep 28 23:34:32 fhem fhempy[11919]: 2022-09-28 23:34:32,910 - INFO     - websockets.server: server closed
Sep 28 23:34:32 fhem fhempy[11919]: 2022-09-28 23:34:32,914 - INFO     - fhempy.lib.fhem_pythonbinding: Exit 1
Sep 28 23:34:32 fhem systemd[1]: fhempy.service: Main process exited, code=exited, status=1/FAILURE
Sep 28 23:34:32 fhem systemd[1]: fhempy.service: Failed with result 'exit-code'.
Sep 28 23:34:32 fhem systemd[1]: fhempy.service: Consumed 9min 22.171s CPU time.
Sep 28 23:34:33 fhem systemd[1]: fhempy.service: Scheduled restart job, restart counter is at 3.
Sep 28 23:34:33 fhem systemd[1]: Stopped FHEM PythonBinding.
Sep 28 23:34:33 fhem systemd[1]: fhempy.service: Consumed 9min 22.171s CPU time.
Sep 28 23:34:33 fhem systemd[1]: Started FHEM PythonBinding.
Sep 28 23:34:34 fhem fhempy[15328]: 2022-09-28 23:34:34,392 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.486...
Sep 28 23:34:34 fhem fhempy[15328]: 2022-09-28 23:34:34,399 - INFO     - fhempy.lib.fhem_pythonbinding: Advertise fhempy on local network with 192.168.1.147:15733
Sep 28 23:34:34 fhem fhempy[15328]: 2022-09-28 23:34:34,779 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
Sep 28 23:34:34 fhem fhempy[15328]: Traceback (most recent call last):
Sep 28 23:34:34 fhem fhempy[15328]:   File "/home/pi/.local/bin/fhempy", line 155, in <module>
Sep 28 23:34:34 fhem fhempy[15328]:     fpb.run()
Sep 28 23:34:34 fhem fhempy[15328]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 708, in run
Sep 28 23:34:34 fhem fhempy[15328]:     loop.run_until_complete(async_main())
Sep 28 23:34:34 fhem fhempy[15328]:   File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
Sep 28 23:34:34 fhem fhempy[15328]:     return future.result()
Sep 28 23:34:34 fhem fhempy[15328]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 617, in async_main
Sep 28 23:34:34 fhem fhempy[15328]:     async with websockets.serve(
Sep 28 23:34:34 fhem fhempy[15328]:   File "/home/pi/.local/lib/python3.9/site-packages/websockets/legacy/server.py", line 1070, in __aenter__
Sep 28 23:34:34 fhem fhempy[15328]:     return await self
Sep 28 23:34:34 fhem fhempy[15328]:   File "/home/pi/.local/lib/python3.9/site-packages/websockets/legacy/server.py", line 1088, in __await_impl__
Sep 28 23:34:34 fhem fhempy[15328]:     server = await self._create_server()
Sep 28 23:34:34 fhem fhempy[15328]:   File "/usr/lib/python3.9/asyncio/base_events.py", line 1494, in create_server
Sep 28 23:34:34 fhem fhempy[15328]:     raise OSError(err.errno, 'error while attempting '
Sep 28 23:34:34 fhem fhempy[15328]: OSError: [Errno 98] error while attempting to bind on address ('0.0.0.0', 15733): address already in use
Sep 28 23:34:34 fhem fhempy[15328]: 2022-09-28 23:34:34,880 - ERROR    - asyncio: Task was destroyed but it is pending!
Sep 28 23:34:34 fhem fhempy[15328]: source_traceback: Object created at (most recent call last):
Sep 28 23:34:34 fhem fhempy[15328]:   File "/home/pi/.local/lib/python3.9/site-packages/zeroconf/asyncio.py", line 187, in async_register_service
Sep 28 23:34:34 fhem fhempy[15328]:     return await self.zeroconf.async_register_service(
Sep 28 23:34:34 fhem fhempy[15328]:   File "/home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py", line 589, in async_register_service
Sep 28 23:34:34 fhem fhempy[15328]:     return asyncio.ensure_future(self._async_broadcast_service(info, _REGISTER_TIME, None))
Sep 28 23:34:34 fhem fhempy[15328]: task: <Task pending name='Task-7' coro=<Zeroconf._async_broadcast_service() running at /home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py:617> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0xb5697790>()] created at /usr/lib/python3.9/asyncio/base_events.py:424> created at /home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py:589>
Sep 28 23:34:34 fhem systemd[1]: fhempy.service: Main process exited, code=exited, status=1/FAILURE
Sep 28 23:34:34 fhem systemd[1]: fhempy.service: Failed with result 'exit-code'.
Sep 28 23:34:34 fhem systemd[1]: fhempy.service: Consumed 1.394s CPU time.
Sep 28 23:34:35 fhem systemd[1]: fhempy.service: Scheduled restart job, restart counter is at 4.
Sep 28 23:34:35 fhem systemd[1]: Stopped FHEM PythonBinding.
Sep 28 23:34:35 fhem systemd[1]: fhempy.service: Consumed 1.394s CPU time.
Sep 28 23:34:35 fhem systemd[1]: Started FHEM PythonBinding.
Sep 28 23:34:36 fhem fhempy[15391]: 2022-09-28 23:34:36,351 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.486...
Sep 28 23:34:36 fhem fhempy[15391]: 2022-09-28 23:34:36,356 - INFO     - fhempy.lib.fhem_pythonbinding: Advertise fhempy on local network with 192.168.1.147:15733
Sep 28 23:34:36 fhem fhempy[15391]: 2022-09-28 23:34:36,732 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
Sep 28 23:34:36 fhem fhempy[15391]: Traceback (most recent call last):
Sep 28 23:34:36 fhem fhempy[15391]:   File "/home/pi/.local/bin/fhempy", line 155, in <module>
Sep 28 23:34:36 fhem fhempy[15391]:     fpb.run()
Sep 28 23:34:36 fhem fhempy[15391]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 708, in run
Sep 28 23:34:36 fhem fhempy[15391]:     loop.run_until_complete(async_main())
Sep 28 23:34:36 fhem fhempy[15391]:   File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
Sep 28 23:34:36 fhem fhempy[15391]:     return future.result()
Sep 28 23:34:36 fhem fhempy[15391]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 617, in async_main
Sep 28 23:34:36 fhem fhempy[15391]:     async with websockets.serve(
Sep 28 23:34:36 fhem fhempy[15391]:   File "/home/pi/.local/lib/python3.9/site-packages/websockets/legacy/server.py", line 1070, in __aenter__
Sep 28 23:34:36 fhem fhempy[15391]:     return await self
Sep 28 23:34:36 fhem fhempy[15391]:   File "/home/pi/.local/lib/python3.9/site-packages/websockets/legacy/server.py", line 1088, in __await_impl__
Sep 28 23:34:36 fhem fhempy[15391]:     server = await self._create_server()
Sep 28 23:34:36 fhem fhempy[15391]:   File "/usr/lib/python3.9/asyncio/base_events.py", line 1494, in create_server
Sep 28 23:34:36 fhem fhempy[15391]:     raise OSError(err.errno, 'error while attempting '
Sep 28 23:34:36 fhem fhempy[15391]: OSError: [Errno 98] error while attempting to bind on address ('0.0.0.0', 15733): address already in use
Sep 28 23:34:36 fhem fhempy[15391]: 2022-09-28 23:34:36,813 - ERROR    - asyncio: Task was destroyed but it is pending!
Sep 28 23:34:36 fhem fhempy[15391]: source_traceback: Object created at (most recent call last):
Sep 28 23:34:36 fhem fhempy[15391]:   File "/home/pi/.local/lib/python3.9/site-packages/zeroconf/asyncio.py", line 187, in async_register_service
Sep 28 23:34:36 fhem fhempy[15391]:     return await self.zeroconf.async_register_service(
Sep 28 23:34:36 fhem fhempy[15391]:   File "/home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py", line 589, in async_register_service
Sep 28 23:34:36 fhem fhempy[15391]:     return asyncio.ensure_future(self._async_broadcast_service(info, _REGISTER_TIME, None))
Sep 28 23:34:36 fhem fhempy[15391]: task: <Task pending name='Task-7' coro=<Zeroconf._async_broadcast_service() running at /home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py:617> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0xb5654610>()] created at /usr/lib/python3.9/asyncio/base_events.py:424> created at /home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py:589>
Sep 28 23:34:36 fhem systemd[1]: fhempy.service: Main process exited, code=exited, status=1/FAILURE
Sep 28 23:34:36 fhem systemd[1]: fhempy.service: Failed with result 'exit-code'.
Sep 28 23:34:36 fhem systemd[1]: fhempy.service: Consumed 1.330s CPU time.
Sep 28 23:34:37 fhem systemd[1]: fhempy.service: Scheduled restart job, restart counter is at 5.
Sep 28 23:34:37 fhem systemd[1]: Stopped FHEM PythonBinding.
Sep 28 23:34:37 fhem systemd[1]: fhempy.service: Consumed 1.330s CPU time.
Sep 28 23:34:37 fhem systemd[1]: Started FHEM PythonBinding.
Sep 28 23:34:38 fhem fhempy[15398]: 2022-09-28 23:34:38,261 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.486...
Sep 28 23:34:38 fhem fhempy[15398]: 2022-09-28 23:34:38,266 - INFO     - fhempy.lib.fhem_pythonbinding: Advertise fhempy on local network with 192.168.1.147:15733
Sep 28 23:34:38 fhem fhempy[15398]: 2022-09-28 23:34:38,642 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
Sep 28 23:34:38 fhem fhempy[15398]: Traceback (most recent call last):
Sep 28 23:34:38 fhem fhempy[15398]:   File "/home/pi/.local/bin/fhempy", line 155, in <module>
Sep 28 23:34:38 fhem fhempy[15398]:     fpb.run()
Sep 28 23:34:38 fhem fhempy[15398]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 708, in run
Sep 28 23:34:38 fhem fhempy[15398]:     loop.run_until_complete(async_main())
Sep 28 23:34:38 fhem fhempy[15398]:   File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
Sep 28 23:34:38 fhem fhempy[15398]:     return future.result()
Sep 28 23:34:38 fhem fhempy[15398]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 617, in async_main
Sep 28 23:34:38 fhem fhempy[15398]:     async with websockets.serve(
Sep 28 23:34:38 fhem fhempy[15398]:   File "/home/pi/.local/lib/python3.9/site-packages/websockets/legacy/server.py", line 1070, in __aenter__
Sep 28 23:34:38 fhem fhempy[15398]:     return await self
Sep 28 23:34:38 fhem fhempy[15398]:   File "/home/pi/.local/lib/python3.9/site-packages/websockets/legacy/server.py", line 1088, in __await_impl__
Sep 28 23:34:38 fhem fhempy[15398]:     server = await self._create_server()
Sep 28 23:34:38 fhem fhempy[15398]:   File "/usr/lib/python3.9/asyncio/base_events.py", line 1494, in create_server
Sep 28 23:34:38 fhem fhempy[15398]:     raise OSError(err.errno, 'error while attempting '
Sep 28 23:34:38 fhem fhempy[15398]: OSError: [Errno 98] error while attempting to bind on address ('0.0.0.0', 15733): address already in use
Sep 28 23:34:38 fhem fhempy[15398]: 2022-09-28 23:34:38,720 - ERROR    - asyncio: Task was destroyed but it is pending!
Sep 28 23:34:38 fhem fhempy[15398]: source_traceback: Object created at (most recent call last):
Sep 28 23:34:38 fhem fhempy[15398]:   File "/home/pi/.local/lib/python3.9/site-packages/zeroconf/asyncio.py", line 187, in async_register_service
Sep 28 23:34:38 fhem fhempy[15398]:     return await self.zeroconf.async_register_service(
Sep 28 23:34:38 fhem fhempy[15398]:   File "/home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py", line 589, in async_register_service
Sep 28 23:34:38 fhem fhempy[15398]:     return asyncio.ensure_future(self._async_broadcast_service(info, _REGISTER_TIME, None))
Sep 28 23:34:38 fhem fhempy[15398]: task: <Task pending name='Task-8' coro=<Zeroconf._async_broadcast_service() running at /home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py:617> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0xb56018b0>()] created at /usr/lib/python3.9/asyncio/base_events.py:424> created at /home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py:589>
Sep 28 23:34:38 fhem systemd[1]: fhempy.service: Main process exited, code=exited, status=1/FAILURE
Sep 28 23:34:38 fhem systemd[1]: fhempy.service: Failed with result 'exit-code'.
Sep 28 23:34:38 fhem systemd[1]: fhempy.service: Consumed 1.250s CPU time.
Sep 28 23:34:38 fhem systemd[1]: fhempy.service: Scheduled restart job, restart counter is at 6.
Sep 28 23:34:38 fhem systemd[1]: Stopped FHEM PythonBinding.
Sep 28 23:34:38 fhem systemd[1]: fhempy.service: Consumed 1.250s CPU time.
Sep 28 23:34:38 fhem systemd[1]: Started FHEM PythonBinding.
Sep 28 23:34:40 fhem fhempy[15403]: 2022-09-28 23:34:40,166 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.486...
Sep 28 23:34:40 fhem fhempy[15403]: 2022-09-28 23:34:40,170 - INFO     - fhempy.lib.fhem_pythonbinding: Advertise fhempy on local network with 192.168.1.147:15733
Sep 28 23:34:40 fhem fhempy[15403]: 2022-09-28 23:34:40,546 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
Sep 28 23:34:40 fhem fhempy[15403]: Traceback (most recent call last):
Sep 28 23:34:40 fhem fhempy[15403]:   File "/home/pi/.local/bin/fhempy", line 155, in <module>
Sep 28 23:34:40 fhem fhempy[15403]:     fpb.run()
Sep 28 23:34:40 fhem fhempy[15403]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 708, in run
Sep 28 23:34:40 fhem fhempy[15403]:     loop.run_until_complete(async_main())
Sep 28 23:34:40 fhem fhempy[15403]:   File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
Sep 28 23:34:40 fhem fhempy[15403]:     return future.result()
Sep 28 23:34:40 fhem fhempy[15403]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 617, in async_main
Sep 28 23:34:40 fhem fhempy[15403]:     async with websockets.serve(
Sep 28 23:34:40 fhem fhempy[15403]:   File "/home/pi/.local/lib/python3.9/site-packages/websockets/legacy/server.py", line 1070, in __aenter__
Sep 28 23:34:40 fhem fhempy[15403]:     return await self
Sep 28 23:34:40 fhem fhempy[15403]:   File "/home/pi/.local/lib/python3.9/site-packages/websockets/legacy/server.py", line 1088, in __await_impl__
Sep 28 23:34:40 fhem fhempy[15403]:     server = await self._create_server()
Sep 28 23:34:40 fhem fhempy[15403]:   File "/usr/lib/python3.9/asyncio/base_events.py", line 1494, in create_server
Sep 28 23:34:40 fhem fhempy[15403]:     raise OSError(err.errno, 'error while attempting '
Sep 28 23:34:40 fhem fhempy[15403]: OSError: [Errno 98] error while attempting to bind on address ('0.0.0.0', 15733): address already in use
Sep 28 23:34:40 fhem fhempy[15403]: 2022-09-28 23:34:40,623 - ERROR    - asyncio: Task was destroyed but it is pending!
Sep 28 23:34:40 fhem fhempy[15403]: source_traceback: Object created at (most recent call last):
Sep 28 23:34:40 fhem fhempy[15403]:   File "/home/pi/.local/lib/python3.9/site-packages/zeroconf/asyncio.py", line 187, in async_register_service
Sep 28 23:34:40 fhem fhempy[15403]:     return await self.zeroconf.async_register_service(
Sep 28 23:34:40 fhem fhempy[15403]:   File "/home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py", line 589, in async_register_service
Sep 28 23:34:40 fhem fhempy[15403]:     return asyncio.ensure_future(self._async_broadcast_service(info, _REGISTER_TIME, None))
Sep 28 23:34:40 fhem fhempy[15403]: task: <Task pending name='Task-8' coro=<Zeroconf._async_broadcast_service() running at /home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py:617> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0xb55b1760>()] created at /usr/lib/python3.9/asyncio/base_events.py:424> created at /home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py:589>
Sep 28 23:34:40 fhem systemd[1]: fhempy.service: Main process exited, code=exited, status=1/FAILURE
Sep 28 23:34:40 fhem systemd[1]: fhempy.service: Failed with result 'exit-code'.
Sep 28 23:34:40 fhem systemd[1]: fhempy.service: Consumed 1.384s CPU time.
Sep 28 23:34:40 fhem systemd[1]: fhempy.service: Scheduled restart job, restart counter is at 7.
Sep 28 23:34:40 fhem systemd[1]: Stopped FHEM PythonBinding.
Sep 28 23:34:40 fhem systemd[1]: fhempy.service: Consumed 1.384s CPU time.
Sep 28 23:34:40 fhem systemd[1]: Started FHEM PythonBinding.
Sep 28 23:34:42 fhem fhempy[15408]: 2022-09-28 23:34:42,028 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.486...
Sep 28 23:34:42 fhem fhempy[15408]: 2022-09-28 23:34:42,034 - INFO     - fhempy.lib.fhem_pythonbinding: Advertise fhempy on local network with 192.168.1.147:15733
Sep 28 23:34:42 fhem fhempy[15408]: 2022-09-28 23:34:42,415 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
Sep 28 23:34:42 fhem fhempy[15408]: Traceback (most recent call last):
Sep 28 23:34:42 fhem fhempy[15408]:   File "/home/pi/.local/bin/fhempy", line 155, in <module>
Sep 28 23:34:42 fhem fhempy[15408]:     fpb.run()
Sep 28 23:34:42 fhem fhempy[15408]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 708, in run
Sep 28 23:34:42 fhem fhempy[15408]:     loop.run_until_complete(async_main())
Sep 28 23:34:42 fhem fhempy[15408]:   File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
Sep 28 23:34:42 fhem fhempy[15408]:     return future.result()
Sep 28 23:34:42 fhem fhempy[15408]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 617, in async_main
Sep 28 23:34:42 fhem fhempy[15408]:     async with websockets.serve(
Sep 28 23:34:42 fhem fhempy[15408]:   File "/home/pi/.local/lib/python3.9/site-packages/websockets/legacy/server.py", line 1070, in __aenter__
Sep 28 23:34:42 fhem fhempy[15408]:     return await self
Sep 28 23:34:42 fhem fhempy[15408]:   File "/home/pi/.local/lib/python3.9/site-packages/websockets/legacy/server.py", line 1088, in __await_impl__
Sep 28 23:34:42 fhem fhempy[15408]:     server = await self._create_server()
Sep 28 23:34:42 fhem fhempy[15408]:   File "/usr/lib/python3.9/asyncio/base_events.py", line 1494, in create_server
Sep 28 23:34:42 fhem fhempy[15408]:     raise OSError(err.errno, 'error while attempting '
Sep 28 23:34:42 fhem fhempy[15408]: OSError: [Errno 98] error while attempting to bind on address ('0.0.0.0', 15733): address already in use
Sep 28 23:34:42 fhem fhempy[15408]: 2022-09-28 23:34:42,512 - ERROR    - asyncio: Task was destroyed but it is pending!
Sep 28 23:34:42 fhem fhempy[15408]: source_traceback: Object created at (most recent call last):
Sep 28 23:34:42 fhem fhempy[15408]:   File "/home/pi/.local/lib/python3.9/site-packages/zeroconf/asyncio.py", line 187, in async_register_service
Sep 28 23:34:42 fhem fhempy[15408]:     return await self.zeroconf.async_register_service(
Sep 28 23:34:42 fhem fhempy[15408]:   File "/home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py", line 589, in async_register_service
Sep 28 23:34:42 fhem fhempy[15408]:     return asyncio.ensure_future(self._async_broadcast_service(info, _REGISTER_TIME, None))
Sep 28 23:34:42 fhem fhempy[15408]: task: <Task pending name='Task-8' coro=<Zeroconf._async_broadcast_service() running at /home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py:617> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0xb55d85f8>()] created at /usr/lib/python3.9/asyncio/base_events.py:424> created at /home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py:589>
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Main process exited, code=exited, status=1/FAILURE
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Failed with result 'exit-code'.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Consumed 1.309s CPU time.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Scheduled restart job, restart counter is at 8.
Sep 28 23:34:42 fhem systemd[1]: Stopped FHEM PythonBinding.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Consumed 1.309s CPU time.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Start request repeated too quickly.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Failed with result 'exit-code'.
Sep 28 23:34:42 fhem systemd[1]: Failed to start FHEM PythonBinding.
^C
pi@fhem:/opt/fhem/log $ sudo journalctl -u fhempy.service -f
-- Journal begins at Sat 2022-09-24 06:40:46 CEST. --
Sep 28 23:34:42 fhem fhempy[15408]: task: <Task pending name='Task-8' coro=<Zeroconf._async_broadcast_service() running at /home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py:617> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0xb55d85f8>()] created at /usr/lib/python3.9/asyncio/base_events.py:424> created at /home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py:589>
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Main process exited, code=exited, status=1/FAILURE
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Failed with result 'exit-code'.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Consumed 1.309s CPU time.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Scheduled restart job, restart counter is at 8.
Sep 28 23:34:42 fhem systemd[1]: Stopped FHEM PythonBinding.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Consumed 1.309s CPU time.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Start request repeated too quickly.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Failed with result 'exit-code'.
Sep 28 23:34:42 fhem systemd[1]: Failed to start FHEM PythonBinding.
^C
pi@fhem:/opt/fhem/log $ sudo journalctl -u fhempy.service -f
-- Journal begins at Sat 2022-09-24 06:40:46 CEST. --
Sep 28 23:34:42 fhem fhempy[15408]: task: <Task pending name='Task-8' coro=<Zeroconf._async_broadcast_service() running at /home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py:617> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0xb55d85f8>()] created at /usr/lib/python3.9/asyncio/base_events.py:424> created at /home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py:589>
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Main process exited, code=exited, status=1/FAILURE
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Failed with result 'exit-code'.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Consumed 1.309s CPU time.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Scheduled restart job, restart counter is at 8.
Sep 28 23:34:42 fhem systemd[1]: Stopped FHEM PythonBinding.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Consumed 1.309s CPU time.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Start request repeated too quickly.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Failed with result 'exit-code'.
Sep 28 23:34:42 fhem systemd[1]: Failed to start FHEM PythonBinding.
^C
pi@fhem:/opt/fhem/log $ sudo journalctl -u fhempy.service -f
-- Journal begins at Sat 2022-09-24 06:40:46 CEST. --
Sep 28 23:34:42 fhem fhempy[15408]: task: <Task pending name='Task-8' coro=<Zeroconf._async_broadcast_service() running at /home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py:617> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0xb55d85f8>()] created at /usr/lib/python3.9/asyncio/base_events.py:424> created at /home/pi/.local/lib/python3.9/site-packages/zeroconf/_core.py:589>
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Main process exited, code=exited, status=1/FAILURE
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Failed with result 'exit-code'.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Consumed 1.309s CPU time.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Scheduled restart job, restart counter is at 8.
Sep 28 23:34:42 fhem systemd[1]: Stopped FHEM PythonBinding.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Consumed 1.309s CPU time.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Start request repeated too quickly.
Sep 28 23:34:42 fhem systemd[1]: fhempy.service: Failed with result 'exit-code'.
Sep 28 23:34:42 fhem systemd[1]: Failed to start FHEM PythonBinding.
-- Journal begins at Sat 2022-09-24 06:40:46 CEST. --
Sep 28 23:06:19 fhem fhempy[11919]:     status = await self._connected_device.status()
Sep 28 23:06:19 fhem fhempy[11919]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/tuya/pytuya/__init__.py", line 484, in status
Sep 28 23:06:19 fhem fhempy[11919]:     status = await self.exchange(STATUS)
Sep 28 23:06:19 fhem fhempy[11919]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/tuya/pytuya/__init__.py", line 463, in exchange
Sep 28 23:06:19 fhem fhempy[11919]:     msg = await self.dispatcher.wait_for(seqno)
Sep 28 23:06:19 fhem fhempy[11919]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/tuya/pytuya/__init__.py", line 250, in wait_for
Sep 28 23:06:19 fhem fhempy[11919]:     await asyncio.wait_for(self.listeners[seqno].acquire(), timeout=timeout)
Sep 28 23:06:19 fhem fhempy[11919]:   File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
Sep 28 23:06:19 fhem fhempy[11919]:     raise exceptions.TimeoutError() from exc
Sep 28 23:06:19 fhem fhempy[11919]: asyncio.exceptions.TimeoutError
Sep 28 23:34:02 fhem fhempy[11919]: 2022-09-28 23:34:02,393 - INFO     - fhempy.lib.fhem_pythonbinding: Start update...
Sep 28 23:34:02 fhem fhempy[11919]: 2022-09-28 23:34:02,395 - INFO     - fhempy.lib.pkg_installer: Attempting install of fhempy
Sep 28 23:34:12 fhem fhempy[11919]: 2022-09-28 23:34:12,614 - INFO     - fhempy.lib.pkg_installer: Successfully installed fhempy update!
Sep 28 23:34:12 fhem fhempy[11919]: 2022-09-28 23:34:12,777 - INFO     - fhempy.lib.fhem_pythonbinding: Restart initiated...
Sep 28 23:34:12 fhem fhempy[11919]: 2022-09-28 23:34:12,865 - INFO     - fhempy.lib.fhem_pythonbinding: All modules successfully undefined!
Sep 28 23:34:12 fhem fhempy[11919]: 2022-09-28 23:34:12,867 - INFO     - websockets.server: server closing
Sep 28 23:34:22 fhem fhempy[11919]: 2022-09-28 23:34:22,906 - INFO     - websockets.server: connection closed
Sep 28 23:34:32 fhem fhempy[11919]: 2022-09-28 23:34:32,906 - INFO     - websockets.server: connection closed
Sep 28 23:34:32 fhem fhempy[11919]: 2022-09-28 23:34:32,909 - INFO     - websockets.server: connection closed
Sep 28 23:34:32 fhem fhempy[11919]: 2022-09-28 23:34:32,910 - INFO     - websockets.server: server closed
Sep 28 23:34:32 fhem fhempy[11919]: 2022-09-28 23:34:32,914 - INFO     - fhempy.lib.fhem_pythonbinding: Exit 1
Sep 28 23:34:32 fhem systemd[1]: fhempy.service: Main process exited, code=exited, status=1/FAILURE
Sep 28 23:34:32 fhem systemd[1]: fhempy.service: Failed with result 'exit-code'.
Sep 28 23:34:32 fhem systemd[1]: fhempy.service: Consumed 9min 22.171s CPU time.
Sep 28 23:34:33 fhem systemd[1]: fhempy.service: Scheduled restart job, restart counter is at 3.
Sep 28 23:34:33 fhem systemd[1]: Stopped FHEM PythonBinding.
Sep 28 23:34:33 fhem systemd[1]: fhempy.service: Consumed 9min 22.171s CPU time.
Sep 28 23:34:33 fhem systemd[1]: Started FHEM PythonBinding.
Sep 28 23:34:34 fhem fhempy[15328]: 2022-09-28 23:34:34,392 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.486...
Sep 28 23:34:34 fhem fhempy[15328]: 2022-09-28 23:34:34,399 - INFO     - fhempy.lib.fhem_pythonbinding: Advertise fhempy on local network with 192.168.1.147:15733
Sep 28 23:34:34 fhem fhempy[15328]: 2022-09-28 23:34:34,779 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
Sep 28 23:34:34 fhem fhempy[15328]: Traceback (most recent call last):
Sep 28 23:34:34 fhem fhempy[15328]:   File "/home/pi/.local/bin/fhempy", line 155, in <module>
Sep 28 23:34:34 fhem fhempy[15328]:     fpb.run()
Sep 28 23:34:34 fhem fhempy[15328]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/fhem_pythonbinding.py", line 708, in run
Sep 28 23:34:34 fhem fhempy[15328]:     loop.run_until_complete(async_main())
Sep 28 23:34:34 fhem fhempy[15328]:   File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
Sep 28 23:34:34 fhem fhempy[15328]:     return future.result()
Sep 28 23:34:34 fhem fhempy[15328]:   File "/home/pi/.local/lib/python3.9/site-


kannst du damit was anfagen???

dominik

Nur um sicher zu gehen, das ist von einem Peer und nicht von dem Device wo auch FHEM drauf läuft? Weil teilweise ist im Log ersichtlich, dass ein anderes fhempy schon läuft.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

ChrisA4

#212
fhem läuft auf  einem raspi wo auch der fhempy sever läuft
komischerweise hab ich in fhem auch ,schon länger,

fhempy_peer_127_0_1_1          0,1,483
fhempy_peer_192_168_1_147  0,1,486
und
pyBinding
de aber immer auf update finish steht

wenn ich die oberen zwei lösche kommen sie nach einigerzeit wieder da hab ich es löschen aufgegeben

ChrisA4

Hab jetzt noch einen neustart aller komponenten durchgeführt

fhempy journal:
-- Journal begins at Sat 2022-09-24 06:40:46 CEST. --
Sep 29 00:11:40 fhem fhempy[477]:     status = await self.exchange(STATUS)
Sep 29 00:11:40 fhem fhempy[477]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/tuya/pytuya/__init__.py", line 463, in exchange
Sep 29 00:11:40 fhem fhempy[477]:     msg = await self.dispatcher.wait_for(seqno)
Sep 29 00:11:40 fhem fhempy[477]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/tuya/pytuya/__init__.py", line 250, in wait_for
Sep 29 00:11:40 fhem fhempy[477]:     await asyncio.wait_for(self.listeners[seqno].acquire(), timeout=timeout)
Sep 29 00:11:40 fhem fhempy[477]:   File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
Sep 29 00:11:40 fhem fhempy[477]:     raise exceptions.TimeoutError() from exc
Sep 29 00:11:40 fhem fhempy[477]: asyncio.exceptions.TimeoutError
Sep 29 00:12:21 fhem fhempy[477]: 2022-09-29 00:12:21,770 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: foreach my $fhem_dev (sort keys %main::defs) {  return 1 if(defined($main::defs{$fhem_dev}{TYPE}) && $main::defs{$fhem_dev}{TYPE} eq 'BindingsIo' && $main::defs{$fhem_dev}{IP} eq '127.0.1.1');;}return 0;;
Sep 29 00:14:39 fhem fhempy[477]: 2022-09-29 00:14:39,024 - ERROR    - fhempy.lib.fhem: FHEM took 20222ms for readingsSingleUpdate($defs{'NousA1WiFiBT6'},'online','0',1)



in der app lassen sich aber steuern
hoffe es hilft weiter

Sommerfeld

Zitat@Sommerfeld, ok, das bedeutet nur 2 Devices funktionieren nicht? Die restlichen funktionieren, aber der Status ist nicht korrekt. Kannst du mir bitte noch posten welchen Commands die Devices haben? Also nicht die webCmds die du angelegt hast, sondern was das Device für Commands bietet.
Es sind 3 Devices
Vorhangschalter
[{'code': 'control', 'dp_id': 1, 'type': 'Enum', 'values': '{"range":["open","stop","close"]}', 'desc': 'control'}, {'code': 'percent_control', 'dp_id': 2, 'type': 'Integer', 'values': '{"unit":"%","min":0,"max":100,"scale":0,"step":1}', 'desc': 'percent control'}, {'code': 'control_back_mode', 'dp_id': 5, 'type': 'Enum', 'values': '{"range":["forward","back"]}', 'desc': 'control back mode'}, {'code': 'border', 'dp_id': 16, 'type': 'Enum', 'values': '{"range":["up","down","up_delete","down_delete","remove_top_bottom"]}', 'desc': 'border'}, {'code': 'position_best', 'dp_id': 19, 'type': 'Integer', 'values': '{"unit":"%","min":0,"max":100,"scale":0,"step":1}', 'desc': 'position best'}]
Steckdose
[{'code': 'switch_1', 'dp_id': 1, 'type': 'Boolean', 'values': '{}', 'desc': 'switch 1'}, {'code': 'countdown_1', 'dp_id': 9, 'type': 'Integer', 'values': '{"unit":"s","min":0,"max":86400,"scale":0,"step":1}', 'desc': 'countdown 1'}, {'code': 'relay_status', 'dp_id': 38, 'type': 'Enum', 'values': '{"range":["power_off","power_on","last"]}', 'desc': 'relay status'}, {'code': 'light_mode', 'dp_id': 40, 'type': 'Enum', 'values': '{"range":["relay","pos","none"]}', 'desc': 'light mode'}, {'code': 'child_lock', 'dp_id': 41, 'type': 'Boolean', 'values': '{}', 'desc': 'child lock'}, {'code': 'cycle_time', 'dp_id': 42, 'type': 'String', 'values': '{}', 'desc': 'cycle time'}, {'code': 'random_time', 'dp_id': 43, 'type': 'String', 'values': '{}', 'desc': 'random time'}]
Schalter
[{'code': 'switch_1', 'dp_id': 1, 'type': 'Boolean', 'values': '{}', 'desc': 'switch 1'}, {'code': 'countdown_1', 'dp_id': 7, 'type': 'Integer', 'values': '{"unit":"s","min":0,"max":86400,"scale":0,"step":1}', 'desc': 'countdown 1'}, {'code': 'relay_status', 'dp_id': 14, 'type': 'Enum', 'values': '{"range":["power_off","power_on","last"]}', 'desc': 'relay status'}, {'code': 'light_mode', 'dp_id': 15, 'type': 'Enum', 'values': '{"range":["relay","pos","none"]}', 'desc': 'light mode'}, {'code': 'switch_backlight', 'dp_id': 16, 'type': 'Boolean', 'values': '{}', 'desc': 'switch backlight'}, {'code': 'cycle_time', 'dp_id': 17, 'type': 'String', 'values': '{}', 'desc': 'cycle time'}, {'code': 'random_time', 'dp_id': 18, 'type': 'String', 'values': '{}', 'desc': 'random time'}]
Ich hoffe, dass sind die Commands, die du meinst.

ChrisA4

Meine Mobile Klima hat auch keine befehlsausführung mehr

Command not available for this device.

von einem DOIF das den ganzen Sommer funktionierte

dominik

Zitat von: ChrisA4 am 29 September 2022, 00:00:18
fhem läuft auf  einem raspi wo auch der fhempy sever läuft
komischerweise hab ich in fhem auch ,schon länger,

fhempy_peer_127_0_1_1          0,1,483
fhempy_peer_192_168_1_147  0,1,486
und
pyBinding
de aber immer auf update finish steht

wenn ich die oberen zwei lösche kommen sie nach einigerzeit wieder da hab ich es löschen aufgegeben

Genau das ist das Problem. Du hast wahrscheinlich einen Service fhempy installiert.
sudo systemctl stop fhempy
sudo systemctl disable fhempy
Danach die beiden Peers löschen. Starte danach den RPi neu um zu prüfen, dass die Devices weg sind.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

dominik

Zitat von: ChrisA4 am 29 September 2022, 00:41:15
Hab jetzt noch einen neustart aller komponenten durchgeführt

fhempy journal:
-- Journal begins at Sat 2022-09-24 06:40:46 CEST. --
Sep 29 00:11:40 fhem fhempy[477]:     status = await self.exchange(STATUS)
Sep 29 00:11:40 fhem fhempy[477]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/tuya/pytuya/__init__.py", line 463, in exchange
Sep 29 00:11:40 fhem fhempy[477]:     msg = await self.dispatcher.wait_for(seqno)
Sep 29 00:11:40 fhem fhempy[477]:   File "/home/pi/.local/lib/python3.9/site-packages/fhempy/lib/tuya/pytuya/__init__.py", line 250, in wait_for
Sep 29 00:11:40 fhem fhempy[477]:     await asyncio.wait_for(self.listeners[seqno].acquire(), timeout=timeout)
Sep 29 00:11:40 fhem fhempy[477]:   File "/usr/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
Sep 29 00:11:40 fhem fhempy[477]:     raise exceptions.TimeoutError() from exc
Sep 29 00:11:40 fhem fhempy[477]: asyncio.exceptions.TimeoutError
Sep 29 00:12:21 fhem fhempy[477]: 2022-09-29 00:12:21,770 - ERROR    - fhempy.lib.fhem: NO RESPONSE since 60s: foreach my $fhem_dev (sort keys %main::defs) {  return 1 if(defined($main::defs{$fhem_dev}{TYPE}) && $main::defs{$fhem_dev}{TYPE} eq 'BindingsIo' && $main::defs{$fhem_dev}{IP} eq '127.0.1.1');;}return 0;;
Sep 29 00:14:39 fhem fhempy[477]: 2022-09-29 00:14:39,024 - ERROR    - fhempy.lib.fhem: FHEM took 20222ms for readingsSingleUpdate($defs{'NousA1WiFiBT6'},'online','0',1)



in der app lassen sich aber steuern
hoffe es hilft weiter
Was steht bei der App bei der Version der Devices?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

dominik

Zitat von: Sommerfeld am 29 September 2022, 04:45:49
Es sind 3 Devices
Vorhangschalter
[{'code': 'control', 'dp_id': 1, 'type': 'Enum', 'values': '{"range":["open","stop","close"]}', 'desc': 'control'}, {'code': 'percent_control', 'dp_id': 2, 'type': 'Integer', 'values': '{"unit":"%","min":0,"max":100,"scale":0,"step":1}', 'desc': 'percent control'}, {'code': 'control_back_mode', 'dp_id': 5, 'type': 'Enum', 'values': '{"range":["forward","back"]}', 'desc': 'control back mode'}, {'code': 'border', 'dp_id': 16, 'type': 'Enum', 'values': '{"range":["up","down","up_delete","down_delete","remove_top_bottom"]}', 'desc': 'border'}, {'code': 'position_best', 'dp_id': 19, 'type': 'Integer', 'values': '{"unit":"%","min":0,"max":100,"scale":0,"step":1}', 'desc': 'position best'}]
Steckdose
[{'code': 'switch_1', 'dp_id': 1, 'type': 'Boolean', 'values': '{}', 'desc': 'switch 1'}, {'code': 'countdown_1', 'dp_id': 9, 'type': 'Integer', 'values': '{"unit":"s","min":0,"max":86400,"scale":0,"step":1}', 'desc': 'countdown 1'}, {'code': 'relay_status', 'dp_id': 38, 'type': 'Enum', 'values': '{"range":["power_off","power_on","last"]}', 'desc': 'relay status'}, {'code': 'light_mode', 'dp_id': 40, 'type': 'Enum', 'values': '{"range":["relay","pos","none"]}', 'desc': 'light mode'}, {'code': 'child_lock', 'dp_id': 41, 'type': 'Boolean', 'values': '{}', 'desc': 'child lock'}, {'code': 'cycle_time', 'dp_id': 42, 'type': 'String', 'values': '{}', 'desc': 'cycle time'}, {'code': 'random_time', 'dp_id': 43, 'type': 'String', 'values': '{}', 'desc': 'random time'}]
Schalter
[{'code': 'switch_1', 'dp_id': 1, 'type': 'Boolean', 'values': '{}', 'desc': 'switch 1'}, {'code': 'countdown_1', 'dp_id': 7, 'type': 'Integer', 'values': '{"unit":"s","min":0,"max":86400,"scale":0,"step":1}', 'desc': 'countdown 1'}, {'code': 'relay_status', 'dp_id': 14, 'type': 'Enum', 'values': '{"range":["power_off","power_on","last"]}', 'desc': 'relay status'}, {'code': 'light_mode', 'dp_id': 15, 'type': 'Enum', 'values': '{"range":["relay","pos","none"]}', 'desc': 'light mode'}, {'code': 'switch_backlight', 'dp_id': 16, 'type': 'Boolean', 'values': '{}', 'desc': 'switch backlight'}, {'code': 'cycle_time', 'dp_id': 17, 'type': 'String', 'values': '{}', 'desc': 'cycle time'}, {'code': 'random_time', 'dp_id': 18, 'type': 'String', 'values': '{}', 'desc': 'random time'}]
Ich hoffe, dass sind die Commands, die du meinst.
Nein, bitte die Commands die Fhem ausführen kann: on, off, ...
Poste bitte auch ein list vom Device.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

ChrisA4

ZitatWas steht bei der App bei der Version der Devices?

Hauptmodul V1.1.12
Anderer Typ V1.0.0

ChrisA4

Zitat von: dominik am 29 September 2022, 08:02:58
Genau das ist das Problem. Du hast wahrscheinlich einen Service fhempy installiert.
sudo systemctl stop fhempy
sudo systemctl disable fhempy
Danach die beiden Peers löschen. Starte danach den RPi neu um zu prüfen, dass die Devices weg sind.
Durchgeführt jetzt kommt nur mehr pybinding

Aber die nous und klima gehn nicht

Sommerfeld

ZitatPoste bitte auch ein list vom Device
Beispiel Steckdose
Internals:
   .AttrList  tuya_spec_functions tuya_spec_status IODev:local_pybinding event-aggregator event-min-interval event-on-change-reading event-on-update-reading oldreadings stateFormat:textField-long timestamp-on-change-reading
   .FhemMetaInternals 1
   .eventMapCmd An:noArg Aus:noArg
   .triggerUsed 0
   DEF        tuya 0hrfawjkhswcd1aa bff302126d4d3f91e76q5y 192.168.178.80 486d7840b3427127 3.3 1234.... 1234.....
   FHEMPYTYPE tuya
   FUUID      62b015ea-f33f-3b5c-8275-fd7786b26f79a831
   FVERSION   10_fhempy.pm:0.182830/2019-01-16
   IODev      local_pybinding
   NAME       Ladestation_Saugroboter_EG_bff302126d4d3f91e76q5y
   NR         1216
   PYTHONTYPE tuya
   STATE      Initializing...
   TYPE       fhempy
   .attreocr:
     .*
   .attrminint:
   READINGS:
     2022-06-20 08:38:37   active_time     1655670361
     2022-08-30 07:58:34   add_ele         0.001
     2022-06-20 08:38:37   biz_type        0
     2022-06-20 08:38:37   category        cz
     2022-06-20 08:38:38   child_lock      off
     2022-06-20 08:38:38   countdown_1     0.0
     2022-06-20 08:38:37   create_time     1655670361
     2022-09-24 14:26:54   cur_current     0.0
     2022-09-24 14:26:54   cur_power       0.0
     2022-09-24 22:27:22   cur_voltage     236.2
     2022-06-20 08:38:38   dp_21           1
     2022-06-20 08:38:38   dp_22           638
     2022-06-20 08:38:38   dp_23           30636
     2022-06-20 08:38:38   dp_24           17640
     2022-06-20 08:38:38   dp_25           2360
     2022-06-20 08:38:38   dp_26           0
     2022-06-20 08:38:38   dp_39           0
     2022-06-20 08:38:37   icon            smart/icon/ay1514166115504M4mB5/4c2b98c1ca7abc59d1d7068d36247bef.png
     2022-06-20 08:38:37   id              bff302126d4d3f91e76q5y
     2022-06-20 08:38:37   ip              93.201.77.223
     2022-06-20 08:38:37   lat             52.8048
     2022-06-20 08:38:38   light_mode      relay
     2022-06-20 08:38:37   local_key       486d7840b3427127
     2022-06-20 08:38:37   lon             13.0448
     2022-06-20 08:38:37   model           WGH-JLCZ03
     2022-06-20 08:38:37   name            Ladestation_Saugroboter_EG
     2022-09-25 07:56:06   online          0
     2022-06-20 08:38:37   owner_id        15487476
     2022-06-20 08:38:37   product_id      0hrfawjkhswcd1aa
     2022-06-20 08:38:37   product_name    Smart  Plug
     2022-06-20 08:38:38   relay_status    on
     2022-09-29 08:29:48   state           Initializing...
     2022-06-20 08:38:37   sub             0
     2022-06-20 08:38:37   time_zone       +02:00
     2022-06-20 08:38:37   uid             eu1598817427882BAzmt
     2022-06-20 08:38:37   update_time     1655670475
     2022-06-20 08:38:37   uuid            0c04349e4dff76a1
   args:
     Ladestation_Saugroboter_EG_bff302126d4d3f91e76q5y
     fhempy
     tuya
     0hrfawjkhswcd1aa
     bff302126d4d3f91e76q5y
     192.168.178.80
     486d7840b3427127
     3.3
     fq83awrvav6glwxl28ed
     59327720c0834b8d8d4bc010f9b9a072
   argsh:
   helper:
     bm:
       fhempy_Get:
         cnt        7
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        29.09. 08:44:39
         max        0.00679707527160645
         tot        0.034498929977417
         mAr:
           HASH(0x55b412f84cb8)
           ARRAY(0x55b416a6ab08)
           HASH(0x55b416e978d0)
       fhempy_Set:
         cnt        37
         dmx        -1000
         dtot       0
         dtotcnt    0
         mTS        29.09. 08:35:57
         max        0.00998902320861816
         tot        0.23701286315918
         mAr:
           HASH(0x55b412f84cb8)
           ARRAY(0x55b416bd7ca0)
           HASH(0x55b417288ef8)
   hmccu:
Attributes:
   alias      Ladestation_Saugroboter_EG
   cmdIcon    on:rc_GREEN off:rc_RED
   devStateIcon An:black_Steckdose.on Aus:black_Steckdose.off
   dp_01      switch_1
   dp_09      countdown_1
   dp_17      add_ele
   dp_18      cur_current
   dp_19      cur_power
   dp_20      cur_voltage
   dp_38      relay_status
   dp_40      light_mode
   dp_41      child_lock
   dp_42      cycle_time
   dp_43      random_time
   event-on-change-reading .*
   eventMap   on:An off:Aus
   group      tuya
   icon       ge_wht_steckdose
   room       02_0_EG->02_1_EG_Flur,Tuya
   tuya_spec_functions [{'code': 'switch_1', 'dp_id': 1, 'type': 'Boolean', 'values': '{}', 'desc': 'switch 1'}, {'code': 'countdown_1', 'dp_id': 9, 'type': 'Integer', 'values': '{"unit":"s","min":0,"max":86400,"scale":0,"step":1}', 'desc': 'countdown 1'}, {'code': 'relay_status', 'dp_id': 38, 'type': 'Enum', 'values': '{"range":["power_off","power_on","last"]}', 'desc': 'relay status'}, {'code': 'light_mode', 'dp_id': 40, 'type': 'Enum', 'values': '{"range":["relay","pos","none"]}', 'desc': 'light mode'}, {'code': 'child_lock', 'dp_id': 41, 'type': 'Boolean', 'values': '{}', 'desc': 'child lock'}, {'code': 'cycle_time', 'dp_id': 42, 'type': 'String', 'values': '{}', 'desc': 'cycle time'}, {'code': 'random_time', 'dp_id': 43, 'type': 'String', 'values': '{}', 'desc': 'random time'}]
   tuya_spec_status [{'code': 'switch_1', 'dp_id': 1, 'type': 'Boolean', 'values': '{}'}, {'code': 'countdown_1', 'dp_id': 9, 'type': 'Integer', 'values': '{"unit":"s","min":0,"max":86400,"scale":0,"step":1}'}, {'code': 'add_ele', 'dp_id': 17, 'type': 'Integer', 'values': '{"min":0,"max":50000,"scale":3,"step":100}'}, {'code': 'cur_current', 'dp_id': 18, 'type': 'Integer', 'values': '{"unit":"mA","min":0,"max":30000,"scale":0,"step":1}'}, {'code': 'cur_power', 'dp_id': 19, 'type': 'Integer', 'values': '{"unit":"W","min":0,"max":80000,"scale":1,"step":1}'}, {'code': 'cur_voltage', 'dp_id': 20, 'type': 'Integer', 'values': '{"unit":"V","min":0,"max":5000,"scale":1,"step":1}'}, {'code': 'relay_status', 'dp_id': 38, 'type': 'Enum', 'values': '{"range":["power_off","power_on","last"]}'}, {'code': 'light_mode', 'dp_id': 40, 'type': 'Enum', 'values': '{"range":["relay","pos","none"]}'}, {'code': 'child_lock', 'dp_id': 41, 'type': 'Boolean', 'values': '{}'}, {'code': 'cycle_time', 'dp_id': 42, 'type': 'String', 'values': '{}'}, {'code': 'random_time', 'dp_id': 43, 'type': 'String', 'values': '{}'}]
   webCmd     on:off
   webCmdLabel Drücken zum Einschalten:Drücken zum Ausschalten

ZitatNein, bitte die Commands die Fhem ausführen kann: on, off, ...
Sind nicht vorhanden

dominik

Ich bin mir ziemlich sicher, dass die Devices auf 3.4 aktualisiert wurden. Diese gehen dann vorerst nicht mehr mit fhempy. Dazu muss ich noch 3.4 implementieren.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Sommerfeld

Hallo Dominik,
dann warte ich mal ab und berichte dann, wenn es wieder funktionieren sollte.
V G

ChrisA4

Schliesse mich Sommerfeld an