Page 1 of 1

is remote control from OTG by code possible

PostPosted: Mon Feb 04, 2019 11:52 am
by BartSr
Hi!

Is there a possibility to (programmaticly) remote control the OTG?
I know you can put manual input such as TT=25 to manual temperature set the thermostat setpoint @ 25 degree.
But is there also a programmaticly way to do such as we can set a value in Domoticz . Example:
https://domoticzIP:port/json.htm?type=c ... value=TEMP
re to https://www.domoticz.com/wiki/Domoticz_ ... 2Fhumidity

That way programmaticaly a setpoint could be manipulated.

KR
-Bart

Re: is remote control from OTG by code possible

PostPosted: Tue Feb 05, 2019 4:51 pm
by hvxl
The way to control the OTGW is by sending commands to its serial port. Whether that is done manually or from a program doesn't make a difference to the OTGW. In fact, it can't even tell. If you use OTmonitor, you actually have multiple possibilities: HTTP, MQTT, Telnet, DBus.

Or were you asking how to do it in Domoticz?

Re: is remote control from OTG by code possible

PostPosted: Wed Feb 06, 2019 3:56 pm
by BartSr
Schelte,
MQTT I am considering but not yet familar with.
Can you give a hand in providing a proposal by HTTP?
Domoticz has built in facility; will check with Domoticz forum about how to using code.
TIA
KR
-Bart