Skip to content

salamwaddah/lights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiJia lights API project

This is the source code and instructions to control Xiaomi Mi home devices using a PlayStation4 Controller.

  • index.js the Node.js server code
  • ps.py Python controller button mapping with Node.js endpoints

Why

While this doesn't have any practical value, it was a fun project! Beside the sense of achievement when I used the controller to switch off the light was amazing.

Aside from being my first Raspberry Pi project, this is purely to demonstrate how different technologies can work together.

Contributing

Please do. You probably write a better JavaScript/Python than I do. I would love to see what kind of combinations and actions you can make with the controller.

You might also have a look at the MiJia IO library used to control Mi home devices

Resources

About

The Mijia lights control project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published