remcohaszing / pywakeonlan

A small python module for wake on lan.
https://pywakeonlan.readthedocs.io
MIT License
281 stars 68 forks source link

Stopped working, what have I broken? #25

Closed George7231 closed 2 years ago

George7231 commented 2 years ago

Windows 10 Using this app from the Microsoft Store, I can start my computer - https://www.microsoft.com/store/productId/9NBLGGH51PB3 Running this with the exact same mac address does not: image Same with an actual python file image

It was working before but stopped around 29th May, I cannot think of anything I changed to affect it. Neither can I see any new releases here, so I guess it is me but the computer is surely set correctly as the other thing works and I can't see anything wrong with the code.

Help would be appreciated. Ask if I've missed something.

Edit: Changed semi-colons ":" to full stops "." in MAC address because I realised it had those in the readme. Still nothing though. E.g. ff:ff:ff:ff:ff:ff -> ff.ff.ff.ff.ff.ff

George7231 commented 2 years ago

Solved by reading closed issues, found that send_magic_packet('50:65:f3:23:06:52', ip_address='192.168.1.255', port=9) fixed it. Don't know why it had worked previously and then stopped.