So with everything I’m doing with my 3D printer, I thought it would be a nice idea to get some smart plugs to integrate with Moonraker so that I can remotely control the printer’s power, and also a light when it eventually arrives.
Unfortunately, the smart plugs I got are Tuya/Smart Life based, which Moonraker doesn’t support. But Moonraker does support a generic http interface for controlling smart devices.
So I wrote the Moonraker Tuya Generic HTTP Server.