DanalEstes / DuetWebAPI

Python interface to Duet RepRap V2 or V3 firmware.
MIT License
11 stars 10 forks source link

Printer not found #2

Open Michael-Wirz opened 3 years ago

Michael-Wirz commented 3 years ago

Hello

I am trying to connect to my duet 3 (firmware beta 3.2-rc1) The /machine/status page can be triggered in a webbrowser an gives a response but the DuetWebAPI always gives the output "does nto appear to be a RRF2 or RRF3 printer".

Would like to use the TAMV tool for jubilee but are stucked with this error.

Thanks for your help Michael

Michael-Wirz commented 3 years ago

{"boards":[{"bootloaderFileName":null,"canAddress":0,"directDisplay":null,"firmwareDate":"2020-12-19","firmwareFileName":"Duet3Firmware_MB6HC.bin","firmwareName":"RepRapFirmware for Duet 3 MB6HC","firmwareVersion":"3.2-RC1","iapFileNameSBC":"Duet3_SBCiap32_MB6HC.bin","iapFileNameSD":"Duet3_SDiap32_MB6HC.bin","maxHeaters":32,"maxMotors":6,"mcuTemp":{"current":41.7,"min":41.6,"max":43.9},"name":"Duet 3 MB6HC","shortName":"MB6HC","state":"unknown","supports12864":false,"supportsDirectDisplay":false,"uniqueId":"08DJM-956L2-G43S4-6J1DG-3SJ6P-KB6QG","v12":{"current":12.2,"min":12.1,"max":12.3},"vIn":{"current":24,"min":23.9,"max":24.1}}],"directories":{"filaments":"0:/filaments/","firmware":"0:/sys/","gCodes":"0:/gcodes/","macros":"0:/macros/","menu":"0:/menu/","scans":"0:/scans/","system":"0:/sys/","web":"0:/www/"},"fans":[null,{"actualValue":1,"blip":0.1,"frequency":0,"max":1,"min":0.1,"name":"","requestedValue":1,"rpm":-1,"thermostatic":{"heaters":[1],"highTemperature":45,"lowTemperature":45}},{"actualValue":1,"blip":0.1,"frequency":0,"max":1,"min":0.1,"name":"","requestedValue":1,"rpm":-1,"thermostatic":{"heaters":[2],"highTemperature":45,"lowTemperature":45}},{"actualValue":1,"blip":0.1,"frequency":0,"max":1,"min":0.1,"name":"","requestedValue":1,"rpm":-1,"thermostatic":{"heaters":[3],"highTemperature":45,"lowTemperature":45}},null,{"actualValue":0,"blip":0.1,"frequency":0,"max":1,"min":0.1,"name":"PrintCool5","requestedValue":0,"rpm":-1,"thermostatic":{"heaters":[],"highTemperature":null,"lowTemperature":null}},{"actualValue":0,"blip":0.1,"frequency":0,"max":1,"min":0.1,"name":"PrintCool6","requestedValue":0,"rpm":-1,"thermostatic":{"heaters":[],"highTemperature":null,"lowTemperature":null}},{"actualValue":0,"blip":0.1,"frequency":0,"max":1,"min":0.1,"name":"Stepper1","requestedValue":0,"rpm":-1,"thermostatic":{"heaters":[],"highTemperature":null,"lowTemperature":null}}],"heat":{"bedHeaters":[0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],"chamberHeaters":[-1,-1,-1,-1],"coldExtrudeTemperature":160,"coldRetractTemperature":90,"heaters":[{"active":0,"current":29.6,"max":220,"min":-273.1,"model":{"deadTime":2,"enabled":true,"gain":289,"heatingRate":0.652,"inverted":false,"maxPwm":1,"pid":{"overridden":false,"p":0.5,"i":0.1,"d":0.8,"used":true},"standardVoltage":24,"timeConstant":443.4,"timeConstantFansOn":443.4},"monitors":[{"action":2,"condition":"tooHigh","limit":180},{"action":0,"condition":"tooHigh","limit":220},{"action":null,"condition":"disabled","limit":null}],"name":null,"sensor":0,"standby":0,"state":"off"},{"active":220,"current":56.4,"max":300,"min":-273.1,"model":{"deadTime":5.5,"enabled":true,"gain":340,"heatingRate":2.429,"inverted":false,"maxPwm":1,"pid":{"overridden":false,"p":0.1,"i":0,"d":0.2,"used":true},"standardVoltage":0,"timeConstant":140,"timeConstantFansOn":140},"monitors":[{"action":0,"condition":"tooHigh","limit":300},{"action":null,"condition":"disabled","limit":null},{"action":null,"condition":"disabled","limit":null}],"name":null,"sensor":1,"standby":220,"state":"off"},{"active":220,"current":64.9,"max":300,"min":-273.1,"model":{"deadTime":5.5,"enabled":true,"gain":340,"heatingRate":2.429,"inverted":false,"maxPwm":1,"pid":{"overridden":false,"p":0.1,"i":0,"d":0.2,"used":true},"standardVoltage":0,"timeConstant":140,"timeConstantFansOn":140},"monitors":[{"action":0,"condition":"tooHigh","limit":300},{"action":null,"condition":"disabled","limit":null},{"action":null,"condition":"disabled","limit":null}],"name":null,"sensor":2,"standby":220,"state":"off"},{"active":0,"current":-273.1,"max":2000,"min":-273.1,"model":{"deadTime":5.5,"enabled":true,"gain":340,"heatingRate":2.429,"inverted":false,"maxPwm":1,"pid":{"overridden":false,"p":0.1,"i":0,"d":0.2,"used":true},"standardVoltage":0,"timeConstant":140,"timeConstantFansOn":140},"monitors":[{"action":null,"condition":"disabled","limit":null},{"action":null,"condition":"disabled","limit":null},{"action":null,"condition":"disabled","limit":null}],"name":null,"sensor":3,"standby":0,"state":"off"}]},"httpEndpoints":[],"inputs":[{"axesRelative":false,"compatibility":"RepRapFirmware","distanceUnit":"mm","drivesRelative":true,"feedRate":50,"inMacro":false,"name":"HTTP","stackDepth":0,"state":"idle","lineNumber":5,"volumetric":false},{"axesRelative":false,"compatibility":"Marlin","distanceUnit":"mm","drivesRelative":true,"feedRate":50,"inMacro":false,"name":"Telnet","stackDepth":0,"state":"idle","lineNumber":0,"volumetric":false},{"axesRelative":false,"compatibility":"RepRapFirmware","distanceUnit":"mm","drivesRelative":true,"feedRate":50,"inMacro":false,"name":"File","stackDepth":0,"state":"idle","lineNumber":0,"volumetric":false},{"axesRelative":false,"compatibility":"Marlin","distanceUnit":"mm","drivesRelative":true,"feedRate":50,"inMacro":false,"name":"USB","stackDepth":0,"state":"reading","lineNumber":8,"volumetric":false},{"axesRelative":false,"compatibility":"RepRapFirmware","distanceUnit":"mm","drivesRelative":true,"feedRate":50,"inMacro":false,"name":"Aux","stackDepth":0,"state":"idle","lineNumber":0,"volumetric":false},{"axesRelative":false,"compatibility":"RepRapFirmware","distanceUnit":"mm","drivesRelative":true,"feedRate":50,"inMacro":false,"name":"Trigger","stackDepth":0,"state":"idle","lineNumber":0,"volumetric":false},{"axesRelative":false,"compatibility":"RepRapFirmware","distanceUnit":"mm","drivesRelative":true,"feedRate":50,"inMacro":false,"name":"Queue","stackDepth":0,"state":"idle","lineNumber":43,"volumetric":false},{"axesRelative":false,"compatibility":"RepRapFirmware","distanceUnit":"mm","drivesRelative":true,"feedRate":50,"inMacro":false,"name":"LCD","stackDepth":0,"state":"idle","lineNumber":0,"volumetric":false},{"axesRelative":false,"compatibility":"RepRapFirmware","distanceUnit":"mm","drivesRelative":true,"feedRate":50,"inMacro":false,"name":"SBC","stackDepth":0,"state":"idle","lineNumber":0,"volumetric":false},{"axesRelative":false,"compatibility":"RepRapFirmware","distanceUnit":"mm","drivesRelative":true,"feedRate":50,"inMacro":false,"name":"Daemon","stackDepth":0,"state":"idle","lineNumber":0,"volumetric":false},{"axesRelative":false,"compatibility":"RepRapFirmware","distanceUnit":"mm","drivesRelative":true,"feedRate":50,"inMacro":false,"name":"Aux2","stackDepth":0,"state":"idle","lineNumber":0,"volumetric":false},{"axesRelative":false,"compatibility":"RepRapFirmware","distanceUnit":"mm","drivesRelative":true,"feedRate":50,"inMacro":false,"name":"Autopause","stackDepth":0,"state":"idle","lineNumber":0,"volumetric":false}],"job":{"build":null,"duration":null,"file":{"filament":[],"fileName":null,"firstLayerHeight":0,"generatedBy":null,"height":0,"lastModified":null,"layerHeight":0,"numLayers":0,"printTime":null,"simulatedTime":null,"size":0,"thumbnails":[]},"filePosition":0,"firstLayerDuration":null,"lastDuration":0,"lastFileName":null,"lastFileAborted":false,"lastFileCancelled":false,"lastFileSimulated":false,"layer":null,"layerTime":null,"layers":[],"timesLeft":{"filament":null,"file":null,"layer":null},"warmUpDuration":null},"limits":{"axes":10,"axesPlusExtruders":20,"bedHeaters":12,"boards":21,"chamberHeaters":4,"drivers":26,"driversPerAxis":6,"extruders":16,"extrudersPerTool":8,"fans":16,"gpInPorts":16,"gpOutPorts":32,"heaters":32,"heatersPerTool":8,"monitorsPerHeater":3,"restorePoints":6,"sensors":56,"spindles":2,"tools":50,"trackedObjects":32,"triggers":32,"volumes":1,"workplaces":9,"zProbeProgramBytes":8,"zProbes":4},"messages":[],"move":{"axes":[{"acceleration":2000,"babystep":0,"current":1900,"drivers":["0.1"],"homed":true,"jerk":1500,"letter":"X","machinePosition":237.61,"max":340.5,"maxProbed":false,"microstepping":{"interpolated":true,"value":16},"min":-2.5,"minProbed":false,"speed":30000,"stepsPerMm":100,"userPosition":252.996,"visible":true,"workplaceOffsets":[0,0,0,0,0,0,0,0,0]},{"acceleration":2000,"babystep":0,"current":1900,"drivers":["0.0"],"homed":true,"jerk":1500,"letter":"Y","machinePosition":26,"max":340,"maxProbed":false,"microstepping":{"interpolated":true,"value":16},"min":-43,"minProbed":false,"speed":30000,"stepsPerMm":100,"userPosition":66,"visible":true,"workplaceOffsets":[0,0,0,0,0,0,0,0,0]},{"acceleration":50,"babystep":0,"current":1700,"drivers":["0.3","0.4","0.5"],"homed":true,"jerk":150,"letter":"Z","machinePosition":94.093,"max":300,"maxProbed":false,"microstepping":{"interpolated":true,"value":16},"min":-0.2,"minProbed":false,"speed":700,"stepsPerMm":1600,"userPosition":87.843,"visible":true,"workplaceOffsets":[0,0,0,0,0,0,0,0,0]},{"acceleration":1000,"babystep":0,"current":1100,"drivers":["0.2"],"homed":true,"jerk":200,"letter":"U","machinePosition":0,"max":200,"maxProbed":false,"microstepping":{"interpolated":true,"value":4},"min":0,"minProbed":false,"speed":10000,"stepsPerMm":4.43,"userPosition":0,"visible":true,"workplaceOffsets":[0,0,0,0,0,0,0,0,0]}],"calibration":{"final":{"deviation":0,"mean":0},"initial":{"deviation":0,"mean":0},"numFactors":0},"compensation":{"fadeHeight":null,"file":null,"meshDeviation":{"deviation":0.093,"mean":-0.017},"probeGrid":{"xMin":10,"xMax":290,"xSpacing":20,"yMin":10,"yMax":290,"ySpacing":20,"radius":-1},"skew":{"compensateXY":true,"tanXY":0,"tanXZ":0,"tanYZ":0},"type":"mesh"},"currentMove":{"acceleration":0,"deceleration":0,"laserPwm":null,"requestedSpeed":0,"topSpeed":0},"daa":{"enabled":false,"minimumAcceleration":10,"period":0},"extruders":[{"acceleration":1300,"current":1330,"driver":"1.0","filament":"Fillamentum PLA","factor":1,"jerk":3000,"microstepping":{"interpolated":true,"value":16},"nonlinear":{"a":0,"b":0,"upperLimit":0.2},"position":2,"pressureAdvance":0.03,"rawPosition":0,"speed":8000,"stepsPerMm":400},{"acceleration":1300,"current":1330,"driver":"1.1","filament":"","factor":1,"jerk":3000,"microstepping":{"interpolated":true,"value":16},"nonlinear":{"a":0,"b":0,"upperLimit":0.2},"position":0,"pressureAdvance":0,"rawPosition":0,"speed":8000,"stepsPerMm":400}],"idle":{"timeout":30,"factor":0.4},"kinematics":{"forwardMatrix":[[0.5,0.5,0,0],[0.5,-0.5,0,0],[0,0,1,0],[0,0,0,1]],"inverseMatrix":[[0.5,0.5,0,0],[0.5,-0.5,0,0],[0,0,1,0],[0,0,0,1]],"tiltCorrection":{"correctionFactor":1,"lastCorrections":[0,0,0],"maxCorrection":10,"screwPitch":0.5,"screwX":[297,2.5,150],"screwY":[313.5,313.5,-16.5]},"name":"coreXY"},"printingAcceleration":10000,"speedFactor":1,"travelAcceleration":10000,"virtualEPos":0,"workplaceNumber":0,"workspaceNumber":1},"network":{"corsSite":null,"hostname":"duet3","interfaces":[{"activeProtocols":[],"actualIP":"10.0.0.217","configuredIP":"10.0.0.217","firmwareVersion":null,"gateway":"10.0.0.1","mac":"DC:A6:32:23:20:A4","numReconnects":null,"signal":null,"speed":null,"subnet":"255.255.255.0","type":"lan"}],"name":"duet3"},"plugins":[],"scanner":{"progress":0,"status":"D"},"sensors":{"analog":[{"lastReading":29.6,"name":"Bed","type":"thermistor"},{"lastReading":56.4,"name":"HE1","type":"unknown"},{"lastReading":64.9,"name":"HE2","type":"unknown"},{"lastReading":-273.1,"name":"HE3","type":"unknown"}],"endstops":[{"triggered":false,"type":"inputPin","probeNumber":null},{"triggered":false,"type":"inputPin","probeNumber":null},{"triggered":true,"type":"inputPin","probeNumber":null},{"triggered":true,"type":"inputPin","probeNumber":null}],"filamentMonitors":[],"gpIn":[],"probes":[{"calibrationTemperature":25,"deployedByUser":false,"disablesHeaters":false,"diveHeight":5,"lastStopHeight":0.684,"maxProbeCount":5,"offsets":[0,0],"recoveryTime":0,"speed":0.8,"temperatureCoefficient":0,"temperatureCoefficients":[0,0],"threshold":500,"tolerance":0.02,"travelSpeed":100,"triggerHeight":0.7,"type":5,"value":[0]}]},"spindles":[{"active":0,"current":0,"frequency":0,"min":60,"max":10000,"tool":-1},{"active":0,"current":0,"frequency":0,"min":60,"max":10000,"tool":-1}],"state":{"atxPower":null,"beep":null,"currentTool":0,"displayMessage":"","dsfVersion":"3.2.0-rc1","gpOut":[],"laserPwm":null,"logFile":null,"logLevel":"off","messageBox":null,"machineMode":"FFF","msUpTime":754,"nextTool":0,"powerFailScript":"","previousTool":-1,"restorePoints":[{"coords":[0,0,0,0],"extruderPos":0,"feedRate":50,"ioBits":0,"laserPwm":null,"spindleSpeeds":[0,0],"toolNumber":-1},{"coords":[0,0,0,0],"extruderPos":0,"feedRate":50,"ioBits":0,"laserPwm":null,"spindleSpeeds":[0,0],"toolNumber":-1},{"coords":[150,150,5.793,0],"extruderPos":0,"feedRate":50,"ioBits":0,"laserPwm":null,"spindleSpeeds":[0,0],"toolNumber":-1},{"coords":[0,0,0,0],"extruderPos":0,"feedRate":50,"ioBits":0,"laserPwm":null,"spindleSpeeds":[0,0],"toolNumber":-1},{"coords":[0,0,0,0],"extruderPos":0,"feedRate":50,"ioBits":0,"laserPwm":null,"spindleSpeeds":[0,0],"toolNumber":-1},{"coords":[0,0,0,0],"extruderPos":0,"feedRate":50,"ioBits":0,"laserPwm":null,"spindleSpeeds":[0,0],"toolNumber":-1}],"status":"idle","time":"2020-12-24T10:31:54","upTime":1331},"tools":[{"active":[220],"axes":[[0],[1]],"extruders":[0],"fans":[5],"filamentExtruder":0,"heaters":[1],"mix":[1],"name":"Tool 0","number":0,"offsets":[15.39,40,-6.25,0],"offsetsProbed":0,"retraction":{"extraRestart":0,"length":2,"speed":16.7,"unretractSpeed":16.7,"zHop":0},"standby":[220],"state":"active"},{"active":[220],"axes":[[0],[1]],"extruders":[1],"fans":[6],"filamentExtruder":1,"heaters":[2],"mix":[1],"name":"Tool 1","number":1,"offsets":[15.5,38.3,-6.75,0],"offsetsProbed":0,"retraction":{"extraRestart":0,"length":2,"speed":16.7,"unretractSpeed":16.7,"zHop":0},"standby":[220],"state":"standby"}],"userSessions":[{"id":2,"accessLevel":"readWrite","sessionType":"http","origin":"::ffff:10.0.0.193","originId":56148}],"userVariables":[],"volumes":[{"capacity":13162364928,"freeSpace":6498324480,"mounted":true,"name":null,"openFiles":null,"path":"/","speed":null},{"capacity":2143281152,"freeSpace":2081447936,"mounted":true,"name":null,"openFiles":null,"path":"/boot","speed":null}]}

jaysuk commented 3 years ago

Use this fork. https://github.com/lukeslaboratory/DuetWebAPI Unfortunately Danal passed away a few months ago

P-C-R commented 3 years ago

@Michael-Wirz or use the fork of @jaysuk https://github.com/jaysuk/DuetWebAPI ;) Works perfectly with the fork!

Michael-Wirz commented 3 years ago

@P-C-R Thank you very much!

Michael-Wirz commented 3 years ago

@jaysuk Thank you very much. Sad to hear that Danal passed away ;-(