-
Notifications
You must be signed in to change notification settings - Fork 13
Description
i have pima hunter pro for quite some time with the old iPima application working through net4pro with a fixed IP over port 10150 . I have configured the homeassistant integration according to the instructions but i seems it can not connect to the alarm like the mobile app that connects locally .
Checking connectivity from my HA shows ping to the configured pima IP works ok, but netcat shows success connect over udp. Does the integration work over UDP port ? The configuration in the iPima app clearly uses the same ip and port numbers successfully.
The addon log shows
D0826 08:25:44.812 pima_server.py:66] IP Address: 192.168.1.152:10150.
E0826 08:27:57.624 pima_server.py:87] Failed to create alarm object.
Traceback (most recent call last):
File "/app/pima.py", line 152, in init
sock.connect((ipaddr, ipport))
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
TimeoutError: [Errno 110] Connection timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/pima_server.py", line 85, in init
self._create_alarm()
~~~~~~~~~~~~~~~~~~^^
File "/app/pima_server.py", line 176, in _create_alarm
self._alarm = pima.Alarm(*self._alarm_args) # type: pima.Alarm
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/app/pima.py", line 156, in init
raise Error('Error creating socket.') from e
pima.Error: Error creating socket.