-
Notifications
You must be signed in to change notification settings - Fork 20
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
Help needed to patch 2.10.6 #28
Comments
btw. did I understand right, that I do not have access to the audio stream without rtsp? |
@derbaertigeFrytz 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. You are correct, RTSP/ONVIF is the only way to listen to the audio from the device. Most devices on 2.10 and higher versions allow you to enable ONVIF (which includes RTSP) without patching -- just by enabling it in tuya_config.json (see guino/BazzDoorbell#2 (comment)) |
Thank you for your advice. I already tried that without success. May be, I did something wrong. |
@derbaertigeFrytz I checked your patch and it seems to be perfect (exactly what I did separately). The only things I can suggest is to make sure the patched ppsapp is on the root of the SD card and named If you do the above and still get no RTSP, please redirect the output of ppsapp to a log file and send my way so I can review it. I can provide specific instructions for this if needed. |
Thank you that you double checked my patch.
I took a "> logfile 2>&1" using the unpatched ppsapp. You will find the output attached. After a while, messages just repeat. Here is a condensed look on "fail" and "error" keyword: Let me give you additional information on changes I made, which may, or may not influence the result:
Thanks again, that you take the time to look at this. |
ppsapp.log.tar.gz |
@derbaertigeFrytz I haven’t looked at your files yet but I can tell you these devices stay in ‘enrollment mode’ from factory until you register them in the phone app - only after that is that the rtsp/ONVIF function startup as far as I know. Additionally, if the device can’t access the tuya cloud it won’t update the time and fully startup (ie rtsp/onvif function won’t start) unless we make an offline patch. With the information you provided I will go ahead and make an offline patch for you, then you can try it but it may still require you to enroll the device in the phone app (to initialize the device) — after it is initialized/working you can then disable internet access to it and it should work normally (even after power cycle - assuming we use the offline patch). |
Hello guino , thank you for your work.
I bought a nedis doorbell which uses a board labeled meari bell5s. Here are the relevant information from /devices/deviceinfo
model "Bell 5S"
softwareversion "2.10.6"
hardwareversion "BE5S_H1_V10_433"
firmwareversion "ppstrong-c51-tuya2_teco2-2.10.6.20210824"
I was able to apply the hack (No programmer, No UART, No problem!) and by reading ppsapp I was able to get cgi-bin/mjpeg.cgi, cgi-bin/snap.cgi and cgi-bin/play.cgi running. Busybox and Telnet works. Unfortunately rtsp is not running.
I patched ppsapp to enable RTSP, however after reboot no additional port (8554) is available. I checked with nmap (and with netstat in a telnet session). Please be so kind to have a look, what I did wrong.
Attached you will find a ppsapp (original file) and ppsapp.edit (patched)
Thanks a lot.
Frytz
ppsapp.tar.gz
The text was updated successfully, but these errors were encountered: