I'd like to do a "hard" reboot of my router, meaning I'd like to switch off the router's power supply for ~ 10 seconds. The router is connected to the wall socket via a Zigbee Plug.
The Zigbee Plug can be controlled via my Raspberry Pi. I can switch on / off the Zigbee Plug by means of node red / mqtt. However, I just realized I always need internet to send the on command. The latter is quite unfortunate in this case, since I wanted to send an "off" message and 10 seconds later an "on" message to restart the router. Is there any way to send messages without being connected to the internet?
Thanks for your help.