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 405 forks source link

Support for SONOFF GK-200MP2-B #67

Open r3tr0sp3c opened 4 years ago

r3tr0sp3c commented 4 years ago

Would be great if you could release a support for the SONOFF GK-200MP2-B camera.

AlexxIT commented 4 years ago

I have this camera. It has other API.

xrust83 commented 4 years ago

This camera has control buttons, it would be nice to be able to control with HA

sabbrowne commented 4 years ago

Agree with previous user comments. This is a excellent entry level security camera by sonoff and a m sure it popularity will take off soon as with most other sonoff products. There are probably a few ways to get camera into HA. I use the following configuration entry as the camera does support RTSP protocol: camera sonoff:

from there you can feed the stream into HA front-end view and card and/or into motionEye add-on to get some motion detection, but unfortunately you can not control the pan from anywhere except the ewelink app at the moment. Therefore it would be great if you could get most of the functionality from app into HA If i was good enough i would have a try myself... alas no :(

AlexxIT commented 4 years ago

Good news. These guys did a great job decoding the protocol: https://github.com/EpicLPer/Sonoff_GK-200MP2-B_Dump Wait for PTZ support soon!

AlexxIT commented 4 years ago

Supported in latest master version (beta): https://github.com/AlexxIT/SonoffLAN#sonoff-gk-200mp2-b-camera Only PTZ now.

lakshinskij commented 4 years ago

Добрый день. Сделал всё как у Вас описано. Скрипт отрабатывает, камера не двигается (( установлена v1.10.4. ewelink на телефоне 4,1.0 камера 24520191030 . Не подскажете, куда её пнуть, что б заработало? с ув. Дмитрий

xrust83 commented 4 years ago

55CEECB5-D366-4233-83A5-32A45B764E13

lakshinskij commented 4 years ago

Ура!!!! Заработало!!!!! Спасибо огромное!!!!!

robkarpati commented 2 years ago

Hi, I have a Sonoff GK-200MP2-B camera, the image refresh is 4-5 seconds in HA but much faster in the ewelink app. The view is live. How can I make is faster? Thanks a lot!

AlexxIT commented 2 years ago

@robkarpati https://github.com/AlexxIT/WebRTC

WildRat commented 1 year ago

It seems like PTZ controls dont work with recent camera/firmware versions (I can't get it work): "fwVersion": "40220220712" I can help with debugging this issue - just tell me what needs to be done (russian language also).

Robe80 commented 1 year ago

The PTZ controls of the Sonoff gk-200mp2-b camera do not work. With the latest camera firmware 41220220712 and latest eWelink app version 4.24.0 Any idea how to get it working again?

Mattssn commented 1 year ago

Would like to join this train, I have two of these cameras and would love to be able to control pan/tilt from HA dashboard, tried the script in the readme but it seems the device ID is different and not 6 chars at least from what I can see

KlyukinND commented 1 year ago

PTZ not working with Firmware 41120220811

scrakcho commented 1 year ago

How its can be integrated from cloud and be accessible? Now i only received one entity with few attributes but nothing like camera entity.

@AlexxIT any chance for that?

AlexxIT commented 1 year ago

Not in priority