Skip to content

Omoda Versions.. Plus adding some new webapi's #139

Open
@bradmesserle

Description

@bradmesserle

This might be a stupid question.. but how can i contribute? Do i fork or create a branch?

Items..

  1. I would like to enhance the webapi url's and models to be more OO by doing like a class hierarch to support different versions of omoda.
  2. I am writing code to support enabling and disabling NAT rules.

The new version of omada they changed the api for users/site info.

This is the part that is not working.. I am working on updating this with the new version..

{
async def _update_site_id(self):
"""Obtain site id for specified site name. Required in v5.0.0+"""

    response = await self._controller_request(
        "get",
        "/users/current",
        params=[("currentPage", "1"), ("currentPageSize", "10000")],
        private=True,
    )

}

This is the controller version.. 5.15.24.17

Thank you. and Thank You for the great start on supporting Omada for HA.

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