Code Monkey home page Code Monkey logo

flashforge-finder-api's People

Contributors

01f0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flashforge-finder-api's Issues

After error, M27 return a negitive number.

heres a patch

diff --git a/api/regex_patterns.py b/api/regex_patterns.py
index 46313f9..1dac712 100644
--- a/api/regex_patterns.py
+++ b/api/regex_patterns.py
@@ -24,4 +24,4 @@ def regex_for_target_temperature():
def regex_for_progress():
""" T0:210 /210 B:0 /0 """

  • return '([0-9].)/([0-9].?)\r'
  • return '([0-9].)/(-?[0-9].?)\r'^M

Progress miscalculated as zero for FF Adventurer 3

I'm using this project with my Flashforge Adventurer 3, and it works entirely as expected.

However, the PercentageComplete doesn't calculate as I'd expect. For a fairly small print, this is what it's returning when the screen on the device shows 76%

{"BytesPrinted":"76","BytesTotal":"100","PercentageCompleted":0}

Also, can you share any resources that helped you learn how to reverse engineered the API from the device? I'd like to figure out if I can stream the camera feed, but so far I've had no luck finding any information about the way they've implemented the device API.

Not able to retrieve info

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

Confirmed to work on Flashforge Adventure 4

FYI: Installed this API on a RPI 4 to access my Flashforge Adventure 4. Works perfectly. Thanks!

On the GUI for the printer, it shows the estimated remaining time. Wish that was exposed in the API, instead of having to calculate an rough time remaining from the estimated time * percentage remaining.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.