Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unofficial remote control application for Expert
#28
Hi @gnulabis, I tried running devimote on Windows prior to attempting to integrate it into Home Assistant via mqtt as pisabell2 did on Openhab, but it’s only partially working on Windows.

My Devialet is a 220 Pro.

Buffer size can’t be 512
For the UI to start I had to change buffer size from 512 to 1024 in line 177:
data, addr = sock.recvfrom(512) # buffer size is 512 bytes

With 512 I get the following error message:

Code:
ile "c:\DEV\devimote\src\devimote.py", line 177, in update
    data, addr = sock.recvfrom(512) # buffer size is 512 bytes
OSError: [WinError 10040] A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself


Displayed status data not updated & some commands not properly interpreted
With buffer size 1024 I ran wireshark and could see data coming from and to My Expert 220 Pro, but no change was reflected on devimote.

However I ran the android app and I could see status change there. The commands seem to work, but the inputs don’t match. Here is what I found:

Devimote Command => actual change
Mute => Mute
Volume change => Volume change
Digital 1 => Optical 2
Optical 1 => Optical 2
Optical 2 => UPnP
UPnP => UPnP
Roon Ready => Roon Ready
AirPlay => UPnP
Spotify => Spotify
Air => Air
Standby (turn on) => turn on

The wireshark capture attached is for the commands in the sequence above.

I'm not a developer BTW :-)


Attached Files
.zip   D220 capture4.zip (Size: 6.13 KB / Downloads: 4)
Reply


Messages In This Thread
RE: Unofficial remote control application for Expert - by mana - 26-Sep-2022, 22:18

Forum Jump:


Users browsing this thread: 1 Guest(s)