This method checks that the HCL is actually running and in the event it stops working, trigger a script that will restart it.
1. Get a non Fibaro controlled power plug and scripts to control it.
I used a wifi smart plug, TP-link HS100 and downloaded the scripts from
2. Create a bash script to restart the Fibaro, e.g. restart_fibaro.sh
$scripts/tplink-smartplug.py -t $ip_addr -c off
$scripts/tplink-smartplug.py -t $ip_addr -c on
3. Create a test global variable in the Fibaro HCL
Go to the variables panel and create a test variable, e.g. Test
4. Add a cron entry to test that the Fibaro API is still working and restart if it's not.
The cron script is scheduled every 5 mins and turns on and off the power to the HCL in 10 seconds when the Fibaro API does not respond.
*/5 * * * * wget http://
Make sure to replace the following