Page 1 of 1

Programming Timers using UDP interface

PostPosted: Thu 20. Sep 2012, 16:05
by rmetrich
Hello,

just received my IRTrans Ethernet with IRDB to control air conditioner. It rocks!!!

I'd like to program the 4 available timers via the UDP interface. Is this possible?
Otherwise, I need to do this through the HTTP port which is annoying because I then have to let it open and don't want to do this.

Re: Programming Timers using UDP interface

PostPosted: Thu 20. Sep 2012, 16:29
by IRTrans
Currently we do not have an API to program the timers (apart from the Web GUI).

IRTrans

Re: Programming Timers using UDP interface

PostPosted: Thu 20. Sep 2012, 16:36
by IRTrans
Upps, I was wrong.

Our C DLL allows to set the device timers using the following call:

IRTRANSDLL_API NETWORKSTATUS *SetTimerEntry (SOCKET serv,byte num,byte mode,byte year,byte month,byte day,byte weekday,byte hour,byte min,byte ledsel,word targetmask,byte remote[],byte command[],byte bus)


IRTrans

Re: Programming Timers using UDP interface

PostPosted: Fri 28. Sep 2012, 11:28
by rmetrich
Unfortunately I'm using an embedded linux box.
Do you plan such addon to the UDP control socket?
Or maybe this can be achieve using the TCP socket.

Re: Programming Timers using UDP interface

PostPosted: Fri 28. Sep 2012, 12:44
by IRTrans
Hi,
we will not add that functionality to the ASCII interface.

The reason are memory constraints - we do have perhaps a handful customers using the timers at all. Therefore we need to preserve the scarce flash memory we have for features needed by a broad range of customers.

You can, however, have the timers running on your LINUX box (using cron). That way you are more flexible setting the timers.

IRTrans

Re: Programming Timers using UDP interface

PostPosted: Fri 28. Sep 2012, 13:25
by rmetrich
No problem with your answer.

I just wanted to use the timers as a protection against network connectivity loss when programming my air conditioners: using the 4 timers, the whole day schedule can be programmed most of the time.