finally integrated into home automation - Printable Version +- Devialet Chat (https://devialetchat.com) +-- Forum: Devialet Chat (https://devialetchat.com/Forum-Devialet-Chat) +--- Forum: Phantom I (103 DB, 108 DB, Premier Classic, Silver & Gold) (https://devialetchat.com/Forum-Phantom-I-103-DB-108-DB-Premier-Classic-Silver-Gold) +--- Thread: finally integrated into home automation (/Thread-finally-integrated-into-home-automation) |
finally integrated into home automation - da2001 - 24-Nov-2017 UPDATED: https://github.com/da2001/phantom-bridge i finally got rid of my devialet remote and integrated the volume control into my home automation setup. Next step is to change the input and controls like start/pause. heres howto: URL: Code: http://IP_OF_Bridge:36933 Path: Code: /Control/LibRygelRenderer/RygelRenderingControl Header: Code: SOAPACTION: "urn:schemas-upnp-org:service:RenderingControl:2#SetVolume" Content: Code: <s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> Change the <DesiredVolume> from 15 into a Number between 0-100. This is the Volume in percentage. finally integrated into home automation - no32 - 25-Nov-2017 What control system are you using ? Im controlling the dev for years now via RS232 RE: finally integrated into home automation - da2001 - 25-Nov-2017 (25-Nov-2017, 06:53)no32 Wrote: Im controlling the dev for years now via RS232 For the expert models maybe really basic, but not for the phantoms. there is no rs232 available. i replaced the devialet remote with a neeo remote. RE: finally integrated into home automation - streamy - 25-Nov-2017 (24-Nov-2017, 22:18)da2001 Wrote: i finally got rid of my devialet remote and integrated the volume control into my home automation setup. This sounds very exciting! I‘m not a programmer, but guess that adding such code to some Roon extension could facilitate volume change from within that extension. I‘m thinking about Mike‘s Roon Web Controller. RE: finally integrated into home automation - da2001 - 26-Nov-2017 as is see, the web controller uses nodejs. it should be no problem to add it there. you can change the code from that script by yourself, but it will be lost on every update. so better to do this by the developer of the roon web controller. streamy, its untested, but it should look like this: (volume slider not included) Code: #################### RE: finally integrated into home automation - streamy - 26-Nov-2017 (26-Nov-2017, 09:26)da2001 Wrote: as is see, the web controller uses nodejs. it should be no problem to add it there. You‘re amazing! I‘ll try if I manage to add the code in node.js of Mike‘s extension. Then, with your permission I will contact Mike on the Roon forum to ask him to integrate your code in his extension to add Phantom volume control as a feature. I think this could also interest some other Phantom/Roon users. RE: finally integrated into home automation - da2001 - 26-Nov-2017 for shure. feel free RE: finally integrated into home automation - Gaustabl - 26-Nov-2017 Hello, this was really good news, maybe there is hope for me to.......... I use my phantom in a setup with tv, blueray, atv and more, and everything exept the phantom is remote controlled with a logitech harmony remote. I bought a pair of ec-living speakers from electrocompaniet, and thanks to this link; https://forum.kodi.tv/showthread.php?tid=206433 i managed to remote control the volume of these through a raspberry pi. Would it be possible to do the same thing with the phantoms using you findings ? in my raspberry lircd config files i have this for the ec living; lircrc; ec living begin button = KEY_VOLUMEUP prog = irexec # config = /usr/bin/pactl -- set-sink-volume 0 +2% # vol+ config = curl -g 'http://192.168.70.99/jsonrpc?request=\{%22jsonrpc%22:%22$ repeat = 2 end begin button = KEY_VOLUMEDOWN prog = irexec config = curl -g 'http://192.168.70.99/jsonrpc?request=\{%22jsonrpc%22:%22$ # config = /usr/bin/pactl -- set-sink-volume 0 -2% # vol- repeat = 2 end I would really appreciate help to achive the same with my phanthom. best regards Lars RE: finally integrated into home automation - da2001 - 26-Nov-2017 you need to set a specific value from 0-100. there is no step up/down. maybe you can add +5 or -5 with every press. i´m sorry to say, but i found a little problem. The Port "36933" wich i said, it not fixed. After a reboot of the bridge, mine changed to a new port RE: finally integrated into home automation - streamy - 26-Nov-2017 (26-Nov-2017, 20:56)da2001 Wrote: you need to set a specific value from 0-100. there is no step up/down. maybe you can add +5 or -5 with every press. What is the easiest way to find the right port? Can it be progammically searched? |