Remote lamp/relay controller based on an ESP8266 and a Gnome extension.
Go to file
drevil 5624075cc0 updated readme and removed magics from extension 2023-11-03 19:58:52 -04:00
extension/rlamp@jmq.sh updated readme and removed magics from extension 2023-11-03 19:58:52 -04:00
firmware initial commit 2023-11-03 19:37:51 -04:00
README.md updated readme and removed magics from extension 2023-11-03 19:58:52 -04:00

README.md

rLamp

Dumb and very poorly put together ESP8266 project I made for an old lamp in my room. If it wasn't clear by the previous sentence don't use it. I'm just putting it here so it's easier to install it on machines I'm not logged into which might happen in the future.

Installation

git clone https://tildegit.org/drevil/rlamp
mkdir ~/.local/share/gnome-shell/extensions/
cp -r rlamp/extension/rlamp@jmq.sh ~/.local/share/gnome-shell/extensions/rlamp@jmq.sh
gnome-extensions enable rlamp@jmq.sh

And restart gnome (Alt+F2, type r on the command bar, then enter).

As for the circuit, (again, don't build this) it should be pretty self explaindatory by the arduino code (just wire the relay set pin to D7). Open the shell at 115200 bauds and type the following command (it doesn't support backspace but it does support Ctrl-C).

setSSID <Your WIFI's SSID>
setSSID <Your WIFI's password>
updateSettings
connectToWifi

That should be it.