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

[mikrotik] Add PoE support #17351

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

Conversation

asp24
Copy link

@asp24 asp24 commented Aug 30, 2024

  • [Improvement] Implemented PoE monitoring and contol
  • [FIX] Crash on some routers with high available RAM available
  • [FIX] Modern WiFI impl packages registrations tables polling

@asp24 asp24 requested a review from duhast as a code owner August 30, 2024 14:48
@asp24 asp24 force-pushed the mikrotik-poe-support branch 2 times, most recently from 19df9ff to 2f78cb9 Compare September 2, 2024 16:12
Signed-off-by: asp24 <488588+asp24@users.noreply.github.com>
Implemented polling Wireless and Capsman registrations tables from all known mikrotik  wifi impl

Signed-off-by: asp24 <488588+asp24@users.noreply.github.com>
…style

Signed-off-by: asp24 <488588+asp24@users.noreply.github.com>
Signed-off-by: asp24 <488588+asp24@users.noreply.github.com>
Signed-off-by: asp24 <488588+asp24@users.noreply.github.com>
Signed-off-by: asp24 <488588+asp24@users.noreply.github.com>
Signed-off-by: asp24 <488588+asp24@users.noreply.github.com>
@lsiepel lsiepel added the enhancement An enhancement or new feature for an existing add-on label Sep 3, 2024
@lsiepel lsiepel changed the title [mikrotik] PoE support [mikrotik] Add PoE support Sep 3, 2024
@lsiepel
Copy link
Contributor

lsiepel commented Sep 3, 2024

Would it be possible to split the bugfix and the enhancement? If it is too much of a hassle its fine, but smaller/ dedicated PR.s are simpler to review, backport and also show up independend in the release notes

Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Besides the minor comments, it would be needed to provide thing upgrade instructions for the added channels.
For referece: https://www.openhab.org/docs/developer/bindings/thing-xml.html#updating-thing-types

Oh, when the labels are adjusted the i18n plugin has to be re-run to update the properties file.

asp24 and others added 6 commits September 16, 2024 20:34
…/thing/thing-types.xml

Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Yuriy <asp24@users.noreply.github.com>
Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Yuriy <asp24@users.noreply.github.com>
Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Yuriy <asp24@users.noreply.github.com>
Signed-off-by: asp24 <488588+asp24@users.noreply.github.com>
Signed-off-by: asp24 <488588+asp24@users.noreply.github.com>
Signed-off-by: asp24 <488588+asp24@users.noreply.github.com>
Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some additional comments. Also run the i18n plugin to generate the labels etc

xsi:schemaLocation="https://openhab.org/schemas/update-description/v1.0.0 https://openhab.org/schemas/update-description-1.0.0.xsd">

<thing-type uid="mikrotik:routeros">
<instruction-set targetVersion="1">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version also need to be added to the interface Thing as property.

<properties>
    <property name="thingTypeVersion">1</property>
  </properties>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only this comment is left ^^, not sure if you missed it

asp24 and others added 2 commits September 22, 2024 12:03
Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Yuriy <asp24@users.noreply.github.com>
Signed-off-by: asp24 <488588+asp24@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants