Hi, Hope someone can help. I have been able to get 19 Axis cameras installed and working correctly.
They are: 18 on Q7406 Blades and 4 on Q7214 quad server.
I also have 4 212PTZ cameras (Version 4.49) that don’t install. The automated process using Vapix CGI commands do not work as I think this is too old a system. (Needs 5.50 and above).
Anyway have manually installed using the same code in axis.config and still nothing.
This works for the other cameras.
"00408CX1X2X3X4": {
"host": "192.168.123.123",
"include": [
"camera"
],
"location": "",
"name": "DeerRunView",
"password": "password",
"port": 6123,
"trigger_time": 0,
"username": "user"
},
But does not work with the 212PTZ cameras. (changed MAC, IP, port, user, and PW of course)
****************************** Below is from the log. This relates to the Vapix call errors. ************
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/axis/utils.py", line 16, in session_request
response.raise_for_status()
File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://192.168.123.218:8198/axis-cgi/param.cgi?action=list&group=Properties.System.SerialNumber
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/axis/__init__.py", line 168, in axis_device_discovered
if not setup_device(hass, config, device_config):
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/axis/__init__.py", line 241, in setup_device
hass.data[DOMAIN][device.vapix.serial_number] = device
File "/usr/local/lib/python3.6/site-packages/axis/vapix.py", line 83, in serial_number
'Properties.System.SerialNumber')
File "/usr/local/lib/python3.6/site-packages/axis/vapix.py", line 24, in get_param
result = self.do_request(cgi, action, 'group=' + param)
File "/usr/local/lib/python3.6/site-packages/axis/vapix.py", line 45, in do_request
result = session_request(self.config.session.get, url)
File "/usr/local/lib/python3.6/site-packages/axis/utils.py", line 22, in session_request
raise_error(response.status_code)
File "/usr/local/lib/python3.6/site-packages/axis/errors.py", line 39, in raise_error
raise cls("{}".format(type))
axis.errors.AxisException: 404
2019-02-20 15:30:25 ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/axis/vapix.py", line 80, in serial_number
return self._serial_number
AttributeError: ‘Vapix’ object has no attribute ‘_serial_number’
Any help would be appreciated.
Thanks