01F0 / flashforge-finder-api

This is an unofficial interpretation of the FlashForge Finder API. It's served with Flask to make it as easy as possible to create your own UI.
MIT License
33 stars 10 forks source link

Not able to retrieve info #1

Closed hespitsch closed 5 years ago

hespitsch commented 5 years ago

Hello, thanks for providing the code, but I am not able to retrieve the printer info. Could you please specify, where in the webapi.py you would expect the IP of the printer? AND is the flask server only available on localhost?? Thanks for some hints. Martin

hespitsch commented 5 years ago

Ok - I solved myself. Do NOT enter the IP of the printer in webapi.py as written in the documentation. Start Flask with FLASK_APP=webapi.py flask run --host=0.0.0.0 --port=5000 otherwise the server is not reachable from an external browser.

01F0 commented 5 years ago

Oh, nice work on solving it! I'll update the documentation. :)