cgierke / homebridge-musiccast

2 stars 2 forks source link

Problem with plugin after updating raspbian to 12 and node to 20.9 #5

Closed CezaryCiosek closed 6 months ago

CezaryCiosek commented 7 months ago

Hi, I have some problem with plugin after updating raspbian to v. 12 and node to 20.9.x. Before that plugin work perfectly :(

Log from console [16.11.2023, 16:15:11] [MusiccastMultiroom] Restarting Process... [16.11.2023, 16:15:12] [MusiccastMultiroom] Launched child bridge with PID 66033 [11/16/2023, 4:15:12 PM] Registering platform 'homebridge-musiccast-multiroom.MusiccastMultiroom' [16.11.2023, 16:15:12] [MusiccastMultiroom] Loaded homebridge-musiccast-multiroom v0.2.4 child bridge successfully [11/16/2023, 4:15:12 PM] Homebridge v1.7.0 (HAP v0.11.1) (MusiccastMultiroom) is running on port 42892. [11/16/2023, 4:15:12 PM] [MusiccastMultiroom] publishing accessory YMS-4080 [11/16/2023, 4:15:12 PM] [MusiccastMultiroom] publishing accessory Preset YMS-4080 [11/16/2023, 4:15:12 PM] [MusiccastMultiroom] publishing accessory LipSync YMS-4080 [11/16/2023, 4:15:13 PM] YMS-4080 1432 is running on port 36695. [11/16/2023, 4:15:13 PM] Please add [YMS-4080 1432] manually in Home app. Setup Code: 987-20-730 [11/16/2023, 4:15:13 PM] Preset YMS-4080 A8B6 is running on port 45713. [11/16/2023, 4:15:13 PM] Please add [Preset YMS-4080 A8B6] manually in Home app. Setup Code: 987-20-730 [11/16/2023, 4:15:13 PM] LipSync YMS-4080 1A84 is running on port 35897. [11/16/2023, 4:15:13 PM] Please add [LipSync YMS-4080 1A84] manually in Home app. Setup Code: 987-20-730 Error: connect EHOSTUNREACH 192.168.1.56:80 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16) [16.11.2023, 16:15:15] [MusiccastMultiroom] Child bridge process ended [16.11.2023, 16:15:15] [MusiccastMultiroom] Process Ended. Code: 1, Signal: null [16.11.2023, 16:15:22] [MusiccastMultiroom] Restarting Process...

cgierke commented 7 months ago

I have seen similar errors before and just released v0.2.5 to finally fix that - can you check if that works for you?

My fix is not related to any node update - actually any http error like an unreachable device (EHOSTUNREACH) just restarted homebridge, for me that usually happens when I accidentally unplug a speaker ;-)

CezaryCiosek commented 7 months ago

it looks like it works but still I have some errors on logs

Zrzut ekranu 2023-11-16 o 19 53 57
cgierke commented 7 months ago

EHOSTUNREACH indicates the raspberry can‘t reach the yamaha device, maybe the IP just changed?

CezaryCiosek commented 7 months ago

In my opinion it looks correct Zrzut ekranu 2023-11-17 o 13 46 55

CezaryCiosek commented 7 months ago

@cgierke I removed all devices from yamaha app and re-added them. Now it looks like I works but sometimes soundbar turn off and I don't know why :(