Collect an print different data like (temperature, humidity, electric consumption ...)
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.
 
 
 
 
 
 
Chteufleur 03d2e0fe8a Add the possibility to disable a notification. 7 years ago
conf Add XMPP server address in config file. 7 years ago
controllers Add the possibility to disable a notification. 7 years ago
models Add the possibility to disable a notification. 7 years ago
routers New page to administrate notifications. 7 years ago
sensors Modification of teleinfo sensor module to catch info for base option. 7 years ago
static Add the possibility to change JID of user. 7 years ago
tests Initialisation of the project 8 years ago
views Add the possibility to disable a notification. 7 years ago
watchlog go fmt + script. 7 years ago
xmpp Add XMPP server address in config file. 7 years ago
.gitignore Init commit 8 years ago
LICENSE Add License and complete Readme 8 years ago
README.md Fix xmpp link into readme 7 years ago
gofmt.sh Add the possibility to change JID of user. 7 years ago
main.go Add xmpp ping periodically in order to keep connection alive. 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.