Miwifi
With miwifi authenticating to your Mi router and getting list of connected devices is as simple as that:
router = Miwifi::Router.new("192.168.31.1", "password")
router.auth
devices = router.device_list
Installation
-
Authenticate to GitHub Packages
-
Add these lines to your application's Gemfile:
source "https://rubygems.pkg.github.com/lesterrry" do
gem "miwifi"
end
Development
After checking out the repo, run bin/setup
to install dependencies. You can also run bin/console
for an interactive prompt that will allow you to experiment.
Support
- Xiaomi Router 3 (R3)