Created
October 26, 2016 16:52
-
-
Save LarsBergqvist/c882b8d1e8a6dd506066ca7cad2a61e4 to your computer and use it in GitHub Desktop.
start script for the application that acts as an IoT-propagator node
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from propagatornode.propagatorapplication import PropagatorApplication | |
if __name__ == '__main__': | |
wiringPiPinForReceiver = 2 | |
brokerIP = "192.168.1.16" | |
brokerPort = 1883 | |
app = PropagatorApplication(wiringPiPinForReceiver,brokerIP,brokerPort) | |
app.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment