Project

miwifi

0.0
No release in over a year
Provides authentication methods as well as some simple API calls
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.2.33
>= 0
~> 5.0
~> 13.0
 Project Readme

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

  1. Authenticate to GitHub Packages

  2. 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)