Skip to content

Instantly share code, notes, and snippets.

View JohnRudolfLewis's full-sized avatar

John Rudolf Lewis JohnRudolfLewis

View GitHub Profile
@JohnRudolfLewis
JohnRudolfLewis / feedmode.py
Created October 28, 2018 17:04
Implementing a feed mode for the reef-pi
#!/usr/bin/env python
"""Feedmode.py: Feedmode extends reef-pi by implementing a proper feedmode buttom/timer."""
# Copyright 2018 John Rudolf Lewis
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
{
"FAUXMO": {
"ip_address": "auto"
},
"PLUGINS": {
"ReefPiMacroPlugin": {
"path": "/home/john/fauxmo/reefpimacroplugin.py",
"DEVICES": [
{
"port": 12341,