Welcome! Log In Create A New Profile

Advanced

Grab temperature with python-scirpt

Posted by Hrmn 
Grab temperature with python-scirpt
May 27, 2017 03:33AM
Hello,
I'm wondering if you know how to read all the data that is being sent from the printer to through the USB-cable to the host/server-software? I have a printer with Marlin, connected by USB to a raspberry pi with Repetier Server, and since the data is sent through serial it should be possible to save the data with a python-script in the same way as repetier server does. What I want is to find the extruder temperature to hook it up to a ventilation fan that should be started/stopped depending on the temperature. If I with a Python-script import the data being sent by serial I seem to get the first message sent to the terminal of repetier but I don't see the temperatures.

Any one done this or anything similar that can give me some help?

Edited 1 time(s). Last edit at 05/27/2017 06:38AM by Hrmn.
Sorry, only registered users may post in this forum.

Click here to login