Simple WOL (PC) via ESP32/8266-webserver + optocoupler 4N35 (+. ino)

so 😉 ,

as i couldnt wake up my NAS (-PC) over LAN anymore (have now a Telekom-router, before a „Fritzbox“) and also couldn´t find the right bios-settings for WOL (on that motherboard) i thought i could use an „withdrawn from service“ 😉 ESP8266 , some 4N35 optocoupler (0,41$), some dupont-cable and make a webserver/app-controlled WOL..

i used these very good tutorial at „randomnerdtutorials“->https://randomnerdtutorials.com/esp32-esp8266-web-server-outputs-momentary-switch/

i used the sketch (*.ino) on the site, modified it a little bit (other ssid+password) + changed the “ const int output = 2;“ to 14 (its GPIO14=D5 on this particular board), used this schematic->

and use optocoupler „out/2.circuit“) 4,5 to the PC-power-on switch..(2 to GND ESP8266 and 1 with a transistor on D5 (GPIO14)(as could be seen on the second picture))

Works !! 😉

(modified sketch is here->Link

Greets for now (and more to come!!) 😉

ESP32-Cam / .ino / Port forwarding / „Solar“-category !!..

so, 😉

have now the time to get a little bit more „in-depth“ with the ESP32-Cam..You can get it meanwhile for 5-6$ from Aliexpress,Bangood etc..(LINK)

u need an FTDI-programmer for it of course, 1,50$, Ebay->(LINK)

a very good tutorial about setting up the ESP32-Cam, how to connect to the FTDI-programmer + sketch is here->https://randomnerdtutorials.com/esp32-cam-video-streaming-web-server-camera-home-assistant/

the sketch is also very „easy“ (see on randomnerdtutorials) and for „flashing“ u only need to set a jumper on IO0+GND (and remove it afterwards of course 😉 )..The .ino/sketch is also here->(LINK)

the picture-quality is a little bit better that u might expect in the worst case 😉 and now i use the ESP32-cam directly over (DHCP)-WLAN connected and display it in a browser (simple IP-adress in the bar) or via some dyndns-provider (use here spdyn.de in Germany)..

u only need to port forward (90 to 80 for example) it directly to the device..

very nice thing, use an raspberry pi zero wh as an webserver, mqtt-broker „in between“ and will also use then some ESP32 for solarpanel-control/measure the current from the batteries and display it on a website/handy etc..

more to come..also ordered some „step up module“ to easier power them with 5V/2 cables“, Ebay,->(LINK)

by that i made a new „category“ (on the right)->“SOLAR“ 😉 ..i will post there anything about 5V/12V solar-panels, autotracking them etc. !! all with some Arduinos,ESP32,Raspis etc..very much more to come,

(above picture + description is from : http://b04forum.dl3ndd.de/viewtopic.php?f=18&t=365)

but many greets from here !! 😉 (but no worry->essabre-90xx-rpi.sfb2.com will stay absolutely more hifi-related !! 😉 )