by bciuca · 1w ago · 0 comments
I started this project mainly as a learning exercise with a stretch goal of replacing the firmware altogether to play nice with HomeKit. I was able to rewrite the ethernet stack and some of the radio stack and rf protocol but there was a lot more optimization to do to make everything fit in storage and RAM. Reverse engineering the server-side was the path of least resistance.
But yes if you want to replace the server then you don't have much option.
Even then if you had firmware you could patch it might be easier to replace the server address than recreate entirely.
But for the original article, if rewrite is proving hard it's often enough to patch in WDT petting to stop the watchdog rebooting the device. +/- patch out calls to the server.