2023.6: Network storage, favorite light colors, new integrations dashboard

Thanks for the tip, I did the same on my QNAP and it worked:

/share/ha_backups

Same experience. I live in USA, North Carolina.

Hey,
did someone find out how too mont a folder with a “&” in the name?

Did you watch the video I posted as the solution? you simply have to turn on the weather forecast from the integration.

Ok, but to be practical, does this error depend on my mistake or something else?

I don’t know. Post an issue on github.

Did a new update this morning (.1 version) and worked without any problems. Thank you for replying!

1 Like

does anyone see this on startup (history is disabled):

all entities have a graph when clicked.

while reloading the view clearly shows its not:

Wish I knew people would buy them, when I disposed of mine like a decade ago. :slight_smile:

On MQTT issues

I installed for the first time zigbee2mqtt yesterday (not as addon but on different machine) and had all working. This morning I decide to change a few things in the config of zigbee2mqtt.

One little mistake. I do not put http:// in front of the frontend → url: http://192.168.1.15:8099

That little mistake which is transmitted in the discovery mqtt json to Home Assistant is enough to make MQTT totally misbehave. It stops providing the publish service. The zigbee2mqtt devices stops working. But other device still works. It is half way crashed. I even removed the MQTT integration and re-added it and deleted all the retained messaged on the MQTT server for the homeassistant key. The problem came back the moment I started zigbee2mqtt.

One little mistake in a message and the whole thing falls apart. I bet this is the kind of problems people refer to that cannot make MQTT work in recent HA releases. Something in the MQTT integration barfs when it cannot understand some content of a discovery JSON message.

To find the issue stop the software that publish discovery message to your MQTT.
Next step I used the software MQTT Explorer on my Windows machine. It can delete messages from MQTT very fast so you can take the entire home assistant tree and blast it.

Then restart home assistant to see if the log is clean. Then start one program at a time (in my case AMS reader, then Octoprint, and finally zigbee2mqtt). And see what makes it die.

And then the difficult thing is to find out why and what in the discovery messages that makes it barf. The HA log should help but it may describes its error in a confusing way. Now you know that it may be perfectly OK formatted JSON that contains wrong info that makes HA barf.

My HA is flying… it is so fast and noticeable. I think it is @bdraco work, but if not, whoever you are in the HA Team

NICE WORK! :+1:

5 Likes

Somehow I doubt that a standard which has been deprecated and removed from most systems due to inherent, and apparently unfixable, security issues will be added as a new feature. Add a feature request but I wouldn’t get your hopes up.

2 Likes

VMWare HAOS on a Windows 10 Host

With the new Network Storage functionality, how do (or can you) display pictures on the dashboard from a SMB mount?

I’ve tried:
http://192.168.1.132:8123/media/camalerts/Alerts{{states("sensor.mqtt_12345_blueiris_front_upper_cam_image_path") }}

/media/camalerts/Alerts/{{states("sensor.mqtt_12345_blueiris_front_upper_cam_image_path") }}

And about every variation thereof.

Unfortunately no other option how to connect to my old nas. But i think hassos support it, because in error is information that I should try that version of smb protocol.

New since 2023.6.x. Something wrong on my side or what I miss or something for an issue on github?

2023-06-10 18:36:32.927 ERROR (MainThread) [homeassistant.components.rest.switch] Error while fetching data:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/httpcore/backends/asyncio.py", line 111, in connect_tcp
stream: anyio.abc.ByteStream = await anyio.connect_tcp(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/anyio/_core/_sockets.py", line 213, in connect_tcp
async with create_task_group() as tg:
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 662, in __aexit__
raise exceptions[0]
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 733, in task_done
exc = _task.exception()
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/anyio/_core/_sockets.py", line 164, in try_connect
stream = await asynclib.connect_tcp(remote_host, remote_port, local_address)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 1691, in connect_tcp
await get_running_loop().create_connection(
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection
sock = await self._connect_sock(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 634, in sock_connect
return await fut
^^^^^^^^^
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions
yield
File "/usr/local/lib/python3.11/site-packages/httpcore/backends/asyncio.py", line 110, in connect_tcp
with anyio.fail_after(timeout):
File "/usr/local/lib/python3.11/site-packages/anyio/_core/_tasks.py", line 118, in __exit__
raise TimeoutError
TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
yield
File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 353, in handle_async_request
resp = await self._pool.handle_async_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 253, in handle_async_request
raise exc
File "/usr/local/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 237, in handle_async_request
response = await connection.handle_async_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpcore/_async/connection.py", line 86, in handle_async_request
raise exc
File "/usr/local/lib/python3.11/site-packages/httpcore/_async/connection.py", line 63, in handle_async_request
stream = await self._connect(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpcore/_async/connection.py", line 111, in _connect
stream = await self._network_backend.connect_tcp(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpcore/backends/auto.py", line 29, in connect_tcp
return await self._backend.connect_tcp(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpcore/backends/asyncio.py", line 109, in connect_tcp
with map_exceptions(exc_map):
File "/usr/local/lib/python3.11/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
File "/usr/local/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc)
httpcore.ConnectTimeout
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/rest/switch.py", line 202, in async_update
await self.get_device_state(self.hass)
File "/usr/src/homeassistant/homeassistant/components/rest/switch.py", line 216, in get_device_state
req = await websession.get(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1757, in get
return await self.request(
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1530, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1617, in send
response = await self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1645, in _send_handling_auth
response = await self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1682, in _send_handling_redirects
response = await self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1719, in _send_single_request
response = await transport.handle_async_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 352, in handle_async_request
with map_httpcore_exceptions():
File "/usr/local/lib/python3.11/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectTimeout

Any tips on how to do this in a way that makes it visible inside HA and, more to the point, recognized by the HA storage system and available for use for the default backup location? I haven’t figured out a way, so would love a link or suggestion.

Thanks!

Just mount it to /config/backup inside your container

2 Likes

Seems like the update breaks and disables Yamaha MusicCast integration. It warns you to remove and restart but then just repeats the same message.

By many years…

@caear1987, are you still using a NAS server that only supports smb1? (I have a couple that I can’t give away). Or are you running Samba on an old PC or Raspberry running Linux?

Sorry - I’m likely being very dumb - but I don’t see any cogs?