-
-
Notifications
You must be signed in to change notification settings - Fork 31.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
CamHipro Wireless WiFi 5MP 240X ZOOM Camera cannot parse XML or respond to GetCapabilities
with 2023.5.x and later
#92308
Comments
Hey there @hunterjm, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) onvif documentation |
Looks like the anyio bug that I had been biting us in other issues. There are no workarounds at this time |
If you reload the config entry a few times in the UI, can you eventually get it to setup? |
We can't resume on cancel as we have to raise to avoid blocking cancelation but we could retry the whole setup process by rasing |
nope |
Can you post a link to the camera and where to purchase it ? |
It´s a cheap chinese, but working till 2023.4.4 |
Great. I ordered that one. I added retries for now. I'll see if I can improve compatibility when it shows up. |
I'm assuming it uses https://play.google.com/store/apps/details?id=com.hichip.campro&hl=en_US&gl=US as those firmwares have been particularly difficult to keep working as they are pretty finicky |
thanx a lot! |
CAMHI Camera http CGI manual (2022-04-15).pdf maybe this cgi doc helps? |
Its usually something subtle with the camera's onvif implementation. I've seen one where it only failed when it it received more than 10 requests per minute but worked fine until the 9th request. Any small change can have unintended consequences with these brittle onvif implementations so its always a bit a trial and error to figure out how to get it to work which is why I just order the camera now. |
I have this one that I just got that I'm working through now https://www.amazon.com/dp/B092V7BW7C?psc=1&ref=ppx_yo2ov_dt_b_product_details. I'm pretty sure it uses similar firmware. It works fine with ethernet but fails on wifi. Unfortunately it doesn't look like the same issue |
Thats a thought. Do you have it connected via ethernet or wifi? |
On wifi No matter if on Wi-Fi or Ethernet. Same behavior since 2023.5.betas |
I'll be sure to setup the test unit on wifi when it arrives. If you can test with ethernet in the mean that that would be a helpful datapoint |
Will check tomorrow with 5.0b5 again on ethernet |
ok. Checked with cam connected via ethernet. |
Thanks for checking. I’ll report back when the test unit arrives |
We don't know if the camera has gone away or its just failing to respond because it does nothing when it gets a request with WSAs |
i get it. is there maybe a option you can make one custom without the wsa's that i can use as a custom onvif integration? or can i use the last version from the onvif integration shipped with 2023.4 that one worked fine for all my 3 onvif devices the hikvision ds-hd1, dahua cube 4mp and my cheap ptz. |
I'm trying to work up an alternate solution. Give me ~30m |
take all the time you need. thanks for looking in to it. |
I pushed
Verify that the version displayed above is "onvif-zeep-async==2.1.4" and NOT 2.1.1 Restart HA Test Delete |
same result new log in your mail |
no ReadError in the log so definitely making progress |
Can you try power cycling the device before setting it up again with the 2.1.4 version? |
Also the labels are missing because its a custom component and the translation files aren't there (this is normal) |
I didn't get a new log via email. Not sure if it got stuck going out ? |
said send here but i send it again my bad send it through icloud.com and your verification email got into spam |
got it. Its getting a lot further.
|
Can you adjust the loggers so we can pick up the custom component and try again # Example configuration.yaml entry
logger:
default: info
logs:
homeassistant.components.onvif: debug
custom_components.onvif: debug
httpx: debug
onvif: debug
zeep: debug |
Also please power cycle the device before trying again as I think once it gets into a bad state it won't recover on its own |
The last one you just sent the camera didn't respond at all to the request. I'm not sure it was booted yet or was still in a the stuck state |
new log now its added again. |
Thanks. Its back to completely not responding again. This could take a few days of iterations to figure out the root cause |
It might be better to wait until the test camera shows up |
thanks for your time. Ive i can do anything else to help just let me know |
I’ll follow up when the hardware arrives |
Original camera I ordered shows in the US now so hopefully have it by next weekend |
Camera showed up. Turns out its likely the same issue as #91678 |
Please try 2023.5.4 when it is released |
Thanks with 2023.5.4 the 5mp ptz works again. |
The problem
next onvif problem here
What version of Home Assistant Core has the issue?
2023.5.0b5
What was the last working version of Home Assistant Core?
2023.4.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
onvif
Link to integration documentation on our website
No response
Diagnostics information
Logger: homeassistant.config_entries
Source: components/onvif/device.py:309
First occurred: 22:12:07 (1 occurrences)
Last logged: 22:12:07
The text was updated successfully, but these errors were encountered: