Problems with configure Icloud device_tracker + IP camera

Hi, I have just installed on a Raspberry Pi 3.
I have several problems:

  1. I tried to configure Icloud device Tracker and after restarting I am getting the password on my trusted iOS device but when I enter it in HA nothing happened. I looked at the log and I can see an error (see log below).
  2. I have a IP camera (Onvif support) and I am trying to configure ir like this:
  • platform: onvif
    port: 8899
    username: ‘admin’
    The camera does not show and I am getting this error in the log (see second log below).
    Can someone help with one of those ?

Icloud device Tracker Log

Log Details (ERROR)
Fri Mar 16 2018 09:28:36 GMT+0200 (Jerusalem Standard Time)
Error executing service <ServiceCall configurator.configure: configure_id=1846172528-1, fields=trusted_device=288321>
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/”, line 1006, in _event_to_service_call
await service_handler.func(service_call)
File “/usr/lib/python3.6/site-packages/homeassistant/components/”, line 224, in async_handle_service_call, {}))
File “/usr/lib/python3.6/asyncio/”, line 332, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.6/asyncio/”, line 250, in _wakeup
File “/usr/lib/python3.6/asyncio/”, line 245, in result
raise self._exception
File “/usr/lib/python3.6/concurrent/futures/”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/”, line 204, in icloud_trusted_device_callback
self._trusted_device = self.api.trusted_devices[self._trusted_device]
IndexError: list index out of range

Camera Log:

Error while setting up platform onvif
9:28 AM components/camera/ (ERROR)
Unable to communicate with ONVIF Camera: Unknown error: <urlopen error [Errno 111] Connection refused>
9:28 AM components/camera/ (ERROR)
Setup of platform onvif is taking over 10 seconds.

Look at the post #8 of VladTepz. He explains how to set it up: iCloud custom_component device tracker that will not drain your battery

Thanks, icloud now working !
What about the IP camera ?

Can’t help you there but based on the error log it looks like port to your camera might be closed.Can’t be sure, sorry.

On my icloud account I have 4 devices (they all show on the HA Dashboard). Do you know how to do hide some of them (I don’t need all of them at HA Dashboard) ?

I gave up on iCloud but if you look at the link above you will find your answer.