Skip to content

omoyemi23/home-automation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home Automation

CircleCI

Distributed home automation system written in a variety of languages. Largely a learning opportunity rather than a production-ready system.

API Specification

All responses will have the form:

{
    "data": "Mixed type holding the content of the response"
}

Individual service's READMEs will only detail the expected value of the data field.

Errors

An error will be indicated by a non-2xx status code. The response will include a message.

{
    "message": "Description of what went wrong"
}

Controllers

Controllers must implement a standardised interface for fetching and updating device state.

GET service.controller.x/device/<device-identifier>

  • 200: success
{
    "identifier": "table-lamp",
    "name": "Table Lamp",
    "type": "light",
    "controller_name": "service.controller.hue",
    "state": {
        "brightness": {
            "type": "int",
            "min": 0,
            "max": 254,
            "interpolation": "continuous",
            "value": 100
        }
    }
}

About

Distributed home automation system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 30.3%
  • JavaScript 25.6%
  • Python 14.9%
  • Vue 10.1%
  • Dockerfile 6.1%
  • Shell 5.2%
  • Other 7.8%