Commit graph

682 commits

Author SHA1 Message Date
Philipp Grathwohl
d80486abd0 Revert to python v3.7 to increase build time on gh actions 2021-12-04 11:45:53 +01:00
Philipp Grathwohl
7413f79d6e Extend exception messages for warning logs 2021-12-03 13:26:18 +01:00
Philipp Grathwohl
f337cb8e97 Add generic and Tasmota specific MQTT actors 2021-12-03 13:26:12 +01:00
Alexander Vollkopf
204b02106d
Merge pull request #13 from papauorg/feature/no-sudo
Avoid root when installing cbpi in docker container
2021-12-03 07:44:44 +01:00
Philipp Grathwohl
623711e772 Increase possible caching on docker file creation 2021-12-03 00:35:45 +01:00
Philipp Grathwohl
0c380d5912 Avoid root when installing cbpi 2021-12-02 23:40:46 +01:00
Alexander Vollkopf
127354c834
Merge pull request #12 from avollkopf/development
Merge from development
2021-12-02 15:36:14 +01:00
avollkopf
80bdac45ce some fixes for actor power
- Actor used to set power to 100 eventhough target was 0
- moved chromium.desktop file to config folder -> easier available for users and potential to enable chromium desktop via cbpi commandline in future
2021-12-02 14:48:39 +01:00
Alexander Vollkopf
2ebf9f3245
Merge pull request #10 from papauorg/feature/update-readme
Update readme to include more info about the project
2021-12-01 07:14:46 +01:00
Philipp Grathwohl
8ff0ebddf3
Remove Docker details from readme
This information should be placed in the documentation page.
2021-11-30 13:24:52 +01:00
Philipp Grathwohl
0dd8bf5074 Update readme to include more info about the project 2021-11-29 17:16:35 +01:00
Alexander Vollkopf
6c4561f011
Merge pull request #9 from papauorg/feature/improve-ci
Improve CI build and fix docker build issue
2021-11-28 15:50:10 +01:00
Philipp Grathwohl
57be4fe621 Improve job names of build pipeline 2021-11-28 13:38:46 +01:00
Philipp Grathwohl
603764cdcc Use full python image to avoid build errors 2021-11-28 13:33:42 +01:00
Philipp Grathwohl
717f4da183 Run build on PRs to validate changes
To avoid a mess, do not publish packages on PR builds.
2021-11-28 13:33:36 +01:00
Philipp Grathwohl
b7a0f0ea24 Build craftbeerpi4 package via github artifacts 2021-11-28 13:33:36 +01:00
Alexander Vollkopf
35ea3b0f7a
Merge pull request #6 from papauorg/feature/docker-image
Build docker image for master and development branches
2021-11-28 12:49:33 +01:00
Alexander Vollkopf
4d11e4eecd
Merge pull request #7 from avollkopf/development
Merge Development into master
2021-11-28 11:00:55 +01:00
Philipp Grathwohl
ea9b4bb9b9 Add github action for creating a docker image
When building the master (or main) branch, create docker image
that uses the tag 'latest' and a that that consists of the version
number read from the __init__.py file.

Use label 'dev' for all other builds.
2021-11-27 16:55:40 +01:00
Philipp Grathwohl
16e32f57d8 Update docker file to install craftbeerpi
Also install cbpi-ui from avollkopf repository.
2021-11-27 16:55:03 +01:00
avollkopf
db39d82432 Some fixes
- command line cbpi plugins -> not interrupted if plugin has not been installed correctly
- round power value submitted by mqtt plugin
2021-11-26 22:54:55 +01:00
avollkopf
b2e61bee8e Changed setup.py for RPI.GPIO
RPi.GPIO 0.7.0 is causing an error if installed under bullseye and python 3.9
-> 0.7.1a4 solves the issue for now.
-> will be changed as soon as new RPi.GPIO release is comming out
2021-11-24 22:10:28 +01:00
avollkopf
3724f76faa mqtt sensor fix
- mqtt sensor is now also working after changing the configuration
- config.yaml accepts now also 'true' besides 'True' to activate mqtt
2021-11-23 17:33:58 +01:00
avollkopf
71897c8276 Some MQTT updates
- MQTT actor power change also if actor is off
- payload Filter for MQTT sensor
2021-11-22 17:33:46 +01:00
avollkopf
01386ef0da Update config.yaml 2021-11-22 16:11:24 +01:00
avollkopf
75ab9b96fc Added MQTT Actor and power setting 2021-11-22 16:09:09 +01:00
Alexander Vollkopf
5f63d4e5aa
Merge pull request #5 from avollkopf/master
bring master changes back to development
2021-11-21 19:31:49 +01:00
Alexander Vollkopf
2fa2c63a03
Merge branch 'development' into master 2021-11-21 19:31:19 +01:00
avollkopf
949219db06 minor fix in kettle controller 2021-11-21 19:19:19 +01:00
avollkopf
19f3a16154 minor bug fix
Error message showed up when no instance of kettle was active
2021-11-21 13:59:54 +01:00
avollkopf
a0e89fe4dc Update kettle controller/mashsteps 2021-11-20 11:13:51 +01:00
avollkopf
f9345a30d7 Minor fix on automode status
Automode status was not shown correctly after step finished if steps were in automode
2021-11-19 17:49:51 +01:00
Alexander Vollkopf
a8cda4721b
Merge pull request #4 from avollkopf/development
Merge from Development branch
2021-11-16 21:12:20 +01:00
avollkopf
2fca6dcdc9 Actor Power fixes 2021-11-15 20:18:33 +01:00
avollkopf
80a81c50a2 some tweaks for actor power settings 2021-11-11 11:22:13 +01:00
avollkopf
e1c1432f14 increased max upload size to 5 Mb for svg and config upload 2021-11-10 12:28:42 +01:00
avollkopf
6e3dc392b6 SVG upload functionality 2021-11-09 18:32:00 +01:00
avollkopf
40121e667e Experimental power mode for standard actor
Power = 100: standard on
Standard sampling time is 5 seconds.
if power is set to 50%, heating time is 2.5 sec and witing time (gpio off) is also 2.5 sec
Changing power to lower readings, wil reduce heating time within the 5 seconeds and increase waiting time
Increase of power results in longer heating times and reduced wait times
Sort of a poos men's PWM with a fix requency of 0.2 hz

This will reduce the complexity of all PID plugins.

Some additional tests and changes might be required for api.
2021-11-08 19:01:53 +01:00
avollkopf
5b0f351a98 Update __init__.py 2021-11-08 14:09:32 +01:00
avollkopf
2462f9329a Update on pwm test
-> set power action should now update also directly in dashboard
2021-11-08 14:04:28 +01:00
avollkopf
4c543b46f7 added power to actor dataclass 2021-11-06 15:15:11 +01:00
avollkopf
3bc70f8c7f PWM Actor test 2021-11-05 19:32:34 +01:00
Alexander Vollkopf
d594870528
Merge pull request #3 from avollkopf/development
Using BF StrikeTemp for MashIn if available
2021-11-04 07:13:40 +01:00
avollkopf
c43a0a25bf Fix for StrikeTemp in case you operate system in F
BF i sending all temps in C and striketemp needs to be converterd to F if cbpi4 is running in F
2021-11-03 12:53:34 +01:00
avollkopf
7c8351e068 Update __init__.py 2021-11-03 09:35:59 +01:00
avollkopf
326d24c48f BF StrikeTemp test and some fixes 2021-11-03 09:30:16 +01:00
avollkopf
ee2acda2e3 fixed issues with xml upload in case of non compatible characters 2021-10-28 18:35:00 +02:00
avollkopf
f8bd353f02 Added interim plugin list function 2021-10-16 14:22:04 +02:00
avollkopf
a81a365113 Update setup.py
RPi.GPIO installation only if system is based on raspberrypi
2021-10-09 10:53:40 +02:00
avollkopf
45c084360f Reverted mashsteps back
- last change caused some issues
2021-10-03 16:50:36 +02:00