0.115: B-Day release! Media browser, tags, automations & WTH

updating to 115.4 throws completely new errors:

Unexpected error for call_service at pos 8: Invalid MultiSpec data: TextFrame(encoding=<Encoding.UTF8: 3>, text=['nl'])

and

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/mutagen/easyid3.py", line 124, in setter
    frame = id3[frameid]
  File "/usr/local/lib/python3.8/site-packages/mutagen/_util.py", line 537, in __getitem__
    return self.__dict[key]
KeyError: 'TPE1'

this seems to be happening when trying to use tts and send a notification to the google Home speakersā€¦ didnt change anything in the scripts, automations or anything else related to the setup.

anyone else seeing this?

edit

@mondomx we cross posted :wink:
and yes 115.3 was still working, so this is definitely from 115.3 to 115.4

2 Likes

well, gotta call it a night, will downgrade to 115.3, and hope to create an issue. Or will you do so?

NM, made it: https://github.com/home-assistant/core/issues/40731

please add to this with your info/issue

Do wish these builds are tested more thoroughly before they are releasedā€¦

1 Like

Same here. TTS didnā€™t work today using Google Translate Say.

1 Like

Looks like they are working on the fix for the google cloud fix. Just gotta be patient :slight_smile:

This should be fixed in 0.115.4

  • Pin gRPC to 1.31.0 to workaround amrv7 issues (@frenck - #40678)

Same here. TTS didnā€™t work today using Google Translate Say.
Am On 0.115.4

Just as i posted this 0.115.5 came out and the TTS is working again thanks @frenck.

1 Like

Some observations that I have since 0.115:

  • after each version update initiated under Supervisor in UI I have to reboot, because a lot of sensors remain unavailable
  • the new media library is not working for Sonos. When I click on it I get an (assumed) endless spinner and screen is freezed then, even need to kill and restart the app on iOS
  • broadlink remotes worked after I made the required breaking changes, but now they are not responding anymore Solved this one. Seemed that the remote was turned off , probably a default after restart.

After updating to 115.x Iā€™ve seen a significant increase in CPU usage. Iā€™ve updated to the most recent update (v115.5) and it is still an issue.

It was so bad that Iā€™ve had to downgrade back to v114.2 to fix it.

For anyone experiencing the same issue here is the bug report I just submitted:

if you are experiencing the same thing then please feel free to add your input there.

EDIT:

I didnā€™t know there was already an issue that was still open.

I thought that issue had been closed already. Added my info to that one and closed mine.

Yes. But no info on a sollution.
Motion worked with my camera and suddenly it didnt and ā€œFailed to fetch ONVIF PullPoint subscription messages forā€ started appearing in log.

Has your manufacturer disabled onvif in a firmware upgrade? This seems to be a different error but refers to manufacturers disabling onvif https://github.com/home-assistant/core/issues/37101

please let me ask another thing, since weā€™ve now got the expand() function working very nicely in the new template engine. This new way of templating is proving costly when templates use the {{states|ā€¦}} variants, creating listeners on all states, which are updated constantly. Bdraco is working hard on improving on that.
Yet, Iā€™ve found this related issue, also very costly now, and it has to do with automations using

      platform: event
      event_type: state_changed

also creating listeners on all states.

example:

  - alias: GitHub boolean updates sensor
    id: GitHub boolean updates sensor
    trigger:
#      platform: state
#      entity_id: >
#        {{expand('group.github_repo_updates')|map(attribute='entity_id')|join(',')}}
      platform: event
      event_type: state_changed
    condition:
      >
        {{trigger.event.data.entity_id in
            state_attr('group.github_repo_updates','entity_id')}}

the condition checks if the triggering state_change is for one of the input_booleans made for each repo used in the HA instance, which is quite the numberā€¦ so you can imagine I donā€™t like to write them all out individually

In the commented section, Ive illustrated a way to do the same, using the expand() function, if allowed for triggering, (which it nw obviously isnā€™t). very elegant, foolproof, and no further conditions needed. It would need to allow a template for the state trigger. this point work for template trigger, since that needs an evaluation to ā€˜Trueā€™.

long story short: will you allow this to happen, and/or is it already in development. Do think I made a FR earlier, but would gladly do so once more if needed.

btw below the reason for not writing the entities individually:

thanks for having a look if you would.

Awsome update!! Many thanks to all who contributed to it and of course all the historic ones.
This is really a great piece of software. And itā€™s so much fun to spend my time here.
:bouquet: :champagne: :birthday:

any chance of the ping errors are going to be fixed making 0.115 unusable.

Hi All,

I have a button that automatically navigate to the media_browser but i want to know if itā€™s possible to navigate straight into kodi. For example: /media_browser/kodi_player/movies

Is that possible?

If there is an issue posted to GitHub about it, then most likely.
If there is not an issue for it, then most likely not.

2 Likes

After the 115.5 update Onkyo and SamsungTV Tizen show errors

Platform error remote.onkyo - No module named ā€˜homeassistant.components.onkyo.remoteā€™

Platform error remote.samsungtv_tizen - No module named ā€˜custom_components.samsungtv_tizen.remoteā€™
Platform error remote.samsungtv_tizen - No module named ā€˜custom_components.samsungtv_tizen.remoteā€™

any Idea why??

Thanks

Is this a custom component? I donā€™t see a integration for onkyo remotes, only the integration for the onkyo receiver.

The SamsungTV Tizen integration is a custom one, you should open a separate topic for this as it is not a problem with Home Assistant Core.

Anyway, do you have the folder ā€œcustom_componentsā€ and the needed files are in there in the folder ā€œsamsungtv_tizenā€?

No just have the normal integration Onkyo

Config file:

 ###################
 #####  ONKYO ######
 ###################
  - platform: onkyo
    host: 192.168.1.11
    name: receiver
    receiver_max_volume: 75
    sources:
      pc: 'Computer'
      usb: 'Music'
      strm-box: 'Kodi'
      network: 'net'
      internet=radio: 'Internet Radio'

was working just before the update and i didnā€™t see any braking change about that

Thanks for your answer

Edit
after your comments i checked the config file and see this


########################
## Harmony Remote hub ##
########################
remote:
  - platform: harmony
    name: Living room
    host: 192.168.1.210
    activity: Watch TV

 ###################
 #####  ONKYO ######
 ###################
  - platform: onkyo
    host: 192.168.1.11
    name: receiver
    receiver_max_volume: 75
    sources:
      pc: 'Computer'
      usb: 'Music'
      strm-box: 'Kodi'
      network: 'net'
      internet=radio: 'Internet Radio'

#################################
###### Samsung Tvs ##############
#################################
  - platform: samsungtv_tizen
    host: 192.168.1.118
    port: 8002
    mac: "5C:49:7D:xx:xx:xx"
    source_list: '{"Hdmi-1": "KEY_HDMI1", "Receiver": "KEY_HDMI4"}'
    app_list: '{"Netflix": "11101200001", "YouTube": "111299001912", "Plex": "3201512006963", "Spotify": "3201606009684", "Internet": "org.tizen.browser"}'
#    protocol: ctl_qled
    name: 'SamsungTv Livingroom'
    
  - platform: samsungtv_tizen
    host: 192.168.1.125
    port: 8002
    mac: "38:68:a4:xx:xx:xx"
    source_list: '{"Hdmi-1": "KEY_HDMI1"}'
    app_list: '{"Netflix": "11101200001", "YouTube": "111299001912", "Plex": "3201512006963", "Spotify": "3201606009684", "Internet": "org.tizen.browser"}'
#    protocol: ctl_qled
    name: 'SamsungTv Bedroom'


Where the ā€œremoteā€ is affecting a my media players, marked media_player: on top of my media players solved the problem
@Burningstone Thanks for pointing it out!

Great that you got it wo work :slight_smile:

1 Like

After upgrading to 0.115.6 and supervisor 246 grafana in combination with influxdb is not working anymore. I receive the following message:

error parsing query: found %, expected identifier, string, number, bool at line 1, char 13

When testing the grafana datasource (influxdb) i receive the following error:

InfluxDB Error: error parsing query: found %, expected identifier at line 1, char 28

Anyone else with the same problem?

Update: Fixed the problem. In the Grafana go to the datasource then change the Query Language to Flux -> Save & Test -> change Query Language back to InfluxQL and disable basic auth option (enabled after changing language to Flux)
Save & Test -> Data source is working

2 Likes