2021.7: A new entity, trigger IDs and script debugging

You have to configure trusted proxies. It’s covered in breaking changes and the http documentation.

1 Like

biggest (only) issue I see is with authentication at Somfy… aware this is a custom integration, it has worked flawlessly up to now, or should I rephrase, up to 2021.7. Didnt even see it in the beta’s…

Schermafbeelding 2021-07-07 om 20.00.27

Found out that I had missed a networking change that the Sonos integration now uses.

All is good now, thanks!

Based on your timestamps there, it even worked for you with 2021.7, it’s cloud-based, so guessing they changed somehting

pip3 install av end with error.
any idea ?

Collecting av
** Downloading av-8.0.3.tar.gz (2.3 MB)**
** |████████████████████████████████| 2.3 MB 47 kB/s**
Building wheels for collected packages: av
** Building wheel for av (setup.py) … error**
** ERROR: Command errored out with exit status 1:**
** command: /srv/homeassistant/bin/python3 -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-31q5fb8q/av/setup.py’"’"’; file=’"’"’/tmp/pip-install-31q5fb8q/av/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ bdist_wheel -d /tmp/pip-wheel-y_08ymdr**
** cwd: /tmp/pip-install-31q5fb8q/av/**
** Complete output (29 lines):**
** running bdist_wheel**
** running build**
** running build_py**
** creating build**
** creating build/lib.linux-armv7l-3.9**
** creating build/lib.linux-armv7l-3.9/av**
** copying av/deprecation.py → build/lib.linux-armv7l-3.9/av**
** copying av/datasets.py → build/lib.linux-armv7l-3.9/av**
** copying av/init.py → build/lib.linux-armv7l-3.9/av**
** copying av/main.py → build/lib.linux-armv7l-3.9/av**
** creating build/lib.linux-armv7l-3.9/av/video**
** copying av/video/init.py → build/lib.linux-armv7l-3.9/av/video**
** creating build/lib.linux-armv7l-3.9/av/audio**
** copying av/audio/init.py → build/lib.linux-armv7l-3.9/av/audio**
** creating build/lib.linux-armv7l-3.9/av/filter**
** copying av/filter/init.py → build/lib.linux-armv7l-3.9/av/filter**
** creating build/lib.linux-armv7l-3.9/av/sidedata**
** copying av/sidedata/init.py → build/lib.linux-armv7l-3.9/av/sidedata**
** creating build/lib.linux-armv7l-3.9/av/container**
** copying av/container/init.py → build/lib.linux-armv7l-3.9/av/container**
** creating build/lib.linux-armv7l-3.9/av/subtitles**
** copying av/subtitles/init.py → build/lib.linux-armv7l-3.9/av/subtitles**
** creating build/lib.linux-armv7l-3.9/av/codec**
** copying av/codec/init.py → build/lib.linux-armv7l-3.9/av/codec**
** creating build/lib.linux-armv7l-3.9/av/data**
** copying av/data/init.py → build/lib.linux-armv7l-3.9/av/data**
** running build_ext**
** running config**
** pkg-config returned flags we don’t understand: -pthread -pthread**
** ----------------------------------------**
** ERROR: Failed building wheel for av**

Thanks for the update, I will go through the breaking changes.

Not sure why you would say that, because this was the startup after the update?

I just restarted the instance ( couldn’t reload config entry ) and the covers are back.

Temporary glitch probably then . For a moment I feared the Somfy PR caused this. Not so apparently

Hmm. The history page seems to be very slow with this version. The loading is slow, and even after the data is loaded firefox is slow to respond. I reverted to 2021.6.6 and everything is nice and snappy again. Anyone else having this issue?

I am having the ecovacs issue even after restoring my snapshot to downgrade to core-2021.6.6

1 Like

After update my aqara smart plug is not showing power. Problem is; I use this for wasmachine automation below 5w.
(Always worked in previous versions)

Connect via Deconz and conbee II

Same problem here with the esp32cam with the esphome integration.

Hi,
I am having the same issue HTTP goes, HTTPS duckdns.org no go 400 Bad request.
What exatly must I set. “Breaking changes” doesn’t help much.

2 Likes

Thanks to the team for another release :grinning:

Is anyone having issues with the Deconz add on? Things seem to be working but lots of messages in the logs constantly appearing; along the lines of…

2021-07-07 18:24:51 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pydeconz/gateway.py", line 128, in session_handler
    self.event_handler(self.websocket.data)  # type: ignore
  File "/usr/local/lib/python3.9/site-packages/pydeconz/gateway.py", line 169, in event_handler
    device_class.process_raw({device_id: event})

Problem with my aqara smartplug
Via deconz and conbee 2
Power uses not working anymore.

There’s a ticket opened for this I think:

It’s listed in the breaking changes under “Recorder”

This version still doesn’t support the transition in lights in Zwave JS ?

Following the reply

Is someone willing to show how the proxies need to be configured properly?
I use Cloudflare to a domain and tried with internal IP adress as trusted but no success. So went back to 2021.6.6 for now.

If you are using a reverse proxy, please make sure you have configured use_x_forwarded_for and trusted_proxies in your HTTP integration configuration.

But when updated this requested info, I don’t get the boolean use_x_forwarded_for in color orange, it stays blue. (In Visual Studio Code)

1 Like

Mine seems to be working fine and loading just as quick. I’m running on a RPi 4 w/ WD Black HDD.

It is in the release notes!