dnpwwo / Domoticz-Google-Plugin

MIT License
40 stars 10 forks source link

Key error on update : Plugin broken #36

Open sledgemhammer opened 3 years ago

sledgemhammer commented 3 years ago

2021-02-09 20:36:11.548 Python Plugin System: (CC) onCommand called for Unit 45: Parameter 'Set Level', Level: 20 2021-02-09 20:36:11.501 Status: User: Admin (IP: 192.168.0.253) initiated a switch command (3579/CC - Chromecast Volume/Set Level) 2021-02-09 20:36:11.548 Error: Python Plugin System: (CC) 'onCommand' failed 'KeyError'. 2021-02-09 20:36:11.548 Error: Python Plugin System: (CC) ----> Line 723 in 'C:\Program Files (x86)\Domoticz\plugins\Domoticz-Google-Plugin-master\plugin.py', function onCommand 2021-02-09 20:36:11.548 Error: Python Plugin System: (CC) ----> Line 616 in 'C:\Program Files (x86)\Domoticz\plugins\Domoticz-Google-Plugin-master\plugin.py', function onCommand

Version: 2020.2 (build 12896) Build Hash: d5c2e6a46 Compile Date: 2021-01-30 10:52:18 dzVents Version: 3.1.4 Python Version: 3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 15:51:26) [MSC v.1900 32 bit (Intel)]

deleted pluging and reinstall

2021-02-09 20:56:37.765 Status: Python Plugin System: (CC) Started. 2021-02-09 20:56:38.265 Python Plugin System: (CC) Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'HomeFolder':'C:\Program Files (x86)\Domoticz\plugins\Domoticz-Google-Plugin-master\' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'UserDataFolder':'C:\Program Files (x86)\Domoticz\' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'Language':'nl' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'Port':'0' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'DomoticzBuildTime':'2021-01-30 10:52:18' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'Database':'C:\Program Files (x86)\Domoticz\domoticz.db' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'Mode4':'True' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'HardwareID':'29' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'DomoticzHash':'d5c2e6a46' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'Key':'GoogleDevs' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'Mode3':'50' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'DomoticzVersion':'2020.2 (build 12896)' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'Mode2':'{|Video|:||,|Audio|:||}' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'Mode5':'True' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'Version':'1.21.9' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'Mode6':'-1' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'StartupFolder':'C:\Program Files (x86)\Domoticz\' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'Author':'dnpwwo' 2021-02-09 20:56:38.265 Python Plugin System: (CC) 'Name':'CC' 2021-02-09 20:56:38.265 Python Plugin System: (CC) Device count: 0 2021-02-09 20:56:38.265 Python Plugin System: (CC) PyChromeCast Version: 0.7.6 2021-02-09 20:56:38.265 Status: Python Plugin System: (CC) Entering work loop. 2021-02-09 20:56:38.265 Status: Python Plugin System: (CC) Initialized version 1.21.9, author 'dnpwwo'

All audio cast . chromecast and google home and home mini are not updated when playing. playing.stopping : no update. volume change " no update status : no update

new chromecast (video) added, the device is not discovered.

When using volume in domoticz key error as above. Chromecast playing different souces, all the same problem Seems like plugin is broken due to an update.