diff options
author | root <root@ka-ata-killa.ourano.james.local> | 2021-06-13 11:41:11 +0100 |
---|---|---|
committer | root <root@ka-ata-killa.ourano.james.local> | 2021-06-13 11:41:11 +0100 |
commit | 0d810335cfc55c836a054db14fab36fb99f58441 (patch) | |
tree | 67e9fc2ab764bbe76d03f644ecea2dfd6dde4037 /prometheus | |
parent | 6386636edb53aabc99de2f8479b00ca8f6ee6bfe (diff) | |
download | heating-master.tar.gz heating-master.tar.bz2 heating-master.zip |
Diffstat (limited to 'prometheus')
-rwxr-xr-x | prometheus/usr/local/bin/midnight_tidy | 15 | ||||
-rwxr-xr-x | prometheus/usr/local/bin/radiators_off | 4 | ||||
-rwxr-xr-x | prometheus/usr/local/bin/vents_close | 3 |
3 files changed, 7 insertions, 15 deletions
diff --git a/prometheus/usr/local/bin/midnight_tidy b/prometheus/usr/local/bin/midnight_tidy deleted file mode 100755 index 27400dd..0000000 --- a/prometheus/usr/local/bin/midnight_tidy +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -set -x - -/usr/local/bin/vent close - -for i in 2fl_main_radiator 2fl_stair_radiator bathroom_radiator bedroom_radiator hall_radiator kitchen_radiator kstudy_radiator laundry_radiator spare_bedroom_radiator dd_radiator1 dd_radiator2 dd_radiator3 ; do - /usr/local/bin/set_radiator_target $i 10 -done - -for i in kitchen_left/POWER kitchen_right/POWER bathroom/POWER1 bathroom/POWER2 front_door/POWER 2ndfl_3gang_switch/POWER1 2ndfl_3gang_switch/POWER2 2ndfl_3gang_switch/POWER3; do - mosquitto_pub -h 127.0.0.1 -t cmnd/$i -m 0 - sleep 1 -done - - diff --git a/prometheus/usr/local/bin/radiators_off b/prometheus/usr/local/bin/radiators_off new file mode 100755 index 0000000..40c6fea --- /dev/null +++ b/prometheus/usr/local/bin/radiators_off @@ -0,0 +1,4 @@ +#!/bin/sh +for i in 2fl_main_radiator 2fl_stair_radiator bathroom_radiator bedroom_radiator hall_radiator kitchen_radiator kstudy_radiator laundry_radiator spare_bedroom_radiator dd_radiator1 dd_radiator2 dd_radiator3 ; do + /usr/local/bin/set_radiator_target $i 10 +done diff --git a/prometheus/usr/local/bin/vents_close b/prometheus/usr/local/bin/vents_close new file mode 100755 index 0000000..5562ca9 --- /dev/null +++ b/prometheus/usr/local/bin/vents_close @@ -0,0 +1,3 @@ +#!/bin/sh +/usr/local/bin/vent close + |