From a40c06ca749f8cad3bb5574d9e2f6ff9be445d85 Mon Sep 17 00:00:00 2001 From: DavinKD <37185595+DavinKD@users.noreply.github.com> Date: Tue, 12 Feb 2019 15:16:38 -0700 Subject: [PATCH] Created Supernight dual wifi plug (markdown) --- Supernight-dual-wifi-plug.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Supernight-dual-wifi-plug.md diff --git a/Supernight-dual-wifi-plug.md b/Supernight-dual-wifi-plug.md new file mode 100644 index 00000000..50ac875d --- /dev/null +++ b/Supernight-dual-wifi-plug.md @@ -0,0 +1,16 @@ +https://smile.amazon.com/gp/product/B07K1QSFFJ/ref=ppx_yo_dt_b_asin_title_o01__o00_s00?ie=UTF8&psc=1 + +Received these in a 2 pack. flashing with OTA was no issue. + +I quickly figured out most of the IO. + +GPIO1 = Left Socket Button +GPIO3 = Left Socket Relay +GPIO12 = Right Socket Relay +GPIO14 = Red LED for both buttons + +The "night light" seems to be tied to the light sensor only and cannot be turned off. This makes the plug a no-go for me. + +Also, I could not figure out the right socket button. I ended up destroying one of the two plugs to see what was inside. + +There are 2 circuit boards. One with the Wifi and esp module and another with the buttons and the night lights. On the button board, the trace for the right button is purposely notched for that button so that it doesn't connect to the header leading to the second circuit board with the esp chip. I'm really wishing I verified that button before flashing as I don't intend to buy more to test it. \ No newline at end of file