Skip to content

Add Mikrotik sensors - #25591

Closed
slackr31337 wants to merge 44 commits into
home-assistant:devfrom
slackr31337:slackr31337-mikrotik-sensors
Closed

Add Mikrotik sensors#25591
slackr31337 wants to merge 44 commits into
home-assistant:devfrom
slackr31337:slackr31337-mikrotik-sensors

Conversation

@slackr31337

@slackr31337 slackr31337 commented Jul 31, 2019

Copy link
Copy Markdown
Contributor

Dependent on RP #25576 (New Mikrotik Hub)

Description:

New Mikrotik device sensors to display device metrics like CPU load, Memory free, Disk free, WAN upload and download bandwidth utilization.

Example entry for configuration.yaml (if applicable):

mikrotik:
  - host: 192.168.88.1
    username: !secret router_user
    password: !secret router_pass
    ssl: true
    track_devices: false
    wan_port: ether1
    sensors:
      - sysinfo
      - cpu
      - memory
      - disk
      - upload_speed
      - download_speed

  - host: 192.168.88.2
    username: !secret capsman_user
    password: !secret capsman_pass
    ssl: true
    track_devices: true
    wan_port: spf1
    sensors:
      - sysinfo
      - cpu
      - memory
      - disk
      - upload_speed
      - download_speed

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
  • Untested files have been added to .coveragerc.

If the code does not interact with devices:

  • Tests have been added to verify that the new code works.

@slackr31337 slackr31337 changed the title New Mikrotik sensors Add Mikrotik sensors Aug 2, 2019
@slackr31337

Copy link
Copy Markdown
Contributor Author

Closing this PR to create a new one after creating a new fork

@slackr31337 slackr31337 closed this Aug 2, 2019
@lock lock Bot locked and limited conversation to collaborators Aug 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants