dnpwwo / Domoticz-Google-Plugin

MIT License
40 stars 10 forks source link

Plugin no longer connects to Chromecast since latest stable Domoticz (2022.1) or beta's #44

Closed stephanvdplas closed 2 years ago

stephanvdplas commented 2 years ago

After I uodated to the latest stable release of Domoticz (2022.1), running on my windows 11 machine, the python Domoticz-Google-Plugin stopped working. The devices are red and no entries are created in the device logging ever since. I removed the plugin, reinstalled it, tried new Domoticz beta, but nothing seems to help.

In the log, when setting the log level of the plugin to Connections+queue, I see the following entries:

2022-02-12 12:13:04.025 CC TV Huiskamer: Pushing 'onHeartbeatCallback' on to queue 2022-02-12 12:13:04.085 CC TV Huiskamer: (CC TV Huiskamer) Processing 'onHeartbeatCallback' message 2022-02-12 12:13:04.085 CC TV Huiskamer: Calling message handler 'onHeartbeat' on 'module' type object.

This repeats every 10 seconds.

When restarting the plugin, I see this in the log:

2022-02-12 12:15:39.054 CC TV Huiskamer: Notifications will use IP Address: 192.168.3.8:11688 to serve audio media. 2022-02-12 12:15:39.054 CC TV Huiskamer: Pushing 'ListenDirective' on to queue 2022-02-12 12:15:39.110 CC TV Huiskamer: (CC TV Huiskamer) Processing 'ListenDirective' message 2022-02-12 12:15:39.110 CC TV Huiskamer: Protocol for 'Message Server' not specified, 'None' assumed. 2022-02-12 12:15:39.110 CC TV Huiskamer: Transport set to: 'TCP/IP', :11688. 2022-02-12 12:15:39.110 CC TV Huiskamer: Listen directive received, action initiated successfully. 2022-02-12 12:15:39.044 Status: CC TV Huiskamer: Initialized version 1.22.0, author 'dnpwwo' 2022-02-12 12:15:46.016 CC TV Huiskamer: Pushing 'onHeartbeatCallback' on to queue 2022-02-12 12:15:46.075 CC TV Huiskamer: (CC TV Huiskamer) Processing 'onHeartbeatCallback' message 2022-02-12 12:15:46.076 CC TV Huiskamer: Calling message handler 'onHeartbeat' on 'module' type object. 2022-02-12 12:15:56.015 CC TV Huiskamer: Pushing 'onHeartbeatCallback' on to queue 2022-02-12 12:15:56.075 CC TV Huiskamer: (CC TV Huiskamer) Processing 'onHeartbeatCallback' message 2022-02-12 12:15:56.075 CC TV Huiskamer: Calling message handler 'onHeartbeat' on 'module' type object.

Running Python version 3.8.10 (no change for some months, this version used to work before), pyChromecast 6.0.0 and zeroconf 0.25.1.

stephanvdplas commented 2 years ago

Issue solved: Windows firewall blocked the device discovery.