Collect an print different data like (temperature, humidity, electric consumption ...)
Go to file
Chteufleur 03d2e0fe8a Add the possibility to disable a notification. 2017-01-17 20:23:02 +01:00
conf Add XMPP server address in config file. 2017-01-14 11:43:45 +01:00
controllers Add the possibility to disable a notification. 2017-01-17 20:23:02 +01:00
models Add the possibility to disable a notification. 2017-01-17 20:23:02 +01:00
routers New page to administrate notifications. 2017-01-06 22:28:20 +01:00
sensors
static Add the possibility to change JID of user. 2016-12-29 11:51:25 +01:00
tests
views Add the possibility to disable a notification. 2017-01-17 20:23:02 +01:00
watchlog
xmpp Add XMPP server address in config file. 2017-01-14 11:43:45 +01:00
.gitignore
LICENSE
README.md
gofmt.sh Add the possibility to change JID of user. 2016-12-29 11:51:25 +01:00
main.go Add xmpp ping periodically in order to keep connection alive. 2017-01-14 10:43:00 +01:00

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.