-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ppsapp patch request for LSC smart video doorbell 5.2.2 (ppstrong-a3-tuya2_general-5.2.2.20210914) #85
Comments
@renzenicolai Sorry I am traveling and haven´t had a chance to look at it just yet -- I will see what I can do as soon as I can. |
@renzenicolai your ppsapp does not have the standalone RTSP function/code like 2.7.x and 2.9.x firmware has. Your only option is to enable onvif using tuya_config.json -- you do have to register the device in the tuya/manufacturer app before you can view/edit tuya_config.json. Basically: |
I've got a Nedis smart video doorbell with the same firmware: Any help is appriciated, need to configure the rtsp for integrating into HA. |
@johan-van-marion did you apply the hack to enable telnet ? it is not open by default. |
@guino i saw a "sample" [https://github.com//issues/40] but didn't see the RTSP only the onvif enable |
@johan-van-marion that's not accurate. The instructions say to follow the steps from https://github.com/guino/Merkury720 (basically ten steps with a lot of information), but the 3 files copied over the original ones (listed in the ten steps I mentioned). Step 4 will have you boot with the reset button pressed to actually install the hack. Once installed you should have telnet access which will allow you to modify your tuya_config.json file. |
@guino Thanks for that missing bit (reading patiently is not my strong suit) but still some questions, before i boot the device. I only need to enable the Onvif to link it to my HA. |
@johan-van-marion your SD card files seem correct - you should be able to just continue from step 4 of https://github.com/guino/Merkury720 now -- you don't need to do the steps again (before/after). Once ONVIF is enabled on your device (tuya_config.json) you should not need the SD card in the device unless you want to use telnet, download files, or integrate it somehow (i.e. motion notifications). |
@guino Did everything from step 4: |
@johan-van-marion looking at your SD card it seems files (posted above) it seems you missed the step to create ppsFactoryTool.txt file. Without that file none of the URLs will work (you have to boot the device with this file in the SD card for it to work). I also wanted to make sure:you are putting the IP address on the URLs -- for example, if the camera IP is 192.168.1.123 you're trying: http://admin:[email protected]:8090/proc/cmdline (and also with admin:admin). if ppsFactoryTool.txt is created and the URLs are not working then your camera may just not be compatible with the ones we've seen so far. |
@guino This was the trick, until i ended up with a HTTP:500 notification on : Other info : { |
http://admin:[email protected]:8090/proc/mounts rootfs / rootfs rw,size=17160k,nr_inodes=4290 0 0 |
http://admin:[email protected]:8090/proc/self/root/home/cfg/tuya_config.json { So the .json file is on my device now a way to pulling it off 👍 |
@guino Is a 2GB SDcard big enough for doing this? |
O.k. just checked with and other card (128GB) but still same HTTP 500 error |
some people have issues with the /hack URL even when it works -- check the SD card to see if the 'home' directory was created during boot, if so, the hack worked. Another way of know if the hack is installed is to simply check if the /proc/cmdline URL changed. Unfortunately some devices are very picky about the SD cards to install the hack (the SD card may work after the device starts up but doesn't work to install the hack) so if your /proc/cmdline URL didn't change you may need to install it with try different brand SD cards (step 4 where you push the reset button on power on). |
@guino, so far i tried 4 different sd-card: |
Here's some out put of the "hack"
|
@johan-van-marion is your cmdline still showing this:
If so the issue is in applying the hack (busybox won't change anything). In any case this is the right busybox: |
@guino so nothing seems to be wrong on the sd-card any more, it's just the device which is the problem? |
@johan-van-marion like I said, we need to focus on trying to get your /proc/cmdline to change -- for that to work the only files required in the SD card are: env, ppsMmcTool.txt, ppsFactoryTool.txt Verifying that these 3 files are in the card, power on the device with the SD card already inserted then see if you get a response to any of these URLS: If your /proc/cmdline response (URLs above) doesn't show Additionally, alternatively to getting the URL http://admin:[email protected]:8090/proc/self/root/mnt/mmc01/hack to work you can simply check if there's a file named 'hack' on the SD card -- this file is created if the hack was successfully installed. Again, without that I have seen some rare cases in which the device had a defective 'reset button' and the user in question exchanged the device under warranty and the new device worked correctly. I'm not saying this is your case, but it is a possibility. If you can't get the /proc/cmdline to show the Once/if you have correct /proc/cmdline response we can then check httpd.conf and such but that's definitely not related to the 500 error you're seeing. |
@guino i'm just at it again : |
@johan-van-marion as I suspected. So until that section shows, the other files in the SD card are irrelevant. Things you can try: Each time you try you need to be sure at least the 3 mentioned files are in the SD card (since formatting/repartition will erase everything in it): env, ppsMmcTool.txt, ppsFactoryTool.txt |
Tried all the above, so i think i'm stuck until some one else finds a solution |
Hello, I'd like some help with patching the ppsapp for my device. I tried but can't figure out how to enable RTSP / onvif via browing the decompiled code with Ghidra. Could you help me (and others with this model / version) by patching the ppsapp?
Model: Bell 8S
Hardware version: BE8S_A2_V10_433
[ppsapp.zip](https://github.com/guino/BazzDoorbell/file
ppsapp.zip
s/9537300/ppsapp.zip)
Software version: 5.2.2
Firmware version: ppstrong-a3-tuya2_general-5.2.2.20210914
ppsapp hash: a408d7c0373421cff8cfa8aa755672cd
I've attached the original ppsapp.
ppsapp.zip
The text was updated successfully, but these errors were encountered: