-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Multiple Axis cameras still unavailable after bump to Axis v58 #114033
Comments
Thanks! I would need the log out put from before the error as well, as that will have the data I can use to reproduce the issue. What permissions have you provided to the integration? Admin/Operator/viewer |
P1455 is running firmware 11.8.61 I have no idea what permission is provided, i dont remember ever having to set that up or choose anything like that. Looked in the raw logfile, i dont understand very much so i do not know what i should cut and paste, but it also contains a lot of other log entried other than Axis ones. I am just not very good / experienced in this...Sorry. |
If you change the default logging level to error you can probably just paste it all here
Did you provide the root credentials to home assistant? Then its admin |
I am in the same position with 2 x Axis M1031-W cameras. They initially did not need user/pass to add integration. Sometimes when I use root user, it adds PIR entity only for one camera and the other camera cannot be added as it says it already exists (different IP). I cannot see any error in logging but receive "Unknown error occurred" when it fails to be added. I added logger to configuraiton.yaml. Will post in second post. Note: 10.1.0.232 was added with incorrect details (using root login, admin or other users doesn't work at all).
Diagnostics download of device when I could add (with just PIR showing) as follows;
|
https://www.home-assistant.io/integrations/axis#debugging-integration |
I have the same problem with a P1375-E Camera it can not be added with an known User it comes an Unknown error. Camera Home Assistant |
Hello. See previous comments. I need debug logs |
Hi I tried changing logger level to error and got a rather large text file. Not really comfortable posting it here, do you have somewhere i can send it to you "privately" Lots and lots of text in the file, does not mean a whole lot to me, i hope it does to you :) |
You can find me to the home assistant forum as Robban |
Tried to message you, but get the following error An error occurred: Body is limited to 32000 characters; you entered 530586 |
Try discord. Robban as well |
I dont use discord. PW in private message on home assistant forum in just a second |
@arrikhan sounds like a different issue, open a new issue. Provide a full debug log that contains the issue logger:
default: error
logs:
axis: debug
homeassistant.components.axis: debug |
Fix is up, aiming to have it solved in 2024.4 release. Thanks for providing data to resolve the issue. |
Password in home assistant inbox. :) |
The problem
I have 3 camera's that still are unable to be displayed on Home Assistant even in the latest version.
What version of Home Assistant Core has the issue?
2024.3.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Axis
Link to integration documentation on our website
No response
Diagnostics information
I get the following errors in the logs
Logger: axis.models.event
Kilde: runner.py:188
Første forekomst: 21.55.46 (667 forekomster)
Senest logget: 21.56.00
And
Logger: homeassistant.config_entries
Kilde: config_entries.py:504
Første forekomst: 21.55.44 (3 forekomster)
Senest logget: 21.55.44
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 504, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/axis/init.py", line 21, in async_setup_entry
api = await get_axis_device(hass, config_entry.data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/axis/device.py", line 261, in get_axis_device
await device.vapix.initialize()
File "/usr/local/lib/python3.12/site-packages/axis/vapix/vapix.py", line 144, in initialize
await self.initialize_api_discovery()
File "/usr/local/lib/python3.12/site-packages/axis/vapix/vapix.py", line 162, in initialize_api_discovery
await asyncio.gather(*[api.update() for api in apis if api.supported])
File "/usr/local/lib/python3.12/site-packages/axis/vapix/interfaces/api_handler.py", line 126, in update
obj_ids = await self._update()
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/axis/vapix/interfaces/api_handler.py", line 115, in _update
objects = await self._api_request()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/axis/vapix/interfaces/light_control.py", line 66, in _api_request
return await self.get_light_information()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/axis/vapix/interfaces/light_control.py", line 74, in get_light_information
return GetLightInformationResponse.decode(bytes_data).data
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/axis/vapix/models/light_control.py", line 280, in decode
data=LightInformation.decode_to_dict(data["data"]["items"]),
~~~~^^^^^^^^
KeyError: 'data'
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: