Inspired by some other projects on the web, here a simple standalone call monitor for the fritz box.
It runs on a ESPRGB-board with a ESP-12E module with a ESP8266 chip and Nodemcu firmware in connection with a RGB-strip.
The hardware design is shown here.
Here a short version of the Lua code with the important parts:
Always wondered, how to send a valid WOL magic packet using the ESP8266 using Lua on nodemcu?
here's the Lua code:
-- send a WOL magic packet
-- required: set up your wlan and adjust the MAC address and broadcast IP
broadcast_address = "192.168.1.255" -- of this subnet
addr_MAC_str="00-11-32-31-08-ad" -- the address to be woken
arrhdr = "\255\255\255\255\255\255" -- magic packet header