Eric Park revisits a low-cost Tuya-based IP camera that previously resisted attempts to provide a local video stream. The aim is to find out why the camera’s built-in ONVIF and RTSP services are disabled, and whether they can be enabled without relying on Tuya’s servers. Rather than immediately asking an AI system to reverse-engineer the device, Park starts by examining its firmware. Extraction reveals a Linux 3.4.35 kernel, dating from 2013, alongside the camera’s filesystems and startup scripts.
Tracing the startup process identifies ppsapp as the main application. Searching its strings confirms that it contains ONVIF configuration fields and RTSP URL templates, including paths for two video channels, so the streaming functionality appears to exist in the software. Park then opens the ARM binary in Ghidra and locates code that reads tuya_config.json, including the onvif_enable setting and an ONVIF password. This suggests that the earlier attempt to change the firmware’s configuration may have failed because editing the image damaged a checksum, rather than because the option was ignored. At this point, however, the investigation has not established which port the service uses or whether changing the setting will actually open the stream; the binary analysis is still underway.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.