Have Duet do a HTTP POST or curl (to control something else)?
-
Hi Duet'ers!
Is it possible, maybe through a macro or whatever to have the duet board do a http post to control some lights of mine? I can think of a million other applications as well!
ex:
Duet finishes printing or hits a certain temp, duet does this:curl --data "" http://1.2.3.4/power?value=1
Possible?
-
currently only with Duet3 + Raspberry Pi or other SBC
(or indirectly by enabling telnet, and having an external process listen to the telnet socket for a message from M117 or M118) -
@bearer OK thanks for the response. I'll setup an ESP8266 or similar as a listener and have it do the lifting.
Cheers.
-Adam
-
in that case this may be of interest, I hooked the ESP up to the paneldue port instead of telnet, it has 5v power and 3.3v serial and listened for the beep messages.
https://forum.duet3d.com/post/93891