Collect an print different data like (temperature, humidity, electric consumption ...)
Go to file
Chteufleur 8378253574 Add xmpp ping periodically in order to keep connection alive. 2017-01-14 10:43:00 +01:00
conf Add xmpp ping periodically in order to keep connection alive. 2017-01-14 10:43:00 +01:00
controllers Token generation on client side (javascript). 2017-01-12 08:28:03 +01:00
models Add xmpp ping periodically in order to keep connection alive. 2017-01-14 10:43:00 +01:00
routers New page to administrate notifications. 2017-01-06 22:28:20 +01:00
sensors Modification of teleinfo sensor module to catch info for base option. 2016-12-16 21:59:40 +01:00
static Add the possibility to change JID of user. 2016-12-29 11:51:25 +01:00
tests Initialisation of the project 2015-09-17 20:07:41 +02:00
views Token generation on client side (javascript). 2017-01-12 08:28:03 +01:00
watchlog go fmt + script. 2016-12-22 22:20:04 +01:00
xmpp Add xmpp ping periodically in order to keep connection alive. 2017-01-14 10:43:00 +01:00
.gitignore Init commit 2015-09-17 19:44:49 +02:00
LICENSE Add License and complete Readme 2015-11-10 22:30:02 +01:00
README.md Fix xmpp link into readme 2016-07-15 09:12:36 +02:00
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.