|
Wifi has always been a tricky problem for small devices. However, I think there are some good tricks that people have been using involving playing around with sleep times, skipping beacon intervals, etc. - tricks that the electric imp, the Wifi board used in Lockitron, utilizes to lower the current consumption by a bit. You're totally correct that always-on-instant-unlock feature is a fool's errand as that would mandate always-on Wifi, spelling death for battery life. I think one feasible method is sleeping the Wifi and using an external input (like a button or a "knock" sensor) that wakes up the Wifi, tells the chip to check the server for updated lock state, and then go back to sleep. I've played around with capacitive sensing on a door handle to wake up the Wifi and check the server as soon as someone lays hands on the door. Cap sensing is also incredibly low power so it had minimal impact on battery life. This of course introduces all kinds of problems, but if Wifi is absolutely necessary, then this is one solution. Either that, or wake up to poll Wifi every 5, 10, 15 minutes (destroying instant lock/unlock) |
The skipping of beacon intervals is called PS-POLL and is why I said 2mA otherwise it is closer to 100mA -- which for example is what TI's CC3000 module burns since it doesn't have PS-POLL.
I agree that there are alternative ways to wake up WiFi. They said at one point in HN that they were thinking of having WiFi wake up when you knock. The problem with this is that the experience is markedly different from what they're advertising to users.
You'd pull out your phone, bring up the app, hit unlock, then knock on the door, wait for WiFi to turn on, associate with access point, get to cloud, "see" the unlock command and then unlock the door. That's easily 7-10 seconds at best.
Screw that. I'll just take out my key.
Giving WiFi long life by keeping it off is relatively easy. Making it instantly responsive, which is what anyone using the lock would expect, is impossible at the quoted battery life.
It is kind of like selling a car saying it'll get 500mpg but not telling the buyers that you only get that if you go say 10mph.