Skip to content

Instantly share code, notes, and snippets.

View cmonroe's full-sized avatar

Chad Monroe cmonroe

  • Santa Barbara, CA
View GitHub Profile
@cmonroe
cmonroe / nest-protect-direct.groovy
Last active September 18, 2023 17:45
Nest Protect Device Handler for SmartThings
/**
* Nest Protect (Direct)
* Author: chad@monroe.io
* Author: nick@nickhbailey.com
* Author: dianoga7@3dgo.net
* Date: 2016.01.24
*
*
* INSTALLATION
* =========================================
#!/bin/bash
# As the "bufferbloat" folks have recently re-discovered and/or more widely
# publicized, congestion avoidance algorithms (such as those found in TCP) do
# a great job of allowing network endpoints to negotiate transfer rates that
# maximize a link's bandwidth usage without unduly penalizing any particular
# stream. This allows bulk transfer streams to use the maximum available
# bandwidth without affecting the latency of non-bulk (e.g. interactive)
# streams.