Skip to content

Success report #1

@maddarius

Description

@maddarius

Hi!

Thank you very much for writing this script.

I was able to get your script to work on HA OS, after a bit of finagling. So I just wanted to share some of the issues I ran into.
It seems there is quite a bit of isolation in the OS VM. So initially I couldn't get the script to run due to missing python dependencies. But I was able to resolve it by using pip to install python-matter-server from the code-server addon's terminal. I am unsure as to why this got me access to the right place. But it worked.
Then I had to manually specify the internal IP of my server, instead of using localhost. As that is where the matter server addon was binding to by default. This was shown by the logs for the matter server addon.

If I could suggest a change to your Home Assistant Script. Making the user_type a selector makes it a dropdown instead of having to type out the user type manually.

  user_type:
    selector:
      select:
        options:
          - kUnrestrictedUser
          - kYearDayScheduleUser
          - kWeekDayScheduleUser
          - kProgrammingUser
          - kNonAccessUser
          - kForcedUser
          - kDisposableUser
          - kExpiringUser
          - kScheduleRestrictedUser
          - kRemoteOnlyUser
    required: true

Thanks again!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions