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?
@nodernei Ah, may be you should run a separate Wifi access point or run some ethernet cables. Or does your router have the ability to be rebooted by a api?
[edit] @ghayne sorry replied to wrong post.
For Zigbee plug I don't know if it's possible what you want to do.
Wifi plug's running on Tasmota are capable to do this. In Tasmota you can make rule that enable's that output again x time after it's disabled. All functions of the plug can off course be controlled over mqtt.
With this you are always sure that the switch will be back online without the need for sending an On command.
Preprogrammed Tasmota plugs can be found on ali.