diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ebus_dump | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/ebus_dump b/bin/ebus_dump new file mode 100644 index 0000000..01d2ede --- /dev/null +++ b/bin/ebus_dump @@ -0,0 +1,11 @@ +# -*- coding:utf8 -*- +import asyncore +from ebus import EbusReader + +class MyEbusReader(EbusReader): + def handle_ebus(self,ebus_packet): + if ebus_packet.values() != dict(): + print ebus_packet + +MyEbusReader() +asyncore.loop() |