-
Notifications
You must be signed in to change notification settings - Fork 96
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
Sync Time results in Error #854
Comments
Please provide full error logs. |
Sorry for ignorance, but can you steer me towards the right place to retrieve them? The above logs are the output of going to Tapo Integration -> Enable debug logging, then letting the error occur. Is there a better place to get the full error log? |
Thanks, I had to enable debug logging for the ONVIF integration, as that's where the bad request seems to be getting sent from. I assume that means it it outside the scope of this project? In case it isn't, here is the SOAP request body being sent -
Which returns a 400 Status Code, with following response body -
|
Not necessarily, it seems that they changed what Camera accepts via Onvif, possibly in the new firmware you have in your camera. I do not have this firmware yet so I cannot check. But what you can do is check https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/blob/main/custom_components/tapo_control/utils.py#L1495 See if you can play around with the payload there to get it to save something (change the utils.py file in your filesystem, restart HA, try pushing the button). Otherwise it might be possible they no longer support this or broke it recently by accident. If that is the case, we will need to open a support ticket to TPLink. |
Well the strange thing is I only got the cameras last month (January) and the Sync Time worked at that point. They are blocked from internet access, so I don't believe firmware has been updated. I also haven't updated Home Assistant (and only updated this add-on after I noticed the problem). So I'm pretty lost as to what changed. tinkering SOAP payload doesn't seem to result in any different response. I noticed using the 'GetNTP' endpoint that they are set to use NTP server provided by DHCP. So I went down the rabbit hole of trying to run local NTP server, but no matter if I set that local server under DHCP settings on router, the cameras still just return '0.0.0.0' -
I know that's probably unrelated, but just thought it was strange... and kind of goes back to the issue of why I need the manual sync-time job, having them blocked from internet and unable to set local NTP server. |
I have the same problem, but the error started showing right after I upgraded the integration to v6.0.10. I have two C120 with the same firmware as mentioned here. The cameras are working well, and the sensors are populated. I haven't tried all features but seems ok so far. Device Firmware: 1.2.3 Build 241119 Rel.41818n EDIT: Forgot to mention that I have |
Last integration update changed only config flow, which is not related to this at all by any chance - it is not executed unless reconfiguring the camera. |
Description
Not sure when this started, but at some point the "Sync Time" button started to give an error for me (I have an automation setup to press it each minute).
Oddly this is only happening for my C120 cameras. I have a single C101 and it is still able to Sync Time for whatever reason. I've tried the usual rebooting cameras, rebooting HA, updating integration to latest 6.09 version.
HA Versions -
Core
2024.12.5
Supervisor
2024.12.3
Operating System
14.0
Happy to provide more logs / info if I can!
Reproduction Steps
Expected behavior
Date & Time on Camera is synced
If applicable, add error logs.
Device Firmware
1.2.3 Build 241119 Rel. 41818n
Integration Version
6.0.9
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
HAOS
Search for similar issues
Yes
Additional information
No response
The text was updated successfully, but these errors were encountered: