Programming Timers using UDP interface

Ethernet specific questions and answers - IRTrans LAN, LAN Controller devices

Moderator: marcus

Programming Timers using UDP interface

Postby rmetrich » Thu 20. Sep 2012, 16:05

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.
rmetrich
 
Posts: 5
Joined: Thu 20. Sep 2012, 09:41

Re: Programming Timers using UDP interface

Postby IRTrans » Thu 20. Sep 2012, 16:29

Currently we do not have an API to program the timers (apart from the Web GUI).

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: Programming Timers using UDP interface

Postby IRTrans » Thu 20. Sep 2012, 16:36

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
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: Programming Timers using UDP interface

Postby rmetrich » Fri 28. Sep 2012, 11:28

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.
rmetrich
 
Posts: 5
Joined: Thu 20. Sep 2012, 09:41

Re: Programming Timers using UDP interface

Postby IRTrans » Fri 28. Sep 2012, 12:44

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
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: Programming Timers using UDP interface

Postby rmetrich » Fri 28. Sep 2012, 13:25

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.
rmetrich
 
Posts: 5
Joined: Thu 20. Sep 2012, 09:41


Return to Ethernet

Who is online

Users browsing this forum: Majestic-12 [Bot] and 4 guests

cron