Commit graph

197 commits

Author SHA1 Message Date
prash3r
4eebb17291 moves influxDB integration into extensions folder 2023-04-19 16:47:48 +02:00
prash3r
f01bdb94bd implements the log_data() hook 2023-04-19 14:07:26 +02:00
avollkopf
37203dd93e uncomment 'break' in listening -> does not help to shutdown faster 2023-03-26 15:22:44 +02:00
avollkopf
b0406a4de8 cancelling also mqtt listening on cacnellederror 2023-03-26 11:36:18 +02:00
avollkopf
3768a77dfe added soome additional info on cancelled task 2023-03-25 19:15:26 +01:00
avollkopf
bcf9b3e06b improved handling in cancelling the mqtt subscription 2023-03-25 18:50:36 +01:00
avollkopf
9a8b0ca30f separate influxdb write to async routine (test) 2023-03-24 18:58:35 +01:00
Maxim Strinzha
c59931dfc1 InfluxDB: support non-ASCII symbols in sensor names. Fix for InfluxDB Cloud 2023-03-19 16:10:01 +03:00
Maxim Strinzha
03d1521c5e InfluxDB: support non-ASCII symbols in sensor names 2023-03-18 16:39:35 +03:00
avollkopf
7aecdac6a7 change in influxdb address requirements 2023-03-13 07:14:26 +01:00
avollkopf
2c13b3c62f catch nen existing logfile for analytics page 2023-03-08 21:39:07 +01:00
avollkopf
679d10d4dc newer pandas in requirements 2023-01-29 12:26:03 +01:00
avollkopf
90f94525be trying to fix dleetion of logfiles via analytics page 2023-01-28 16:34:09 +01:00
avollkopf
56ec309dab transfer guiversion to gui 2023-01-27 12:26:55 +01:00
avollkopf
366d6cbe91 Improved handling of missing or corrupt step_data and fermenterstep_data files at startup 2023-01-26 17:43:19 +01:00
avollkopf
47e3bcb529 added alarm to httpsensor on timeout 2023-01-22 16:37:10 +01:00
avollkopf
4ddc9690ef added timeout parameter to notificartion controller for potential later usage in UI 2023-01-20 21:26:40 +01:00
avollkopf
2429ea63d1 some fixes in tests and parameter for influxdb measurement name 2023-01-20 17:31:23 +01:00
avollkopf
2d5ca55718 add unique client id for mqtt broker 2023-01-15 09:33:11 +01:00
avollkopf
7f76645b05 adapted sattelite_controller init to upcomming asyncio-mqtt requirements 2023-01-15 08:25:01 +01:00
avollkopf
4dd20ff985 partial update for sattelite controller to adapt to future requirements of asyncio-mqtt
Still some additional work required
2023-01-08 12:05:17 +01:00
avollkopf
cde20f647d fix notify on error 2022-12-02 20:25:27 +01:00
avollkopf
9f655c9393 Add parameter for Notify on Error 2022-12-02 20:05:30 +01:00
lopelex
4e234f4753 add hop text 2022-11-05 12:57:44 +01:00
avollkopf
8b2e0fb1d8 avoid error logging / notification for Notification step w/o Sensor definittion 2022-10-22 14:08:59 +02:00
Alexander Vollkopf
0b0ee24ab4
Merge branch 'development' into hop-name-test 2022-10-22 12:36:15 +02:00
lopelex
2ebc659bcf fix conflicts with #62 2022-10-03 16:28:42 +02:00
Alexander Vollkopf
92ddb2a45a
Revert "add hop name to BoilStep and UploadController" 2022-10-03 12:04:42 +02:00
Alexander Vollkopf
cb60b6d5c5
Merge branch 'development' into hop_text 2022-10-03 11:37:19 +02:00
Alexander Vollkopf
8c8d09ed72
Merge pull request #65 from prash3r/notify-log-events
notify clients on log events worse than INFO
2022-10-02 16:15:08 +02:00
Alexander Vollkopf
24ae03405c
Merge pull request #63 from prash3r/kbh-whirlpool-step
imports the whirlpool hop addition kbh with timer
2022-10-02 16:10:23 +02:00
lopelex
d1c38af3ae add First_Wort_text and fix error in json_recipe_creation #367 2022-09-29 12:11:06 +02:00
lopelex
2bc5bbb183 add hop text 2022-09-28 16:56:14 +02:00
prash3r
e7aa0a64c7 repairs log_file_controller.py.
I seem to have exidentally search and replaced some
needed glob.glob calls when adding dinamic log location,
which should now be repaired.
There also was a mysterious cbpi_dashboard_1.json appearing
in the wrong folder which now inside the dashboard folder.
I also figured out how to run tests locally,
they should now respect the dynamic folder paths.
2022-09-24 15:19:34 +02:00
prash3r
fea1ba04f0 corrected some more places where ./logs was used
instead of the dynamically given logs path.
2022-09-16 18:56:52 +02:00
prash3r
6bf1b14a36 notify clients on log events worse than INFO 2022-09-16 16:54:33 +02:00
prash3r
cfc876f2f4 KBH import with and without whirlpool additions 2022-09-14 15:08:59 +02:00
prash3r
f924e1a683 adds journalctl arg '--output cat' (log exports),
because cbpi already writes timestamps into the logs
and we dont need two timestamps when exporting.
This commit also reverts to using the same formatter for all logHandlers.
2022-09-14 13:54:58 +02:00
prash3r
c56d7ccc51 adds --logs-folder-path as cli option 2022-09-12 21:54:51 +02:00
prash3r
4952861a58 logs folder is next to the active config folder.
It was wherever 'cbpi setup' was run from.
and if no config folder path is provided its still the same.
This also adds a file based global logger placed in the logs folder.
The sensor loggers respect the new logs folder location.
2022-09-09 18:44:48 +02:00
prash3r
2076c66eb5 uploaded restored_config.zip is now placed in provided config folder and not the working directory where it will be ignored on restart 2022-09-03 13:43:17 +02:00
prash3r
76b11a7247 imports the whirlpool hop addition kbh with timer
previously the whirlpool step has been ignored when importing from a kbh database.
on creation the whirlpoolstep would only be on a hardcoded 15 minute timer.
I added the optional timer as argument to create_Whirlpool_Cooldown().
And made use of it for negative hops timer imported from KBH.
For KBH databases this is valid because if the hops timer value is negative it can only be the whirlpool timer
and the value is the time that is set for the brewing device for getting from boil to below 80°C.
I did only test the data and not the functionality,
but it sucessfully replaces the hardcoded "15" timer with the value
from the first whirlpool hop addition while getting rid of the sign.
2022-09-02 18:17:08 +02:00
avollkopf
ac3c880523 actor update api for WS 2022-08-31 20:46:27 +02:00
avollkopf
9c6ede13f1 change upload controller to support kbh 2.4.0 hop timer categories 2022-08-14 13:39:08 +02:00
phylax2020
c0997ff357 Add setting parameter for dashboard pipe animation slow down 2022-07-21 10:27:54 +02:00
phylax2020
16190124d0 hopefully this commit works! 2022-07-19 21:03:17 +02:00
phylax2020
41018182de Merge branch 'master' of https://github.com/phylax2020/craftbeerpi4
# Conflicts:
#	cbpi/controller/log_file_controller.py
2022-07-19 20:54:34 +02:00
phylax2020
ff0ba76cc0 log_file_controller added again 2022-07-19 20:47:11 +02:00
phylax2020
752d9a27b6 delete log_file_controller.py. will be later restored 2022-07-19 20:45:26 +02:00
phylax2020
313f9d4b39 Set default logfile size to 100000 bytes 2022-07-19 20:28:36 +02:00