Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
slaCmdr - pilot your phantoms from the command line
#1
Hi All, introducing slaCmdr 1.0 R2    https://halrad.com/slaCmdr/

HALRAD sound labs automation commander. slaCmdr.exe - Rhymes with Salamander but is more like a Chameleon, piloting your Devialet Phantom Speakers.  Lives near a tree or under a Gecko, hidden by what ever it is you integrate it into...

Puts you in the drivers seat piloting Devialet Phantom Speakers.

What is it?
A command line interface for Devialet Phantom speaker.

Why?
slaCmdr provides a command | shell interface for the Devialet Phantom speakers.

Initially this is conceived for use with small touch screens and an elgato Stream Deck as a simple way to control phantom speakers.

Where does it work?
Built tested: Windows 10, using .net - in theory should work cross-platform with appropriate .net support.

Where is it?  https://halrad.com/slaCmdr/
slacmdr_win-x86_R2.zip    (Windows x86 SIGNED self-contained 'single' binary release. No install needed, required. Just unzip it and run it.)
Implemented using C# - source can be made available to you if you want it - but not included.

slaCmdr.exe - usage
slaCmdr.exe -Discover  (experimental: query network for mDNS "_http._tcp.local." hosts)
slaCmdr.exe -SystemIP -RootNameSpace [operation]

- SystemIP: IPaddress of Devialet Phantom control point.
- 'RNS' RootNameSpace: Operate on one of a (Device | System | Group) object.

Examples Uses:
As an automation command line.
1) slcmdr.exe 192.168.0.15 RNS [-GetNowPlaying | -GetSourceList]
2) slcmdr.exe 192.168.0.15 RNS -PlaySource sourceID
3) slcmdr.exe 192.168.0.15 RNS -Play
4) slcmdr.exe 192.168.0.15 RNS -Pause
5) slcmdr.exe 192.168.0.15 RNS -VolUp
6) slcmdr.exe 192.168.0.15 RNS -VolDown

7) note: more of a true CLI interface is planned and in the works but not part of the R2 release. 

How to use it
Its a command line tool, run it from anything you can call a command from.  You could call it to Play, Pause, Play a source, turn the volume up or down.  Theater or Music applications that enable you to run external commands for example.  Home automation?

Known working / tested scenarios:

Create desktop shortcut or pin shortcuts to the start menu for Play, Pause, Vol Up , Vol Down, or play your favorite sources.

To simply start the current source playing the short cut target might look something like this: c:\tools\slacmdr_win-x86_r2.exe 192.168.0.15 groups -Play
You could assign a hotkey to the shortcut to execute the command to run the shortcut via a hot-key combination.
This is handy on a small screen or touch screen enabled device as an alternative to slPhantomTray.


Assign commands to Buttons on your elgato Stream Deck.

You can use the 'BarRaider advanced launcher' to run a commend when a button is pressed.  That command in this scenario is to slaCmdr.
TODO: investigate a Stream Deck plug-in, but for now opted for a command line approach first for its simplicity and re-usability.  This is already working. But could be better.... by displaying status (Volume, Play State) via the buttons.  The Phillips HUE plugin looks nice but the C++ CPU plug in might be a better starting point...


regards
scott-
Reply


Messages In This Thread
slaCmdr - pilot your phantoms from the command line - by scotthar - 13-Mar-2022, 10:23

Forum Jump:


Users browsing this thread: 1 Guest(s)