At the time, I ended up using an undocumented API that was available through the Nest website, that allowed me to get a low-resolution snapshot of the camera stream. I would grab a bunch of JPEGs and then would stitch them into something that resembled a video with the help of ffmpeg. The code to do that was an ungodly mess. The thing I am most proud of in that implementation was the fact that I did proper authentication, and even had ways to handle two-factor tokens. Over time, Google shifted how they do authentication (making users rely on Google accounts, which is a sensible decision), and so they broke foggycam. But even without this change, the quality of the video that was produced was very poor. I shelved the app for some time.
Basically, every packet that was sent needed to have a block of bytes that define its length after the packet type (which is the first byte entry in the buffer). A shout-out to Brandon here, as I realized this was a piece I was missing in my socket code. As I was fiddling with these values, I could not for the life of me figure out why the Nest service was not responding, despite the fact that I successfully connected to it. As it turns out, Nest services will not respond at all if they do not understand the message. No error or alert, the message will just disappear and you will never know.
Before leaving the cabin Please: * Just leave the linens and towls where they are, laundry services are part of the Departure Cleaning (not part of your Vacation) *No need to run to the dump with your trash, we got that too. Just make sure the lids are on Tight. *Remove all perishable food from cabinets and refrigerator. *Start the dishwasher, if cabin is equipped. Dish soap is provided under sink * Check for all personal belongings. Items left behind can be sent back with a $20 retrieval fee, plus shipping, will be charged *Lock all doors and place keys back in the lock box *Don't forget to give us a call as you head out.
4. As a general rule, dogs should not be left unattended in cabins. In an unfamiliar environment dogs may act uncharacteristically and unpredictably. They may get nervous and bark, causing a disturbance to neighbors. Or they may harm the cabin by chewing, scratching or making messes that they would not typically make at home. Please remember to be respectful of nearby neighbors. Always use a crate in the rare event that a dog must be left alone. 041b061a72