fwestenberg / reolink_dev Goto Github PK
View Code? Open in Web Editor NEWHome Assistant Reolink addon
License: MIT License
Home Assistant Reolink addon
License: MIT License
Hi, First of all, thank you so much for this plug in. Your work on this is highly appreciated.
Could you please take a look at the issue below:
I have four cameras using this plugin. During HA boot up and setting up entities, if a camera does not respond - that camera and its related entities are not setup. Usually this could be due to camera being slow or temp off network etc. In this case in order to make this camera work, HA needs to be restarted.
Is there a way, during boot up all entities are setup irrespective of connection to camera, and log a message that camera is not responding; then keep trying to connect every 5mins lets say.
The main point is to avoid HA restart.
Thanks
No issue, just wanted to say THANKS!!!
I noticed that my HA installation was slowing down the network and when analyzing it some more I noticed that the reolink_dev integrations is pulling/requesting data all the time.
Even though I have extended that scan intervall the integration is pulling 6-8Mb/seconds all the time.
when I turn of the integration the traffic stops to its related to the integration.
Is there a way to stop this behaviour?
Im using it against my NVR.
`camera:
`
I really enjoyed your custom component, but it seems broke after updating to home assistant 100.1. This is what the log says:
Platform error: camera Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config.py", line 778, in async_process_component_config platform = p_integration.get_platform(domain) File "/usr/src/homeassistant/homeassistant/loader.py", line 232, in get_platform f"{self.pkg_path}.{platform_name}" File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/config/custom_components/reolink/camera.py", line 13, in <module> from homeassistant.util.async_ import run_coroutine_threadsafe ImportError: cannot import name 'run_coroutine_threadsafe' from 'homeassistant.util.async_' (/usr/src/homeassistant/homeassistant/util/async_.py)
This is error in the Log:
[ Logger: root
Source: components/stream/worker.py:49
First occurred: 21:30:42 (2 occurrences)
Last logged: 21:31:06
Uncaught exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/util/thread.py", line 20, in run
run_old(*args, **kwargs)
File "/usr/local/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 49, in stream_worker
container = av.open(stream.source, options=stream.options)
File "av/container/core.pyx", line 354, in av.container.core.open
File "av/container/core.pyx", line 225, in av.container.core.Container.cinit
File "av/container/core.pyx", line 257, in av.container.core.Container.err_check
File "av/error.pyx", line 336, in av.error.err_check
av.error.ValueError: [Errno 22] Invalid argument: 'rtsp://admin:[email protected]:None/h264Preview_01_sub'; last error log: [tcp] Port missing in uri]()
Hello how to record?
Best regards
ArchGalileu
hi your addon its awesome its easy to use it but i have a question hoy can i use it with 3 cams? i have 3 reolinks in my home withouth nvr, i can config 1 but i dont know how to config the other 2 please helpme, thanks
(Thank you for creating this project!)
I have three Reolink cameras that I formerly streamed to my front end via ffmpeg platform with rtsp input. I just rebuilt my HA with the latest Hassio image and discovered your project. I was able to get my two C2 PTZ cameras working fine but the third bullet RLC-410S cam is not connecting. From log:
Error translating login response to json
10:40 AM custom_components/reolink_dev/ReolinkPyPi/camera.py (ERROR)
Exception while calling Reolink camera API at ip 192.168.1.114
10:40 AM custom_components/reolink_dev/ReolinkPyPi/camera.py (ERROR)
The credentials are exactly the same as the other cameras, have not changed and worked previously. This is my configuration.yaml entry (I removed the other cameras) :
camera:
Restarting camera and HA have no effect. I also changed the protocol to rtsp just to see if that made a difference but get same errors. Any suggestions?
Thanks
Since the latest commit (4661784) I have been getting the error:
Exception while calling Reolink camera API at ip 192.168.1.10
And the stream only has the last few seconds before the error occurred.
This is directly accessing the camera and not using an NVR.
Hi,
would it be possible to extend this super component with the ability to be able to send a pre-programmed (in the camera) PTZ position to the camera?
wuaaaowh!
what an awesome integration! I was searching for smth like this for hours now.
Is it planned to bring the integration into hacs? :)
https://github.com/hacs/integration
I tried to clone via https://github.com/fwestenberg/reolink.gitto Hassio addons but did not succeed.
Log:
19-12-03 09:00:13 INFO (MainThread) [hassio.store.git] Clone add-on https://github.com/fwestenberg/reolink.git repository
19-12-03 09:00:15 ERROR (MainThread) [hassio.utils.json] Can't read json from /data/addons/git/7299d7ac/repository.json: [Errno 2] No such file or directory: '/data/addons/git/7299d7ac/repository.json'
19-12-03 09:00:15 WARNING (MainThread) [hassio.store.data] Can't read repository information from /data/addons/git/7299d7ac/repository.json
19-12-03 09:00:16 INFO (MainThread) [hassio.store] Load add-ons from store: 62 all - 0 new - 0 remove
19-12-03 09:00:28 INFO (MainThread) [hassio.store.git] Update add-on https://github.com/fwestenberg/reolink.git repository
19-12-03 09:00:28 INFO (MainThread) [hassio.store.git] Update add-on https://github.com/hassio-addons/repository repository
19-12-03 09:00:28 INFO (MainThread) [hassio.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
19-12-03 09:00:29 ERROR (MainThread) [hassio.utils.json] Can't read json from /data/addons/git/7299d7ac/repository.json: [Errno 2] No such file or directory: '/data/addons/git/7299d7ac/repository.json'
19-12-03 09:00:29 WARNING (MainThread) [hassio.store.data] Can't read repository information from /data/addons/git/7299d7ac/repository.json
19-12-03 09:00:30 INFO (MainThread) [hassio.store] Load add-ons from store: 62 all - 0 new - 0 remove
P:S. I use a Reolink ET Pro
Regards
Hans
Hi there, I have everything setup and everything except for video displays (and the buttons just throw errors. I have a Reolink 420
Here's my config (binary_sensor and switch are both in my configuration.yaml file and appear to validate and work fine otherwise)
camera:
I have verified that going to the IP on port 80 with the login and password copied and pasted from the config file works fine. (although flash.. yuk)
Here's the errors
2019-10-27 16:39:58 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/reolink/camera.py", line 251, in get_camera_settings
if (self._ir_lights[0]["value"]["IrLights"]["state"] == "Auto"):
KeyError: 'value'
2019-10-27 16:39:58 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 273, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 314, in _async_write_ha_state
attr.update(self.state_attributes or {})
File "/config/custom_components/reolink/camera.py", line 168, in state_attributes
attrs["ir_lights_enabled"] = self._ir_lights_enabled
AttributeError: 'ReolinkCamera' object has no attribute '_ir_lights_enabled'
There's nothing in the logs about the camera itself, just the ir_lights_enabled.
First of all once again thanks for your great work and fixing the previous issue.
Currently I'm testen the updated version and what I've noticed is that the image quality is quite low somehow.
The following things what I've done to exclude if it is maybe related to the netwerk:
Is there a way to change the image quality?
I've checked a part of your code but the url what you're using is in the same way as I used it in the generic camera component: "rtmp://192.168.1.xxx/bcs/channel0_main.bcs?channel=0&stream=0&user=user&password=password"
Not sure if this is related but the following error will appear in Home Assistant:
Log Details (ERROR)
Thu Jan 02 2020 08:18:25 GMT+0100 (Midden-Europese standaardtijd)
Error requesting stream: camera.achtertuin_reolink does not support play stream service
EDIT: Solution found. I had to reboot the NVR. Please Delete.
Updated to HA 0.115.2 yesterday, and now encountering the following error messages:
Streamer/Worker errors:
Reolink Dev installed via HACS. Running latest version.
While the live stream in lovelace works, the
camera.snapshot Service constantly fails to create snapshot images, the result is:
[ { "cmd" : "Snap", "code" : 1, "error" : { "detail" : "please login first", "rspCode" : -6 } } ]
The live stream preview (lovelace) isn't most of the time showing an image as well, but when opening the stream in homeassistant, the stream shows the live video.
I repeatedly (thousands of times) get this error in the HA logs. I noticed it after going to 0.110.1. I'm not sure if it was there before.
Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for reolink_dev doing I/O at custom_components/reolink_dev/ReolinkPyPi/camera.py, line 272: response = requests.post(self._url, data=json.dumps(body), params=param)
Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for reolink_dev doing I/O at custom_components/reolink_dev/ReolinkPyPi/camera.py, line 270: response = requests.get(self._url, params=param, stream=stream)
Here is my system:
arch | x86_64 |
---|---|
chassis | vm |
dev | false |
docker | true |
hassio | true |
host_os | HassOS 3.13 |
installation_type | Home Assistant |
os_name | Linux |
os_version | 4.19.115 |
python_version | 3.7.7 |
supervisor | 222 |
timezone | America/Chicago |
version | 0.110.1 |
virtualenv | false |
What does it mean?
Pursuant to this issue, it would be very useful to have a sensor which told us when the component is not actually able to connect to the camera and is therefore not actually updating. This would help me to show the camera in the UI only when there's actually something to show.
Hi @fwestenberg!
Do you know if it´s possible to use the service camera.play_stream with your custom component?.
I would like to send eventually the cameras to my chromecast, but I can´t do it actually
I have this in my configuration.yaml:
# Example configuration.yaml entry stream:
But I getan API error if I try to send the camera to chromecast
Best regards and thanks for your work, I can´t live without your custom component
Hi, I am having some issues triggering the services exposed by the component via automation or Scripts.
I can correctly call a service by using the Developer tool of HA or by linking to a lovelace card.
I cannot call a service by setting as the action of an automation or by inserting it into a script.:
I get the following error:
2020-09-03 17:59:32 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2734821464] unhashable type: 'list'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 125, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1308, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1343, in _execute_service
await handler.func(service_call)
File "/usr/src/homeassistant/homeassistant/components/script/__init__.py", line 212, in service_handler
await script_entity.async_turn_on(
File "/usr/src/homeassistant/homeassistant/components/script/__init__.py", line 313, in async_turn_on
await coro
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 802, in async_run
await asyncio.shield(run.async_run())
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 183, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 191, in _async_step
await getattr(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 380, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1308, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1347, in _execute_service
await self._hass.async_add_executor_job(handler.func, service_call)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/reolink_dev/camera.py", line 86, in handler_disable_ftp
entity = component.get_entity(call.data.get(ATTR_ENTITY_ID))
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 99, in get_entity
entity_obj = platform.entities.get(entity_id)
TypeError: unhashable type: 'list'
The result does not change if I use any of the other exposed services.
Looks like this line:
File "/config/custom_components/reolink_dev/camera.py", line 86, in handler_disable_ftp
entity = component.get_entity(call.data.get(ATTR_ENTITY_ID))
when called by lovelace or by the Developer tool, receives an object, while if called by automation or script receives a list.
Not being able to call services by automation is a nuisance as it would be great to enable motion detection and recording only when I leave home .
Does anyone have an idea on how to fix it?
When trying to add a D400 with the same config as my working RLC-410-MP5, I get the following error messages when clicking the (broken) image in lovelace to open the stream, and then closing it:
I'm using similar config on all cameras:
I'm not using NVR, just registered the cameras in the app. All cameras works fine in the app.
The D400 does not have a web gui.
Thanks for the fix in fwestenberg/reolink#37, however still getting the error I/O event loop with latest version of master 2826103
.
Detected I/O inside the event loop. This is causing stability issues.
Please report issue to the custom component author for reolink_dev doing I/O at
custom_components/reolink_dev/ReolinkPyPi/camera.py, line 282: response = requests.post(self._url, data=json.dumps(body), params=param, timeout=10)
Hi,
my realink camera stops/freezes at 02:00 (2a.m.) nearly every night. Nothing special happen at 02:00.
Only a google Drive backup is started.
- id: '1541223656718'
alias: Snapshot Google Drive
trigger:
- at: 02:00:00
platform: time
condition: []
action:
- service: rest_command.google_backup
I got this error message in the log
2020-08-23 02:00:26 ERROR (MainThread) [custom_components.reolink_dev.camera] Got exception while fetching the state:
Looks like this:
All other cams (not reolink) works fine. Only restart server fix this issue temporary. What can cause this? Please help.
Hi,
Is there a way I can configure this addon to support connecting to the camera on an other port than 80 (for http).
(for streaming standard ports are ok for me, for now at least - but I guess they could be configurable also).
/Magnus
installed reolink from the hacs instructions
when i check why its not working i notice the url port number in not there and admin is spelt wrong
do i have to add it some where?
log viewer
2020-09-26 10:44:01 ERROR (stream_worker) [libav.rtmp] Cannot open connection tcp://192.168.1.15:0
2020-09-26 10:44:01 ERROR (stream_worker) [homeassistant.components.stream.worker] Stream connection failed: rtmp://192.168.1.15:None/bcs/channel0_main.bcs?channel=0&stream=0&user=admim&password=xxxxxx
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 48, in stream_worker
_stream_worker_internal(hass, stream, quit_event)
File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 65, in _stream_worker_internal
container = av.open(stream.source, options=stream.options)
File "av/container/core.pyx", line 354, in av.container.core.open
File "av/container/core.pyx", line 225, in av.container.core.Container.cinit
File "av/container/core.pyx", line 257, in av.container.core.Container.err_check
File "av/error.pyx", line 336, in av.error.err_check
av.error.ValueError: [Errno 22] Invalid argument: 'rtmp://192.168.1.15:None/bcs/channel0_main.bcs?channel=0&stream=0&user=admim&password=xxxxxxx'; last error log: [rtmp] Cannot open connection tcp://192.168.1.15:0
and Config
camera:
binary_sensor:
platform: template
sensors:
motion_frontdoor:
friendly_name: Camera frontdoor
device_class: motion
entity_id: camera.frontdoor
value_template: "{{ is_state('camera.frontdoor', 'motion') }}"
delay_off:
seconds: 30
cheers marty
HACS support would be really useful!
Hi,
Reolink E1 camera can be paned and tilted. Are you planning to add this functionality or is there a way to do it already in HA ?
Thank you
Where should I be putting this?
Also for the binary_sensors.yaml file, I don't have this file. Do I have to do anything special other than create it?
Thanks!
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)
In the current items I did not see a switch to set Motion detection to ON or OFF.
Via this feature it´s possible to create automation to set it off when your home and on when you are away.
I already searched for CGI commands, but these seem to be unavailable.
Great component. Works really well.
Can I suggest that you do a release when you reach a milestone?
This would allow us to follow releases only instead of following every conversation in the repository.
I cannot get this working for the life of me. What would an automation look like that when there's motion sends a notification with a a snap shot?
I've identified this occurring as a result of a scheduled camera reboot on my camera. However I can reproduce it with a 'reboot' command on the camera web interface.
Camera's entity_picture (/api/camera_proxy/....) serves a corrupted image following connection loss. When clicking on the camera in home assistant it still loads the live stream and motion events seem to continue, however the only way to recover the entity_picture is a reboot of home assistant?
<img src="https://[redacted]/api/camera_proxy/camera.garage4?token=[redacted]" alt="The image “https://[redacted]/api/camera_proxy/camera.garage4?token=[redacted]” cannot be displayed because it contains errors." title="" width="inherit" height="inherit">
HA Version: Home Assistant 0.114.0 (this has occurred on earlier versions also)
That would be a major convenience. Let me know if you need help with that, I just added my first HACS component :)
Thanks for the great work so far!
Using the the .109.0 Beta I get this in my logs:
Log Details (WARNING)
Logger: homeassistant.util.async_
Source: util/async_.py:120
First occurred: 7:24:43 AM (847 occurrences)
Last logged: 7:36:38 AM
Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for reolink_dev doing I/O at custom_components/reolink_dev/ReolinkPyPi/camera.py, line 282: response = requests.post(self._url, data=json.dumps(body), params=param, timeout=10)
I follwed the instruction to install new version but log tells
Platform error camera.reolink_dev - Integration 'reolink_dev' not found.
Just got my camera today, hooked everything up to network and home-assistant before mounting it. This addon worked great, so I disconnected the camera to prepare for mounting. After awhile I could no longer reach the web interface for home-assistant. Wasn't a big deal was able to restart HA manually through docker but wanted to bring it up to you. I've disabled the camera and sensors for now until I can get the camera back online, and those log errors have ceased,
2020-01-25 16:12:49 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:12:52 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:12:52 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:12:52 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:13:05 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:13:36 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:13:39 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:13:39 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:14:07 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:14:38 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:14:41 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:14:41 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:14:41 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:15:09 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:15:40 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:15:43 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:15:43 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:16:11 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:16:42 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:16:45 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:16:45 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:16:45 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:17:13 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:17:44 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:17:47 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:17:47 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:17:47 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:18:15 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:18:46 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:18:49 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:18:49 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:19:17 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:19:48 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:19:51 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:19:51 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:19:51 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:20:19 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:20:50 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:20:53 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:20:53 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:21:21 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:21:52 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:21:55 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:21:55 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:21:55 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:22:23 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:22:54 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:22:57 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:22:57 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:22:57 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:23:25 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:23:56 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:23:59 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:23:59 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:24:27 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:24:58 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:25:01 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:25:01 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:25:01 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:25:29 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:26:00 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:26:03 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:26:03 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:26:31 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:27:02 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:27:05 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:27:05 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:27:05 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:27:06 INFO (MainThread) [homeassistant.components.automation] Executing Foyer light Motion
2020-01-25 16:27:06 INFO (MainThread) [homeassistant.helpers.script] Script Foyer light Motion: Running script
2020-01-25 16:27:06 INFO (MainThread) [homeassistant.helpers.script] Script Foyer light Motion: Executing step call service
2020-01-25 16:27:06 INFO (MainThread) [homeassistant.helpers.script] Script Foyer light Motion: Executing step delay 0:02:20
2020-01-25 16:27:32 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:28:03 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:28:06 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:28:06 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:28:06 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:28:34 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:29:05 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:29:08 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:29:08 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:29:27 INFO (MainThread) [homeassistant.helpers.script] Script Foyer light Motion: Executing step call service
2020-01-25 16:29:36 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:30:07 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:30:10 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:30:10 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:30:10 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:30:38 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:31:09 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:31:12 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:31:12 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:31:12 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:31:35 INFO (MainThread) [homeassistant.components.automation] Executing Foyer light Motion
2020-01-25 16:31:35 INFO (MainThread) [homeassistant.helpers.script] Script Foyer light Motion: Running script
2020-01-25 16:31:35 INFO (MainThread) [homeassistant.helpers.script] Script Foyer light Motion: Executing step call service
2020-01-25 16:31:35 INFO (MainThread) [homeassistant.helpers.script] Script Foyer light Motion: Executing step delay 0:02:20
2020-01-25 16:31:40 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:32:11 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:32:14 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:32:14 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:32:42 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:33:13 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:33:16 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:33:16 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:33:16 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:33:44 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:33:56 INFO (MainThread) [homeassistant.helpers.script] Script Foyer light Motion: Executing step call service
2020-01-25 16:34:15 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:34:18 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:34:18 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:34:46 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:34:46 WARNING (MainThread) [zigpy_deconz.zigbee.application] Error while sending 16 req id frame: 0xd0
2020-01-25 16:35:17 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:35:20 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:35:20 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:35:20 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:35:48 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:36:19 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:36:22 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:36:22 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:36:22 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:36:50 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:37:21 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:37:24 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:37:24 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:37:52 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:38:23 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:38:26 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:38:26 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:38:26 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:38:54 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:39:25 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:39:28 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:39:28 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:39:56 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:40:27 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:40:30 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:40:30 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:40:30 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:40:58 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:41:29 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:41:32 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:41:32 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:41:32 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:41:51 INFO (MainThread) [hacs.factory] Processing 4 tasks
2020-01-25 16:42:00 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:42:00 INFO (MainThread) [hacs.factory] Task processing of 4 tasks completed in 9 seconds
2020-01-25 16:42:31 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:42:34 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:42:34 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:43:02 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:43:33 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:43:36 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:43:36 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:43:36 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:44:04 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:44:35 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:44:38 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:44:38 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:45:06 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:45:37 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:45:40 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:45:40 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:45:40 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:46:08 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:46:39 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:46:42 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:46:42 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:46:42 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:47:10 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:47:41 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:47:44 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:47:44 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:48:12 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:48:43 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:48:46 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:48:46 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:48:46 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:49:14 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:49:45 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:49:48 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:49:48 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:50:16 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:50:47 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:50:50 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:50:50 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:50:50 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:51:18 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:51:49 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:51:52 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:51:52 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:51:52 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:52:20 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:52:51 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:52:54 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:52:54 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:53:22 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:53:53 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:53:56 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:53:56 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:53:56 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:54:24 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:54:55 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:54:58 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:54:58 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:55:26 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:55:57 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:56:00 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:56:00 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:56:00 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:56:28 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:56:59 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:57:02 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:57:02 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:57:02 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:57:30 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:58:01 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:58:04 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:58:04 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:58:32 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:59:03 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:59:06 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 16:59:06 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 16:59:06 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 16:59:34 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:00:05 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:00:08 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:00:08 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:00:36 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:01:07 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:01:10 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:01:10 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:01:10 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 17:01:38 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:02:09 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:02:12 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:02:12 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:02:12 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 17:02:40 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:03:11 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:03:14 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:03:14 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:03:42 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:04:13 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:04:16 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:04:16 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:04:16 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 17:04:44 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:05:15 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:05:18 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:05:18 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:05:46 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:06:17 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:06:20 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:06:20 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:06:20 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 17:06:48 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:07:19 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:07:22 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:07:22 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:07:22 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 17:07:50 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:08:21 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:08:24 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:08:24 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:08:52 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:09:23 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:09:26 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:09:26 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:09:26 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 17:09:54 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:10:25 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:10:28 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:10:28 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:10:56 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:11:27 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:11:30 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:11:30 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:11:30 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 17:11:52 INFO (MainThread) [hacs.factory] Processing 4 tasks
2020-01-25 17:11:57 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:12:02 INFO (MainThread) [hacs.factory] Task processing of 4 tasks completed in 10 seconds
2020-01-25 17:12:28 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:12:31 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:12:31 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:12:31 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 17:12:59 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:13:30 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:13:33 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:13:33 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:14:01 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:14:32 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:14:35 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:14:35 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:14:35 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 17:15:03 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:15:34 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:15:37 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:15:37 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:15:37 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 17:16:05 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:16:36 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:16:39 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:16:39 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:17:07 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:17:38 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:17:41 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:17:41 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:17:41 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 17:18:09 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:18:40 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:18:43 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:18:43 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:19:11 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:19:42 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:19:45 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:19:45 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:19:45 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 17:20:13 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:20:44 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:20:47 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:20:47 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:20:47 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2020-01-25 17:21:15 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:21:46 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:21:49 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
2020-01-25 17:21:49 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Error translating response to json
2020-01-25 17:22:17 ERROR (MainThread) [custom_components.reolink_dev.ReolinkPyPi.camera] Exception while calling Reolink camera API at ip RLC-410W.local
When clicking on the IR_Lights button, an error is displayed
Failed to call service/turn_on. 'value'
The HA logs show this
2020-09-04 15:30:47 ERROR (MainThread) [homeassistant.helpers.script] Error executing script. Unexpected error for call_service at pos 1: 'value'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 191, in _async_step
await getattr(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 380, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1308, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1347, in _execute_service
await self._hass.async_add_executor_job(handler.func, service_call)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/reolink_dev/camera.py", line 116, in handler_enable_ir_lights
entity.enable_ir_lights()
File "/config/custom_components/reolink_dev/camera.py", line 323, in enable_ir_lights
if asyncio.run_coroutine_threadsafe(self._reolinkSession.set_ir_lights(True), self.hass.loop).result():
File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 439, in result
return self.__get_result()
File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
raise self._exception
File "/config/custom_components/reolink_dev/ReolinkPyPi/camera.py", line 293, in set_ir_lights
body = [{"cmd":"SetIrLights","action":0,"param": self._ir_settings["value"] }]
KeyError: 'value'
2020-09-04 15:30:47 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140524359648928] 'value'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 125, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1308, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1343, in _execute_service
await handler.func(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 208, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 454, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 583, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 485, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/template/switch.py", line 213, in async_turn_on
await self._on_script.async_run(context=self._context)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 802, in async_run
await asyncio.shield(run.async_run())
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 183, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 191, in _async_step
await getattr(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 380, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1308, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1347, in _execute_service
await self._hass.async_add_executor_job(handler.func, service_call)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/reolink_dev/camera.py", line 116, in handler_enable_ir_lights
entity.enable_ir_lights()
File "/config/custom_components/reolink_dev/camera.py", line 323, in enable_ir_lights
if asyncio.run_coroutine_threadsafe(self._reolinkSession.set_ir_lights(True), self.hass.loop).result():
File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 439, in result
return self.__get_result()
File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
raise self._exception
File "/config/custom_components/reolink_dev/ReolinkPyPi/camera.py", line 293, in set_ir_lights
body = [{"cmd":"SetIrLights","action":0,"param": self._ir_settings["value"] }]
KeyError: 'value'
Developer Tools | States for the camera shows everything correctly except for the ir_lights_enabled which shows null
I double checked everything and I don't think I missed any step or had a typo, but if I did, I'm sure someone will let me know.
Thanks for integration.
BB
At the moment cameras are supported but it would be nice to allow cameras to be interacted with through an NVR.
An interim fix I use with the generic camera can be found here - https://community.home-assistant.io/t/reolink-nvr-stream-or-snapshots-please-i-need-help-seeing-them-on-hassio/116030/4
Happy to assist on this.
Deleted
Hey there,
I was wondering why the motion detection for my E1 Zoom is not working in Home Assistant, neither does en/disabling it work (also made a post here: https://community.home-assistant.io/t/reolink-dev-cant-get-motion-detection-to-work-e1-zoom/217271).
I dug a bit and logged the response of get_settings
and turns out that data["value"]["Alarm"]["enable"]
is set to 1602 for my E1 Zoom!?
So an easy fix was replacing the check here: https://github.com/fwestenberg/reolink/blob/master/custom_components/reolink_dev/ReolinkPyPi/camera.py#L113
with if (data["value"]["Alarm"]["enable"] >= 1):
.
This fixed the motion detection in HA: binary_sensor is triggered and the motion detection switch is also set to on
.
However, what still doesn't work is disabling the motion detection and that's where I'm stuck a bit:
I logged the response of set_motion_detection
and it looks fine:
[
{
"cmd" : "SetAlarm",
"code" : 0,
"value" : {
"rspCode" : 200
}
}
]
But when get_settings
is called right after, data["value"]["Alarm"]["enable"]
is still set to 1602... Is something wrong with my E1 Zoom? Any other people with that camera with the same issue?
Bought the camera a few days ago, device info attached as screen shot from the Reolink app:
Also attached an example response of get_settings
: get_settings.txt
Any ideas?
Greetings,
Andy!
Hello. Interesting component. I have started to write my own but Your is better than what I have done ATM.
Unfortunately, I have a problem with your code. Here is the error:
Error:
2019-12-12 20:41:30 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for reolink_dev which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-12-12 20:41:30 ERROR (MainThread) [homeassistant.components.camera] Error while setting up platform reolink_dev
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_dev/camera.py", line 53, in async_setup_platform
async_add_devices([ReolinkCamera(hass, config)], update_before_add=True)
File "/config/custom_components/reolink_dev/camera.py", line 125, in __init__
self._manager = self._hass.data[DATA_FFMPEG]
KeyError: 'ffmpeg'
Environment:
Raspberry PI 3B+
Raspbian 10.1
HASSIO 0.102.3 in docker
Reolink C2
If You need more information - I am at Your service. ;)
Hi,
Camera model : Reolink RLC-410W
Connected via Wifi
I receive this error when i enable/disable ir lights switch:
'value'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 134, in handle_call_service
connection.context(msg),
File "/usr/src/homeassistant/homeassistant/core.py", line 1230, in async_call
await asyncio.shield(self._execute_service(handler, service_call))
File "/usr/src/homeassistant/homeassistant/core.py", line 1253, in _execute_service
await handler.func(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 198, in handle_service
self._platforms.values(), func, call, required_features
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 402, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 590, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 433, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/template/switch.py", line 195, in async_turn_off
await self._off_script.async_run(context=self._context)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 247, in async_run
await self._handle_action(action, variables, context)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 331, in _handle_action
await self._actions[_determine_action(action)](action, variables, context)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 413, in _async_call_service
context=context,
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 101, in async_call_from_config
domain, service_name, service_data, blocking=blocking, context=context
File "/usr/src/homeassistant/homeassistant/core.py", line 1230, in async_call
await asyncio.shield(self._execute_service(handler, service_call))
File "/usr/src/homeassistant/homeassistant/core.py", line 1257, in _execute_service
await self._hass.async_add_executor_job(handler.func, service_call)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/reolink_dev/camera.py", line 123, in handler_disable_ir_lights
entity.disable_ir_lights()
File "/config/custom_components/reolink_dev/camera.py", line 278, in disable_ir_lights
if self._reolinkSession.set_ir_lights(False):
File "/config/custom_components/reolink_dev/ReolinkPyPi/camera.py", line 264, in set_ir_lights
if json_data[0]["value"]["rspCode"] == 200:
KeyError: 'value'
template switch config :
platform: template
switches:
reolink_schuur_ir_lights:
value_template: "{{ is_state_attr('camera.reolink_schuur_dev', 'ir_lights_enabled', true) }}"
turn_on:
service: camera.enable_ir_lights
data:
entity_id: camera.reolink_schuur_dev
turn_off:
service: camera.disable_ir_lights
data:
entity_id: camera.reolink_schuur_dev
icon_template: >-
{% if is_state_attr('camera.reolink_schuur_dev', 'ir_lights_enabled', true) %}
mdi:flashlight
{% else %}
mdi:flashlight-off
{% endif %}
best regards,
Sjeff
Hi, I have a Reolink E1 Zoom and so far it works flawlessly with this component.
I have worked a bit on the API and I would like to make a PR for adding a service to enable/disable motion detection.
It's fairly easy on mine, I just have to send:
[{"cmd": "SetAlarm","action": 1,"param":{"Alarm": {"channel": 0,"type": "md","enable":1}}}]
to enable it, and:
[{"cmd": "SetAlarm","action": 1,"param":{"Alarm": {"channel": 0,"type": "md","enable":0}}}]
to disable.
I have a doubt though wether this functionality is common to all the camera or if it would be worth it to run a GetAlarm first to assess it.
Would you be interested in this kind of PR?
Edit: I created the PR anyway :)
#50
Hello
I'm trying to put this to work but when I try I can't load the image as you can see on the image attch (link)
Other doubt is regarding this point
Can you please let me know where is this code to be placed? is on a new file with other name ? Is to be placed on the configuration.yaml or in the ui-lovelace.yaml
4 -
Create email, FTP upload and infrared light buttons:
platform: template
switches:
camera_frontdoor_email:
value_template: "{{ is_state_attr('camera.frontdoor', 'email_enabled', true) }}"
turn_on:
service: camera.enable_email
data:
entity_id: camera.frontdoor
turn_off:
service: camera.disable_email
data:
entity_id: camera.frontdoor
icon_template: >-
{% if is_state_attr('camera.frontdoor', 'email_enabled', true) %}
mdi:email
{% else %}
mdi:email-outline
{% endif %}
camera_frontdoor_ftp:
value_template: "{{ is_state_attr('camera.frontdoor', 'ftp_enabled', true) }}"
turn_on:
service: camera.enable_ftp
data:
entity_id: camera.frontdoor
turn_off:
service: camera.disable_ftp
data:
entity_id: camera.frontdoor
icon_template: >-
{% if is_state_attr('camera.frontdoor', 'ftp_enabled', true) %}
mdi:filmstrip
{% else %}
mdi:filmstrip-off
{% endif %}
camera_frontdoor_ir_lights:
value_template: "{{ is_state_attr('camera.frontdoor', 'ir_lights_enabled', true) }}"
turn_on:
service: camera.enable_ir_lights
data:
entity_id: camera.frontdoor
turn_off:
service: camera.disable_ir_lights
data:
entity_id: camera.frontdoor
icon_template: >-
{% if is_state_attr('camera.frontdoor', 'ir_lights_enabled', true) %}
mdi:flashlight
{% else %}
mdi:flashlight-off
{% endif %}
Thank you in advance for your support and best regards
Latest update fixed my previous issue but now I am receiving:
Port missing in uri
on both my RLC-410, installed component via HACS
Hi.
I have a Reolink RLN8-410-E NVR with v.2.0.0.249_20011608101 firmware (2020).
In configuration .yaml:
`camera:
In lovelace:
`aspect_ratio: 0%
camera_image: camera.cam_giardino
entities:
Now I can see entity “camera.cam_giardino”, but streaming don’t start.
I had at the beginning some issues with my Reolink Camera, not sure if this wass firmware related but I have still a daily reboot activated on my camera.
What I've noticed is that this component is crashing once there is no connection with the camera.
Hi there,
I hope that I am not right, but it is possible that the E1 Pro is unsupported by your plugin?
That's my configuration.yaml:
- platform: reolink_dev
host: 192.168.0.127
username: admin
password: xxx
name: Wohnung_Test
In my conditions I get from the camera:
access_token: 74ca9fb8e291944c206c4097a790ffe41b3bc99205d8524aba4980c2d2e1c8a8
last_update: 2020-02-05T13:01:03.079608
ftp_enabled: null
email_enabled: null
ir_lights_enabled: null
ptzpresets: {}
friendly_name: Wohnung_Test
entity_picture: /api/camera_proxy/camera.wohnung_test?token=74ca9fb8e291944c206c4097a790ffe41b3bc99205d8524aba4980c2d2e1c8a8
supported_features: 2
and state:
no_motion
State isn't changing with motion!
Do you have an idea what might be wrong?
Thank you!
Greets
Daniel
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.