Hi, I’m trying to set this integration up with a PowerMaster 30 and a CH9121 2-CH UART TO ETH.
I have wired up the module to the alarm’s “IP” pins according to the documentation.
This UART to ETH module has two channels, by default the second channel is disabled so I am only using the first channel.
I can’t seem to find much documentation on how to configure the UART to Ethernet module, but I have pieced together bits to configure it like so:
I have tried to connect to the UART to Ethernet module using the address 192.168.1.200:30000.
I also tried to do a loopback test but I always get this in the logs:
2022-07-01 11:57:36 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration visonic which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-01 11:57:36 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-01 11:57:44 DEBUG (MainThread) [custom_components.visonic.pyvisonic] Initialising Protocol - Protocol Version 1.0.14.1
2022-07-01 11:57:44 DEBUG (MainThread) [custom_components.visonic.client] Initialising Client - Version 0.7.0.3
2022-07-01 11:57:45 DEBUG (MainThread) [custom_components.visonic.client] init self.config = PyConfiguration.DownloadCode {'type': 'ethernet', 'host': '192.168.1.200', 'port': '30000', 'language': 'EN', 'force_standard': False, 'force_autoenroll': True, 'sync_time': True, 'download_code': '', 'exclude_x10': [], 'exclude_sensor': [], 'motion_off': 120, 'siren_sounding': ['intruder', 'tamper'], 'panel_state_notifications': ['connectionproblem', 'sirensounding', 'invalidpin', 'commandnotsent'], 'arm_without_usercode': False, 'force_numeric_keypad': False, 'arm_away_instant': False, 'arm_home_instant': False, 'allow_remote_arm': False, 'allow_remote_disarm': False, 'allow_sensor_bypass': False, 'override_code': '', 'panellog_logentry_event': True, 'panellog_complete_event': True, 'panellog_reverse_order': False, 'panellog_csv_add_title_row': False, 'panellog_xml_filename': 'visonic_log_file.xml', 'panellog_csv_filename': 'visonic_log_file.csv', 'panellog_max_entries': 10000}
2022-07-01 11:57:45 DEBUG (MainThread) [custom_components.visonic.client] Exclude sensor list = [] Exclude x10 list = []
2022-07-01 11:57:45 DEBUG (MainThread) [custom_components.visonic.client] connect_to_alarm self.config = {'type': 'ethernet', 'host': '192.168.1.200', 'port': '30000', 'language': 'EN', 'force_standard': False, 'force_autoenroll': True, 'sync_time': True, 'download_code': '', 'exclude_x10': [], 'exclude_sensor': [], 'motion_off': 120, 'siren_sounding': ['intruder', 'tamper'], 'panel_state_notifications': ['connectionproblem', 'sirensounding', 'invalidpin', 'commandnotsent'], 'arm_without_usercode': False, 'force_numeric_keypad': False, 'arm_away_instant': False, 'arm_home_instant': False, 'allow_remote_arm': False, 'allow_remote_disarm': False, 'allow_sensor_bypass': False, 'override_code': '', 'panellog_logentry_event': True, 'panellog_complete_event': True, 'panellog_reverse_order': False, 'panellog_csv_add_title_row': False, 'panellog_xml_filename': 'visonic_log_file.xml', 'panellog_csv_filename': 'visonic_log_file.csv', 'panellog_max_entries': 10000}
2022-07-01 11:57:45 DEBUG (MainThread) [custom_components.visonic.client] Visonic Connection Device Type is ethernet {<PyConfiguration.DownloadCode: 0>: '', <PyConfiguration.ForceStandard: 9>: False, <PyConfiguration.ForceAutoEnroll: 1>: True, <PyConfiguration.AutoSyncTime: 2>: True, <PyConfiguration.PluginLanguage: 3>: 'EN', <PyConfiguration.MotionOffDelay: 4>: 120, <PyConfiguration.SirenTriggerList: 5>: ['intruder', 'tamper'], <PyConfiguration.B0_Enable: 6>: False, <PyConfiguration.B0_Min_Interval_Time: 7>: 5, <PyConfiguration.B0_Max_Wait_Time: 8>: 30}
2022-07-01 11:57:45 DEBUG (MainThread) [custom_components.visonic.pyvisonic] Setting TCP socket Options
2022-07-01 11:57:46 DEBUG (MainThread) [custom_components.visonic.pyvisonic] Initialising Protocol - Using Home Assistant Loop
2022-07-01 11:57:46 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Force Standard set to False
2022-07-01 11:57:46 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Force Auto Enroll set to True
2022-07-01 11:57:46 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Force Auto Sync Time set to True
2022-07-01 11:57:46 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Language set to EN
2022-07-01 11:57:46 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Motion Off Delay set to 120
2022-07-01 11:57:46 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Siren Trigger List set to ['intruder', 'tamper']
2022-07-01 11:57:46 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] B0 Enable set to False
2022-07-01 11:57:46 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] B0 Min Interval set to 5
2022-07-01 11:57:46 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] B0 Max Wait Time set to 30
2022-07-01 11:57:46 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Connection] Connected to local Protocol handler and Transport Layer
2022-07-01 11:57:46 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [_clearList] Setting queue empty
2022-07-01 11:57:46 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [StartDownload] Starting download mode
2022-07-01 11:57:46 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Sending Command (Exit) raw data 0d 0f f0 0a waiting for message response []
2022-07-01 11:57:46 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Command has a wait time after transmission 1.5
2022-07-01 11:57:46 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Controller] download_counter is 1
2022-07-01 11:57:48 DEBUG (MainThread) [custom_components.visonic.client] ........... connection made
2022-07-01 11:57:48 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Controller] download_counter is 2
2022-07-01 11:57:50 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Sending Command (Stop) raw data 0d 0b f4 0a waiting for message response []
2022-07-01 11:57:50 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Command has a wait time after transmission 1.5
2022-07-01 11:57:50 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Controller] download_counter is 3
2022-07-01 11:57:51 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Controller] download_counter is 4
2022-07-01 11:57:53 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Resetting expected response counter, it got to 4 Response list length before 0 after 1
2022-07-01 11:57:53 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Setting Download Mode to true
2022-07-01 11:57:53 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Sending Command (Start Download Mode) waiting for message response ['0X3C']
2022-07-01 11:58:00 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Controller] Trigger Panel Download Attempt - Not yet received the panel details
2022-07-01 11:58:00 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [StartDownload] Starting download mode
2022-07-01 11:58:00 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Resetting expected response counter, it got to 5 Response list length before 0 after 1
2022-07-01 11:58:00 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Setting Download Mode to true
2022-07-01 11:58:00 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Sending Command (Start Download Mode) waiting for message response ['0X3C']
2022-07-01 11:58:22 ERROR (MainThread) [custom_components.visonic.pyvisonic] [Controller] Visonic Plugin has suspended all operations, there is a problem with the communication with the panel (i.e. no data has been received from the panel)
2022-07-01 11:58:22 DEBUG (MainThread) [custom_components.visonic.client] Visonic update event 10 {'state': 'NeverConnected', 'condition': 10}
2022-07-01 11:58:22 DEBUG (SyncWorker_2) [custom_components.visonic.client] isPanelConnected: code format none as armcode is none (panel starting up or is there a problem?)
2022-07-01 11:58:22 DEBUG (MainThread) [custom_components.visonic.client] isPanelConnected: code format none as armcode is none (panel starting up or is there a problem?)
Any ideas?
EDIT: I will post a picture of the wiring this evening.