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

I don’t see “*5” in the docs as a valid option.

I see “*” as a wildcard tho.

Oh, BTW, I meant to say that it looks like a great release with a whole lot of improvements. Good job!

Now I just have to wait until the wrinkles get ironed out before I update! :smiley:

1 Like

Just dive in and screw the consequences :wink:

3 Likes

I’m happy with the new 0.115.
Removed my message.
I did not read the new broadlink help page good enough.
The switch layout is slightly changed

I’m getting way too old for that kind of excitement. :older_man: :laughing:

Recapture your youth, and let this be the first step :stuck_out_tongue_closed_eyes:

3 Likes

[SOLVED] IKEA Tradfri integration does not load from 0.115

[I solved it by manually installing the pytradfri by running the command ‘pip install pytradfri == 7.0.2’]

I upgraded from 0.114.4 to 0.115.0 (yesterday at 0.115.1, today at 0.115.2). IKEA required reconfiguration. I removed the integration. I tried adding the integration. The error is as follows

2020-09-20 11:02:25 ERROR (SyncWorker_5) [homeassistant.util.package] Unable to install package pytradfri[async]==7.0.2: ERROR: Command errored out with exit status 1:
command: /share/CACHEDEV1_DATA/.qpkg/Home-Assistant/bin/python3.8 -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/share/CACHEDEV1_DATA/.qpkg/Home-Assistant/TMPDIR/pip-install-vs3w81jb/dtlssocket/setup.py’"’"’; file=’"’"’/share/CACHEDEV1_DATA/.qpkg/Home-Assistant/TMPDIR/pip-install-vs3w81jb/dtlssocket/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 /share/CACHEDEV1_DATA/.qpkg/Home-Assistant/TMPDIR/pip-wheel-6riy65pk
cwd: /share/CACHEDEV1_DATA/.qpkg/Home-Assistant/TMPDIR/pip-install-vs3w81jb/dtlssocket/
Complete output (11 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/DTLSSocket
copying DTLSSocket/init.py -> build/lib.linux-x86_64-3.8/DTLSSocket
copying DTLSSocket/DTLSSocket.py -> build/lib.linux-x86_64-3.8/DTLSSocket
running build_ext
Running: autoconf
error: [Errno 2] No such file or directory: ‘autoconf’

ERROR: Failed building wheel for DTLSSocket
ERROR: Command errored out with exit status 1:
command: /share/CACHEDEV1_DATA/.qpkg/Home-Assistant/bin/python3.8 -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/share/CACHEDEV1_DATA/.qpkg/Home-Assistant/TMPDIR/pip-install-vs3w81jb/dtlssocket/setup.py’"’"’; file=’"’"’/share/CACHEDEV1_DATA/.qpkg/Home-Assistant/TMPDIR/pip-install-vs3w81jb/dtlssocket/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ install --record /share/CACHEDEV1_DATA/.qpkg/Home-Assistant/TMPDIR/pip-record-xrdqoquw/install-record.txt --single-version-externally-managed --prefix ‘’ --user --prefix= --compile --install-headers /share/CACHEDEV1_DATA/.qpkg/Home-Assistant/CONFIG_DIR/deps/include/python3.8/DTLSSocket
cwd: /share/CACHEDEV1_DATA/.qpkg/Home-Assistant/TMPDIR/pip-install-vs3w81jb/dtlssocket/
Complete output (11 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/DTLSSocket
copying DTLSSocket/init.py -> build/lib.linux-x86_64-3.8/DTLSSocket
copying DTLSSocket/DTLSSocket.py -> build/lib.linux-x86_64-3.8/DTLSSocket
running build_ext
Running: autoconf
error: [Errno 2] No such file or directory: ‘autoconf’

ERROR: Command errored out with exit status 1: /share/CACHEDEV1_DATA/.qpkg/Home-Assistant/bin/python3.8 -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/share/CACHEDEV1_DATA/.qpkg/Home-Assistant/TMPDIR/pip-install-vs3w81jb/dtlssocket/setup.py’"’"’; file=’"’"’/share/CACHEDEV1_DATA/.qpkg/Home-Assistant/TMPDIR/pip-install-vs3w81jb/dtlssocket/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ install --record /share/CACHEDEV1_DATA/.qpkg/Home-Assistant/TMPDIR/pip-record-xrdqoquw/install-record.txt --single-version-externally-managed --prefix ‘’ --user --prefix= --compile --install-headers /share/CACHEDEV1_DATA/.qpkg/Home-Assistant/CONFIG_DIR/deps/include/python3.8/DTLSSocket Check the logs for full command output.
2020-09-20 11:02:25 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/share/CACHEDEV1_DATA/.qpkg/Home-Assistant/lib/python3.8/site-packages/homeassistant/data_entry_flow.py”, line 120, in async_init
flow = await self.async_create_flow(handler, context=context, data=data)
File “/share/CACHEDEV1_DATA/.qpkg/Home-Assistant/lib/python3.8/site-packages/homeassistant/config_entries.py”, line 524, in async_create_flow
await async_process_deps_reqs(self.hass, self._hass_config, integration)
File “/share/CACHEDEV1_DATA/.qpkg/Home-Assistant/lib/python3.8/site-packages/homeassistant/setup.py”, line 343, in async_process_deps_reqs
await requirements.async_get_integration_with_requirements(
File “/share/CACHEDEV1_DATA/.qpkg/Home-Assistant/lib/python3.8/site-packages/homeassistant/requirements.py”, line 75, in async_get_integration_with_requirements
await async_process_requirements(
File “/share/CACHEDEV1_DATA/.qpkg/Home-Assistant/lib/python3.8/site-packages/homeassistant/requirements.py”, line 132, in async_process_requirements
raise RequirementsNotFound(name, [req])
homeassistant.requirements.RequirementsNotFound: Requirements for tradfri not found: [‘pytradfri[async]==7.0.2’].

As I said above: the /x format will match 0*x, 1*x, 2*x, etc. This is only for the field where you use the pattern. The little and the big hand (of an analog clock) each have their own pattern.

For any x that is not a factor of 60 (or 24 for hours:), yes – you will get uneven results.

The factors of 60 are 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30 (and the disallowed 60).

1 Like

Yep, ( tag: @francisp too) it’s a modulus type division ‘thang’ so /1 always is true so fires every minute.

Finity, I’ve seen others code with *5 and (as you say) assumed it was a wild card
So 05, 15, 25, 35, 45, 55, 05, 15 etc.
I don’t know though, I haven’t tested to see if it even works, just assumed that the others weren’t just making it up, cos that never happens does it ?
:rofl:

yeah, I missed a few… :wink:

1 Like

I can think of an example where (say) /57 would be useful.
I have an lms which has a slight memory leak. (so it needs rebooting, I use a crown (damn auto-correct) cron job for that)
But I monitor the current playing title. So copy it (the title) in at 00 minutes past the hour, and if it’s still playing the same track 57 minutes later, skip to next track
(fictious example but you get the idea)

I haven’t seen that before but it might work the way you described tho.

Entities can only store a date time as a timestamp. Relative date time is not allowed.

1 Like

I’m not betting the ranch on that though

1 Like

Upgraded from 0.113.2. After that it says " Setup failed for xxxxx: Could not set up all dependencies." for every single integration and HA won’t start at all. Had to downgrade to make it work again.

You need to get your logs so you can see why it is failing.

Tried it again, here are the logs from after the update:

Sep 20 13:10:23 RPiSmartHome systemd[1]: Started Home Assistant.
Sep 20 13:10:27 RPiSmartHome hass[24190]: 2020-09-20 13:10:27 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for fasthue which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
Sep 20 13:10:27 RPiSmartHome hass[24190]: 2020-09-20 13:10:27 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
Sep 20 13:11:17 RPiSmartHome hass[24190]: 2020-09-20 13:11:17 ERROR (MainThread) [homeassistant.setup] Setup failed for image: Unable to import component: libopenjp2.so.7: cannot open shared object file: No such file or directory
Sep 20 13:11:17 RPiSmartHome hass[24190]: 2020-09-20 13:11:17 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of person. Setup failed for dependencies: image
Sep 20 13:11:17 RPiSmartHome hass[24190]: 2020-09-20 13:11:17 ERROR (MainThread) [homeassistant.setup] Setup failed for person: Could not set up all dependencies.
Sep 20 13:11:17 RPiSmartHome hass[24190]: 2020-09-20 13:11:17 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: person
Sep 20 13:11:17 RPiSmartHome hass[24190]: 2020-09-20 13:11:17 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: Could not set up all dependencies.
Sep 20 13:11:17 RPiSmartHome hass[24190]: 2020-09-20 13:11:17 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: onboarding
Sep 20 13:11:17 RPiSmartHome hass[24190]: 2020-09-20 13:11:17 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
Sep 20 13:11:49 RPiSmartHome hass[24190]: 2020-09-20 13:11:49 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend
Sep 20 13:11:49 RPiSmartHome hass[24190]: 2020-09-20 13:11:49 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
Sep 20 13:11:49 RPiSmartHome hass[24190]: 2020-09-20 13:11:49 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
Sep 20 13:11:49 RPiSmartHome hass[24190]: 2020-09-20 13:11:49 ERROR (MainThread) [homeassistant.setup] Setup failed for map: Could not set up all dependencies.
Sep 20 13:11:49 RPiSmartHome hass[24190]: 2020-09-20 13:11:49 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of hacs. Setup failed for dependencies: frontend
Sep 20 13:11:49 RPiSmartHome hass[24190]: 2020-09-20 13:11:49 ERROR (MainThread) [homeassistant.setup] Setup failed for hacs: Could not set up all dependencies.
Sep 20 13:12:48 RPiSmartHome hass[24190]: 2020-09-20 13:12:48 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: openweathermap
Sep 20 13:12:48 RPiSmartHome hass[24190]: 2020-09-20 13:12:48 ERROR (MainThread) [homeassistant.components.weather] The openweathermap platform for the weather integration does not support platform setup. Please remove it from your config.
Sep 20 13:13:19 RPiSmartHome hass[24190]: 2020-09-20 13:13:19 WARNING (SyncWorker_60) [pyhomematic._hm] Failed to initialize proxy for homeassistant-wireless
Sep 20 13:14:11 RPiSmartHome hass[24190]: 2020-09-20 13:14:11 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mobile_app. Setup failed for dependencies: person
Sep 20 13:14:11 RPiSmartHome hass[24190]: 2020-09-20 13:14:11 ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app: Could not set up all dependencies.
Sep 20 13:14:11 RPiSmartHome hass[24190]: 2020-09-20 13:14:11 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: frontend, logbook, map, mobile_app, person
Sep 20 13:14:11 RPiSmartHome hass[24190]: 2020-09-20 13:14:11 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.

…and so on

1 Like

Looks like this is the issue…

That causes frontend to fail, which in turn causes everything that depends on the frontend to fail, which in turn causes the next level that depended on them to fail etc.

I would suggest a bug report as that component is supposed to be part of default_config so should work right out of the box.

Anyone know how to envoke the new media browser part of the more-info dialogue directly? I want to tie it to a button-card, since I use popupcards globally and replaced more-info with browser mod…

1 Like

has the history and log item (with the swirling icon) more-info log item on all entities, even when no history nor log settings are active on the entity (not included on history or logbook.

Can we take these out of the more-info? (Maybe they should be taken out completely if not included in history and logbook…)