Chromecast Integration errors after 2.2.8 update

After updating my C7 Hubitat to 2.2.8 I'm getting these error when sending 'Speak' commands to a Chromecast Speaker device. There are no specific volume commands being sent. Just this simple 'Speak' command:
Speak on Office Speaker: '%device% %value%'

The audio works (it says things like "Patio Door Open") but it logs this error every time it speaks).

09:31:34.396 am error java.lang.NullPointerException: Cannot invoke method toInteger() on null object (setVolume)
09:22:49.780 am error java.lang.NullPointerException: Cannot invoke method toInteger() on null object (setVolume)
09:20:01.639 am error java.lang.NullPointerException: Cannot invoke method toInteger() on null object (setVolume)
09:17:53.289 am error java.lang.NullPointerException: Cannot invoke method toInteger() on null object (setVolume)
09:17:22.569 am error java.lang.NullPointerException: Cannot invoke method toInteger() on null object (setVolume)
09:16:27.222 am error java.lang.NullPointerException: Cannot invoke method toInteger() on null object (setVolume)
09:15:34.825 am error java.lang.NullPointerException: Cannot invoke method toInteger() on null object (setVolume)
08:59:53.451 am error java.lang.NullPointerException: Cannot invoke method toInteger() on null object (setVolume)
08:58:37.143 am error java.lang.NullPointerException: Cannot invoke method toInteger() on null object (setVolume)
2 Likes

@gopher.ny

Noted, to be fixed in an upcoming release...

4 Likes

Also, in the event log for my Google Home Mini, I now see a transportStatus in addition to a status entry. With the 2.2.8 update, my Google Home Mini speaker stops working unless I manually initialize it. Then it will work for a while and drop off again. There are no log entries that I see that would help me figure out why. I will turn on debug logging to see if it will capture something to help figure out why it is now going AWOL. I don't know if this is part of the issue noted above.

1 Like

Same here. :disappointed_relieved:

And it is even no more possible to do an inititalize-refresh-speak sequence via code to wake up the device.
But when I do this manually (by clicking the same buttons on the device page) it works!?!

Even after 2.2.8.141 update - chromecast group device functionality is broken. Chromecast group device TTS didn't work at all and play track (mp3) to group works with huge delay ~ 2-3 min

1 Like

@gopher.ny You've been digging into this and general performance issues.

If I move from using ~9 Google Nest Hub/Speaker/minispeaker type devices to using, say, 4 Sonos speakers (removing the beta Chromecast app completely)---how much impact is that likely to have on the hub (when nothing is going on and during "speaking TTS" periods)?

Is it reasonable to expect that might help?

Thanks!

I don't think it would make a significant difference load-wise either way. Both integrations have minimal impact on my hub, although I have fewer speakers.

1 Like

Same here, Running Version 2.2.8.141

1 Like

Download the Hubitat app