roleoroleo / yi-hack-MStar

Custom firmware for Yi 1080p camera based on MStar platform
GNU General Public License v3.0
847 stars 112 forks source link

Model h201c Fw 0.5.2 - Onvif and HA #521

Closed andreapede closed 1 year ago

andreapede commented 1 year ago

Hi, i was trying to use the onvif.ptz with this firmware version. I found that it is possible to use the TILT function but not the PAN. It seems that the way to call it at low level are very similar (passing an x y value in the soap), but while the vertical movement are accepted the lateral not.

I add also two calls at soap level, maybe it can be useful

This is the call for TILT UP

`<?xml version=\'1.0\' encoding=\'utf-8\'?>\n

http://www.onvif.org/ver20/ptz/wsdl/RelativeMove urn:uuid:88653c8d-3484-4ae2-8c4e-6f3e2b8ca962 http://192.168.88.251:8080/onvif/ptz_service 2023-09-12T12:11:17+00:00 Profile_0 ` This is the call for the PAN LEFT `\n http://www.onvif.org/ver20/ptz/wsdl/RelativeMove urn:uuid:31e7d56d-3bc0-4c76-b9cd-55dafc284d2a http://192.168.88.251:8080/onvif/ptz_service 2023-09-12T12:11:22+00:00 Profile_0 `
roleoroleo commented 1 year ago

I already fixed this bug: https://github.com/roleoroleo/onvif_simple_server/commit/7c953f7623c76732c622c0f33ec23c203fab7d4d But it's not yet released.

andreapede commented 1 year ago

Great news. thansk for the feedback