housecream

module
v0.0.0-...-55f5b86 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2017 License: AGPL-3.0

README

Housecream - home automation

logo Build Status Go Report Card

Housecream is an advanced home automation server aiming to give you unlimited control over your house.

Features

Architecture

Download

See github release page

Build / Run

Having go installed and $GOPATH set :

# go get github.com/n0rad/housecream
# cd $GOPATH/src/github.com/n0rad/housecream
# ./gomake
# ./dist/housecream-v0-$(go env GOHOSTOS)-$(go env GOHOSTARCH)/housecream -H data

what to do ?

  • how to handle manual data set directly by hand ? it has to trigger the rue engine and so have to processed like any other channel but at the same time we have to be able to set a channel endpoint directly too also this output set have to go to the rule engine too...

  • should we linked directly triggered from board to board ? this sohuld be better since it can work without housecream, but have to be codded direcrlt in the board strong board could be able to update code internalry to handle rules direclty...

  • restmcu

  • counter -> outpoint

  • X10 -> outpoint

IN : Have to store the value on event to remember current state OUT : Have to store the value on action to remember what was set //INOUT : Can get value to know where it is

channels

mail notification openWeatherMap restmcu slack solar timer todo trello value webhook cron exec serial X10 KNX hue http android push

manual simple counter internal

EIP

delay split reorder

lardy : 48.52,2.26

http://api.openweathermap.org/pollution/v1/co/{location}/{datetime}.json?appid={api_key} http://api.openweathermap.org/pollution/v1/co/48.5206306,2.2651702/current.json?appid=

type format

housecream_link_todo_count[name=] = 10 housecream_link_slack[direction=input] housecream_link_solar_phase[type=nautic,name=sun_status] = 1 housecream_link_restmcu_max[id=42,type=analogic,direction=input,name=out_temperature] = 1024 housecream_link_restmcu_min[id=42,type=analogic,direction=input,name=out_temperature] = 0 housecream_link_restmcu[id=42,type=analogic,direction=input,name=out_temperature] = 42

housecream_link_openweathermap_weather_id[name="orly"] = 300 housecream_link_openweathermap_temperature[name="orly"] = 280.32 housecream_link_openweathermap_pressure[name="orly"] = 1012 housecream_link_openweathermap_humidity[name="orly"] = 81 housecream_link_openweathermap_temp_min[name="orly"] = 279.15 housecream_link_openweathermap_temp_max[name="orly"] = 281.15 housecream_link_openweathermap_visibility[name="orly"] = 10000 housecream_link_openweathermap_wind_speed[name="orly"] = 4.1 housecream_link_openweathermap_wind_deg[name="orly"] = 80 housecream_link_openweathermap_cloud[name="orly"] = 90 housecream_link_openweathermap_sunset[name="orly"] = 1485794875 housecream_link_openweathermap_sunrise[name="orly"] = 1485762037

Directories

Path Synopsis
build
src/github.com/fzipp/gocyclo
Gocyclo calculates the cyclomatic complexities of functions and methods in Go source code.
Gocyclo calculates the cyclomatic complexities of functions and methods in Go source code.
src/github.com/golang/lint
Package lint contains a linter for Go source code.
Package lint contains a linter for Go source code.
src/github.com/golang/lint/golint
golint lints the Go source files named on its command line.
golint lints the Go source files named on its command line.
src/github.com/jteeuwen/go-bindata
bindata converts any file into managable Go source code.
bindata converts any file into managable Go source code.
src/github.com/kisielk/errcheck/internal/errcheck
Package errcheck is the library used to implement the errcheck command-line tool.
Package errcheck is the library used to implement the errcheck command-line tool.
src/github.com/kisielk/gotool
Package gotool contains utility functions used to implement the standard "cmd/go" tool, provided as a convenience to developers who want to write tools with similar semantics.
Package gotool contains utility functions used to implement the standard "cmd/go" tool, provided as a convenience to developers who want to write tools with similar semantics.
src/golang.org/x/tools/cmd/goimports
Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones.
Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones.
src/golang.org/x/tools/go/ast/astutil
Package astutil contains common utilities for working with the Go AST.
Package astutil contains common utilities for working with the Go AST.
src/golang.org/x/tools/go/buildutil
Package buildutil provides utilities related to the go/build package in the standard library.
Package buildutil provides utilities related to the go/build package in the standard library.
src/golang.org/x/tools/go/gcexportdata
Package gcexportdata provides functions for locating, reading, and writing export data files containing type information produced by the gc compiler.
Package gcexportdata provides functions for locating, reading, and writing export data files containing type information produced by the gc compiler.
src/golang.org/x/tools/go/gcimporter15
Package gcimporter15 provides various functions for reading gc-generated object files that can be used to implement the Importer interface defined by the Go 1.5 standard library package.
Package gcimporter15 provides various functions for reading gc-generated object files that can be used to implement the Importer interface defined by the Go 1.5 standard library package.
src/golang.org/x/tools/go/loader
Package loader loads a complete Go program from source code, parsing and type-checking the initial packages plus their transitive closure of dependencies.
Package loader loads a complete Go program from source code, parsing and type-checking the initial packages plus their transitive closure of dependencies.
src/golang.org/x/tools/go/types/typeutil
Package typeutil defines various utilities for types, such as Map, a mapping from types.Type to interface{} values.
Package typeutil defines various utilities for types, such as Map, a mapping from types.Type to interface{} values.
src/golang.org/x/tools/imports
Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary.
Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary.
pkg
api
storage/prometheus
The main package for the Prometheus server executable.
The main package for the Prometheus server executable.

Jump to

Keyboard shortcuts

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