smarthome

command module
v0.0.21-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2022 License: GPL-2.0 Imports: 21 Imported by: 0

README

Smarthome

Version: 0.0.22-beta

Go Build

The setup.json

Most of the configuration of the smarthome server can be achieved using the setup.json file. This file is scanned and evaluated at startup.

{
    "hardwareNodes": [
        {
            "name": "test raspberry pi",
            "url": "http://localhost:8070",
            "token": "smarthome"
        }
    ],
    "rooms": [
        {
            "id": "test_room",
            "name": "Test Room",
            "description": "This is a test room",
            "switches": [
                {
                    "id": "s1",
                    "name": "Lamp1"
                },
                {
                    "id": "s2",
                    "name": "Lamp2"
                }
            ],
            "cameras": [
                {
                    "name": "Test Camera",
                    "url": "https://mik-mueller.de/assets/foo.png"
                }
            ]
        }
    ]
}

Documentation

Overview

Smarthome: A completely self-built Smarthome-system written in Go https://github.com/MikMuellerDev/smarthome

Directories

Path Synopsis
core
server
api
services

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL