-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Fix for ros 7.13 wireless #332
Conversation
Did you test this with wifi/wifi-qcom/wifi-qcom-ac modules disabled or not installed? |
@tomaae On routeros >=7.13, if you have no extra wifi packages, the route |
Yes, I have tested this on a CRS309-1G-8S+ with only the routeros package installed. |
Hi is it possible upload corrected file coordinator.py ? On pastebin or another service? |
|
Nope... Logger: homeassistant.setup Setup failed for custom integration 'mikrotik_router': Unable to import component: cannot import name 'CONF_SENSOR_NETWATCH_TRACKER' from 'custom_components.mikrotik_router.const' (/config/custom_components/mikrotik_router/const.py) You have also to add in const.py these two lines: CONF_SENSOR_NETWATCH_TRACKER = "sensor_netwatch" after line 60 |
It works for me after adding: |
You can also switch the mikrotik custom component to master branch in HACS, after that update the coordinator.py file of this branch and restart HA. |
With this changes and replace with file at the top of the page all work's fine even at 7.14 beta 6 |
it works without any changes for me 👍 |
it worked for me with on hap ax2 after changing to this. CONF_SENSOR_NETWATCH_TRACKER = "sensor_netwatch" modified version is at my forked copy https://github.com/jajera/homeassistant-mikrotik_router |
I can also confirm that it does fix the issue. Running HaOS 11.4, with a CRS310-8G+2S+ on firmware 7.13.3 and the wireless package disabled. Any ETA for merging this ? |
@tomaae if this is not planner for merge in upcomming days, could we get this tagged as beta, so that it is easier to get it and also test in different setups? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
Is there anything I need to do or am I holding up this merge? |
Hi Robert,
what a fast response it is. I was glad to see a solution for the issue I am facing, that was my reaction. But now, when I replace original coordinator.py with your file, I get
{"message":"Invalid handler specified"}
Thank you,
Petr
…________________________________
From: Robert Dunmire III ***@***.***>
Sent: Monday, February 5, 2024 1:44 PM
To: tomaae/homeassistant-mikrotik_router ***@***.***>
Cc: petr-kozak ***@***.***>; Comment ***@***.***>
Subject: Re: [tomaae/homeassistant-mikrotik_router] Fix for ros 7.13 wireless (PR #332)
Is there anything I need to do or am I holding up this merge?
—
Reply to this email directly, view it on GitHub<#332 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BFRVFBPFVTAXGDIXT4K2TQTYSDHZXAVCNFSM6AAAAABAM2KFZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRWHEYTMNZYGE>.
You are receiving this because you commented.
|
Was able to add router, but now showing wireless clients on all APs as "0" |
Since 2 days ago there is a new (small) problem: every 2/3 minutes, both of my Mikrotik with 7.13.4 OS are marked as non up to date in logfile. The problem resolves itself in a few seconds, but it's annoying... Any ideas? |
I think you should report this as a separate issue, this is the PR for a different fix and it will get lost once the PR is merged. |
Makes sense. Thanks. |
Proposed change
Update to coordinator for RouterOS > 7.12 with new wifi packages
Type of change
Additional information
Checklist