kakopappa / arduino-esp8266-alexa-wemo-switch

Amazon Alexa + WeMos switch made with Arduino D1 Mini
https://sinric.pro
MIT License
281 stars 249 forks source link

Mac address #11

Open MacGyver1rjq104 opened 7 years ago

MacGyver1rjq104 commented 7 years ago

I am waiting on more switches in the mail.... Oh the long wait! LOL I programmed this first sonoff, and before I did, I wrote down the Mac address. When I programmed it, the mac address is now different. Where did this come from? If it programs the same mac address, then the devices won't work together. So my question, does anyone know if the mac address changes with each unit, and if not, where is it in the script so I can put the original mac's in the devices. Thank you!

kakopappa commented 7 years ago

I don't have a sonoff unit so I do n't know about mac address being changed. However, there is a AT command to change MAC address in ESP

AT+CIPSTAMAC="18:aa:35:97:d4:7b"

http://www.esp8266.com/viewtopic.php?f=11&t=4584

https://room-15.github.io/blog/2015/03/26/esp8266-at-command-reference/#AT+CIPSTAMAC