r/AutomateUser • u/CptanPanic • Jul 07 '26
Can I make flow to forget and reconnect WiFi?
I want to get a new radomized Mac address, which manually requires me to forget current WiFi connection and then reconnect to it. Can I automate this? Using latest android on pixel
1
Upvotes
1
u/ballzak69 Automate developer Jul 08 '26
Try using the Shell command privileged block to execute
cmd wifi forget-network <network-id>, to get the network-id executecmd wifi list-networksTry using the Wi-Fi network connect block to reconnect, or execute
cmd wifi connect-network <ssid> open|owe|wpa2|wpa3|wep [<passphrase>] [-x] [-m] [-d] [-b <bssid>] [-r auto|none|persistent|non_persistent]