Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PTZ Config Example for IMOU :) #359

Closed
mabusdogma opened this issue Nov 26, 2022 · 4 comments
Closed

PTZ Config Example for IMOU :) #359

mabusdogma opened this issue Nov 26, 2022 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@mabusdogma
Copy link
Contributor

Not an Issue really, more like good news:
PTZ control is (finally) supported in Imou Life cameras!
Imou Life Integratión for Home Assistant

So maybe you guys find useful this WebRTC PTZ Config Example, tested on my camera

type: custom:webrtc-camera
url: rtsp://admin:secretkey@IP:554/cam/realmonitor?channel=1&subtype=1
muted: false
intersection: 1
ui: true
device_id: <your device ID>
ptz:
  service: imou_life.ptz_move
  data_left:
    device_id: <your device ID>
    duration: 100
    operation: LEFT
  data_right:
    device_id: <your device ID>
    duration: 100
    operation: RIGHT
  data_up:
    device_id: <your device ID>
    duration: 100
    operation: UP
  data_down:
    device_id: <your device ID>
    duration: 100
    operation: DOWN
  data_zoom_in:
    device_id: <your device ID>
    duration: 100
    operation: ZOOM_IN
  data_zoom_out:
    device_id: <your device ID>
    duration: 100
    operation: ZOOM_IN

@DzzD
Copy link

DzzD commented Dec 26, 2022

Well, that's a good news, unfortunately I can't create App an cant get App ID neither Imou AppSecret. Anyway a standard integration would have been a lot better :(

@AlexxIT AlexxIT added the documentation Improvements or additions to documentation label Dec 26, 2022
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 2, 2023

Added to wiki, thanks!

@AlexxIT AlexxIT closed this as completed Jan 2, 2023
@mhoogenbosch
Copy link

To find the Device ID from whithin HA:

{{device_id('camera.cameraname')}}

@ahmadmssm
Copy link

ahmadmssm commented Jan 10, 2025

Hi @mabusdogma
From where I can get the device_id: <your device ID> ?
In home assistant, I have the Imou integration.
Note: I tried the previous answer but it didn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

5 participants