Filament Runout Sensor
Hi,
I am using a creality cr-10 se connected via tcp/ip to klipper (with ncatch)
All works fine but filament runout is not Detectes.
I modified the printer.cfg to send messages and insert works but not runout ..
When i take a look to klipper manuals, klipper only send runout gcodes when it prints but it seems klipper dont know that it prints .
Filament sensor is also korrekt named in toolhead config in repetier ..
Any suggestions ?!?!
I am using a creality cr-10 se connected via tcp/ip to klipper (with ncatch)
All works fine but filament runout is not Detectes.
I modified the printer.cfg to send messages and insert works but not runout ..
When i take a look to klipper manuals, klipper only send runout gcodes when it prints but it seems klipper dont know that it prints .
Filament sensor is also korrekt named in toolhead config in repetier ..
Any suggestions ?!?!
Comments
It is possible that klipper does not think that it is printing. After all we are sending the commands that make the print so klipper has no control. If api is also used we have access to klipper model which also contains state of filament like
so server can detect out of filament during print on it's own. Otherwise we need a message from klipper to handle it. Not sure when klipper exactly would send this.
Actually it must be serial connection for klipper. It connects to serial of klipper and when a file serialName.api exists in same directory we also connect to the api and query for the klipper model to see out of filament.
The only solution to do it with tcp/ip is with the serial device mapped to tcp e.g. with socat. But we always assume local serial connection for klipper which is why it switches to serial all the time.
In future release (1.5.0 or 1.5.1) we will add moonraker support so that would then also solve the issue since we then can connect to moonraker web api.