<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1722" Guid="{2AF80A8D-C18F-4AFD-954F-54D8174FE306}" Time="1462456822.2">
    <Autostart Name="Autostart">
        <Plugin Identifier="MQTTthreads" Guid="{44A1C5BC-311A-4651-B4A6-629BEAC0A80B}" File="MQTTClient">
            gAIpLg==
        </Plugin>
        <Action>
            MQTTthreads.MQTTclient(u'MQTT listener', u'localhost', 1883, u'/openHAB/in/#', False)
        </Action>
    </Autostart>
    <Folder Name="MQTT_repeat_test" Expanded="True">
        <Macro Name="MQTT Client: Publish a MQTT message: Give this MQTT message a name" Expanded="True">
            <Action>
                EventGhost.PythonScript(u"print 'START SENDING'\nfor i in range(5):\n    eg.plugins.MQTTthreads.publishMQTT(u'MQTT test', \n                                        u'localhost', \n                                        1883, \n                                        u'/openHAB/in/ECL_mN2_Chambre_chevetp/state', \n                                        str(i), \n                                        1, \n                                        False)\nprint 'COMPLETED'")
            </Action>
        </Macro>
    </Folder>
</EventGhost>
