This module creates a Wi-Fi hotspot to communicate with a smart power plug over HTTP. It is used in the opencca development workflow to power-cycle the board during firmware flashing.
Note: If your smart plug is already reachable via an existing Wi-Fi access point, this module is not needed.
Copy and edit the environment file:
cp ./.env.template .env
emacs .envInstall and enable the service to run at system startup:
sudo make installSee Makefile for more information
If the hotspot drops or becomes unstable, disable Wi-Fi power saving:
echo "options cfg80211 ieee80211_default_ps=0" | sudo tee /etc/modprobe.d/disable_wifi_powersave.conf