Skip to content
garbage managing software, (currently only in spanish) we have several local nodes managing input/ouput materials, and a central administration server.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
backup
camera
extras
image
lib
logs
saves
.gitignore
.gitmodules
CHANGELOG.md
LICENSE
Makefile
README.md
bascula.cpp
bascula.h
bio.remote
bio.sqlite3
camera.cpp
camera.h
config.ini
costumer.cpp
costumer.h
database.cpp
database.h
driver.cpp
driver.h
formulario.cpp
formulario.h
generic_tools.cpp
generic_tools.h
ini.cpp
ini.h
inputForm.cpp
inputForm.h
loading.gif
mail.cpp
mail.h
main.cpp
mask1.cpp
mask10.cpp
mask10_data.h
mask10_slots.h
mask10_tools.h
mask1_slots.h
mask2.cpp
mask2_actualiza.h
mask2_data.h
mask2_slots.h
mask2_tools.h
mask3.cpp
mask3_slots.h
mask4.cpp
mask4_actualiza.h
mask4_data.h
mask4_slots.h
mask4_tools.h
mask5.cpp
mask5_actualiza.h
mask5_data.h
mask5_slots.h
mask5_tools.h
mask6.cpp
mask6_data.h
mask6_slots.h
mask6_tools.h
mask7.cpp
mask7_data.h
mask7_slots.h
mask7_tools.h
mask8.cpp
mask8_data.h
mask8_slots.h
mask8_tools.h
mask9.cpp
mask9_data.h
mask9_slots.h
mask9_tools.h
mask_tools.h
outputForm.cpp
outputForm.h
piResiduos.pro
piResiduos.pvproject
piResiduos.sh
pvapp.h
qtdatabase.cpp
qtdatabase.h
staff.cpp
staff.h
station.cpp
station.h
tableta.cpp
tableta.h

README.md

piResiduos

garbage managing software, (currently only in spanish) we have several local nodes managing input/ouput materials, and a central administration server. developed using pvbrowser(https://github.com/pvbrowser/pvb) SCADA framework.

dependencies

remote database connection and web administration page

piResiduos is developed for working with a central remote MySQL database in mind, you'll need a VPS and it's connections for tunneling the database (SSH) and being able to syncronize, update, share, etc.

Also there will be files app will backup via SSH tunneling.

You'll have to configure this connection in config.ini, in piResiduos.sh, in extra/scripts... files and in generic_tools.cpp (function int copy_files_to_remote_server(std::string folder_in_backup))

put the ssh key for example in extras/ .

for building the local database execute in terminal it's creations cript

sqlite3 bio.db < bio.sqlite3

remote server database structure

see file bio.remote.

hardware needed

It was first designed using a privative signing pad, it has been removed in this free version, now I think I would use a software signing pad using dual screens.

It uses scales, and we communicate it using a basic rs232 serial protocol, sending a command and receiving the weight. (we use boost, is easy to understand it protocol seeing source code) You can bypass it inserting plate by hand.

It uses privative cameras for taking plates from trucks, they are from a Spanish company bad for free software but also technical support, so we have developed our own library using it's http API. You can bypass it inserting plate by hand.

Compile and execute

It has been developed only for GNU/Linux, it's working now for real under ubuntu 16.04 (xenial)

Once dependencies are installed or compiled and linked.

qmake
make
sh piResiduos.sh

Happy Hacking!

license and copyright

This file is part of PiResiduos.

Copyright 2017-2019, Prointegra SL.

PiResiduos is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PiResiduos is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PiResiduos.
If not, see https://www.gnu.org/licenses/.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.