rr_status?type=XXX additional info



  • Hi, i have recently been playing around with the JSON data from the duet wifi to make some active progress indicators on my enclosure through wifi and i was wondering how much of a task it would be to add the current tool temperature into the status request? i might just be being stupid so any help would be appreciated but i can easily grab the current bed temperature and target temperature but when it comes to the tool i can only find the target temperature readout

    Here is an example of a type 3 request from the wiki

    "temps": {
    	"bed": {			// Missing
    		"current": 20.0,	// if no
    		"active": -273.1,	// heated
    		"state": 0		// bed
    	},				// is present
    	"chamber": {			// Missing
    		"current": 19.7,	// if no
    		"active": 50.0,		// chamber was
    		"state": 2		// previously defined
    	},				// using M141 H#
    	"heads": {
    		"current": [25.0, 25.0],
    		"active": [0.0, 0.0],
    		"standby": [0.0, 0.0],
    		"state": [2, 1]		// 0: off, 1: standby, 2: active, 3: fault (same for bed)
    	},
    	"tools": {			// New in RRF 1.19. This reflects the set tool temperatures
    		"active": [[0.0], [0.0]],
    		"standby": [[0.0], [0.0]]
    	}
    

    cheers



  • type 1 contains them as list under .temps.current.
    Usually first and second entry are your bed and hotend.



  • ahhh, i see it now! it seems a bit of out place there no? i imagine it would be better suited amongst the other tool values? thank you for the help though



  • actually i take that back, i can see how it is formatted now, just my browser was making them look weird. my bad


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.