Error Setting Up Platform
Receiving the following error with this component
Error while setting up platform reolink
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/asyncio/coroutines.py", line 120, in coro
res = func(*args, **kw)
File "/config/custom_components/reolink/camera.py", line 52, in async_setup_platform
reolinkCameraDevice = ReolinkCamera(hass, config)
File "/config/custom_components/reolink/camera.py", line 130, in __init__
self._reolink_session = Camera(self._host, self._username, self._password)
File "/config/custom_components/reolink/ReolinkCamera.py", line 163, in __init__
super(Camera, self).login(self.username, self.password)
File "/config/custom_components/reolink/ReolinkCamera.py", line 27, in login
data = json.loads(response.text)[0]
File "/usr/local/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Seems like the login doesn't get the expected result. Are you sure the credentials are correct in the configuration.yaml? Which camera type do you have?
Credentials are correct, using the same ones that work with the generic camera component. Camera is RLC-410
Same here. RLC-410 with hassio 0.1002 and have done installation via HACS but still get the integration not found.
same here Platform error camera.reolink - Integration 'reolink' not found.
Can you please verify if this issue is still actual with the latest vesion?
I got my Reolink E1 a week ago. I checked the version from a few days ago and had the same error.
Today with the new version i get the following error in the Log.
In configuration.yaml i have:
camera:
- platform: reolink
name: ipcam
host: 192.168.0.22
username: admin
password: 123456789
scan_interval: 5
Please check your folder structure as mentioned here. This should fix it.
Ich changed the directory structure to

and added an empty __init__.py file into the reolink_dev and the ReolinkPyPi directory.
Now the error after reboot is
Configuration.yaml is still
camera:
- platform: reolink
name: ipcam
host: 192.168.0.22
username: admin
password: 123456789
scan_interval: 5
I'm sorry, forgot to tell that ffmpeg is required for the camera stream. Just add ffmpeg: to your configuration.yaml, like described here.
Nice. Thanks for the support. The integration itself seems to be running now. But i stil get the folowing errors
I'm not absolutely sure if this is some network issue. I'm unable to connect to the E1 via any browser. Using the Reolink Windows client works flawless, no matter if connecting via UID or IP. The IP is correct and the media Port is set to (default) 9000. RTSP is set to 554.
If you take a look here you'll find your camera does not support this image url.. Any idea what the image url might be?
I contacted the support and asked for it. There are no hints across the internet regarding the URL for the E1. I already searched before.
I think this issue is more related to the E1 cam than the integration itself. As soon as there is an URL available let me know. For the time being if you are using the picture glance card like in my example, you can set it to live view (instead of snapshot), or just add a fixed image.
Only for completeness. The E1 does not provide any access via URL nor RTSP. Only the App or the Reolink client can access the camera. This is what the support answered me. Sad but true :)
Thanks for the info.
Only for completeness. The E1 does not provide any access via URL nor RTSP. Only the App or the Reolink client can access the camera. This is what the support answered me. Sad but true :)
If I take a look at the reolink website, they say that RTSP for E1 Pro can be used? So why is E1 pro "unsupported"? https://support.reolink.com/hc/en-us/articles/360007010473-How-to-Live-View-Reolink-Cameras-via-VLC-Media-Player
We were discussing about the E1 without the "pro".
In the Link you provided it clearly says: Applies to: All Reolink IP cameras( Reolink E1 pro and E1 zoom included) except for battery-powered cameras and B800/D800/B400/D400/E1/ Reolink Lumus.