Skip to content

Instantly share code, notes, and snippets.

View danaspisak's full-sized avatar

Dana Spisak danaspisak

View GitHub Profile
@danaspisak
danaspisak / wifi-client-sniffer.py
Created July 13, 2015 03:40
Listen for WiFi client management frames, send to redis hash and channel
#!/usr/bin/env python
import os
import time
import redis
from scapy.all import *
redistogo_url = os.environ['REDISTOGO_URL']
r = redis.Redis.from_url(redistogo_url)
os.environ['TZ'] = 'US/Central'
@danaspisak
danaspisak / dht_monitor.py
Created July 2, 2013 04:42
Python script extending the Adafruit DHTxx Sensor tutorial and sends the humidity and temperature data to a Graphite server.
import argparse
import serial
import string
import time
import os, sys
from socket import socket
CARBON_SERVER = '192.168.3.27'
CARBON_PORT = 2003