Page 1 of 1

Send OTGW command from bash script

Posted: Mon Feb 15, 2016 11:14 am
by mr_blond18
Guys,
I recently installed an OTGW in my domoticz system. I specifically bought a Remeha iSense thermostat since the original designer of the OTGW used one as well.

I can temporary override the setpoint from the domoticz interface, nice! This is done with the TT command (e.g. TT=19)

I want to be able to send a constant setpoint override to the thermostat as well (e.g. TC=19). I read somewhere that this is not implemented in the domoticz gui. So I am trying to do this from a script (e.g. bash or python). But I can not get it to send such a command. Can somebody tell me how to do this?

Thanks in advance!

Re: Send OTGW command from bash script

Posted: Mon Apr 04, 2016 4:18 pm
by jeroentje
Not sure if I understand you correct.
From a bash script you could use wget to set the temperature :
wget http://hostname/command?TT="$temp" --user=user --password=password -O $output -q

You could then check the content of the output file to see if the temperature was set correctly.