#!/bin/bash # # heater-off.sh V. 20220805 by Migele # This script is called by pvbin.php if there's not enough # solar energy to switch on a heater. # This script simply broadcasts a mqtt message to a broker, the broker # deliveres it to subscribed hardware that switches off a heater. # It's sister is heater-on.sh # This script should be called not shorter than every 6 minutes # (300 times/day usage) to prevent problems with the terms of # solaredge.com. # mosquitto_pub -t haus/pvheater -m "aus" exit 0