This release is a pre-release and may not be stable for production use.
| Branch | Status |
|---|---|
| Master | |
| Development |
HECTOR 9000
Minimal Requirements
- RaspberryPi 3
- Debian bases Linux (to use installscript)
- Python 3.8
Prepare Raspberry
Activate I2C:
sudo raspi-config
Here go to "Interfacing Options" and Activate/Enable I2C
Install on RaspberryPi
First you have to clone the github repo of Hector
git clone https://github.com/H3c702/Hector9000.git
This repository doesn't contain a frontent. To get the original Hector9000 frontend see:
https://github.com/H3c702/Hector9000WebUI
To start the Hector software first move into the directory:
cd Hector9000
Then run this command to setup all necessary tools:
./setup.sh
Or run it with the option "-c" to preset the mqtt preconfigure for the WebUI
./setup.sh -c
To start the software run:
./start.sh
Add Drinks
To add a new Drink you have to modify the drinks.py file and add a new item into the drink_list array formatted as followed:
{
"name": "NAME OF DRINK",
"recipe": [
("ingr", "INGREDIENT1", AMOUNT1),
("ingr", "INGREDIENT2", AMOUNT2)
]
}
All strings in UPPERCASE are placeholders, all lowercase strings have to be used literally in the definition. The INGREDIENTx names are not cleartext but are identifiers referencing into the ingredients list below in the same file. The AMOUNTx values are numerical values of the corresponding ingredient's amount in grams.
At the moment there are only some ingredients but feel free to put in some new. You can add them in src/Hector/conf/database.py . Or you can use the WebUI when it is implemented.
A future extension might allow multi-language UIs.
Add Ingredients
To edit the Ingredients that can be used you can edit the database.py or use the tool in the tools folder.
python3 Hector9000/tools/Editingredients.py
Assigning valves
The available ingredients are also moved to the db and can initial be edited in the databas.py or over the WEB UI in the future.
For the meantime you can use the script "SetValveIng.py".
python3 Hector9000/tools/SetValveIng.py
Development on non-Hector hardware :
In the HectorServer.py you have to comment line :
#from HectorHardware import HectorHardware as Hector
and uncomment:
from HectorSimulator import HectorSimulator as Hector
Info
If you have some ideas or a fix or something else to make Hector better, don't be afraid to send us a pullrequest ;-)
Special thanks to
Metadata
Release files for Hector9000 0.1.0rc2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Hector9000-0.1.0rc2.tar.gz | 24.0 kB | Without provenance | Details for Hector9000-0.1.0rc2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Hector9000-0.1.0rc2-py3-none-any.whl | Python 3 | none | any | Details for Hector9000-0.1.0rc2-py3-none-any.whl |
Total release size: 57.3 kB
Release files / Hector9000-0.1.0rc2.tar.gz
| Download URL | Hector9000-0.1.0rc2.tar.gz |
|---|---|
| Size | 24.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a4271f40e55f222c020dc72765ba06e6ab108b73046d65eab4dff7789467a5a
|
|
BLAKE2b-256 checksum How to use checksums |
82a7892b58b199b707638a3543115ff4125823dd68b64269792651815ae0b24f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.9
|
Release files / Hector9000-0.1.0rc2-py3-none-any.whl
| Download URL | Hector9000-0.1.0rc2-py3-none-any.whl |
|---|---|
| Size | 33.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7f41b23be3eedca06723f5cecff71d08105f8ddf59b83280adbe70d711ab434
|
|
BLAKE2b-256 checksum How to use checksums |
45517eaaf95444c8c8903d41d4c14c22ed2906734d2383293a50a72a702510ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.9
|
Security for Hector9000 0.1.0rc2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.