Hello there!
I would like to create some calleable methods on IX15 so I can passdown some info to my xbee nodes. For that I take a look into Flask.
I installed via pip, created a hello word code, exeuted the program.
In pycharm run tool windo I can see that the Flask is running, demo code is executed, but the URL, where the flask should be is not avaible.
Should set up something in the ix15 settings? Or what am I missing? Should I use a different aproach?
Thank you,
from flask import Flask
flaskapp = Flask(__name__)
@flaskapp.route("/")
def hello_world():
return "<p>Hello, World!</p>"
if __name__ == '__main__':
flaskapp.run(host="192.168.50.20", port="5000", debug=True) #the IP address of the ix15 which is given by our lan router