- ventus-nexus | [2026-02-16 18:23:33,313] #INFO logo.py:41 - snap7.logo - creating snap7 client
- ventus-nexus | [2026-02-16 18:23:33,313] #INFO logo.py:80 - snap7.logo - connecting to 192.168.6.21:102 tsap_snap7 512 tsap_logo 768
- ventus-nexus | [2026-02-16 18:23:33,313] #DEBUG logo.py:316 - snap7.logo - setting param number 2 to 102
- ventus-nexus | [2026-02-16 18:23:33,422] #DEBUG logo.py:104 - snap7.logo - read, vm_address:VW2
- ventus-nexus | [2026-02-16 18:23:33,423] #INFO logo.py:121 - snap7.logo - Word address: VW2
- ventus-nexus | [2026-02-16 18:23:33,423] #DEBUG logo.py:136 - snap7.logo - start:2, wordlen:Word=4, data-length:1
- ventus-nexus | [2026-02-16 18:23:33,424] #INFO plc_client.py:213 - plc.plc_client - LOGO! Read OK (IP: 192.168.6.21, Address: VW2, Value: 5000)
- ventus-nexus | [2026-02-16 18:23:33,424] #INFO logo.py:61 - snap7.logo - disconnecting snap7 client
- ventus-nexus | [2026-02-16 18:23:33,424] #INFO logo.py:52 - snap7.logo - destroying snap7 client
- ventus-nexus | [2026-02-16 18:23:33,424] #INFO logo.py:52 - snap7.logo - destroying snap7 client
- ventus-nexus | [2026-02-16 18:23:41,491] #INFO dispatcher.py:172 - aiogram.event - Update id=301481921 is handled. Duration 8180 ms by bot id=7799252029
- ventus-nexus | [2026-02-16 18:23:51,523] #INFO dispatcher.py:172 - aiogram.event - Update id=301481923 is handled. Duration 1035 ms by bot id=7799252029
- ventus-nexus | [2026-02-16 18:23:53,602] #INFO dispatcher.py:172 - aiogram.event - Update id=301481924 is handled. Duration 724 ms by bot id=7799252029
- ventus-nexus | [2026-02-16 18:23:55,185] #INFO dispatcher.py:172 - aiogram.event - Update id=301481925 is not handled. Duration 1 ms by bot id=7799252029
- ventus-nexus | [2026-02-16 18:23:55,185] #ERROR dispatcher.py:315 - aiogram.event - Cause exception while process update id=301481925 by bot id=7799252029
- ventus-nexus | KeyError: 'plc_s7_1'
- ventus-nexus | Traceback (most recent call last):
- ventus-nexus | File "/usr/local/lib/python3.12/site-packages/aiogram/dispatcher/dispatcher.py", line 309, in _process_update
- ventus-nexus | response = await self.feed_update(bot, update, **kwargs)
- ventus-nexus | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ventus-nexus | File "/usr/local/lib/python3.12/site-packages/aiogram/dispatcher/dispatcher.py", line 158, in feed_update
- ventus-nexus | response = await self.update.wrap_outer_middleware(
- ventus-nexus | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ventus-nexus | File "/usr/local/lib/python3.12/site-packages/aiogram/dispatcher/middlewares/error.py", line 25, in __call__
- ventus-nexus | return await handler(event, data)
- ventus-nexus | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- ventus-nexus | File "/usr/local/lib/python3.12/site-packages/aiogram/dispatcher/middlewares/user_context.py", line 49, in __call__
- ventus-nexus | return await handler(event, data)
- ventus-nexus | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- ventus-nexus | File "/usr/local/lib/python3.12/site-packages/aiogram/fsm/middleware.py", line 42, in __call__
- ventus-nexus | return await handler(event, data)
- ventus-nexus | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- ventus-nexus | File "/usr/local/lib/python3.12/site-packages/aiogram/dispatcher/event/telegram.py", line 121, in trigger
- ventus-nexus | return await wrapped_inner(event, kwargs)
- ventus-nexus | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ventus-nexus | File "/usr/local/lib/python3.12/site-packages/aiogram/dispatcher/event/handler.py", line 43, in call
- ventus-nexus | return await wrapped()
- ventus-nexus | ^^^^^^^^^^^^^^^
- ventus-nexus | File "/usr/local/lib/python3.12/site-packages/aiogram/dispatcher/dispatcher.py", line 276, in _listen_update
- ventus-nexus | return await self.propagate_event(update_type=update_type, event=event, **kwargs)
- ventus-nexus | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ventus-nexus | File "/usr/local/lib/python3.12/site-packages/aiogram/dispatcher/router.py", line 142, in propagate_event
- ventus-nexus | return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
- ventus-nexus | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ventus-nexus | File "/usr/local/lib/python3.12/site-packages/aiogram/dispatcher/router.py", line 137, in _wrapped
- ventus-nexus | return await self._propagate_event(
- ventus-nexus | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ventus-nexus | File "/usr/local/lib/python3.12/site-packages/aiogram/dispatcher/router.py", line 170, in _propagate_event
- ventus-nexus | response = await router.propagate_event(update_type=update_type, event=event, **kwargs)
- ventus-nexus | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ventus-nexus | File "/usr/local/lib/python3.12/site-packages/aiogram/dispatcher/router.py", line 142, in propagate_event
- ventus-nexus | return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
- ventus-nexus | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ventus-nexus | File "/usr/local/lib/python3.12/site-packages/aiogram/dispatcher/router.py", line 137, in _wrapped
- ventus-nexus | return await self._propagate_event(
- ventus-nexus | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ventus-nexus | File "/usr/local/lib/python3.12/site-packages/aiogram/dispatcher/router.py", line 162, in _propagate_event
- ventus-nexus | response = await observer.trigger(event, **kwargs)
- ventus-nexus | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ventus-nexus | File "/usr/local/lib/python3.12/site-packages/aiogram/dispatcher/event/telegram.py", line 121, in trigger
- ventus-nexus | return await wrapped_inner(event, kwargs)
- ventus-nexus | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ventus-nexus | File "/app/middleware/activity_timeout.py", line 25, in __call__
- ventus-nexus | return await handler(event, data)
- ventus-nexus | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- ventus-nexus | File "/usr/local/lib/python3.12/site-packages/aiogram/dispatcher/event/handler.py", line 43, in call
- ventus-nexus | return await wrapped()
- ventus-nexus | ^^^^^^^^^^^^^^^
- ventus-nexus | File "/app/handlers/setpoints.py", line 43, in handle_setpoint_select
- ventus-nexus | plc_entry = config.plcs[reg["plc"]]
- ventus-nexus | ~~~~~~~~~~~^^^^^^^^^^^^
- ventus-nexus | KeyError: 'plc_s7_1'
