You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
7 years ago | |
---|---|---|
conf | 7 years ago | |
controllers | 7 years ago | |
models | 7 years ago | |
routers | 7 years ago | |
sensors | 7 years ago | |
static | 7 years ago | |
tests | 8 years ago | |
views | 7 years ago | |
watchlog | 7 years ago | |
xmpp | 7 years ago | |
.gitignore | 8 years ago | |
LICENSE | 8 years ago | |
README.md | 7 years ago | |
gofmt.sh | 7 years ago | |
main.go | 7 years ago |
README.md
DataHouse
Collect an print different data like (temperature, humidity, electric consumption ...) and manage relays.
Compilation
Dependencies
- Beego, a web framework.
Download the CA at https://kingpenguin.tk/ressources/cacert.pem, then edit your .gitconfig and add the following lines
[https "https://git.kingpenguin.tk"]
sslCAPath = /path/to/CA
Then go into your $GOPATH directory and go get the code.
go get git.kingpenguin.tk/chteufleur/datahouse.git
Configure
Configure the web server by editing the conf/app.conf
file.
Change the runmode from dev
to prod
, specify information for database access and change the SessionHadhKey to whatever you whant.
Sensors
Sensors code and schemas can be found in the sensors file. It requires Arduino IDE with ESP8266 module. More information on ESP8266 Github.
Help
To get any help, please visit the XMPP conference room at datahouse@muc.kingpenguin.tk with your prefered client, or with your browser.