diff options
Diffstat (limited to 'bin/ebus_dump')
-rw-r--r-- | bin/ebus_dump | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/bin/ebus_dump b/bin/ebus_dump deleted file mode 100644 index 41efa33..0000000 --- a/bin/ebus_dump +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/python -# -*- coding:utf8 -*- -import asyncore -from ebus import EbusReader - -class MyEbusReader(EbusReader): - def __init__(self,*args,**kwargs): - EbusReader.__init__(self,*args,**kwargs) - self.debug=True - - def handle_ebus(self,ebus_packet): - if ebus_packet.values() != dict(): - print ebus_packet - -MyEbusReader() -asyncore.loop() |