oops… good to know HASS and HA are the same thing
I’ll try to play with the RTSP then! cheers
Here’s the same error with debug logs enabled:
2019-04-27 19:07:28 DEBUG (MainThread) [axis.api] ''
2019-04-27 19:07:28 DEBUG (SyncWorker_7) [axis.vapix] Response: root.Brand.Brand=AXIS
root.Brand.ProdFullName=AXIS M2026-LE Mk II Network Camera
root.Brand.ProdNbr=M2026-LE-MkII
root.Brand.ProdShortName=AXIS M2026-LE Mk II
root.Brand.ProdType=Network Camera
root.Brand.ProdVariant=
root.Brand.WebURL=http://www.axis.com
from 172.26.10.10
2019-04-27 19:07:28 DEBUG (SyncWorker_14) [axis.vapix] Response: root.Properties.AlwaysMulticast.AlwaysMulticast=yes
root.Properties.API.Browser.Language=yes
root.Properties.API.Browser.RootPwdSetValue=yes
root.Properties.API.Browser.UserGroup=yes
root.Properties.API.ClientNotes.ClientNotes=yes
root.Properties.API.HTTP.AdminPath=/operator/basic.shtml
root.Properties.API.HTTP.Version=3
root.Properties.API.Metadata.Metadata=yes
root.Properties.API.Metadata.Version=1.0
root.Properties.API.OnScreenControls.OnScreenControls=yes
root.Properties.API.PTZ.Presets.Version=2.00
root.Properties.API.RTSP.RTSPAuth=yes
root.Properties.API.RTSP.Version=2.01
root.Properties.API.WebService.EntryService=yes
root.Properties.API.WebService.WebService=yes
root.Properties.API.WebService.ONVIF.ONVIF=yes
root.Properties.API.WebService.ONVIF.Version=1.02
root.Properties.API.WebSocket.RTSP.RTSP=yes
root.Properties.EmbeddedDevelopment.CacheSize=76546048
root.Properties.EmbeddedDevelopment.DefaultCacheSize=92274688
root.Properties.EmbeddedDevelopment.EmbeddedDevelopment=yes
root.Properties.EmbeddedDevelopment.Version=2.16
root.Properties.EmbeddedDevelopment.RuleEngine.MultiConfiguration=yes
root.Properties.Firmware.BuildDate=Sep 19 2018 10:25
root.Properties.Firmware.BuildNumber=26
root.Properties.Firmware.Version=8.40.1
root.Properties.FirmwareManagement.Version=1.0
root.Properties.GuardTour.GuardTour=yes
root.Properties.GuardTour.MaxGuardTours=100
root.Properties.GuardTour.MinGuardTourWaitTime=10
root.Properties.GuardTour.RecordedTour=no
root.Properties.HTTPS.HTTPS=yes
root.Properties.Image.Format=jpeg,mjpeg,h264,h265
root.Properties.Image.NbrOfViews=2
# Error: Error -5 getting parameter value for 'root.Properties.Image.Resolution'
root.Properties.Image.Rotation=0,90,180,270
# Error: Error -5 getting parameter value for 'root.Properties.Image.ShowSuboptimalResolutions'
root.Properties.Image.H264.Profiles=Main,High
root.Properties.Image.H265.Profiles=Main
root.Properties.ImageSource.DayNight=yes
root.Properties.IO.ManualTriggerNbr=6
root.Properties.LEDControl.LEDControl=yes
root.Properties.LightControl.LightControl2=yes
root.Properties.LightControl.LightControlAvailable=yes
root.Properties.LocalStorage.AutoRepair=yes
root.Properties.LocalStorage.ContinuousRecording=yes
root.Properties.LocalStorage.DiskEncryption=yes
root.Properties.LocalStorage.DiskHealth=yes
root.Properties.LocalStorage.ExportRecording=yes
root.Properties.LocalStorage.FailOverRecording=yes
root.Properties.LocalStorage.LocalStorage=yes
root.Properties.LocalStorage.NbrOfContinuousRecordingProfiles=1
root.Properties.LocalStorage.RequiredFileSystem=yes
root.Properties.LocalStorage.SDCard=yes
root.Properties.LocalStorage.StorageLimit=yes
root.Properties.LocalStorage.Version=1.00
root.Properties.Motion.MaxNbrOfWindows=10
root.Properties.Motion.Motion=yes
root.Properties.NetworkShare.CIFS=yes
root.Properties.NetworkShare.IPV6=yes
root.Properties.NetworkShare.NameLookup=yes
root.Properties.NetworkShare.NetworkShare=yes
root.Properties.PackageManager.FormatListing=yes
root.Properties.PackageManager.LicenseKeyManagement=yes
root.Properties.PackageManager.PackageManager=yes
root.Properties.PrivacyMask.MaxNbrOfPrivacyMasks=16
root.Properties.PrivacyMask.Polygon=no
root.Properties.PrivacyMask.PrivacyMask=no
root.Properties.PrivacyMask.Query=list,position,listpxjson,positionpxjson
root.Properties.PTZ.DigitalPTZ=yes
root.Properties.PTZ.DriverManagement=no
root.Properties.PTZ.DriverModeList=none
root.Properties.PTZ.PTZ=yes
root.Properties.PTZ.PTZOnQuadView=no
root.Properties.PTZ.SelectableDriverMode=no
root.Properties.RemoteService.RemoteService=no
root.Properties.RTC.RTC=yes
root.Properties.Serial.Serial=no
root.Properties.System.Architecture=armv7hf
root.Properties.System.HardwareID=784
root.Properties.System.Language=English
root.Properties.System.LanguageType=default
root.Properties.System.SerialNumber=ACCC8EA8C923
root.Properties.System.Soc=Ambarella S3L (Flattened Device Tree)
root.Properties.Tampering.Tampering=yes
root.Properties.TemperatureSensor.Fan=no
root.Properties.TemperatureSensor.Heater=yes
root.Properties.TemperatureSensor.TemperatureControl=yes
root.Properties.TemperatureSensor.TemperatureSensor=yes
root.Properties.VirtualInput.VirtualInput=yes
root.Properties.ZipStream.ZipStream=yes
from 172.26.10.10
2019-04-27 19:07:28 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py", line 33, in real_ip_middleware
return await handler(request)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py", line 68, in ban_middleware
return await handler(request)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/http/auth.py", line 216, in auth_middleware
return await handler(request)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/http/view.py", line 115, in handle
result = await result
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/config/config_entries.py", line 154, in post
return await super().post(request, flow_id)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/http/data_validator.py", line 46, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/data_entry_flow.py", line 86, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/local/lib/python3.7/site-packages/homeassistant/data_entry_flow.py", line 80, in async_configure
flow, step_id, user_input)
File "/usr/local/lib/python3.7/site-packages/homeassistant/data_entry_flow.py", line 98, in _async_handle_step
result = await getattr(flow, method)(user_input) # type: Dict
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/axis/config_flow.py", line 79, in async_step_user
device = await get_device(self.hass, self.device_config)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/axis/device.py", line 194, in get_device
device.vapix.params.update_properties)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/axis/param_cgi.py", line 61, in update_properties
self.update(path=URL_GET_GROUP.format(group=PROPERTIES))
File "/usr/local/lib/python3.7/site-packages/axis/api.py", line 22, in update
self.process_raw(raw)
File "/usr/local/lib/python3.7/site-packages/axis/param_cgi.py", line 119, in process_raw
raw_params = dict(group.split('=', 1) for group in raw.splitlines())
ValueError: dictionary update sequence element #34 has length 1; 2 is required
Upgraded to 92.1, all seems to be working fine! Thanks!
After updating to .92 when I selected my camera from the UI it wasn’t able to load the stream. The popup window came up with the loading spinning circle, but no steam. I logged into my camera to see if the camera is working, which it was. I switched back to HASS selected my camera and the steam worked.
If I reboot HASS it stops working again until I log into the camera from the browser again.
When I view my camera steam from the the UI it brings up a delay steam from about 2 min from the live view? Anyone else seeing this issue?
That sounds weird, is there even a cache that long? Sounds like it streams a recording
It might be because I have “preload steam” checked…I can’t get my stream to show up if I don’t have that checked.
Im still having issues with my camera. I can only get my steam to show up when i have preload steam selected and then it shows me a delayed video.
I’ve deleted my camera integration, restarted HA, and reconfigured the integration with the same results.
I don’t really have much support to give in regards to the stream functionality. There is a thread focused on supporting the stream implementation.
Factory resetting my camera has fixed my issue.
After a few weeks of perfect operation, I had to roll back the firmware of 2 cameras (IR bug), which now show as entity not available. The log says:
Unknown error connecting with Axis device on 192.168.20.209
The log inside the camera doesn’t show any failed connection attempts. The HA machine can ping the camera. Nothing was changed except for the firmware rollback.
Any suggestions?
Have they changed address?
no, they are reserved via DHCP
Can you please enable debug?
Did you enable debug for axis component? Well the error message you suggests that it timeouts trying to connect to.the device
After a chat with Axis support I reverted to a previous firmware and now connection works fine again. Thanks for your assistance anyway.
When i factory reseted my camera I went back on version of the firmware to from 9.x to 8.x
Does it stop working if you upgrade again?
Only one way to find out…I will report back when it’s done upgrading.
Edit: Upgraded from 8.40.4 to 9.10.1…and everything is working so far.