blob: 01d2ede8f369cee69177f1bd9cbcfbad6cd8ecb0 (
plain)
1
2
3
4
5
6
7
8
9
10
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()
|