34 lines
1.2 KiB
Markdown
34 lines
1.2 KiB
Markdown
DataHouse
|
|
=========
|
|
|
|
Collect an print different data like (temperature, humidity, electric consumption ...) and manage relays.
|
|
|
|
|
|
## Compilation
|
|
### Dependencies
|
|
|
|
* [Beego](https://github.com/astaxie/beego), a web framework.
|
|
|
|
Download the CA at [https://kingpenguin.tk/ressources/cacert.pem](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.
|
|
```sh
|
|
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](https://github.com/esp8266/Arduino).
|
|
|
|
## Help
|
|
To get any help, please visit the XMPP conference room at [datahouse@muc.kingpenguin.tk](xmpp://datahouse@muc.kingpenguin.tk?join) with your prefered client, or [with your browser](https://jappix.kingpenguin.tk/?r=datahouse@muc.kingpenguin.tk).
|