Automating such a narrow edge-case seems totally pointless. A much more likely scenario is that your battery dies while you're out, in which case you're still screwed.
A better tried-and-tested real world solution that covers all scenarios is a simple key safe.
I suggest this tiny thing named "key" is an appropriate solution. Hard to break through dropping, no battery, the home doesn't need electricity and so on.
While I understand the tinkering here for fun, the author did ignored the actual problem of the drained battery completely?
I shared this elsewhere but I could have expressed the initial problem a little clearer, which actually was "enter my home without unlocking my phone which causes my phone to die in the cold."
Unlocking the screen caused the battery to drop immediately - it still had network connectivity prior to that.
It is more common than you think. Turing on the screen in cold weather is usually the thing to make the phone shut off. The solution still saves you the trouble of having to take off your gloves to access your phone.
ho_schi|4 years ago
While I understand the tinkering here for fun, the author did ignored the actual problem of the drained battery completely?
rwestergren|4 years ago
Unlocking the screen caused the battery to drop immediately - it still had network connectivity prior to that.
francisofascii|4 years ago