Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random loss of permission to access USB serial #487

Open
duan-dt opened this issue Aug 14, 2024 · 2 comments
Open

Random loss of permission to access USB serial #487

duan-dt opened this issue Aug 14, 2024 · 2 comments
Labels
bug Something isn't working to be confirmed Reported but not yet confirmed

Comments

@duan-dt
Copy link

duan-dt commented Aug 14, 2024

I randomly experience permission issues with the USB serial device, despite no changes to the host machine.

I have a udec rule to ensure the user has read/write permission but even that does not ensure the connection.

Log file output:

Attempting to load configuration from /etc/pai/pai.conf
2024-08-14 12:20:49,327 - INFO - PAI - Starting Paradox Alarm Interface 3.5.0
2024-08-14 12:20:49,327 - INFO - PAI - Config loaded from /etc/pai/pai.conf
2024-08-14 12:20:49,328 - INFO - PAI - Console Log level set to 20
2024-08-14 12:20:49,483 - INFO - PAI.paradox.interfaces - Starting BasicMQTTInterface Interface
2024-08-14 12:20:49,487 - INFO - PAI.paradox.interfaces.mqtt.core - MQTT loop started
2024-08-14 12:20:49,504 - INFO - PAI.paradox.interfaces - Starting HomeAssistantMQTTInterface Interface
2024-08-14 12:20:50,075 - ERROR - PAI.paradox.interfaces.text.homeassistant_notifications - "SUPERVISOR_TOKEN" environment variable must be set to use HomeAssistantNotificationsTextInterface
2024-08-14 12:20:50,077 - INFO - PAI.paradox.interfaces - Starting HomeAssistantNotificationsTextInterface Interface
2024-08-14 12:20:50,078 - INFO - PAI - Starting...
2024-08-14 12:20:50,079 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:20:50,079 - INFO - PAI.paradox.paradox - Using Serial Connection
2024-08-14 12:20:50,097 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:20:50,097 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:20:50,098 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:20:50,099 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:20:50,100 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:20:50,493 - INFO - PAI.paradox.interfaces.mqtt.core - MQTT Broker Connected
2024-08-14 12:20:53,104 - INFO - PAI - Starting...
2024-08-14 12:20:53,104 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:20:53,105 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:20:53,106 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:20:53,106 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:20:53,107 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:20:53,107 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:20:53,109 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:20:53,110 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:20:53,112 - INFO - PAI - Starting...
2024-08-14 12:20:53,112 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:20:53,113 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:20:53,113 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:20:53,114 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:20:53,114 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:20:53,115 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:20:53,116 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:20:53,117 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:20:54,120 - INFO - PAI - Starting...
2024-08-14 12:20:54,121 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:20:54,121 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:20:54,122 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:20:54,122 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:20:54,123 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:20:54,123 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:20:54,124 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:20:54,125 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:21:00,128 - INFO - PAI - Starting...
2024-08-14 12:21:00,128 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:21:00,128 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:21:00,129 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:21:00,129 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:21:00,130 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:21:00,130 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:21:00,132 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:21:00,132 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:21:07,141 - INFO - PAI - Starting...
2024-08-14 12:21:07,142 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:21:07,142 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:21:07,143 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:21:07,144 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:21:07,144 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:21:07,145 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:21:07,146 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:21:07,147 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:21:11,152 - INFO - PAI - Starting...
2024-08-14 12:21:11,152 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:21:11,153 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:21:11,154 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:21:11,154 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:21:11,155 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:21:11,156 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:21:11,156 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:21:11,158 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:21:16,164 - INFO - PAI - Starting...
2024-08-14 12:21:16,164 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:21:16,165 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:21:16,165 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:21:16,166 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:21:16,166 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:21:16,167 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:21:16,168 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:21:16,169 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:21:26,180 - INFO - PAI - Starting...
2024-08-14 12:21:26,181 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:21:26,181 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:21:26,182 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:21:26,182 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:21:26,183 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:21:26,184 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:21:26,185 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:21:26,185 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:21:37,198 - INFO - PAI - Starting...
2024-08-14 12:21:37,199 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:21:37,199 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:21:37,200 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:21:37,200 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:21:37,201 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:21:37,201 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:21:37,202 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:21:37,203 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:21:45,213 - INFO - PAI - Starting...
2024-08-14 12:21:45,213 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:21:45,214 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:21:45,215 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:21:45,215 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:21:45,216 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:21:45,216 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:21:45,217 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:21:45,218 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:21:54,228 - INFO - PAI - Starting...
2024-08-14 12:21:54,229 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:21:54,229 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:21:54,230 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:21:54,230 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:21:54,246 - INFO - PAI.paradox.connections.serial_connection - Serial port open
2024-08-14 12:21:54,249 - INFO - PAI.paradox.paradox - Connecting to Panel
2024-08-14 12:21:54,338 - INFO - PAI.paradox.paradox - Panel Identified MG505+ version 1.28 build 1
2024-08-14 12:21:54,338 - INFO - PAI.paradox.paradox - Initiating panel connection
2024-08-14 12:21:54,570 - INFO - PAI.paradox.hardware.spectra_magellan.panel - Installer login
2024-08-14 12:21:54,599 - INFO - PAI.paradox.hardware.spectra_magellan.panel - Authentication Success
2024-08-14 12:21:54,600 - INFO - PAI.paradox.paradox - Connection OK
2024-08-14 12:21:54,600 - INFO - PAI.paradox.paradox - Loading data from panel memory
2024-08-14 12:21:54,601 - INFO - PAI.paradox.hardware.panel - Loading definitions
2024-08-14 12:21:54,601 - INFO - PAI.paradox.hardware.panel - Updating Definitions from Panel
2024-08-14 12:21:54,774 - INFO - PAI.paradox.hardware.panel - Zone definitions loaded (0.17s)
2024-08-14 12:21:54,958 - ERROR - PAI.paradox.connections.protocols - Connection was closed: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2024-08-14 12:21:54,958 - ERROR - PAI.paradox.connections.serial_connection - Connection to panel was lost
2024-08-14 12:21:55,799 - ERROR - PAI.paradox.paradox - Failed to connect: Not connected
2024-08-14 12:21:55,800 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:22:09,817 - INFO - PAI - Starting...
2024-08-14 12:22:09,817 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:22:09,818 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:22:09,819 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:22:09,819 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:22:09,820 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:22:09,820 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:22:09,822 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:22:09,823 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:22:24,840 - INFO - PAI - Starting...
2024-08-14 12:22:24,840 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:22:24,841 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:22:24,842 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:22:24,842 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:22:24,842 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:22:24,843 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:22:24,844 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:22:24,845 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:22:36,858 - INFO - PAI - Starting...
2024-08-14 12:22:36,859 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:22:36,860 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:22:36,860 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:22:36,861 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:22:36,861 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:22:36,862 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:22:36,863 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:22:36,864 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:22:49,876 - INFO - PAI - Starting...
2024-08-14 12:22:49,876 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:22:49,877 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:22:49,877 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:22:49,878 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:22:49,878 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:22:49,879 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:22:49,880 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:22:49,881 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:23:07,900 - INFO - PAI - Starting...
2024-08-14 12:23:07,900 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:23:07,901 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:23:07,902 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:23:07,902 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:23:07,903 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:23:07,903 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:23:07,905 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:23:07,906 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:23:26,916 - INFO - PAI - Starting...
2024-08-14 12:23:26,916 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:23:26,917 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:23:26,917 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:23:26,918 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:23:26,918 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:23:26,919 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:23:26,920 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:23:26,921 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:23:42,932 - INFO - PAI - Starting...
2024-08-14 12:23:42,932 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:23:42,933 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:23:42,933 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:23:42,934 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:23:42,934 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:23:42,935 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:23:42,936 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:23:42,937 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:23:59,956 - INFO - PAI - Starting...
2024-08-14 12:23:59,956 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:23:59,957 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:23:59,957 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:23:59,958 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:23:59,958 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:23:59,959 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:23:59,960 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:23:59,961 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:24:21,985 - INFO - PAI - Starting...
2024-08-14 12:24:21,986 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:24:21,986 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:24:21,987 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:24:21,987 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:24:21,988 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:24:21,988 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:24:21,989 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:24:21,990 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:24:44,995 - INFO - PAI - Starting...
2024-08-14 12:24:44,995 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:24:44,996 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:24:44,997 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:24:44,997 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:24:44,998 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:24:44,998 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:24:44,999 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:24:45,000 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:25:05,016 - INFO - PAI - Starting...
2024-08-14 12:25:05,016 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:25:05,017 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:25:05,017 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:25:05,017 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:25:05,018 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:25:05,018 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:25:05,019 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:25:05,020 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:25:26,037 - INFO - PAI - Starting...
2024-08-14 12:25:26,037 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:25:26,038 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:25:26,039 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:25:26,039 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:25:26,040 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:25:26,040 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:25:26,041 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:25:26,042 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:25:52,056 - INFO - PAI - Starting...
2024-08-14 12:25:52,056 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:25:52,056 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:25:52,057 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:25:52,057 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:25:52,058 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:25:52,058 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:25:52,059 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:25:52,060 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:26:19,090 - INFO - PAI - Starting...
2024-08-14 12:26:19,090 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:26:19,091 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:26:19,091 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:26:19,092 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:26:19,092 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:26:19,093 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:26:19,094 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:26:19,094 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:26:43,119 - INFO - PAI - Starting...
2024-08-14 12:26:43,120 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:26:43,120 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:26:43,121 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:26:43,121 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:26:43,122 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:26:43,122 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:26:43,123 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:26:43,124 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:27:08,146 - INFO - PAI - Starting...
2024-08-14 12:27:08,146 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:27:08,147 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:27:08,148 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:27:08,148 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:27:08,149 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:27:08,149 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:27:08,150 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:27:08,151 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:27:38,177 - INFO - PAI - Starting...
2024-08-14 12:27:38,178 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:27:38,178 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:27:38,179 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:27:38,179 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:27:38,180 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:27:38,180 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:27:38,182 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:27:38,182 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:28:08,215 - INFO - PAI - Starting...
2024-08-14 12:28:08,216 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:28:08,216 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:28:08,217 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:28:08,217 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:28:08,218 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:28:08,218 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:28:08,220 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:28:08,220 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:28:36,251 - INFO - PAI - Starting...
2024-08-14 12:28:36,251 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:28:36,252 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:28:36,253 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:28:36,253 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:28:36,254 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:28:36,254 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:28:36,255 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:28:36,256 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:29:05,258 - INFO - PAI - Starting...
2024-08-14 12:29:05,259 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:29:05,259 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:29:05,260 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:29:05,260 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:29:05,261 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:29:05,261 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:29:05,262 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:29:05,263 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:29:35,296 - INFO - PAI - Starting...
2024-08-14 12:29:35,296 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:29:35,297 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:29:35,297 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:29:35,298 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:29:35,298 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:29:35,299 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:29:35,300 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:29:35,301 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:30:05,334 - INFO - PAI - Starting...
2024-08-14 12:30:05,334 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:30:05,335 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:30:05,335 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:30:05,336 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:30:05,336 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:30:05,337 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:30:05,338 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:30:05,339 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:30:17,528 - INFO - PAI - Captured signal SIGTERM. Exiting
2024-08-14 12:30:17,528 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:30:17,529 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:30:17,530 - INFO - PAI.paradox.interfaces.interface_manager - Stopping all interfaces
2024-08-14 12:30:17,530 - INFO - PAI.paradox.interfaces.interface_manager - Stopping BasicMQTTInterface
2024-08-14 12:30:17,533 - INFO - PAI.paradox.interfaces.interface_manager - Stopping HomeAssistantMQTTInterface
2024-08-14 12:30:17,537 - ERROR - PAI.paradox.interfaces.mqtt.core - MQTT Broker unexpectedly disconnected. Code: None
2024-08-14 12:30:17,541 - INFO - PAI.paradox.interfaces.mqtt.core - MQTT loop stopped
2024-08-14 12:30:17,541 - INFO - PAI.paradox.interfaces.interface_manager - Stopping HomeAssistantNotificationsTextInterface
2024-08-14 12:30:17,542 - INFO - PAI - Good bye!
Attempting to load configuration from /etc/pai/pai.conf
2024-08-14 12:30:30,097 - INFO - PAI - Starting Paradox Alarm Interface 3.5.0
2024-08-14 12:30:30,097 - INFO - PAI - Config loaded from /etc/pai/pai.conf
2024-08-14 12:30:30,098 - INFO - PAI - Console Log level set to 20
2024-08-14 12:30:30,242 - INFO - PAI.paradox.interfaces - Starting BasicMQTTInterface Interface
2024-08-14 12:30:30,246 - INFO - PAI.paradox.interfaces.mqtt.core - MQTT loop started
2024-08-14 12:30:30,261 - INFO - PAI.paradox.interfaces - Starting HomeAssistantMQTTInterface Interface
2024-08-14 12:30:30,865 - ERROR - PAI.paradox.interfaces.text.homeassistant_notifications - "SUPERVISOR_TOKEN" environment variable must be set to use HomeAssistantNotificationsTextInterface
2024-08-14 12:30:30,867 - INFO - PAI.paradox.interfaces - Starting HomeAssistantNotificationsTextInterface Interface
2024-08-14 12:30:30,868 - INFO - PAI - Starting...
2024-08-14 12:30:30,869 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:30:30,870 - INFO - PAI.paradox.paradox - Using Serial Connection
2024-08-14 12:30:30,889 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:30:30,904 - INFO - PAI.paradox.connections.serial_connection - Serial port open
2024-08-14 12:30:30,906 - INFO - PAI.paradox.paradox - Connecting to Panel
2024-08-14 12:30:30,931 - INFO - PAI.paradox.paradox - Panel Identified MG505+ version 1.28 build 1
2024-08-14 12:30:30,931 - INFO - PAI.paradox.paradox - Initiating panel connection
2024-08-14 12:30:30,992 - INFO - PAI.paradox.hardware.spectra_magellan.panel - Installer login
2024-08-14 12:30:31,023 - INFO - PAI.paradox.hardware.spectra_magellan.panel - Authentication Success
2024-08-14 12:30:31,024 - INFO - PAI.paradox.paradox - Connection OK
2024-08-14 12:30:31,024 - INFO - PAI.paradox.paradox - Loading data from panel memory
2024-08-14 12:30:31,025 - INFO - PAI.paradox.hardware.panel - Loading definitions
2024-08-14 12:30:31,025 - INFO - PAI.paradox.hardware.panel - Updating Definitions from Panel
2024-08-14 12:30:31,199 - INFO - PAI.paradox.hardware.panel - Zone definitions loaded (0.17s)
2024-08-14 12:30:31,250 - INFO - PAI.paradox.interfaces.mqtt.core - MQTT Broker Connected
2024-08-14 12:30:31,284 - INFO - PAI.paradox.hardware.panel - Pgm definitions loaded (0.08s)
2024-08-14 12:30:31,295 - INFO - PAI.paradox.hardware.panel - Loading labels
2024-08-14 12:30:31,295 - INFO - PAI.paradox.hardware.panel - Updating Labels from Panel
2024-08-14 12:30:31,357 - INFO - PAI.paradox.hardware.panel - Zone labels loaded (0.06s): Guest room, Entertainment, Laundry, Garage, Remote Arm
2024-08-14 12:30:31,417 - INFO - PAI.paradox.hardware.panel - Pgm labels loaded (0.06s): Panic Radio, Burglary Radio, Status LED, Open/Close Radio, Output 13, Output 14
2024-08-14 12:30:31,438 - INFO - PAI.paradox.hardware.panel - Partition labels loaded (0.02s): Bottom Floor, Top floor
2024-08-14 12:30:31,479 - INFO - PAI.paradox.hardware.panel - User labels loaded (0.04s): System Master, Master 1, Master 2, User 04
2024-08-14 12:30:31,640 - INFO - PAI.paradox.hardware.panel - Module labels loaded (0.16s): Bus Module 01, Bus Module 02, Bus Module 03, Bus Module 04, Bus Module 05, Bus Module 06, Bus Module 07, Bus Module 08, Bus Module 09, Bus Module 10, Bus Module 11, Bus Module 12, Bus Module 13, Bus Module 14, Bus Module 15
2024-08-14 12:30:31,661 - INFO - PAI.paradox.hardware.panel - Repeater labels loaded (0.02s): Repeater 1, Repeater 2
2024-08-14 12:30:31,742 - INFO - PAI.paradox.hardware.panel - Keypad labels loaded (0.08s): Wireless Keyp 1, Wireless Keyp 2, Wireless Keyp 3, Wireless Keyp 4, Wireless Keyp 5, Wireless Keyp 6, Wireless Keyp 7, Wireless Keyp 8
2024-08-14 12:30:31,763 - INFO - PAI.paradox.hardware.panel - Site labels loaded (0.02s): Your Alarm Site
2024-08-14 12:30:31,804 - INFO - PAI.paradox.hardware.panel - Siren labels loaded (0.04s): Wireless Siren 1, Wireless Siren 2, Wireless Siren 3
2024-08-14 12:30:31,805 - INFO - PAI.paradox.paradox - Running
2024-08-14 12:30:31,829 - INFO - PAI.paradox.interfaces.mqtt.basic - MQTT Dash panel published to metrics/exchange/pai
2024-08-14 12:33:22,413 - ERROR - PAI.paradox.connections.protocols - Connection was closed: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2024-08-14 12:33:22,414 - ERROR - PAI.paradox.connections.serial_connection - Connection to panel was lost
2024-08-14 12:33:32,141 - ERROR - PAI - Connection to panel lost: Not connected. Restarting
2024-08-14 12:33:35,145 - INFO - PAI - Starting...
2024-08-14 12:33:35,145 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:33:35,146 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:33:35,147 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:33:35,147 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:33:35,148 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:33:35,148 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:33:35,150 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:33:35,150 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:33:35,152 - INFO - PAI - Starting...
2024-08-14 12:33:35,152 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:33:35,153 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:33:35,154 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:33:35,154 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:33:35,155 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:33:35,155 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:33:35,156 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:33:35,157 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:33:36,160 - INFO - PAI - Starting...
2024-08-14 12:33:36,160 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:33:36,161 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:33:36,161 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:33:36,162 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:33:36,162 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:33:36,163 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:33:36,164 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:33:36,165 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:33:42,172 - INFO - PAI - Starting...
2024-08-14 12:33:42,172 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:33:42,173 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:33:42,173 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:33:42,174 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:33:42,174 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:33:42,175 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:33:42,176 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:33:42,177 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:33:49,186 - INFO - PAI - Starting...
2024-08-14 12:33:49,186 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:33:49,187 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:33:49,188 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:33:49,188 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:33:49,189 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:33:49,189 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:33:49,191 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:33:49,192 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:33:53,198 - INFO - PAI - Starting...
2024-08-14 12:33:53,198 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:33:53,199 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:33:53,199 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:33:53,200 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:33:53,200 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:33:53,201 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:33:53,202 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:33:53,202 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:33:58,209 - INFO - PAI - Starting...
2024-08-14 12:33:58,209 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:33:58,210 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:33:58,211 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:33:58,211 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:33:58,212 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:33:58,212 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:33:58,213 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:33:58,214 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:34:08,227 - INFO - PAI - Starting...
2024-08-14 12:34:08,227 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:34:08,228 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:34:08,229 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:34:08,229 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:34:08,230 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:34:08,230 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:34:08,231 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:34:08,232 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:34:19,246 - INFO - PAI - Starting...
2024-08-14 12:34:19,246 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:34:19,247 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:34:19,247 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:34:19,248 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:34:19,248 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:34:19,249 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:34:19,250 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:34:19,251 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:34:27,260 - INFO - PAI - Starting...
2024-08-14 12:34:27,261 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:34:27,261 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:34:27,262 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:34:27,262 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:34:27,263 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:34:27,264 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:34:27,265 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:34:27,266 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:34:36,277 - INFO - PAI - Starting...
2024-08-14 12:34:36,277 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:34:36,278 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:34:36,278 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:34:36,279 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:34:36,279 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:34:36,280 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:34:36,281 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:34:36,282 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:34:50,298 - INFO - PAI - Starting...
2024-08-14 12:34:50,298 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:34:50,299 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:34:50,300 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:34:50,300 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:34:50,301 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:34:50,301 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:34:50,302 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:34:50,303 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:35:05,321 - INFO - PAI - Starting...
2024-08-14 12:35:05,321 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:35:05,322 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:35:05,322 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:35:05,323 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:35:05,323 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:35:05,324 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:35:05,325 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:35:05,325 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:35:17,339 - INFO - PAI - Starting...
2024-08-14 12:35:17,339 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:35:17,340 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:35:17,340 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:35:17,341 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:35:17,341 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:35:17,342 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:35:17,343 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:35:17,344 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:35:30,360 - INFO - PAI - Starting...
2024-08-14 12:35:30,360 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:35:30,361 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:35:30,361 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:35:30,362 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:35:30,362 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:35:30,363 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:35:30,364 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:35:30,365 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:35:48,385 - INFO - PAI - Starting...
2024-08-14 12:35:48,386 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:35:48,386 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:35:48,387 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:35:48,387 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:35:48,388 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:35:48,389 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:35:48,390 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:35:48,391 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:36:07,412 - INFO - PAI - Starting...
2024-08-14 12:36:07,412 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:36:07,413 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:36:07,413 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:36:07,414 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:36:07,414 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:36:07,415 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:36:07,416 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:36:07,417 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:36:23,422 - INFO - PAI - Starting...
2024-08-14 12:36:23,423 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:36:23,423 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:36:23,424 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:36:23,425 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:36:23,425 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:36:23,426 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:36:23,427 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:36:23,428 - ERROR - PAI - Unable to connect to alarm
2024-08-14 12:36:40,444 - INFO - PAI - Starting...
2024-08-14 12:36:40,444 - INFO - PAI.paradox.paradox - Disconnecting from the Alarm Panel
2024-08-14 12:36:40,445 - INFO - PAI.paradox.paradox - Clean Session
2024-08-14 12:36:40,445 - INFO - PAI.paradox.paradox - Connecting to interface
2024-08-14 12:36:40,446 - INFO - PAI.paradox.connections.serial_connection - Connecting to serial port /dev/ttyUSB0
2024-08-14 12:36:40,446 - INFO - PAI.paradox.connections.serial_connection - /dev/ttyUSB0 is not readable/writable. Trying to fix...
2024-08-14 12:36:40,447 - ERROR - PAI.paradox.connections.serial_connection - Failed to update file /dev/ttyUSB0 permissions
2024-08-14 12:36:40,448 - ERROR - PAI.paradox.paradox - Failed to connect to interface
2024-08-14 12:36:40,449 - ERROR - PAI - Unable to connect to alarm

@duan-dt duan-dt added bug Something isn't working to be confirmed Reported but not yet confirmed labels Aug 14, 2024
@duan-dt
Copy link
Author

duan-dt commented Aug 14, 2024

edit: I also need to restart the container every time. Running sudo chmod a+rw /dev/ttyUSB0 fixes the issue before restarting but when it randomly stops working while it is running, changing the permissions with chmod does not work.

@yozik04
Copy link
Collaborator

yozik04 commented Aug 14, 2024

Probably user that runs docker containers does not have proper permissions. But it is out of scope. It is not related to PAI code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working to be confirmed Reported but not yet confirmed
Projects
None yet
Development

No branches or pull requests

2 participants