A Home Assistant component for the Just Add Power HD over IP 2G/3G systems. Currently requires a supported Cisco switch configured with JADConfig.
- Create a folder called custom_components/justaddpower.
- Drop the files media_player.py and manifest.json into the custom_components/justaddpower directory.
- Edit your configuration file to add the
justaddpower
platform.
There are 3 sections required: switch, receivers and transmitters.
The switch is polled on a regular basis to determine the current configuration, as well as to change sources. The min_refresh_interval determines how often. This can be different from scan_interval but setting a lower value will not override scan_interval. An example usage would be to allow image pull to happen frequently without overloading the switch with refresh requests.
Parameter | Default | Description | Example |
---|---|---|---|
host (req) | IP or hostname of the network switch | myswitch1234 | |
user (opt) | cisco | Username to log onto switch | myuser |
password (opt) | cisco | Password for switch | mypass~1 |
rx_subnet (opt) | 10.128.0.0 | Receiver subnet | 10.128.0.0 |
min_refresh_interval (opt) | 10 | How often to refresh receiver info from switch | 10 |
The transmitters are listed in the order they appear on the switch.
Parameter | Default | Description | Example |
---|---|---|---|
name (req) | Friendly name | Cable Box | |
usb (opt) | false | Whether this transmitter has USB | true |
url (opt) | URL to static image for transmitter - takes precedence over image_pull | http://mydomain.com/myimg.jpg |
The receivers are listed in the order they appear on the switch. The IP address is automatically determined and isn't normally required. However the option exists to override if the auto config doesn't work.
Parameter | Default | Description | Example |
---|---|---|---|
name (req) | Friendly name | Master Bedroom | |
usb (opt) | false | Whether this receiver has USB | true |
ip_address (opt) | IP address of switch | mypass~1 | |
image_pull (opt) | false | Display the image from the source | true |
image_pull_refresh (opt) | 10 | How often to refresh the source image | 30 |
- platform: justaddpower
switch:
host: myswitch12345
transmitters:
1:
name: Virgin V6
2:
name: Virgin Tivo
3:
name: CCTV
4:
name: Main PC
usb: true
7:
name: XBox One
url: http://mydomain.com/uploads/Xbox-One-Console-480x240.jpg
8:
name: PS-3
9:
name: Wii
receivers:
1:
name: Family Room
image_pull: true
2:
name: Study
usb: true
image_pull: true
image_pull_refresh: 30
3:
name: Games Room
usb: true
image_pull: true
image_pull_refresh: 300
4:
name: R4
5:
name: R5
6:
name: R6