Coder Social home page Coder Social logo

Comments (20)

Antarctic74 avatar Antarctic74 commented on June 2, 2024 2

@alienatedsec hi! I have a Yi dome 1080p (15us) and 2 Yi home 740p (47us) and they have already yi hack 0.2.0 from TheCrypto. I see that the files h20.... and y18.... are already in your release so no need to download the TheCrypto files right? just format SD and copy your files?

from yi-hack-v5.

t00 avatar t00 commented on June 2, 2024 1

@alienatedsec brillant, h20 firmware works great, only once streaming stopped until reboot when viewed both on yi app and VLC.
I have noticed a settings refresh delay being higher than @TheCrypt0 original h20 - rmm uses 70-80% CPU which I guess is normal for video processing?
Small issue was that symlinks are not supported on FAT32 and unpacking complained about it - not sure if any library symlink was needed - so far everything works including ONVIF integration in Home Assistant !
Either way I will give a go compiling it myself for fun - many thanks for a link, will use Debian 9 VM to avoid undiscovered issues :)

from yi-hack-v5.

t00 avatar t00 commented on June 2, 2024

And one more question - why yi-hack-v4 should also be placed on SD card? Is the firmware reading contents from SD instead of home partition?

from yi-hack-v5.

alienatedsec avatar alienatedsec commented on June 2, 2024

Hi @t00

Please use this guide to build your own firmware. It took me several attempts to be successful, but the guide is based on TheCrypt0 wiki + mine experience on Debian9.

The reason to offload the yi-hack-v4 from the internal memory to the SD card is due to decompression problems and memory allocation which I have not resolved as of yet. Some cameras have also failed to boot if the home package of the hack version which includes RTSP, PTZ, ONVIF and other improvements is bigger than expected.

When you include newer versions of submodules, the size becomes a real issue; hence, offloading is my only option at the moment.

from yi-hack-v5.

alienatedsec avatar alienatedsec commented on June 2, 2024

@t00
https://github.com/alienatedsec/yi-hack-v4/releases/tag/v0.2.3b

@alienatedsec please consider building h20 image if possible, I will be happy to test. I tried using only home_y20 after renaming to home_h20, leaving original root_h20 from Keroi/yi-hack-v4 build - it did not work.

from yi-hack-v5.

alienatedsec avatar alienatedsec commented on June 2, 2024

@Antarctic74 if you donated and obtained the license from TheCrypt0; you will lose it unless you have a backup (e.g. Email)

My release is not compatible with the v0.2.0 licensing model.

from yi-hack-v5.

Antarctic74 avatar Antarctic74 commented on June 2, 2024

@alienatedsec no I haven't paid for license thanks.
I copied the files to the SD (formatted fat32), inserted the SD in the Yi dome 1080p and powered up the camera. But nothing happened, I connected to the web server and I still see v0.2.0 from TheCrypto... what's wrong? tried a restart but nothing.
Maybe I have to press the reset button?

from yi-hack-v5.

alienatedsec avatar alienatedsec commented on June 2, 2024

@Antarctic74 Wrong. All three parts of the files have to be in the root folder. Rootfs Home and the folder

from yi-hack-v5.

Antarctic74 avatar Antarctic74 commented on June 2, 2024

Sorry my mistake, unpacked the files for the 47us
Ok it works now, the Hostname can't be set, it's empty.
Now I'll try to configure it in my home assistant
I'll report problems if any ;)

Great work @alienatedsec

from yi-hack-v5.

alienatedsec avatar alienatedsec commented on June 2, 2024

Sorry my mistake, unpacked the files for the 47us

Ok it works now, the Hostname can't be set, it's empty.

Now I'll try to configure it in my home assistant

I'll report problems if any ;)

Great work @alienatedsec

When you restart or have the config, it will populate the hostname.

from yi-hack-v5.

Antarctic74 avatar Antarctic74 commented on June 2, 2024

@t00 please can you share RTSP / onvif / still image addresses?

from yi-hack-v5.

t00 avatar t00 commented on June 2, 2024

