start script for the application that acts as an IoT-propagator node
#!/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