Coder Social home page Coder Social logo

restate-go's Introduction

restate-go

A cloudless home automation solution powered by Golang.

Currently supported device types:

Device Description
alert Pushover message forwarding
meross Control Meross bulb and sockets
snowdon Control Snowdon II soundbars with the Snowdon-II-wifi mod
tvcom Control LG5000 TVs over a websocket serial bridge
wol Control Wake-On-Lan enabled devices, power state can be toggled on devices utilising Action-On-LAN

Configuration

Parameter Description
apiVersion version string to be prepended to all endpoint routes
devices array of device objects

devices

alert

Parameter Description
name Unique identifier for the alert device.
timeoutMs Timeout value in milliseconds for the alert operation.
token Pushover application token.
user Pushover user token.

meross

Parameter Description
name Unique identifier for the device.
deviceType Type of meross device: "bulb" or "socket".
timeoutMs Timeout value in milliseconds for communication.
host IP address of the device.

snowdon

Parameter Description
name Unique identifier for the Snowdon device.
timeoutMs Timeout value in milliseconds for communication.
host IP address of the Snowdon device.

tvcom

Parameter Description
name Unique identifier for the tvcom device.
timeoutMs Timeout value in milliseconds for communication.
host IP address of the tvcom websocket bridge

wol

Parameter Description
name Unique identifier for the WOL device.
timeoutMs Timeout value in milliseconds for the WOL operation.
host IP address of the target machine.
macAddress MAC address of the target machine.

Example

apiVersion: v2
devices:
- type: meross
  config:
    name: "lamp"
    deviceType: bulb
    timeoutMs: 1600
    host: "10.0.0.140"
- type: meross
  config:
    name: "plug"
    deviceType: socket
    timeoutMs: 1600
    host: "10.0.0.150"
- type: tvcom
  config:
    name: tvcom
    timeoutMs: 1000
    host: "10.0.0.161"
- type: snowdon
  config:
    name: snowdon
    timeoutMs: 10000
    host: "10.0.0.160:8080"
- type: wol
  config:
    name: pc
    timeoutMs: 100
    host: "10.0.0.100"
    macAddress: "00:11:22:33:44:55"
- type: alert
  config:
    name: alert
    timeoutMs: 5000
    token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    user: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

restate-go's People

Contributors

kennedn avatar

Watchers

 avatar

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.