@Antarctic74 Sure - I use rtsp://IP/ch0_0.h264 to play video, there are other examples on https://github.com/roleoroleo/yi-hack-Allwinner-v2 All RTSP channels seem to be using same, pre-configured in web interface, high quality stream ch0_0.h264 is a high quality stream, ch0_1.h264 is a low quality stream. I could not get snapshot to work though.
ONVIF auto-configuration in Home Assistant works out of the box - I just entered the IP address (not same subnet) and empty username/password. I guess default ports are in use.

from yi-hack-v5.

Antarctic74 avatar Antarctic74 commented on June 2, 2024

@t00 @alienatedsec for me the onvif port is 8080, no auth.
Low res stream is available at rtsp://192.168.1.140/ch0_1.h264 (profile_1 640360) dunno why but this stream can't be viewed in Home assistant, OK in VLC)
Hi res stream is available at rtsp://192.168.1.140/ch0_0.h264 (profile_0 1920
1080) I can view this stream in Home assistant, with a lag of about 10 seconds. If I look the stream on VLC I have no lag, work great.

You can use this program to check onvif cameras https://sourceforge.net/projects/onvifdm/

from yi-hack-v5.

alienatedsec avatar alienatedsec commented on June 2, 2024

Low res stream is available at rtsp://192.168.1.140/ch0_1.h264 (profile_1 640*360) dunno why but this stream can't be viewed in Home assistant, OK in VLC)

@Antarctic74 please check the known issues of the release. Also, it would be interesting to know if the stream is working stable through VLC.

from yi-hack-v5.

MiSSHeaDShoT avatar MiSSHeaDShoT commented on June 2, 2024

Hello I will do also a test as I have Dome 1080p. Do you plan to update mqttv4 library to support baby crying and sound events? There is one here for others chipsets already made but I could not make it work for this firmware. I mean this release:
https://github.com/roleoroleo/mqttv4

from yi-hack-v5.

alienatedsec avatar alienatedsec commented on June 2, 2024

Hello I will do also a test as I have Dome 1080p. Do you plan to update mqttv4 library to support baby crying and sound events? There is one here for others chipsets already made but I could not make it work for this firmware. I mean this release:
https://github.com/roleoroleo/mqttv4

@MiSSHeaDShoT lets hope for the next release integration :)

from yi-hack-v5.

Antarctic74 avatar Antarctic74 commented on June 2, 2024

Another issue is that the camera produce hires and lores streams even if you set to use only one.

from yi-hack-v5.

alienatedsec avatar alienatedsec commented on June 2, 2024

Another issue is that the camera produce hires and lores streams even if you set to use only one.

@Antarctic74 - I hope to resolve it in the next release
image

from yi-hack-v5.

MiSSHeaDShoT avatar MiSSHeaDShoT commented on June 2, 2024

Issues I found on 1080 Dome:
1)MQTT settings: mqtt set to enabled , but upon restart is not started. Searches for a file in camera internal memory that is missing. Probably related to the issue that the hack must reside in SD card for now.
2) I run MQTT manually but is not stable , sometimes registers movements ,sometimes not. I am not sure if there is some timeout in which the camera does not register movements at all or the library is the problem.
3)RTSP stream is very good and I confirm the bug @Antarctic74 mentioned that the streams are availble both regardless settings.
4)Very high load - 70% CPU . The default app rmm had this and not sure why. Also @t00 mentioned same.
5)ONVIF in HomeAssistant works but on port 8080. Works but not smooth - freezing . Current command is:

onvif_srvd --pid_file /var/run/onvif_srvd.pid --model Yi Hack --manufacturer Yi --firmware_ver 1.0.0 --hardware_id HW_ID --serial_num SN1234 --ifs wlan0 --port 8080 --scope onvif://www.onvif.org/Profile/S --name Profile_0 --width 1920 --height 1080 --url rtsp://%s/ch0_0.h264 --type H264 --name Profile_1 --width 640 --height 360 --url rtsp://%s/ch0_1.h264 --type H264

What works:
1)RTSP as mentioned works very fast.
2)PTZ works.

from yi-hack-v5.

alienatedsec avatar alienatedsec commented on June 2, 2024

The latest release supports yi_dome_1080p

from yi-hack-v5.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.