TheCrypt0 / yi-hack-v4

New Custom Firmware for Xiaomi Cameras based on Hi3518e Chipset. It features RTSP, SSH, FTP and more!
GNU General Public License v3.0
1.56k stars 219 forks source link

PTZ + Camera Settings #230

Open Keroi opened 4 years ago

TheCrypt0 commented 4 years ago

Hi @Keroi, Thank you for the contribution! Would you mind writing a quick sum up of what you updated in the original files and the new features?

Keroi commented 4 years ago

Hi @TheCrypt0 !

Sure. Most of the new files are based on roleoroleo works for the MStar platform : https://github.com/roleoroleo/yi-hack-MStar/. Those changes add the ipc_cmd used for PTZ, presets and some camera settings such as rotate, IR, led, ... (copied from official app) :

All that stuff is for the new pages (PTZ and Camera Settings) :

Of course the src/www/httpd/htdocs/index.html has been modified to add the new link. I deleted the status page because there wasn't enough space on the nav menu.

I removed the changes I made to src/www/httpd/cgi-bin/get_configs.sh and src/www/httpd/cgi-bin/get_configs.sh. It was a copy of the files from the MStar repo, but these changes are not needed.

danielhainich commented 4 years ago

Hi, iam not fimiliar using github. How I can Download your modified Firmware? I have yi Dome 1080p

snicker commented 4 years ago

Just picked up a Yi-dome, would love to get PTZ built into this firmware. @Keroi do you have a release you have built already? Would save me the trouble of creating a build environment.

@TheCrypt0 do you have a timeline for integration of this feature to the mainline firmware?

iclems commented 4 years ago

Very exciting to get control of the status led remotely.

odelma commented 3 years ago

Hi, iam not fimiliar using github. How I can Download your modified Firmware? I have yi Dome 1080p

Just picked up a Yi-dome, would love to get PTZ built into this firmware. @Keroi do you have a release you have built already? Would save me the trouble of creating a build environment.

Check Keroi's forked repo here: https://github.com/Keroi/yi-hack-v4 (https://github.com/Keroi/yi-hack-v4/releases/tag/v0.2.1-h1). Hopefully someone with the needed skills would continue the work from there.