and again another object model question 🐒
I would like to get the current status of the z-probe for an if statement
I can find it in the object model:
M409 K"sensors.probes[0].value"
{"key":"sensors.probes[0].value","flags":"","result":[1000]}
but when I try to echo the signal
echo sensors.probes[0].value
[array]
I don't get the information I would like to have (whether it is 0 (not triggered) or 1000 (triggered). Could you please once more help me - thank you in advance!!
Okay never mind!
echo sensors.probes[0].value[0] did the job!