summaryrefslogtreecommitdiff
path: root/bin/ebus_dump
blob: 3a86ee8fc0184c526aa2510de8e839e9ac0b4101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/python
# -*- 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()