Move stuff around

Esse commit está contido em:
Lucas Verney 2017-02-27 22:34:15 +01:00
commit 8b39bda099
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: 75B45CF41F334690
96 arquivos alterados com 14 adições e 23 exclusões

Ver arquivo

@ -1 +0,0 @@
#!/bin/sh

Ver arquivo

@ -1,20 +0,0 @@
#!/bin/sh
echo "Starting the webserver…"
screen -dmS visu && screen -S visu -p 0 -X stuff "while true; do python3 visu.py; done$(printf \\r)"
echo "Starting receive script…"
screen -dmS receive && screen -S receive -p 0 -X stuff "while true; do ./receive; done$(printf \\r)"
echo "Done !\n"
sleep 0.2
echo "Starting processing script…"
screen -dmS process && screen -S process -p 0 -X stuff "while true; do python3 process.py; done$(printf \\r)"
echo "Done !\n"
while ! curl -s --head http://localhost:8080 2>&1 > /dev/null; do
echo "Webserver is starting…"
sleep 1
done
echo "Webserver started !\n"
echo "Ready to start !"

Ver arquivo

@ -1 +0,0 @@
#!/bin/bash

Ver arquivo

@ -4,3 +4,16 @@ CitizenWatt-refactor
This is an updated version of [CitizenWatt](http://citizenwatt.paris/) code,
aiming to be a backup of available stuff, with minor updates for anyone
willing to build its own.
CitizenWatt aimed at building a personal DIY energy consumption meter,
inspired by [OpenEnergyMonitor](https://openenergymonitor.org/).
I recently came across cloned CitizenWatt repositories and wanted to make some
lifting of the code, while I set it back in place at home. I also found out
that OpenEnergyMonitor was considerably nicer than it used to be, especially
from a UX point of view. This aims at being an up to date merge of
OpenEnergyMonitor and CitizenWatt, to be the best combination possible at the
moment, in my opinion.
This is part of a home automation process, hence the will to avoid installing
pre-compiled images which are not easily extensible.

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 4.7 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 4.7 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 3.0 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 3.0 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 3.8 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 3.8 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 3.2 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 3.2 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 3.6 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 3.6 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 2.7 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 2.7 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 4.7 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 4.7 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 5.9 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 5.9 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 5.6 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 5.6 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 2.9 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 2.9 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 11 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 11 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 3.3 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 3.3 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 3.7 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 3.7 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 9.0 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 9.0 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 3.0 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 3.0 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 3.1 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 3.1 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 4.5 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 4.5 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 3.4 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 3.4 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 3.6 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 3.6 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 13 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 13 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 3.2 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 3.2 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 3.0 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 3.0 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 6.2 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 6.2 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 3.3 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 3.3 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 2.9 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 2.9 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 3.6 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 3.6 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 3.6 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 3.6 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 4.2 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 4.2 KiB

Ver arquivo

@ -749,7 +749,7 @@ def settings_post(db):
def update():
"""Handles updating"""
subprocess.Popen([os.path.dirname(os.path.realpath(__file__)) +
"/updater.sh"])
"/updater.sh"]) # TODO
redirect("/settings")

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 82 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 82 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 108 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 108 KiB

Ver arquivo

Antes

Largura:  |  Altura:  |  Tamanho: 64 KiB

Depois

Largura:  |  Altura:  |  Tamanho: 64 KiB