pilotak/homeassistant-mikrotik

Failed to call mikrotik.api

Closed this issue · 7 comments

I'm new in HA and probably i'm doing something wrong.
ha-mikrotik

Files are existing in custom_components/mikrotik
ha-mikrotik-02

please help.

Have you set this up?

# Example configuration.yaml entry
mikrotik:
  host: IP here
  username: user
  password: password

yes, I added strings to configuration.yaml
mikrotik:
host: !secret router_host
username: !secret router_user
password: !secret router_pass

and in secrets.yaml
router_host: X.X.X.X
router_user: XXX
router_pass: XXX

firewall on mikrotik is open for traffic from HA

strange, did you restart the HA after writing up the manual config?

it looks like it's not working on the newer version of HA, i will investigate

Yes,
I also uninstalled one more mikrotik integration because I thought there was a conflict - no positive effect
my HA version is 2021.8.8, and HACS 1.15.1

@pilotak It's required to change domain. You're using mikrotik, which is already used by official integration: https://www.home-assistant.io/integrations/mikrotik/. Additionally version is missing in manifest.json.

@mhaluska thank you, that solved the problem

here is an updated version https://github.com/pilotak/homeassistant-mikrotik-api this repo will be depreciated due to name confict. I will submit it into a HACS later.