Devialet Chat
Logitech harmony volume control via Raspberry pi - 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: Logitech harmony volume control via Raspberry pi (/Thread-Logitech-harmony-volume-control-via-Raspberry-pi)



Logitech harmony volume control via Raspberry pi - Cuoresportivo - 06-Jul-2021

As the phantoms support upnp I was thinking if it might be possible to control the volume with a harmony remote.

The setup would be like:

IR signal from Harmony remote —> IR dongle in raspberry pi —> upnp command from raspberry to phantoms over wifi.

Would this technically be possible? 

If so, 
1 would there be a noticeable delay between the remote IR command and the volume change of the phantoms.

2 what software would be needed on the raspberry? I guess one to get the ir dongle to work + some software to send the command to the phantoms.



I have no coding skills, nor any networking skill so any help would be much appreciated.


RE: Logitech harmony volume control via Raspberry pi - booshtukka - 06-Jul-2021

I'd be delighted to hear if anyone has done something like this…


RE: Logitech harmony volume control via Raspberry pi - walther - 07-Jul-2021

What I've done is something that i run on a Raspberry pi (3 in my case if I remember correctly) which listens to HDMI-CEC volume up/down from an Apple TV and then sends corresponding UPNP volume up/down to the Phantoms. Inspired by another project, and I also think that there are others as well. My project is very old now but I have not had the need to update it (yet). https://github.com/twalther/phantom-hdmi-cec


RE: Logitech harmony volume control via Raspberry pi - Cuoresportivo - 08-Jul-2021

That sounds interesting. What is required to get this Unpn interface running? (Not the CEC to raspberry part) What software do I need to install on the raspberry?


RE: Logitech harmony volume control via Raspberry pi - walther - 18-Jul-2021

(08-Jul-2021, 08:39)Cuoresportivo Wrote: That sounds interesting. What is required to get this Unpn interface running? (Not the CEC to raspberry part) What software do I need to install on the raspberry?

I wrote the hdmi-cec -> upnp in nodejs (JavaScript), the upnp-part is handled by a library called node-ssdp (https://github.com/diversario/node-ssdp) for discovery and raw xml for volume up/down and to get the current volume.


RE: Logitech harmony volume control via Raspberry pi - Kepete - 16-Dec-2021

(07-Jul-2021, 08:45)walther Wrote: What I've done is something that i run on a Raspberry pi (3 in my case if I remember correctly) which listens to HDMI-CEC volume up/down from an Apple TV and then sends corresponding UPNP volume up/down to the Phantoms. Inspired by another project, and I also think that there are others as well. My project is very old now but I have not had the need to update it (yet). https://github.com/twalther/phantom-hdmi-cec

Very very interesting. I want to be able to control the volume of Phantom II via my TV remote, but Digital Optical Audio out doesn't allow to do that. So I would need to utilise the TVs HDMI eARC + CEC combination for that.

I think your raspberry solution is exactly what I'm looking for, correct? Would it work from TV itself via HDMI eARC(not Apple TV directly)?


RE: Logitech harmony volume control via Raspberry pi - walther - 17-Dec-2021

(16-Dec-2021, 09:50)Kepete Wrote:
(07-Jul-2021, 08:45)walther Wrote: What I've done is something that i run on a Raspberry pi (3 in my case if I remember correctly) which listens to HDMI-CEC volume up/down from an Apple TV and then sends corresponding UPNP volume up/down to the Phantoms. Inspired by another project, and I also think that there are others as well. My project is very old now but I have not had the need to update it (yet). https://github.com/twalther/phantom-hdmi-cec

Very very interesting. I want to be able to control the volume of Phantom II via my TV remote, but Digital Optical Audio out doesn't allow to do that. So I would need to utilise the TVs HDMI eARC + CEC combination for that.

I think your raspberry solution is exactly what I'm looking for, correct? Would it work from TV itself via HDMI eARC(not Apple TV directly)?

Devialet changed how it works between Dos 1 and Dos 2. In Dos 1 volume would be set globally for all inputs, or at least the optical in volume in would be affected by/the same as the upnp volume. In Dos 2 that is not the case unfortunately. I tried making a optical to upnp bridge but the latency on upnp in is too high, probably due to buffering. I now use a Bluesound Node 130 to get hdmi-cec with volume control. Quite sad that the Phantoms now are just “passive” speakers, all due to crappy software.


RE: Logitech harmony volume control via Raspberry pi - Kepete - 18-Dec-2021

(17-Dec-2021, 08:54)walther Wrote:
(16-Dec-2021, 09:50)Kepete Wrote:
(07-Jul-2021, 08:45)walther Wrote: What I've done is something that i run on a Raspberry pi (3 in my case if I remember correctly) which listens to HDMI-CEC volume up/down from an Apple TV and then sends corresponding UPNP volume up/down to the Phantoms. Inspired by another project, and I also think that there are others as well. My project is very old now but I have not had the need to update it (yet). https://github.com/twalther/phantom-hdmi-cec

Very very interesting. I want to be able to control the volume of Phantom II via my TV remote, but Digital Optical Audio out doesn't allow to do that. So I would need to utilise the TVs HDMI eARC + CEC combination for that.

I think your raspberry solution is exactly what I'm looking for, correct? Would it work from TV itself via HDMI eARC(not Apple TV directly)?

Devialet changed how it works between Dos 1 and Dos 2. In Dos 1 volume would be set globally for all inputs, or at least the optical in volume in would be affected by/the same as the upnp volume. In Dos 2 that is not the case unfortunately. I tried making a optical to upnp bridge but the latency on upnp in is too high, probably due to buffering. I now use a Bluesound Node 130 to get hdmi-cec with volume control. Quite sad that the Phantoms now are just “passive” speakers, all due to crappy software.

Thanks for letting me know. Seems no Devialet speaker in that case for my setup as Bluesound Node 130 price is extreme to just fix Devialet issues.