You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close

How-To: IR Dongle V2


Overview

The IR Dongle V2 - Flux Capacitor V2 - adds IR support to the Just Add Power 3G product line by converting the serial port into an IR blaster. Pronto, Global Cache, and Global Cache Compressed IR code formats are supported.

  • Baudrate is 115200-8n1
  • RS232 Feedback
  • LED indicator
  • LED responds on successful command
  • Support for commands formatted as:
    • Pronto
    • Global Cache
    • Global Cache Compressed

If the IR Dongle does not have 'V2' printed on it, please see the article for IR Dongle V1


Included Wiring

The IR Dongle V2 ships with 4 cables:

  1. IR Emitter (3V, 0.1A)
  2. 3.5mm-to-3.5mm stereo plug
  3. USB Type A to Micro USB cable
  4. Y-shaped USB power tap

IR Dongle Connections


Requirements

3G devices must be on justOS firmware B1.2.1 or later

2G devices must be on firmware A6.5.9-LTS or later


Null Modem Jumper Position

The RS232 port on the Just Add Power device has a null modem jumper on the bottom that determines the transmit/receive pin position of the RS232 port.

Please see the [3G] Null Modem Jumper Pinouts article for the correct position. The Flux Capacitor always uses the Crossover position.


 

Setup

3G

  1. Enable Layer 3 access to Just Add Power devices
  2. Set the Null Modem Jumper in the crossover position. The positioning varies by device.
  3. In the web interface, select Endpoint Control and set the Serial Mode to Flux IR Dongle (v2)
  4. Reboot the unit


Setup 2G

  1. Enable Layer 3 access to Just Add Power devices
  2. Set the Null Modem Jumper in the crossover position. The positioning varies by device.
  3. Telnet to the Receiver and send the command flux.sh v2
    • Alternatively, to set all Receivers to use Flux IR Dongle V2 with a single command, send commandallrx.sh "flux.sh v2"
  4. Reboot the unit

Programming

Please see documentation for the Control System being used.

IR Dongle V2 supports Pronto, Global Cache, and Global Cache Compressed formats

Telnet to the IP address of the device at port 4998 and send the IR commands followed by a carriage-return (\r below)
sendir,1:1,1,38000,1,1,127,63,16,16,16,48,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,48,16,16,16,1000\r


Feedback

When a command is sent, feedback is provided by the IRDv2. Feedback responses are:

Executed Command Feedback
Any Pronto IR code ERR_001
(This is temporary as we adjust IR responses)
Any Global Cache IR code completeir,1:1,1
getdevices device,0,0 ETHERNET
device,1,1 IR
endlistdevices
getversion version,1,FluxCapacitor_v2
get_NET NET,0:1,[configlock],[ipsetting],[ipaddress],[subnet],[gateway]
get_IR IR,1:1,IR
Any incorrect Global Cache code ERR_001
  • 294
  • 26-Jun-2023
  • 6565 Views