Netatmo Live Stream Presence / Welcome

Hi everybody,

I have an issue with the Neatmo component.

I installed the component and all was working fine but after a reboot of Hass I haven’t anymore the Netatmo stream cameras devices on the dashboard.

Others devices like Temperature , Noise, Humidity work fine.

I have this message in the log
Error while setting up platform netatmo
10:19 components/camera/netatmo.py (ERROR)

Tue Feb 20 2018 10:19:17 GMT+0100 (Paris, Madrid)

Error while setting up platform netatmo
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 84, in async_setup
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
    raise self._exception
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/camera/netatmo.py", line 49, in setup_platform
    camera_type, verify_ssl)])
  File "/usr/lib/python3.6/site-packages/homeassistant/components/camera/netatmo.py", line 68, in __init__
    camera=camera_name
  File "/usr/lib/python3.6/site-packages/smart_home/Camera.py", line 165, in cameraUrls
    temp_local_url = resp['local_url']
TypeError: 'NoneType' object is not subscriptable

I’m newbie so I don’t know what means the message …

Hi

I have the same problem. The camera has always worked very well, but since yesterday I have the following message: camera not available. Others devices work fine (température, Humidity…).

In Dev-state section < >, the entitie camera.home has disappeared

Same Logs Errors:

Blockquote
Log Details (ERROR)
Tue Mar 27 2018 09:45:54 GMT+0200 (Paris, Madrid (heure d’été))
Error while setting up platform netatmo
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 82, in async_setup
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/lib/python3.6/asyncio/futures.py”, line 245, in result
raise self._exception
File “/usr/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.6/site-packages/homeassistant/components/camera/netatmo.py”, line 49, in setup_platform
camera_type, verify_ssl)])
File “/usr/lib/python3.6/site-packages/homeassistant/components/camera/netatmo.py”, line 68, in init
camera=camera_name
File “/usr/lib/python3.6/site-packages/smart_home/Camera.py”, line 165, in cameraUrls
temp_local_url = resp[‘local_url’]
TypeError: ‘NoneType’ object is not subscriptable

Problems with Python?

I do not think the problem comes from Netatmo, because the camera works well under ImperiHome program.

Please help us, thank

Hi, the netatmo welcome come back to me yesterday. :relieved:

Thx

Sorry I have not seen your message …

I’m happy thaht you problem is solved :slight_smile:

I will close the topic because after ugrading HA I don’t a the problem anymore.

I have the same problem with my netatmo presence.
What is the solution to configure?

Hi,
sorry, I can’t help you because I don’t know how to solve that issue

Hi, I have a question for you, owners of a Netatmo welcome camera.
Is it possibile to see the live stream of the camera in home assistant by using the Netatmo Camera component?

The documentation only says:

This component allows you to view the current photo created by the Camera.

Hello, I’m also getting the same issue with presence detection from the netatmo components, here’s the error in my logfile:

2018-12-16 00:31:00 ERROR (MainThread) [homeassistant.helpers.entity] Update for binary_sensor.front_outdoor_vehicle fails
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
    await self.async_device_update()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 349, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/binary_sensor/netatmo.py", line 157, in update
    self._data.update_event()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 324, in wrapper
    result = method(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/netatmo.py", line 119, in update_event
    home=self.home, cameratype=self.camera_type)
  File "/usr/local/lib/python3.6/site-packages/smart_home/Camera.py", line 255, in updateEvent
    eventList = resp['body']['events_list']
TypeError: 'NoneType' object is not subscriptable

Did you ever fix the issue? My camera is still working, but I’m still getting the errors occasionally, so could it just be network issues?

Running

  • OS: HassOS 1.13
  • HA: 0.84.2

Quick question: how are Netatmo cameras shown in HA? Live stream or some recent photo? The same for both Welcome and Precense? The API doesn’t say it very clearly…

Yes, you can live stream