diff service/mqtt_graph_bridge/mqtt_graph_bridge.py @ 1400:31aed1a0af9c

adjust kitchen PWM freqs. add comments and proposed contents of n3 configs Ignore-this: 8fc4659c1d8830e1ed66b0702b1e69fd darcs-hash:026328acb60195c0d4410ce1cc583ac120d1c6a3
author drewp <drewp@bigasterisk.com>
date Sat, 13 Jul 2019 19:58:50 -0700
parents 928b1833de0f
children 925bc4137c93
line wrap: on
line diff
--- a/service/mqtt_graph_bridge/mqtt_graph_bridge.py	Sun Jul 07 11:23:48 2019 -0700
+++ b/service/mqtt_graph_bridge/mqtt_graph_bridge.py	Sat Jul 13 19:58:50 2019 -0700
@@ -1,3 +1,9 @@
+"""
+We get output statements that are like light9's deviceAttrs (:dev1 :color "#ff0000"),
+convert those to outputAttrs (:dev1 :red 255; :green 0; :blue 0) and post them to mqtt.
+
+This is like light9/bin/collector.
+"""
 import json
 
 from docopt import docopt