2017 © Pedro Peláez
 

library miio

Control Xiaomi Mi Home devices

image

ggottwald/miio

Control Xiaomi Mi Home devices

  • Tuesday, June 12, 2018
  • by CoreTex
  • Repository
  • 0 Watchers
  • 2 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

MiIO

With this package you can control Xiaomi Mi Home devices that implement the miIO protocol, such as the Mi Robot Vacuum and other Smart Home devices. These devices are commonly part of what Xiaomi calls the Mi Ecosystem which is branded as MiJia., (*1)

Example

Get device start cleaning and get status of mi robot vacuum, (*2)

// mir robot vacuum
$robotDeviceName = 'mirobot_vacuum';
$robotToken = '00112233445566778899aabbccddeeff';

$miRobot = Factory::miRobot($robotDeviceName, $robotToken);

// start cleaning
$miRobot->start();

// get status
var_export($miRobot->status());

Set power of mi air purifier, (*3)

// air purifier
$purifierDeviceName = 'air_purifier';
$purifierToken = '00112233445566778899aabbccddeeff';

$purifier = Factory::airPurifier($purifierDeviceName, $purifierToken);

$purifier->setPower(true);

More information about the protocol and commands can be found at https://github.com/marcelrv/XiaomiRobotVacuumProtocol, (*4)

License

This project is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE - see the LICENSE.md file for details., (*5)

The Versions

12/06 2018

dev-master

9999999-dev

Control Xiaomi Mi Home devices

  Sources   Download

GNU Affero General Public License

The Requires

 

by Götz Gottwald

12/06 2018

v0.6

0.6.0.0

Control Xiaomi Mi Home devices

  Sources   Download

GNU Affero General Public License

The Requires

 

by Götz Gottwald

22/02 2018

v0.5

0.5.0.0

Control Xiaomi Mi Home devices

  Sources   Download

GNU Affero General Public License

The Requires

 

by Götz Gottwald

21/02 2018

v0.4

0.4.0.0

Control Xiaomi Mi Home devices

  Sources   Download

GNU Affero General Public License

The Requires

 

by Götz Gottwald

19/02 2018

v0.3

0.3.0.0

Control Xiaomi Mi Home devices

  Sources   Download

GNU Affero General Public License

The Requires

  • php >=7.0

 

by Götz Gottwald

18/02 2018

v0.2

0.2.0.0

Control Xiaomi Mi Home devices

  Sources   Download

GNU Affero General Public License

The Requires

  • php >=7.0

 

by Götz Gottwald

17/02 2018

v0.1

0.1.0.0

Control Xiaomi Mi Home devices

  Sources   Download

GNU Affero General Public License

The Requires

  • php >=7.0

 

by Götz Gottwald