guino / BazzDoorbell

128 stars 22 forks source link

mjpegcgi n and snapcgi not working #97

Open stack0423 opened 1 year ago

stack0423 commented 1 year ago

devname "Smart Home Camera" model "Bell 8S" softwareversion "4.0.7" hardwareversion "BE8S_A2_V10_433" firmwareversion "ppstrong-a3-tuya2_general-4.0.7.20210513"

I registered the doorbell with the lsc app and then performed the hack. with the link below https://github.com/guino/Merkury1080P I see the hack is success full but I get mjpegcgi not working and snapcgi. also i can't get the rtsp stream to work offline

guino commented 1 year ago

@stack0423 make sure you have downloaded busybox correctly (with this link: https://github.com/guino/Merkury720/blob/main/mmc/busybox?raw=true -- it should be over 1MB in size). The RTSP stream will only work if the device is connected to the internet -- it doesn't start the RTSP service before it talks to the tuya servers (to get the current date/time). Once it has started up you can disconnect from the internet and the RTSP service will continue to work locally/offline. Any time the device boots up it needs the internet to get the date/time or it won't start the RTSP service. To use it strictly offline you'd have to set the date/time on the device somehow (i.e. create NTP server on local network) and we'd have to create an offline patch so it allows the RTSP service to start without waiting for the date/time from the tuya servers.

If you have the correct busybox, make sure you have adjusted the address in snap.cgi and mjpeg.cgi (ADDRESS=395cbc for your firmware).