ChromeOS - Change Volume Level
See original GitHub issueI’m trying to change the volume of my chromebook using Notifications with the “command_volume_level” Message as per the example here :
https://companion.home-assistant.io/docs/notifications/notification-commands#volume-level
I’ve tried all the streams (alarm, music, notification and ring) and none of them work.
I believe my yaml is ok as if i switch the entity to my pixel 4XL it works ok. Here is the yaml below anyway, just incase:
service: notify.mobile_app_chromebookName data: message: "command_volume_level" title: 0 data: channel: "music_stream"
I’m assuming that the audio stream used by chromebook isnt one of the valid audio streams listed in the documentation?
I can confirm connection is ok as normal notification work. I have also tested action notification which worked.
When i tested the TTS notification, while I do hear the output, the channel property seems like its not working as i can put anything in here and it still works. If i use any of the xxxx_stream_max in this channel, it does NOT set the volume to max either.
As far as I can tell i have granted all permissions and have gone into the app settings and confirmed alll permissions are granted. However when i click on show all i dont see any specific permssions related to audio.
Im new to using chromebook and so im not ruling out i have done something wrong . Im also not sure if chromebook is supported or not. I’ve tried googling the issue but i dont seem to get many hits, i’ve also tried searching open issues here and dont see anything related to this.
I’m not sure how to debug this further to provide more useful information to help troubleshoot.
If this isnt supported i would appreciate any pointers where i can look to resolve this myself as im comfortable digging around with code, and can share any findings i may come accross.
Thanks Steve
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top GitHub Comments
Can you look at hte app configuration > Logs section? Maybe something is of use there. I do not have a chromebook so I cant check these things.
Google just made it so apps can run I dont htink they said anything about all the android API’s 😃
ok no worries, thanks for the pointers. I’ve tested and google assistant works to change the volume. So i thought a simple TTS service call would work to change the volume, alas the chromebook doesnt appear as a device to send TTS too. Oh well. Anyway thats not your issue 😛 Might as well close this Issue, and hope that chrome OS improves further down the line 😃