Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.42 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.42 KB

HS100 Status Bar App

A simple status bar app for controlling an HS100 Smart Plug

I have a very noise air conditioning unit in my office that I have to turn off during conference calls. This is a small menu bar app that can control an HS100 smart plug. The air conditioner is plugged into the device, and I can now turn it on and off with a click.

The app is built with Rumps. It's a great library for putting together status bar apps for OSX. It's really quite easy to setup simple applications. Be sure to check the examples, there's quite a lot you can do with it.

The HS100 device doesn't have a published API, but with some excellent work from the community, it's quite easy to address and control. Please see the references section for more information.

Build

Use the build.sh file to run a new build. The IP of the device is currently hard coded into the ac_control.py file.

Run

The build will go to ./dist/ac_control.app. Run this and you'll get a new status bar icon that can control the device.

screenshot

References