core: Mikrotik failed to retrieve data. cmd=[/interface/wifiwave2/print] Error: no such command or directory (wifiwave2)
The problem
Every time while starting HA I got error:
Mikrotik 192.168.1.3 failed to retrieve data. cmd=[/interface/wifiwave2/print] Error: no such command or directory (wifiwave2), no such command prefix
What version of Home Assistant Core has the issue?
core-2023.4.6
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
Mikrotik
Link to integration documentation on our website
https://www.home-assistant.io/integrations/mikrotik
Diagnostics information
Mikrotik 192.168.1.3 failed to retrieve data. cmd=[/interface/wifiwave2/print] Error: no such command or directory (wifiwave2), no such command prefix
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 3
- Comments: 21 (7 by maintainers)
Not sure if this applies to API call but by terminal mk have created an alias That’s is you type interface/wifiwave2/ It will automatically replaced by /interface/wifi They have created this so script doesn’t break.
I would suppress error message “no such command prefix” during capabilities discovery…
@Marco98 Model: RouterBOARD wAP G-5HacT2HnD Current Firmware: 6.49.11 Package List (every package has version 6.49.11):
HA error:
Looks like the error (which is actually a WARNING level message) is slightly misleading and is caused by the integration just trying to detect wifiwave2 support. I have a 951G-2HnD which is pretty ancient by now and the integration still seems to be working just fine, despite the warning.
wifiwave2
is part of extra packages, it does not come with base routeros package and isn’t supported on all routeros devices so it shouldn’t be used by default