-
Notifications
You must be signed in to change notification settings - Fork 2
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
Python 3.9 broke this component #3
Comments
I have found the same error on some my HA instances. You can try to change onvif/zeeep/xsd/types/builtins.py , line 176 to something like this
to figure out what string cannot be parsed. |
I figure how to fix it ,
and add to onvif/zeeep/exceptions.py this lines:
|
the error is still there , but the binary sensor is working again , maybe is because I deleted all the cache folders (pycache) ? |
this is anther error :
|
I don't see the purpose to add classes DTDForbidden and EntitiesForbidden to onvif/zeeep/exceptions.py. Where and how are they used?
No. It is necessary to log the invalid datetime string to figure out what is wrong.
It means that
to /config/custom_components/onvif/event.py, line 170:
to get detailed logs. |
This is the error log after the change:
|
So HA sent ONVIF PullPoint subscription request to the camera and got the response without TerminationTime at all. |
I didn't change anything (firmware version or configuration) in the last week's, only HA update. |
I think it does not depend on python version at all. This camera is XM (Xiong Mai tech). You can also test the camera using ONVIF Device Manager https://sourceforge.net/projects/onvifdm/ Note about the model and firmware: Here is the list of some XM camera models and firmwares (Russian lang) https://www.cctvsp.ru/articles/obnovlenie-proshivok-dlya-ip-kamer-ot-xiong-mai |
Thank you for the details, i already using the iCSee App, but i blocked the
internet access to the camera, so i can use it only when connected to the
local network.
In the beginning i used the CMS software to configure the camera.
My model number is R80X30 .
Actually it look like the lines that you told my to add was fixed the
problem, i think that sometimes the date value from the camera is wrong but
this time it only give an warning and start the subscribe again.
So it is good for now.
I will check if the camera is configure to use my NTP server or maybe the
pi-hole is making troubles
…On Sat, Jul 24, 2021, 13:23 Dmitry Vasilyev ***@***.***> wrote:
I think it does not depend on python version at all.
This camera is XM (Xiong Mai tech).
You can use XMEye and/or iCSee software for Android. I have no idea about
iOS.
*Note iCSee may update the camera firmware!*
Note a lot of camera settings is unavailable in the mobile software.
It is possible to check/adjust all camera or DVR/NVR/HVR settings using
CMS software.
You can download the XM CMS software for Windows here
http://www.xiongmaitech.com/en/index.php/service/down_detail/83/198
You can also test the camera using ONVIF Device Manager
https://sourceforge.net/projects/onvifdm/
Note about the model and firmware:
For example
I'm using this camera https://aliexpress.ru/item/1005001446624233.html
The model on the box is A5-F30RJ.
But the correct model is XM530_RF50X30_8M.
The version of the camera shown by the software is V5.00.R02.00030746.10010.348517.ONVIF
16.12
00030746 here is the model ID and the latest firmware for that model is
available here https://download.xm030.cn/d/MDAwMDEzMjk=
Here is the list of some XM camera models and firmwares (Russian lang)
https://www.cctvsp.ru/articles/obnovlenie-proshivok-dlya-ip-kamer-ot-xiong-mai
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACIDWH7J5AECB4G3TGRGE2TTZKIBTANCNFSM5AZX4YBQ>
.
|
Update: Disable NTP didn't fixed the problem |
I upgraded HA docker couple of weeks ago so and the python version was changed to 3.9.5 and now there is a problem with the date conversation.
The camera is working, but the sensors aren't working at all.
Looks like there is a fix for it in the zeep github #mvantellingen/python-zeep#1240
The text was updated successfully, but these errors were encountered: