MLNiles

From Cinemar Wiki
Jump to: navigation, search

About

The MLNiles Plugin is used to control a Niles NR-6 Multi-Zone Controller via a serial port.

Installation

MLNiles.dll

Plugin that communicates with the NR-6.

With MLServer shutdown, run the MLNiles_Plugin_Setup.exe. This will install MLNiles plugin to the MLServer Plugins directory. It is recommended to accept all installation defaults.


Settings

Configure the serial port to use and set the number of zones you have in your system. The default baud rate is 38400 and this normally does not have to change.

Niles-Settings.png

MLServeCmds

AllOff

{MLServeCmd}Script Usage

MLNiles|AllOff~ID

Parameters
ID = The Controller's ID or Alias
State = Power State On,Off

(Literal)
MLNiles|AllOff~1

Description

Turns off power to all zones.


ZonePower

{MLServeCmd}Script Usage

MLNiles|ZonePower~ID~Zone#~State

Parameters
ID = The Controller's ID or Alias
Zone# = The Zones Number to control 1..18
State = Power State On,Off

(Literal)
MLNiles|ZonePower~1~1~On

Description

Turns Power On or Off in the specified zone.


ZoneSource

{MLServeCmd}Script Usage

MLNiles|ZoneSource~ID~Zone#~Source#

Parameters
ID = The Controller's ID or Alias
Zone# = The Zones Number to control 1..18
Source# = The desired source for the zone 1..6 (1=Tuner)

(Literal)
MLNiles|ZoneSource~1~1~1

Description

Selects the source for the specified zone.


Volume

{MLServeCmd}Script Usage

MLNiles|Volume~ID~Zone#~Direction

Parameters
ID = The Controller's ID or Alias
Zone# = The Zones Number to control 1..18
Direction = Up,Down

(Literal)
MLNiles|Volume~1~1~Up

Description

Increases or decreases Volume in the specified zone.


Mute

{MLServeCmd}Script Usage

MLNiles|Mute~ID~Zone#

Parameters
ID = The Controller's ID or Alias
Zone# = The Zones Number to control 1..18

(Literal)
MLNiles|Mute~1~1

Description

Toggles Mute in the specified zone.


Remote

{MLServeCmd}Script Usage

MLNiles|Remote~ID~Zone#~RemoteButton

Parameters
ID = The Controller's ID or Alias
Zone# = The Zones Number to control 1..18
RemoteButton = One of the specified buttons (1, 2, 3, 4, 5, 6, 7, 8, 9, 0, Enter, Up, Down, Left, Right, Select, Next, Previous, Play, Pause, Stop, FastFwd, Rewind, Record, Shuffle, Group, Disc, Favorites, PageUp, PageDown)

(Literal)
MLNiles|Remote~1~1~Up

Description

Simulates a remote button push in the specified zone.


Tune

{MLServeCmd}Script Usage

MLNiles|Tune~ID~Zone#~Station

Parameters
ID = The Controller's ID or Alias
Zone# = The Zones Number to control 1..18
Station = The frequency of the station to tune to

(Literal)
MLNiles|Tune~1~1~105.7 (for FM Stations) MLNiles|Tune~1~1~0630 (for AM Stations)

Description

Tunes the radio to the specified station.


Status

{MLServeCmd}Script Usage

MLNiles|Status~ID~Zone#

Parameters
ID = The Controller's ID or Alias
Zone# = The Zones Number to control 1..18

(Literal)
MLNiles|Status~1~1

Description

Requests status for the specified zone.


MLServer Variables

All the Server Variables for this plugin begin with the prefix NILES_