Triggering Automation via Orcaslicer

I wanna automatically turn on the smart outlet to my 3d printer via orca slicer.

I found a workaround with executing a .bat file via the post processing scripts:
grafik

@echo off
curl -X POST http://192.168.0.2:8123/api/webhook/StartPrint_X

Sadly this doesn’t seem to be very reiable. Does someone have any tips for me or other ideas on how to set this up?

Cheers
Lennard

im trying to do the exact same thing, ever found a solution? I happen to have a zigbee plug if it matters