A presence detection plugin for Cisco Embedded Wireless Controllers and homeassistant
99% ripped from @fbradyirl's cisco_ios HA integration. I changed a few lines to get the list of associated wireless clients and made modifications to select the proper fields.
Your homeassistant must be able to connect to the embedded wireless controller via SSH.
Create a read-only user on your EWC for homeassistant
- Create a
cisco_ewc
directory under yourcustom_components
directory. - Upload the three files from the repo, or pull from github.
Add some lines to configuration.yaml
device_tracker: - platform: cisco_ewc host: 192.168.1.6 username: presence password: Presenc3 interval_seconds: 120 # optional, default 12 seconds (seems abusive) port: 22 # optional, default 22