guino / BazzDoorbell

124 stars 22 forks source link

Can the NTP server be set with this hack? #108

Open dorkage opened 11 months ago

dorkage commented 11 months ago

I have a XTU / Bell J5 with out of the box RTSP that works mostly okay in Frigate.

My issue is that is resets to Unix epoch (January 1st, 1970, 00:00:00UTC) routinely without internet access. I have tried to use firewall rules to allow NTP access and it works on my other devices, but not this.

Does this modification allow the changing of the NTP server that the camera uses?

mem=36M console=ttyAMA0,115200n8 mtdparts=hi_sfc:384k(bld)ro,64k(env),64k(enc)ro,64k(sysflg),3584k(sys),6656k(app),1536k(cfg),1m(recove),2880k(user),128k(oeminfo) ppsAppParts=5 ppsWatchInitEnd

{"devname":"Smart Home Camera","model":"Bell J5","serialno":"065086293","softwareversion":"4.3.3","hardwareversion":"BE5T_H1_V10_433","firmwareversion":"ppstrong-c5-s_joys-4.3.3.20210122","identity":"MR2008100401618106","uuid":"","licence_id":"ppscc8e>

guino commented 11 months ago

@dorkage The root process should be compatible with your device. Once rooted you could run ntpd to maintain the date of your device in sync with a local ntp server (off cloud) OR you could allow firewall access to some cloud based NTP server, but it is possible the main application could be resetting the time (since it can't access their cloud servers) which would likely cause the date/time to be set to 1970 even using ntpd -- you'd have to try it. A lot of people use their devices offline with their own/local NTP server, but different firmware can behave in unexpected ways so you really have to try to see if it works or not.