Hi,
Is there a possibilty to get the temperature of the extruder?
What I tried: 172.16.0.2:3344/printer/api/myprinter?apikey=abc&a=send&data={"cmd":"m105"}.
Thanks for your help.
Matthias
What you do is requesting a temperature from firmware. That does not help as you need also the response. Server does this anyway so it always knows the temperatures.
The simple solution is a=stateList which gives you current temperature set/read/output for all heaters and if you want even the history (use with care for extra traffic).
stateList
Parameter: includeHistory (bool) include complete temperature history.
Comments
stateList
Parameter: includeHistory (bool) include complete temperature history.
Response
Polls the detailed printer state with or without a complete temperature history.