Im experincing some with my chromcast audio gruops, I defined the responce is very slow and I get errors but I don’t understand them, like this:
2017-10-01 21:19:01.860 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while reading: Could not resolve type id 'DEVICE_UPDATED' into a subtype of [simple type, class su.litvak.chromecast.api.v2.StandardResponse]
at [Source: N/A; line: -1, column: -1]
2017-10-01 21:19:01.863 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - <-- {"device":{"capabilities":4,"deviceId":"2f017b59-0f18-5ac3-e223-abd0f7fb2109","name":"Soveværelse","volume":{"level":0.12999999523162842,"muted":false}},"requestId":0,"type":"DEVICE_UPDATED"}
My item file:
Group:Player CC_All_Player_Control “CC_All_Player_Control group”
Group:Dimmer CC_All_Volume_Dimmer "CC_All_Sound_Dimmer"
Group:String CC_All_String_URL_String "CC_All_Sound_URL"
//Group:Switch CC_All_Mute "CC_All_Mute" // use the audio gruop
//control
Player CC_all_audioGroup_control "CC_all_audioGroup_control" (CC_All_Player_Control) {channel="chromecast:audiogroup:0ad558bf-bc7a-4007-ae4c-83b42d896239:control"}
//Player CC_hele_lejligheden_control "CC_hele_lejligheden_control" (CC_All_Player_Control) {channel="chromecast:chromecast:0ad558bf-bc7a-4007-ae4c-83b42d896239:control"}
Player CC_Anlaeg_control "CC_Anlaeg_control" (CC_All_Player_Control) {channel="chromecast:audio:2418719c1adf4393b76a1677ae5eac5b:control"}
Player CC_Sove_control "CC_Sove_control" (CC_All_Player_Control) {channel="chromecast:audio:2f017b590f185ac3e223abd0f7fb2109:control"}
Player CC_Kokken_control "CC_Kokken_control" (CC_All_Player_Control) {channel="chromecast:audio:66c695bbdbd0a8cbcef903f1847a34db:control"}
Player CC_TV_control "CC_TV_control" (CC_All_Player_Control) {channel="chromecast:57e8546ec7288b36af60602fc3847f23:control"}
//Volume
Dimmer CC_all_audioGroup_dimmer "CC_all_audioGroup_dimmer" {channel="chromecast:audiogroup:0ad558bf-bc7a-4007-ae4c-83b42d896239:volume"}
//Dimmer CC_hele_lejligheden_volume_Dimmer "CC_hele_lejligheden_volume_Dimmer" (CC_All_Volume_Dimmer) {channel="chromecast:chromecast:0ad558bf-bc7a-4007-ae4c-83b42d896239:volume"}
Dimmer CC_Anlaeg_Volume_Dimmer "CC_Anlaeg_Volume_Dimmer" (CC_All_Volume_Dimmer) {channel="chromecast:audio:2418719c1adf4393b76a1677ae5eac5b:volume"}
Dimmer CC_Sove_volume_Dimmer "CC_Sove_volume_Dimmer" (CC_All_Volume_Dimmer) {channel="chromecast:audio:2f017b590f185ac3e223abd0f7fb2109:volume"}
Dimmer CC_Kokken_volume_Dimmer "CC_Kokken_volume_Dimmer" (CC_All_Volume_Dimmer) {channel="chromecast:audio:66c695bbdbd0a8cbcef903f1847a34db:volume"}
//Dimmer CC_TV_volume_Dimmer "CC_TV_volume_Dimmer" (CC_All_Volume_Dimmer) {channel="chromecast:57e8546ec7288b36af60602fc3847f23:volume"}
//URLs
String CC_all_audioGroup_URL "CC_all_audioGroup_URL" (CC_All_String_URL_String) {channel="chromecast:audiogroup:0ad558bf-bc7a-4007-ae4c-83b42d896239:playuri"}
//String CC_hele_lejligheden_URL "CC_hele_lejligheden_URL" (CC_All_String_URL_String) {channel="chromecast:chromecast:0ad558bf-bc7a-4007-ae4c-83b42d896239:playuri"}
String CC_Anlaeg_URL "CC_Anlaeg_URL" (CC_All_String_URL_String) {channel="chromecast:audio:2418719c1adf4393b76a1677ae5eac5b:playuri"}
String CC_Kokken_URL "CC_Kokken_URL" (CC_All_String_URL_String) {channel="chromecast:audio:66c695bbdbd0a8cbcef903f1847a34db:playuri"}
String CC_Sove_URL "CC_Sove_URL" (CC_All_String_URL_String) {channel="chromecast:audio:2f017b590f185ac3e223abd0f7fb2109:playuri"}
String CC_TVSove_URL "CC_TVSove_URL" (CC_All_String_URL_String) {channel="chromecast:chromecast:57e8546ec7288b36af60602fc3847f23:playuri"}
String CC_TVStue_URL "CC_TVStue_URL" (CC_All_String_URL_String) {channel="chromecast:chromecast:ae03d5ff05a30e85e5bb4e379ca13e6b:playuri"}
//Mute
Switch CC_All_AudioGroup_Mute "CC_All_AudioGroup_Mute" (CC_All_Dimmer_dummy) {channel="chromecast:audiogroup:0ad558bf-bc7a-4007-ae4c-83b42d896239:mute"}
I discovered that I need to use the goggle group URL to make the whole group for play syncronious and I think it works as it is supposed to. I could use volume and other functions on openhab item group level ect. but I wonder if somebody has more experice with this?