guino / Merkury720

Root and Customization for Merkury 720P and similar cameras
107 stars 20 forks source link

Did i miss something? #37

Open skManux opened 1 month ago

skManux commented 1 month ago

Hi. I'm sure i followed all the steps from the 720p version, with the 1080p modifications too.

But, when I try to connect to http://admin:056565099@192.168.1.115:8090/proc/self/root/mnt/mmc01/hack or http://admin:056565099@192.168.1.115:8090/proc/cmdline, it returns me a 404 error.

The http://admin:056565099@192.168.1.115:8090/devices/deviceinfo call returns me this:

{
    "devname":  "Smart Home Snap",
    "model":    "Snap 11S",
    "serialno": "064219905",
    "softwareversion":  "1.2.1",
    "hardwareversion":  "",
    "firmwareversion":  "ppstrong-b6-tuya2_std-1.2.1.20210107",
    "licence_id":   "---------------------------",
    "licence_key":  "------------------------------------------------",
    "identity": "--------------------------",
    "authkey":  "------------------------------------------------",
    "deviceid": "---------------------------",
    "pid":  "-----------------------",
    "WiFi MAC": "-----------------",
    "ETH MAC":  "-------------------",
    "mcuversion":   "1.2.1.20210107"
}

(I censored some ids, keys and macs because i dont know if that is sensible data)

The camera is booting properly, playing two or three "beeps" (its startup/reset sound). The led becomes fix blue after some second of a pulsing red.

guino commented 3 weeks ago

@skManux I have never seen anything with software 1.2.1 myself. If /proc/cmdline is returning 404 it usually means the device is not running linux and process will not work.

A quick google shows 'Snap 11S' as a battery powered camera and generally speaking, if a device has a battery for power it is likely not going to be running linux, even if it is and we managed to get RTSP from it, the device would have to stay full on the whole time to stream RTSP so the battery would drain quickly which would eventually stop the RTSP stream.

skManux commented 3 weeks ago

@skManux I have never seen anything with software 1.2.1 myself. If /proc/cmdline is returning 404 it usually means the device is not running linux and process will not work.

A quick google shows 'Snap 11S' as a battery powered camera and generally speaking, if a device has a battery for power it is likely not going to be running linux, even if it is and we managed to get RTSP from it, the device would have to stay full on the whole time to stream RTSP so the battery would drain quickly which would eventually stop the RTSP stream.

I actually use these cameras always connected to a charger, so it would'n be a problem. Is it possible to make a custom patch to enable rtsp?

guino commented 3 weeks ago

@skManux possible: yes, if the camera has hidden settings to turn it on OR if it's running linux and has the required code in the main application for us to enable it. Likely: no, I haven't seen any battery powered device running linux until recently, even then it is a hybrid device that 'wakes up' the linux OS when it detects required events -- even in that device we haven't been able to get RTSP working.

With a low version reported by your device it is unlikely your device has it, but most newer tuya devices have support for webrtc which can be converted to RTSP (still worth checking): https://www.reddit.com/r/smartlife/comments/oyqvdv/webrtc_stream_terminal_for_tuya_smartlife_cameras/

The only way to make any progress with your camera is if someone opens it up and connects a UART-TTL adapter and/or gets a firmware dump to be reviewed -- and that 'progress' may just be to discover it doesn't run linux and we can't do much with it. I often tell people that if it's only a couple of cameras and/or you haven't bought anything yet, to buy a device that has the required features out of the box -- there are so many inexpensive cameras with RTSP out of the box these days, it's not worth the 'time' spent on trying to get existing cameras to do what you need, that is, unless it's just a challenge you want to take for the fun of it (or learning).