Cocoon is a smart home security device. It combines HD Camera, Motion Detection & SUBSOUND Technology to sense activity throughout your home. If anything unusual happens, you receive a smartphone notification .
@mzuvella Hi Matt. Cocoon maintains a heart-beat connection to our cloud servers, if that connection is unexpectedly dropped the user is alerted that the internet or power has been cut. You can also choose to automatically activate the siren in the event of a connection loss.
Cocoon learns any normal pattern of drops your connection experiences e.g. if your internet connection dips out occasionally for a couple of minutes the system will learn this and will not send you an alert until the behaviour is out of the ordinary.
@mzuvella@Sanj_Parekh Hi Matt. Sanjay has already covered the high level details of how the heartbeats work. At a very low level, your Cocoon first attempts to use the lightest possible mechanism, a long-lived TCP connection with the TCP keep-alive option enabled. In network environments where we cannot establish such a connection (e.g. firewalls doing packet inspection and only allowing outgoing HTTP) we can fall back to regular HTTP polling. The important aspects are that if the network link between your Cocoon and the Cocoon cloud isn't working, we detect it within the space of a single heartbeat. If dropping a single heartbeat is unusual for your environment, that may be enough to trigger a notification, if it's not uncommon we'll wait for more missed heartbeats before letting you know. Hope that helps!
Mysuper.fan