This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

``serialkiller-plugins`` Plugins for serialkiller project


To install the latest release from `PyPI <>`_


$ pip install serialkiller-plugins

To install the latest development version from `GitHub <>`_


$ pip install git+git://

- Is online (ping)
- Teleinformation (French electric provider)
- Sunshine (calc sunrise & sunset)

Script example

For checking the sensors periodically, i use the supervisor application, it can restart the application if it crashes.

Supervisor install.


# Debian
$ apt-get install supervisor

# Archlinux
$ pacman -S supervisor

The check sensors supervisor configuration.


command=~/.virtualenvs/serialkiller/bin/python /usr/local/bin/

Active and start supervisor.


# Debian
$ /etc/init.d/supervisor start

# Archlinux
$ systemctl enable supvervisord
$ systemctl start supvervisord

# Show status
$ supervisorctl status
check_sensors RUNNING pid 1306, uptime 23:48:04

``/usr/local/bin/`` script example.


#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import time

from skplugins import addValuePlugin, addEventPlugin, addValue, addEvent
from import ping
from import sunshine

server = ''
while True:

# Check sunshine
result = sunshine(latitude="43:36:43", longitude="3:53:38", elevation=8)
addValuePlugin(server, 'city:weather:sunshine', result)

# Check internet connexion
result = ping(destination="", count=1)
addValuePlugin(server, 'livingroom:internet:available', result)

# Check webcam
result = ping(destination="", count=1)
addValuePlugin(server, 'livingroom:axis:online', result)

# Check my computer
result = ping(destination="", count=1)
addValuePlugin(server, 'bedroom:hp2012:online', result)

# Check teleinfo informations
result = teleinfo(dev='/dev/teleinfo')

if 'HCHC' in result.results:
addValue(server, 'washroom:teleinfo:hchc', result.types['HCHC'], result.results['HCHC'])

if 'HCHP' in result.results:
addValue(server, 'washroom:teleinfo:hchp', result.types['HCHP'], result.results['HCHP'])

if 'IINST' in result.results:
addValue(server, 'washroom:teleinfo:iinst', result.types['IINST'], result.results['IINST'])

if 'ISOUSC' in result.results:
addValue(server, 'washroom:teleinfo:isousc', result.types['ISOUSC'], result.results['ISOUSC'])

if 'PAPP' in result.results:
addValue(server, 'washroom:teleinfo:papp', result.types['PAPP'], result.results['PAPP'])


Version 0.0.2 (2014-02-08)

* Add metar plugin
* Add vigilance plugin (Meteo France)
* Add cache system
* Add process plugin
* Add sunshine plugin
* Add ping plugin
* Add teleinfo plugin

Version 0.0.1 (2013-01-11)

* First version
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
serialkiller-plugins-0.0.2.tar.gz (21.2 kB) Copy SHA256 Checksum SHA256 Source Feb 8, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting