Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SLZB-06 login errors on HA startup/reload #135870

Open
Anto79-ops opened this issue Jan 17, 2025 · 1 comment
Open

SLZB-06 login errors on HA startup/reload #135870

Anto79-ops opened this issue Jan 17, 2025 · 1 comment

Comments

@Anto79-ops
Copy link

Anto79-ops commented Jan 17, 2025

The problem

hello!

I have a SLZB-06 and recently updated the core firmware of the device from v2.3.6 to v2.6.8.dev26. The integration still works and entities are reporting however, on ever startup, these logs appear:

Logger: aiohttp_sse_client2.client
Source: runner.py:154
First occurred: 12:23:50 PM (1 occurrences)
Last logged: 12:23:50 PM

fetch http://slzb-06.local/events failed: 401: b'wrong login or password'

and

Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:112
First occurred: 12:23:50 PM (1 occurrences)
Last logged: 12:23:50 PM

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/pysmlight/sse.py", line 52, in client
    await self.sse_stream()
  File "/usr/local/lib/python3.13/site-packages/pysmlight/sse.py", line 58, in sse_stream
    async with EventSource(
               ~~~~~~~~~~~^
        self.url, session=self.session, timeout=self.timeout, max_connect_retry=8
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ) as event_source:
    ^
  File "/usr/local/lib/python3.13/site-packages/aiohttp_sse_client2/client.py", line 126, in __aenter__
    await self.connect(self._max_connect_retry)
  File "/usr/local/lib/python3.13/site-packages/aiohttp_sse_client2/client.py", line 244, in connect
    raise ConnectionRefusedError(error_message, body)
ConnectionRefusedError: [Errno fetch http://slzb-06.local/events failed: 401: b'wrong login or password'] b'wrong login or password'

I restart the device and even deleted and added it again, still giving this log. Again, the intergration works its not broken or anything, just the logs are reported.

Is there some sort of typo with the b?

thanks

What version of Home Assistant Core has the issue?

2015.1.2

What was the last working version of Home Assistant Core?

n/a

What type of installation are you running?

Home Assistant OS

Integration causing the issue

SM-Lite

Link to integration documentation on our website

https://www.home-assistant.io/integrations/smlight/

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

@home-assistant
Copy link

Hey there @tl-sl, mind taking a look at this issue as it has been labeled with an integration (smlight) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of smlight can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign smlight Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


smlight documentation
smlight source
(message by IssueLinks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant