Commit graph

69 commits

Author SHA1 Message Date
avollkopf
2aa5feceb4 Added upload controller
Integrated recipe file upload into cbpi
- Controller and http endpoint added
--> No extension required
2021-06-06 13:00:55 +02:00
avollkopf
b3d87bc027 Added api path for recipe creation
- Added path parameter in config.json for settings
- If empty, 'upload' will be used per default as api path
- If something is entered, a different api path will be used for the creation of recipes.
-> this allows the standard usage of the recipe upload and selection via cbpi4, but adds the possibility that custom plugins can be written to create cbpi recipe flows from the uploaded files
*********************
+ some prep work to create the http endpoints
2021-05-30 11:58:18 +02:00
avollkopf
e187c9f047 Added Recipeupload and creation for beerxml and kbh database
- Beerxml files and kbh V2 database can be uploaded to cbpi via webinterface.
- Recipes can be created from the xml file or the kbh database
- cbpi setup needs to be run to create upload folder
- config.json needs to be updated manually on an existing installation ro add the step config.
--> this could be added automatically via the extension. However, needs to be discussed with Manuel.
Tip: cbpi4-RecipeImport Plugin could be installed , activated and removed later as this plugin adds the parameters during startup including creation of the upload folder
2021-05-26 21:00:35 +02:00
avollkopf
5669bb900e Support beerxml and kbh database upload 2021-05-22 18:25:57 +02:00
avollkopf
8608f08fd9 Update __init__.py
Updated property description. No functional change
2021-05-02 10:03:25 +02:00
avollkopf
175f053f9d Added Steps and Step Functions 2021-04-20 21:20:03 +02:00
avollkopf
14b08e1ddb Fix on actions, simplification on hop alarms 2021-04-17 11:11:14 +02:00
avollkopf
0828aeacac Simplified offset handling
Change is somehow dependent dependent on issue #68 with corresponding change in dataclasses.py.
But this is an example on how the change in dataclasses.py would allow to simplify the props handling in case of empty values.
2021-04-11 12:30:34 +02:00
avollkopf
e89c42f5dd Added offset and Temp Unit support
- Offset can be specified for each newire sensor
- Sensor is reporting temp in C or F depending on server settings
2021-04-09 10:36:06 +02:00
avollkopf
5cb0ce76de Added Hop alarms to boil step 2021-03-30 21:00:17 +02:00
avollkopf
06bc69b367 Fixed back hysteresis
To addres issue #44
2021-03-30 07:46:41 +02:00
Martin
6dc1c22e20 Fix[extension]: mqtt_sensor did not work with Mash_profile
Error NoneType object as no attribute 'get'
2021-03-18 19:27:03 +01:00
Martin
919d6c8e93
Update cbpi/extension/mashstep/__init__.py
Co-authored-by: Marcel Schulz <schullebernd@googlemail.com>
2021-03-15 22:09:23 +01:00
Martin
aabe76d15d optimize import 2021-03-15 19:55:59 +01:00
Martin
d8b083003d fix issues #55 2021-03-15 19:54:22 +01:00
Martin
de38fbc80c fix: error, i put the modification on bad class 2021-03-15 17:21:57 +01:00
Martin
93a07ac613 Fix: issuses #56 2021-03-15 13:02:35 +01:00
Martin
12d487bd3a Fix: issuses #57 2021-03-15 12:59:55 +01:00
Manuel Fritsch
12857c73ef "mqtt added" 2021-03-14 11:52:46 +01:00
Manuel83
9c3a1f564b
Merge pull request #47 from Prash3r/master
BasicController manages state of item.instance.running
2021-03-11 22:23:44 +01:00
Manuel83
7611e1d167
Merge pull request #48 from BrauereiAlt/master
Activate Timer in Boil and Mash Steps
2021-03-11 22:21:20 +01:00
BrauereiAlt
07024d7fc3
Add files via upload 2021-03-07 22:54:58 -08:00
prash3r
a9546bc40c BasicController start() and stop() functions manages item.instance.running state
Also changes usage of 'while True' inside run() functions to 'while self.running == True'
2021-03-08 01:34:13 +01:00
Manuel Fritsch
7a5e852121 "save props for steps" 2021-03-07 23:52:20 +01:00
Manuel Fritsch
51c8f82834 "notificaton added" 2021-03-07 22:11:25 +01:00
Manuel83
0371e74b4a
Merge pull request #42 from michluk/dev
fix HttpSensor
2021-03-07 19:26:46 +01:00
BrauereiAlt
03a30e70ce
Add files via upload 2021-03-06 17:05:19 -08:00
Lukas
1ddfc56f15
Update __init__.py 2021-03-04 15:07:56 +01:00
Lukas
7c94833634
Update __init__.py 2021-03-04 14:49:10 +01:00
Mich, Lukas
5874b0bda5 fix HttpSensor 2021-03-04 13:06:57 +01:00
Manuel Fritsch
c142380bc6 "add seconds to timer at runtime" 2021-03-03 07:37:54 +01:00
Manuel Fritsch
a55ed2a5e5 "recipe book added" 2021-02-27 20:09:19 +01:00
Manuel Fritsch
79fd2b8727 "fix actor satellite issue" 2021-02-20 12:59:23 +01:00
Manuel Fritsch
c78ab29b85 "fix actor instance error" 2021-02-20 09:24:03 +01:00
Manuel Fritsch
f1bcd1e543 "fix static config" 2021-02-19 22:24:15 +01:00
Manuel Fritsch
fb85d67fcf "Small bug fixed. Step Actions added on server part" 2021-02-17 23:52:54 +01:00
Manuel Fritsch
93aea0c063 "added dataclassed" 2021-02-16 20:37:51 +01:00
Manuel Fritsch
2468dab6dd "fix mash step time to minutes" 2021-02-12 00:03:18 +01:00
Manuel Fritsch
5f18e7a7b8 "Hysteresis added" 2021-02-10 22:11:35 +01:00
Manuel Fritsch
bd311edccd "mash profiles added" 2021-02-10 07:38:55 +01:00
Manuel83
ab14111787
Merge pull request #16 from avollkopf/master 2021-02-10 07:21:01 +01:00
avollkopf
ba988fbbb5 Fix for gpioactor
definition of mode --> GPIO.BCM
2021-02-09 18:48:45 +01:00
Manuel Fritsch
73ba659c59 adding description 2021-02-07 13:08:55 +01:00
Manuel Fritsch
3a39719957 adding description 2021-02-07 13:08:13 +01:00
avollkopf
9caca9074a Change Inverted logic for GPIO Actor
If sensor is set to active, GPIO pin should be high under normal conditions.
If inverted, GPIO pin should be low when sensor is active.
This logic is aligned with the old craftbeerpi3 GPIOSystem plugin
2021-02-07 12:07:48 +01:00
Manuel Fritsch
68fc73cc25 change dummy logic 2021-02-06 20:09:01 +01:00
Manuel Fritsch
b2fe0c8453 setup one wire added 2021-02-06 14:11:30 +01:00
Manuel Fritsch
4fe47d5a31 sensor methods added 2021-02-06 00:40:55 +01:00
Manuel Fritsch
0a3e272f85 fix props for plugin 2021-02-02 21:24:29 +01:00
Manuel Fritsch
64dea90e3b fix props for plugin 2021-02-02 21:22:59 +01:00