Skip to content

HTTP Adapter to control the volume of Devialet Phantom Speakers

License

Notifications You must be signed in to change notification settings

da2001/phantom-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

phantom-bridge

HTTP Adapter to control the volume of Devialet Phantom Speakers

Prerequisite

Installation

  • clone phantom-bridge or simply save index.js
  • Run npm install request
  • Run npm install node-ssdp

Config

  • open index.js with your favorite text-editor
  • search for the devialet_ipaddress and rename this to the IP Address of your Devialet Bridge
  • save your changes

Note: It is recommend to set a fixed ip address for the bridge. You can do this within the webinterface of your Devialet bridge. This interface is located at http://"bridge_ip_address":8000/

Start the phantom-brdige

  • Run node index.js
  • Wait some seconds...

If everything works fine, you should see Devialet bridge found at: .... in your terminal window.

How to change the volume

The script will start a webserver on port 8080. If you want to set the volume to 35%, just open the following url:

You can set the volume from 0-100%. You can also increase or decrease the volume by the following commands:

Note: The script doesnt read the volume from the devialet app at the moment. It´s just one-way communication.

Other

Make shure port 8080 and also 1900 is available. You can change the port 8080 without problems, but you need 1900 to listen for the upnp messages for the bridge. The start will fail if these ports are used.

I also tried to add functionality for Play/Pause/Stop/Prev/Next, but at this point it seams not to be implemented in the phantoms.

About

HTTP Adapter to control the volume of Devialet Phantom Speakers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published