Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set mac address #78

Open
wecoy76 opened this issue Oct 21, 2020 · 1 comment
Open

Set mac address #78

wecoy76 opened this issue Oct 21, 2020 · 1 comment

Comments

@wecoy76
Copy link

wecoy76 commented Oct 21, 2020

I have several hs100 plugs. Some of them were bricked when they ran out of power during a software upgrade. I copied the dump file from the correct device to the bricked. The faulty plugs becomes operable, but the PROBLEM is that now everyone has the same mac address and cannot work on the same network. I tried to set the mac address with the command:

tplink_smartplug.py -t <192.168...> {"system": {"set_mac_addr": {"mac": "50-C7-BF-01-02-03"}}}

but without success.
Command for on off is working with some change like this:

tplink_smartplug.py -t <192.168...> {\"system\": {\"set_relay_state\": {\"state\":0}}}

but set_mac don't

Please help

@whitslack
Copy link

The device reports its own MAC address in the get_sysinfo return value using colons, not hyphens. Have you tried set_mac_addr with colons in the hex string instead of hyphens?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants