This repository has been archived by the owner on Nov 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make_hotwater.sh
executable file
·57 lines (45 loc) · 2 KB
/
make_hotwater.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash
echo "kaffee mahlen"
mosquitto_pub -h iot-central.synyx.coffee -p 1883 -t 'coffee/command/a020a600f704' -m 'FN:07'
sleep 1s
mosquitto_pub -h iot-central.synyx.coffee -p 1883 -t 'coffee/command/a020a600f704' -m 'FN:08'
sleep 5s
#echo "Schieber oeffnen / rumfahren"
#mosquitto_pub -h iot-central.synyx.coffee -p 1883 -t 'coffee/command/a020a600f704' -m 'FN:11'
#sleep 5s
echo "brewgroup into brewing position / 12"
mosquitto_pub -h iot-central.synyx.coffee -p 1883 -t 'coffee/command/a020a600f704' -m 'FN:12'
sleep 5s
#echo "brewgroup into brewing position / 11"
#mosquitto_pub -h iot-central.synyx.coffee -p 1883 -t 'coffee/command/a020a600f704' -m 'FN:11'
#sleep 5s
echo "brewgroup into brewing position / 13"
mosquitto_pub -h iot-central.synyx.coffee -p 1883 -t 'coffee/command/a020a600f704' -m 'FN:13'
sleep 5s
echo "wasser aufheizen"
mosquitto_pub -h iot-central.synyx.coffee -p 1883 -t 'coffee/command/a020a600f704' -m 'FN:03'
sleep 2s
mosquitto_pub -h iot-central.synyx.coffee -p 1883 -t 'coffee/command/a020a600f704' -m 'FN:04'
echo "wasser ansaugen"
mosquitto_pub -h iot-central.synyx.coffee -p 1883 -t 'coffee/command/a020a600f704' -m 'FN:01'
sleep 1s
mosquitto_pub -h iot-central.synyx.coffee -p 1883 -t 'coffee/command/a020a600f704' -m 'FN:02'
sleep 1s
echo "kaffee marsch"
mosquitto_pub -h iot-central.synyx.coffee -p 1883 -t 'coffee/command/a020a600f704' -m 'FN:01'
sleep 4s
mosquitto_pub -h iot-central.synyx.coffee -p 1883 -t 'coffee/command/a020a600f704' -m 'FN:02'
sleep 3s
echo "drainage valve on"
mosquitto_pub -h iot-central.synyx.coffee -p 1883 -t 'coffee/command/a020a600f704' -m 'FN:1D'
sleep 1s
echo "leeren"
mosquitto_pub -h iot-central.synyx.coffee -p 1883 -t 'coffee/command/a020a600f704' -m 'FN:0E'
sleep 1s
echo "drainage valve off"
mosquitto_pub -h iot-central.synyx.coffee -p 1883 -t 'coffee/command/a020a600f704' -m 'FN:1E'
sleep 1s
echo "brewgroup into grinding position"
mosquitto_pub -h iot-central.synyx.coffee -p 1883 -t 'coffee/command/a020a600f704' -m 'FN:0F'
sleep 1s
echo finished