You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When clicking the Set System Date and Time button in the ONVIF integration, the function does not work and following error appears in the logs. I am able to set the NVR date/time externally using ONVIF Device Manager.
NVR - Lorex LNR616
What version of Home Assistant Core has the issue?
2023.3.5
What was the last working version of Home Assistant Core?
2023-03-19 13:26:37.556 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [281471792695952] Invalid data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 199, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1808, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1845, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 686, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 961, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 726, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/button/__init__.py", line 116, in _async_press_action
await self.async_press()
File "/usr/src/homeassistant/homeassistant/components/onvif/button.py", line 54, in async_press
await self.device.async_manually_set_date_and_time()
File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 179, in async_manually_set_date_and_time
await device_mgmt.SetSystemDateAndTime(dt_param)
File "/usr/local/lib/python3.10/site-packages/zeep/proxy.py", line 64, in __call__
return await self._proxy._binding.send_async(
File "/usr/local/lib/python3.10/site-packages/zeep/wsdl/bindings/soap.py", line 164, in send_async
return self.process_reply(client, operation_obj, response)
File "/usr/local/lib/python3.10/site-packages/zeep/wsdl/bindings/soap.py", line 229, in process_reply
return self.process_error(doc, operation)
File "/usr/local/lib/python3.10/site-packages/zeep/wsdl/bindings/soap.py", line 391, in process_error
raise Fault(
zeep.exceptions.Fault: Invalid data
Additional information
No response
The text was updated successfully, but these errors were encountered:
… fails
If the device does not accept a timezone, or does not support
the system timezone, we try the current timezone, if that does
not work we try an empty timezone. This allows us to set the time
on many more devices which resolves auth problems
fixes#89958
The problem
When clicking the Set System Date and Time button in the ONVIF integration, the function does not work and following error appears in the logs. I am able to set the NVR date/time externally using ONVIF Device Manager.
NVR - Lorex LNR616
What version of Home Assistant Core has the issue?
2023.3.5
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
ONVIF
Link to integration documentation on our website
https://www.home-assistant.io/integrations/onvif/
Diagnostics information
config_entry-onvif-55d0f351e4cbeed72a797110154d8ace.json.txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: