From 5aa42af1a41c1f05d2ada6e708e452bafdd6693d Mon Sep 17 00:00:00 2001 From: gcohen Date: Mon, 29 Dec 2014 20:13:59 -0800 Subject: adding PN control --- python/examples/futureHouse/futureHouse.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'python/examples/futureHouse/futureHouse.py') diff --git a/python/examples/futureHouse/futureHouse.py b/python/examples/futureHouse/futureHouse.py index 8eb98c3..410d90b 100644 --- a/python/examples/futureHouse/futureHouse.py +++ b/python/examples/futureHouse/futureHouse.py @@ -26,7 +26,11 @@ leds = [ ] def callback(message, channel): - print(message) + for x in message: + print (x) + for y in message[x]: + print (y, ':', message[x][y]) + # LED Setters if 'ledID' in message: if 'value' in message: -- cgit v1.2.3