Page 1 of 1

is remote control from OTG by code possible

Posted: Mon Feb 04, 2019 12:52 pm
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=command&param=udevice&idx=IDX&nvalue=0&svalue=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

Posted: Tue Feb 05, 2019 5: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

Posted: Wed Feb 06, 2019 4: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