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

[Feature request] PTZ for Eufy Indoor Cam Pan&Tilt #217

Closed
seygi opened this issue Dec 17, 2021 · 4 comments
Closed

[Feature request] PTZ for Eufy Indoor Cam Pan&Tilt #217

seygi opened this issue Dec 17, 2021 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@seygi
Copy link

seygi commented Dec 17, 2021

Please, add on our wiki

Example how to configure PTZ for EUFY cam

 ptz:
        opacity: 0.4
        service: eufy_security.send_message
        data_left:
          message: |-
            {
              "messageId": "cmd Pan And Tilt Down", 
              "command": "device.pan_and_tilt",
              "serialNumber": "T8410XXXXX",
              "direction": 1
            }
        data_right:
          message: |-
            {
              "messageId": "cmd Pan And Tilt Down", 
              "command": "device.pan_and_tilt",
              "serialNumber": "T8410XXXXX",
              "direction": 2
            }
        data_up:
          message: |-
            {
              "messageId": "cmd Pan And Tilt Down", 
              "command": "device.pan_and_tilt",
              "serialNumber": "T8410XXXXX",
              "direction": 3
            }
        data_down:
          message: |-
            {
              "messageId": "cmd Pan And Tilt Down", 
              "command": "device.pan_and_tilt",
              "serialNumber": "T8410XXXXX",
              "direction": 4
            }

Override 'T8410XXXXX' to your cam serial number

@AlexxIT AlexxIT added the documentation Improvements or additions to documentation label Dec 17, 2021
@fuatakgun
Copy link
Contributor

@seygi , can you please create a request on eufy_security repository so i can simply these by direct commands?

@Ra7t0r
Copy link

Ra7t0r commented Sep 12, 2022

Hello. I hope you’re doing well @AlexxIT @fuatakgun @seygi
I done that but I get the following error:

Screenshot 2022-09-12 at 7 09 34 PM

My yaml is this

      type: custom:webrtc-camera
      url: rtsp://V..Q:Hq..d@10.0.10.X/live0
      background: false
      muted: false
      ptz:
        opacity: 0.4
        service: eufy_security.send_message
        data_left:
          message: |-
            {
              "messageId": "cmd Pan And Tilt Down", 
              "command": "device.pan_and_tilt",
              "serialNumber": "T8410.....D5",
              "direction": 1
            }
        data_right:
          message: |-
            {
              "messageId": "cmd Pan And Tilt Down", 
              "command": "device.pan_and_tilt",
              "serialNumber": "T8410.....D5",
              "direction": 2
            }
        data_up:
          message: |-
            {
              "messageId": "cmd Pan And Tilt Down", 
              "command": "device.pan_and_tilt",
              "serialNumber": "T8410.....D5",
              "direction": 3
            }
        data_down:
          message: |-
            {
              "messageId": "cmd Pan And Tilt Down", 
              "command": "device.pan_and_tilt",
              "serialNumber": "T8410.....D5",
              "direction": 4
            }

Can you please assist?
Thanks

@fuatakgun
Copy link
Contributor

Please get latest version of integration, i introduced easy to use services rather than send_message command.

@AlexxIT
Copy link
Owner

AlexxIT commented Jan 2, 2023

Thanks. I've added it to the wiki

@AlexxIT AlexxIT closed this as completed Jan 2, 2023
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

4 participants