Git Product home page Git Product logo

grengate's Introduction

grengate

Apple HomeKit gateway for Grenton home automation systems, written in GO.

Based on great https://github.com/brutella/hc framework.

what it does

It is a gateway between Grenton home automation system and HomeKit. In other words: it makes possible to controll Grenton devices in Apple HomeKit system.

Of course other things are needed:

what is needed

  1. Device with grengate program running
  2. Grenton system
  3. Grenton GATE module (HTTP Gate)
  4. Lua script running on Grenton Gate module (provided here, read below)
  • some configuration

configuration

grengate

linux service

Creating user for the service:

sudo useradd -r -s /bin/false grengate

Example config for linux/unix service using systemd (to put into /etc/systemd/system):

[Unit]
Description=Grengate
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=5
User=grengate
WorkingDirectory=/srv/grengate
ExecStart=/srv/grengate/grengate -config /srv/grengate/config.json

[Install]
WantedBy=multi-user.target

Enabling service, so it will run on system startup:

sudo systemctl enable grengate

grenton GATE

http listener

lua script

changelog

v0.3

Added thermostat object, did some code refactor.

v0.2

No more js Homebridge! Using https://github.com/brutella/hc package it is a standalone app acting as HomeKit accessory and connecting to Grenton system.

So far only simple Light object present, using only Grenton DOUT.

v0.1

First working version, it is a queue between node.js Homebridge and Grenton Gate. Gate module simply couldn't keep up with many http requests, so I made this go app.

grengate's People

Contributors

hubertat avatar

Watchers

 avatar

Forkers

mcwalina

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.