roleoroleo / yi-hack_ha_integration

Home Assistant custom integration for Yi cameras: yi-hack-MStar, yi-hack-Allwinner, yi-hack-Allwinner-v2, yi-hack-v5 and sonoff-hack
GNU General Public License v3.0
218 stars 32 forks source link

Guide on how to copy files #11

Closed robix90 closed 3 years ago

robix90 commented 3 years ago

Hi to all of you.

Would it be possible to have a link or someone can guide me on how to copy files?

I've created folder "yi-hack" in the root folder of cameras FTP server. Copied nano file so I can use TTS but it doesn't work. Do i need to ssh or there is something else?

Kind regards.

roleoroleo commented 3 years ago

Decompress the archive in /tmp/sd/yi-hack

The binary in /tmp/sd/yi-hack/bin The libraries in /tmp/sd/yi-hack/usr/share/...

robix90 commented 3 years ago

Decompress the archive in /tmp/sd/yi-hack

The binary in /tmp/sd/yi-hack/bin The libraries in /tmp/sd/yi-hack/usr/share/...

Thank you for reply Roleoroleo

When you say "decompress" do you mean login in ftp server of camera and manualy (right click with mouse -- new folder)?

or should I do it on sd card before inserting it in?

That is part what I don't get.

roleoroleo commented 3 years ago

It's the same.

divemasterjm commented 3 years ago

hi @roleoroleo in order to use media player it is needed to copy the tts (yi-hack utils) files? if yes where (directory) i have to copy those files in camera sd?

roleoroleo commented 3 years ago

media player uses the standard tts engine included in ha. You have to enable it in your configuration.

speak service instead use local tts service and you need to install nanotts.

jorgedeand-hacs commented 3 years ago

Are all files under 'usr/share/pico/lang' necessary? I can only copy 3 files, so far. After that it says no space left on device.

roleoroleo commented 3 years ago

Copy the files in /tmp/sd/yi-hack/usr/share/pico/lang And remove the file you copied in /usr

robix90 commented 3 years ago

Just a little note for newbs like me. /tmp/sd IS your SD card root folder. You don't need to create it