GithubHelp home page GithubHelp logo

Comments (15)

issue-label-bot avatar issue-label-bot commented on May 29, 2024

Issue-Label Bot is automatically applying the label enhancement to this issue, with a confidence of 0.89. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

from homeassistant-mikrotik_router.

tomaae avatar tomaae commented on May 29, 2024

you can disable tracking of network devices in integration options. which should be only dynamic generated entries.
if you want to hide certain ports, etc... HA have an option to disable entities.

from homeassistant-mikrotik_router.

nocturneop15 avatar nocturneop15 commented on May 29, 2024

ok, but you can only enable or disable this. Not filter out what to enable (and all is enabled by default) - as result, I have 59 devices and 230 entities just after enabling integration.

Having options what to publish would be great for keeping HA as clean as possible.

from homeassistant-mikrotik_router.

tomaae avatar tomaae commented on May 29, 2024

Can you elaborate on what you have in mind in detail and example?

from homeassistant-mikrotik_router.

nocturneop15 avatar nocturneop15 commented on May 29, 2024

Separate switches for exporting entities:

  • physical interfaces including wifi and cellular (switch, rx, tx)
  • PPP interfaces (rx, tx, switch)
  • queues (switch)
  • ip/routes (switch)
  • mangle objects (switch)
  • filter rules (switch)
  • client devices (rx, tx)

also, I should leave general system values (cpu, ram etc.) enabled by default,

That would give us great granular control what to include in HA - this might be useful for larger networks (my home network contains 9 mikrotik routers at all, that's why I was scared by exporting 230 entities from just one, first connected mkt)

from homeassistant-mikrotik_router.

tomaae avatar tomaae commented on May 29, 2024

hmm, I will need to have a look if it is even possible, since many objects are interconnected. most should be tho, but such change wont be fast since that would involve translation files.
I will have a look on what can be done here.

from homeassistant-mikrotik_router.

nocturneop15 avatar nocturneop15 commented on May 29, 2024

Cool, hope this will be doable!

If possible, could also scripts be presented with toggle button? That would allow very simple, but absolutely full controll over mkt in HA...(and allows automations that are otherwise impossible, e.g. switching routing chain across multiple devices. In my case - I have more WANs available ,but some of them are behind another subnets and devices)

from homeassistant-mikrotik_router.

tomaae avatar tomaae commented on May 29, 2024

Scripts are presented using switch and service already, you can pick how you want to control them.

from homeassistant-mikrotik_router.

nocturneop15 avatar nocturneop15 commented on May 29, 2024

oups, sorry - i did not nottice, that is great! I must check this further. Thanks for your work!

from homeassistant-mikrotik_router.

adventurous-geek avatar adventurous-geek commented on May 29, 2024

This feature is important. I took was surprised that after adding just one of 5 mikrotik routers, I had 300+ entities. I would very much like to limit this to specific interfaces/devices only. Sure, I can disable the unwanted ones, but with a list that long, that is not a nice job.

from homeassistant-mikrotik_router.

tomaae avatar tomaae commented on May 29, 2024

it wont be possible to limit to specific interfaces/devices, you have to do that in HA like with any other integration.
I can only filter by functionality groups.

from homeassistant-mikrotik_router.

tomaae avatar tomaae commented on May 29, 2024

image

This is my general idea at the moment. I have implemented multi page configuration, this will be its 2nd page.
For now, I'm leaving only port switch and system sensors on by default, rest will have to be turned on in options.

I think this is what you had in mind.

from homeassistant-mikrotik_router.

nocturneop15 avatar nocturneop15 commented on May 29, 2024

Exactly! This is awesome option, thumbs up!

from homeassistant-mikrotik_router.

tomaae avatar tomaae commented on May 29, 2024

All done, it will be available in next release.

from homeassistant-mikrotik_router.

adventurous-geek avatar adventurous-geek commented on May 29, 2024

This is a great way of reducing the number of entities listed. Additionally, you might consider including a REGEX filter on the entity names, so that only those meeting the filter will be included.

from homeassistant-mikrotik_router.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.