impeham
(Liran)
November 13, 2019, 10:39pm
1
i can view the web cam, but using the following script:
script:
testing:
alias: test!
sequence:
- service: camera.onvif_ptz
data:
entity_id: camera.reolink4mp
pan: "LEFT"
tilt: "NONE"
zoom: "NONE"
generates the following error:
RuntimeError: Cannot be called from within the event loop
any idea?
Tinkerer
(aka DubhAd on GitHub)
November 14, 2019, 7:51am
2
impeham:
alias: test!
That exclamation mark might be part of your problem.
impeham
(Liran)
November 14, 2019, 7:54am
3
it isn’t - i’m having the same error using service call:
Did you get this figured out? I am still trying to figure out how to view my reolink e1 pro in Home-Assitant.
Nevermind I figured it out.
I added it using onvif integration it worked great!
mufidsyed
(Mufidsyed)
June 28, 2020, 4:17am
5
Hi, Can you provide me with what you put in the config file to setup this camera. thanks. did you get plz to work also?
Hello,
I used the ONVIF integration. I entered the IP address of the camera and the onvif port which was 5000, in my case. Then entered admin as the username and the password I setup in the app.
mufidsyed
(Mufidsyed)
June 28, 2020, 8:45pm
7
What about ptz. Did you get that to work out too.
Hi! For anyone coming here, as I did, mine worked using this:
Example of picture-glance card:
- type: picture-glance
camera_image: camera.reolink_e1pro_livingroom_profile001_substream
camera_view: live
entities:
- entity: camera.reolink_e1pro_livingroom_profile001_substream
icon: mdi:arrow-down-drop-circle-outline
tap_action:
action: call-service
service: onvif.ptz
service_data:
entity_id: camera.reolink_e1pro_livingroom_profile001_substream
tilt: DOWN
move_mode: ContinuousMove
It does not work if you do not use the ContinuousMove
and I’m not sure if you can do both pan
and tilt
at the same time.
2 Likes