-
-
Notifications
You must be signed in to change notification settings - Fork 504
Using a Raspberry Pi
ads1230 edited this page Aug 10, 2019
·
11 revisions
Before running Tuya-Convert, you need to disconnect from your current Wi-Fi network else the WiFi network will not start (or will not accept connections if broadcast). There are multiple ways of doing this:
Warning You will need to be connected via Ethernet or "USB Gadget mode" to continue use after disabling wifi.
- Via GUI: connect via VNC viewer, click the Wifi Icon, select your network and disconnect.
-
Via SSH/Terminal: paste the command
sudo killall wpa_supplicant
You can now follow the instructions on the main page.
Process to flash EPicka smart plugs ( https://www.amazon.com/EPICKA-Mini-Wireless-Compatible-Assistant-Required/dp/B07BW9QB1G )
I used a Pi Zero W to flash. Here are high level steps..
- install raspian lite
- setup USB Gadget mode (unless you have keyboard/monitor). It might give you self assigned IP instead of regular network IP. That's okay. You can still ssh to pi.
- You will have to kill wpa_supplicant otherwise wifi hotspot will not start.
sudo killall wpa_supplicant
Since you are connected using usb-gadget mode, your ssh session will still work.
- Follow main tuya-convert steps.
- Make sure to flash with user2 mode otherwise you will brick your smart plugs.