AlexxIT / SonoffLAN

Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant
https://github.com/AlexxIT/Blog
MIT License
2.58k stars 406 forks source link

sonoff GK-200MP2-B can't ptz! Help! #655

Closed Joynaruto2nd closed 2 years ago

Joynaruto2nd commented 2 years ago

problem: can't ptz stream video: ok steam voice: ok

My card config: type: custom:webrtc-camera url: rtsp://account:key@192.168.x.x:xxx/av_stream/ch0 title: xxx muted: false background: true poster: https://xxx.jpg ptz: opacity: 0.4 service: sonoff.send_command data_left: device: 'my 6 digital id' cmd: left data_right: device: 'my 6 digital id' cmd: right data_up: device: 'my 6 digital id' cmd: up data_down: device: 'my 6 digital id‘ cmd: down -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- my configuration.yaml:

sonoff: username: +00xxx password: xxx reload: always

script: left: sequence:

Joynaruto2nd commented 2 years ago

My fault. The cam id was the problem.