tomaae / homeassistant-mikrotik_router

Mikrotik router integration for Home Assistant
Apache License 2.0
280 stars 41 forks source link

Setup failed, will try again: Mikrotik Disconnected #364

Open ChanningCCapwell opened 1 month ago

ChanningCCapwell commented 1 month ago

Describe the issue

How to reproduce the issue

Expected behavior

Screenshots

Software versions

Diagnostics data

Traceback/Error logs

Additional context

alirezadigi commented 3 weeks ago

same issue here

RouterOS version 7

image

alirezadigi commented 3 weeks ago

image

its the log file after reloading

matissrapsa commented 3 weeks ago

Same problem, Router OS 15,1, don't have Wi-Fi package for this router. image

matissrapsa commented 3 weeks ago

Just in case there is temporally available workaround https://github.com/tomaae/homeassistant-mikrotik_router/issues/328#issuecomment-1892676046

matteop87 commented 2 weeks ago

mee to, after upgrade at 7.15.x the integration doesn't work. I can't explain why. I tried to downgrade to 7.14 on my RB4011iGS+ but it still doesn't work... I don't know what verifications to do anymore

alirezadigi commented 2 weeks ago

Does anybody know how we can get more detailed logs? maybe we can create a pull request...

matteop87 commented 1 week ago

This is the error on my logs: 2024-06-25 15:14:55.448 ERROR (SyncWorker_52) [custom_components.mikrotik_router.mikrotikapi] Mikrotik 192.168.1.1 error while building list for path /caps-man/registration-table : no such command or directory (caps-man), no such command prefix

2024-06-25 15:14:55.449 DEBUG (MainThread) [custom_components.mikrotik_router.coordinator] Finished fetching Mikrotik data in 1.192 seconds (success: False)

For debug try this: image

garrettstoupe commented 1 week ago

Installing the Master in Homeassistant has fixed the issue for me. Had to manually do this

goro22052 commented 1 week ago

I have the same problem... What the mean "Installing the Master in Homeassistant "?

fabiojrsantos commented 1 week ago

goro22052

I think he meant user with root permission.

garrettstoupe commented 1 week ago

I have the same problem... What the mean "Installing the Master in Homeassistant "?

Sorry downloaded the master zip file and unzipped it to /config/custom_components/mikrotik_router/

You may need to backup and remove the current /config/custom_components/mikrotik_router/ and restart ha

tomaae commented 3 days ago

You can choose master in HACS version selection. I have not yet tested 7.15 at all, so not sure if it works. Best is to update to master and submit debugs if its not working.