MqttDispatcherPy/MBusParser.py

12 lines
404 B
Python
Raw Normal View History

2017-11-10 22:03:30 +01:00
from logger import Logger
from AbstractParser import AbstractParser
from AbstractNextStage import AbstractNextStage
class MBusParser(AbstractParser, AbstractNextStage):
def __init__(self):
super(MBusParser, self).__init__()
self.topic = "IoT/Measurement/MeterbusHub"
def execute(self, data):
2017-11-10 22:56:17 +01:00
#Logger.log("MBusParser %s" % (str(data)))
2017-11-10 22:03:30 +01:00
self.executeNextStage(data)