Arksine / moonraker

Web API Server for Klipper
https://moonraker.readthedocs.io
GNU General Public License v3.0
1.05k stars 407 forks source link

[Feature Request] Belkin Wemo Smart Plug Support #203

Open Dreamwebb opened 3 years ago

Dreamwebb commented 3 years ago

Hi is there any possibility to add Wemo Smart Plug support like the other supported plugs?

Here are the octoprint equivalents

https://plugins.octoprint.org/plugins/wemoswitch/ https://github.com/jneilliii/OctoPrint-WemoSwitch

Vansmak commented 2 years ago

Do you by chance use homeassistant? You can add any switch from HA.

jimmysdiy commented 1 year ago

any update on this? I switched from Marlin to Klipper, and I am using Mainsail. I'd love to get my plug to work.

NotAFood commented 1 year ago

https://gist.github.com/NotAFood/6d864166c7a239ca0f35fb0cd4a2a3bc

Not an official fix but I was able to write a Jinja2 template to emit XML SOAP to interact with a Wemo. May not work if Wemo (has / will have) removed local API access

jimmysdiy commented 1 year ago

@NotAFood - I just tested and it worked! Thank you so much. I did have to change the IP Address & Port #. My Port was 49152. I the was tested on Wemo Plug v3.