#!/bin/bash

#initialload of "Zeitschaltuhr"
# 'settime' to be issued separately

echo 'clearall'            | nc 8rd001.fritz.box 23       
sleep .5
echo '1name LED_12V' | nc 8rd001.fritz.box 23
sleep .5
echo '3name pump' | nc 8rd001.fritz.box 23
sleep .5
echo '4name LED_220V' | nc 8rd001.fritz.box 23
sleep .5
echo '1on&off 06:30 20:30' | nc 8rd001.fritz.box 23 
sleep .5
echo '4on&off 06:29 20:29' | nc 8rd001.fritz.box 23
sleep .5
echo '3everyH 02:00 02:10' | nc 8rd001.fritz.box 23
sleep .5
echo '3everyH 17:00 17:10' | nc 8rd001.fritz.box 23
sleep .5
echo '3everyH 32:00 32:10' | nc 8rd001.fritz.box 23
sleep .5
echo '3everyH 47:00 47:10' | nc 8rd001.fritz.box 23
sleep .5
echo 'adjust -20'  | nc 8rd001.fritz.box 23
sleep .5
echo 'showall'  | nc 8rd001.fritz.box 23

Share