CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

Benutzeravatar
Jannis0711
Posting Junior
Posting Junior
Beiträge: 26
Registriert: Donnerstag 23. Januar 2020, 15:58
Wohnort: Ludwigsburg

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#501

Beitrag von Jannis0711 »

Hallo zusammen,

ich wollte jetzt auch mal endlich von cbpi3 auf 4 upgraden aber bekomme es einfach nicht gestartet.

Inzwischen hab ich alles probiert:

manuelle installation development und normal und die beiden fertigen images.

Cbpi4 startet aber bricht dann immer wieder ab. Aktuell mit dem fertigen image 2023_03_cbpi4_1_0_ui_0_3_2.img: Erst hat das LCDisplay plugin Probleme gemacht, dann habe ich das deinstalliert und jetzt bekomme ich folgende Fehlermeldung:

Code: Alles auswählen

Welcome to CBPi
---------------------
config folder path :   ./config
logs folder path   :   /home/pi/logs
START
2023-04-07:12:20:12,584 INFO     [craftbeerpi.py:103] Init CraftBeerPI
2023-04-07:12:20:12,587 INFO     [config_controller.py:20] Config folder path : /home/pi/config
2023-04-07:12:20:12,589 INFO     [eventbus.py:56] Topic #
2023-04-07:12:20:12,593 INFO     [log_file_controller.py:30] Log folder path  : /home/pi/logs
2023-04-07:12:20:13,650 INFO     [craftbeerpi.py:263] 
  _____            __ _   ____                 _____ _   _  _  __   ___   
 / ____|          / _| | |  _ \               |  __ (_) | || |/_ | / _ \  
| |     _ __ __ _| |_| |_| |_) | ___  ___ _ __| |__) |  | || |_| || | | | 
| |    | '__/ _` |  _| __|  _ < / _ \/ _ \ '__|  ___/ | |__   _| || | | | 
| |____| | | (_| | | | |_| |_) |  __/  __/ |  | |   | |    | |_| || |_| | 
 \_____|_|  \__,_|_|  \__|____/ \___|\___|_|  |_|   |_|    |_(_)_(_)___/  
                                                                          
                                                                          

2023-04-07:12:20:13,654 INFO     [craftbeerpi.py:264] www.CraftBeerPi.com
2023-04-07:12:20:13,654 INFO     [craftbeerpi.py:265] (c) 2021/2022 Manuel Fritsch / Alexander Vollkopf
2023-04-07:12:20:13,673 INFO     [plugin_controller.py:31] Trying to load plugin httpsensor
2023-04-07:12:20:13,686 INFO     [plugin_controller.py:31] Trying to load plugin mqtt_util
2023-04-07:12:20:13,692 INFO     [plugin_controller.py:31] Trying to load plugin mqtt_sensor
2023-04-07:12:20:13,698 INFO     [plugin_controller.py:31] Trying to load plugin FermenterHysteresis
2023-04-07:12:20:13,705 INFO     [plugin_controller.py:31] Trying to load plugin mashstep
2023-04-07:12:20:13,717 INFO     [plugin_controller.py:31] Trying to load plugin hysteresis
2023-04-07:12:20:13,723 INFO     [plugin_controller.py:31] Trying to load plugin FermentationStep
2023-04-07:12:20:13,732 INFO     [plugin_controller.py:31] Trying to load plugin ConfigUpdate
2023-04-07:12:20:13,775 INFO     [plugin_controller.py:31] Trying to load plugin gpioactor
2023-04-07:12:20:13,786 INFO     [plugin_controller.py:31] Trying to load plugin dummyactor
2023-04-07:12:20:13,794 INFO     [plugin_controller.py:31] Trying to load plugin dummysensor
2023-04-07:12:20:13,801 INFO     [plugin_controller.py:31] Trying to load plugin mqtt_actor
2023-04-07:12:20:13,811 INFO     [plugin_controller.py:31] Trying to load plugin onewire
2023-04-07:12:20:14,248 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-BLEHydrom == 0.0.5 
INITIALIZE TILT MODULE
2023-04-07:12:20:14,317 INFO     [plugin_controller.py:62] Plugin cbpi4-BLEHydrom loaded successfully
2023-04-07:12:20:14,325 INFO     [__init__.py:81] Starting Bluetooth connection
2023-04-07:12:20:14,326 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-BM_PID_SmartBoilWithPump == 0.1.6 
2023-04-07:12:20:14,328 INFO     [plugin_controller.py:62] Plugin cbpi4-BM_PID_SmartBoilWithPump loaded successfully
2023-04-07:12:20:14,332 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-DependentActor == 0.0.1 
2023-04-07:12:20:14,334 INFO     [plugin_controller.py:62] Plugin cbpi4-DependentActor loaded successfully
2023-04-07:12:20:14,337 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-Flowmeter == 0.0.4 
2023-04-07:12:20:14,341 INFO     [plugin_controller.py:62] Plugin cbpi4-Flowmeter loaded successfully
2023-04-07:12:20:14,345 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-GembirdUSB == 0.0.2 
2023-04-07:12:20:14,346 INFO     [plugin_controller.py:62] Plugin cbpi4-GembirdUSB loaded successfully
2023-04-07:12:20:14,350 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-GroupedActor == 0.0.5 
2023-04-07:12:20:14,351 INFO     [plugin_controller.py:62] Plugin cbpi4-GroupedActor loaded successfully
2023-04-07:12:20:14,356 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-GroupedPowerActor == 0.0.6 
2023-04-07:12:20:14,357 INFO     [plugin_controller.py:62] Plugin cbpi4-GroupedPowerActor loaded successfully
2023-04-07:12:20:14,361 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-KettleSensor == 0.0.6 
2023-04-07:12:20:14,363 INFO     [plugin_controller.py:62] Plugin cbpi4-KettleSensor loaded successfully
2023-04-07:12:20:14,367 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-PCF8574-GPIO == 0.0.4 
2023-04-07:12:20:14,369 INFO     [plugin_controller.py:62] Plugin cbpi4-PCF8574-GPIO loaded successfully
2023-04-07:12:20:14,372 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-PIDBoil == 0.0.9 
2023-04-07:12:20:14,374 INFO     [plugin_controller.py:62] Plugin cbpi4-PIDBoil loaded successfully
2023-04-07:12:20:14,377 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-PIDHerms == 0.0.4 
2023-04-07:12:20:14,379 INFO     [plugin_controller.py:62] Plugin cbpi4-PIDHerms loaded successfully
2023-04-07:12:20:14,383 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-PID_AutoTune == 0.0.10 
2023-04-07:12:20:14,384 INFO     [plugin_controller.py:62] Plugin cbpi4-PID_AutoTune loaded successfully
2023-04-07:12:20:14,388 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-PushOver == 0.0.7 
2023-04-07:12:20:14,390 INFO     [plugin_controller.py:62] Plugin cbpi4-PushOver loaded successfully
2023-04-07:12:20:14,393 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-buzzer == 0.0.3 
2023-04-07:12:20:14,395 INFO     [plugin_controller.py:62] Plugin cbpi4-buzzer loaded successfully
2023-04-07:12:20:14,398 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-hx711-loadcell == 0.0.4 
2023-04-07:12:20:14,400 INFO     [plugin_controller.py:62] Plugin cbpi4-hx711-loadcell loaded successfully
2023-04-07:12:20:14,404 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-iSpindle == 0.0.11 
2023-04-07:12:20:14,414 INFO     [plugin_controller.py:62] Plugin cbpi4-iSpindle loaded successfully
2023-04-07:12:20:14,418 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-pt100x == 0.1.3 
2023-04-07:12:20:14,419 INFO     [plugin_controller.py:62] Plugin cbpi4-pt100x loaded successfully
2023-04-07:12:20:14,423 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-scd30_CO2_Sensor == 0.0.5 
2023-04-07:12:20:14,425 INFO     [plugin_controller.py:62] Plugin cbpi4-scd30_CO2_Sensor loaded successfully
2023-04-07:12:20:14,429 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-system == 0.0.8 
2023-04-07:12:20:14,431 INFO     [plugin_controller.py:62] Plugin cbpi4-system loaded successfully
2023-04-07:12:20:14,435 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4gui == 0.3.2 
2023-04-07:12:20:14,440 INFO     [plugin_controller.py:62] Plugin cbpi4gui loaded successfully
2023-04-07:12:20:14,441 INFO     [fermentation_controller.py:32] INIT Fermentation Controller
2023-04-07:12:20:14,443 INFO     [basic_controller2.py:37] SensorController Load 
2023-04-07:12:20:14,445 INFO     [step_controller.py:31] INIT STEP Controller
2023-04-07:12:20:14,446 INFO     [basic_controller2.py:37] ActorController Load 
2023-04-07:12:20:14,448 INFO     [basic_controller2.py:37] KettleController Load 
2023-04-07:12:20:15,968 INFO     [__init__.py:22] Starting Fermenter Autorun
2023-04-07:12:20:15,969 INFO     [__init__.py:22] Check Config for required changes
2023-04-07:12:20:15,970 INFO     [__init__.py:64] INIT Cooldown Sensor Setting
2023-04-07:12:20:15,983 INFO     [__init__.py:71] INIT Cooldown Actor Setting
2023-04-07:12:20:15,998 INFO     [__init__.py:168] INIT Brewfather User ID
2023-04-07:12:20:16,16 INFO     [__init__.py:177] INIT Brewfather API Key
2023-04-07:12:20:16,29 INFO     [__init__.py:195] INIT BoilKettle
2023-04-07:12:20:16,42 INFO     [__init__.py:47] Checked PCF Address
2023-04-07:12:20:16,43 INFO     [__init__.py:21] ***************** Start PCF Actor on I2C address 0x20 ************************
2023-04-07:12:20:16,45 INFO     [__init__.py:33] Error. Could not activate PCF8574 on I2C address 32
2023-04-07:12:20:16,46 INFO     [__init__.py:33] Starting PushOver Notifications background task
2023-04-07:12:20:16,46 INFO     [__init__.py:59] INIT Pushover User Key
2023-04-07:12:20:16,59 INFO     [__init__.py:49] INIT Pushover Token
2023-04-07:12:20:16,71 WARNING  [__init__.py:37] Check Pushover API Token is set
2023-04-07:12:20:16,72 INFO     [__init__.py:80] Starting Buzzer background task
2023-04-07:12:20:16,74 INFO     [__init__.py:89] Buzzer Lisetener ID: 3cqSwgmoZkBossuxa4QnZ8
/usr/local/lib/python3.9/dist-packages/cbpi4-buzzer/__init__.py:91: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
  GPIO.setup(buzzer_gpio, GPIO.OUT)
2023-04-07:12:20:16,76 INFO     [__init__.py:92] Buzzer started
2023-04-07:12:20:16,78 INFO     [__init__.py:32] Probing SCD30 sensor...
2023-04-07:12:20:16,80 INFO     [__init__.py:27] Starting System Functions background task
2023-04-07:12:20:16,87 INFO     [basic_controller2.py:71] ActorController Shutdown 
2023-04-07:12:20:16,88 INFO     [basic_controller2.py:52] ActorController Save 
2023-04-07:12:20:16,90 INFO     [basic_controller2.py:71] SensorController Shutdown 
2023-04-07:12:20:16,91 INFO     [basic_controller2.py:52] SensorController Save 
2023-04-07:12:20:16,92 INFO     [basic_controller2.py:71] KettleController Shutdown 
2023-04-07:12:20:16,93 INFO     [basic_controller2.py:52] KettleController Save 
2023-04-07:12:20:16,96 INFO     [step_controller.py:253] Mash Profile Shutdown
2023-04-07:12:20:16,104 ERROR    [base_events.py:1738] unhandled exception during asyncio.run() shutdown
task: <Task finished name='Task-1' coro=<_run_app() done, defined at /usr/local/lib/python3.9/dist-packages/aiohttp/web.py:289> exception=OSError(98, "error while attempting to bind on address ('0.0.0.0', 8000): address already in use")>
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/aiohttp/web.py", line 516, in run_app
    loop.run_until_complete(main_task)
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.9/dist-packages/aiohttp/web.py", line 415, in _run_app
    await site.start()
  File "/usr/local/lib/python3.9/dist-packages/aiohttp/web_runner.py", line 121, in start
    self._server = await loop.create_server(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 1494, in create_server
    raise OSError(err.errno, 'error while attempting '
OSError: [Errno 98] error while attempting to bind on address ('0.0.0.0', 8000): address already in use
Traceback (most recent call last):
  File "/usr/local/bin/cbpi", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/cbpi/cli.py", line 277, in start
    context.obj.start()
  File "/usr/local/lib/python3.9/dist-packages/cbpi/cli.py", line 37, in start
    cbpi.start()
  File "/usr/local/lib/python3.9/dist-packages/cbpi/craftbeerpi.py", line 307, in start
    web.run_app(self.init_serivces(), port=self.static_config.get("port", 2202))
  File "/usr/local/lib/python3.9/dist-packages/aiohttp/web.py", line 516, in run_app
    loop.run_until_complete(main_task)
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.9/dist-packages/aiohttp/web.py", line 415, in _run_app
    await site.start()
  File "/usr/local/lib/python3.9/dist-packages/aiohttp/web_runner.py", line 121, in start
    self._server = await loop.create_server(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 1494, in create_server
    raise OSError(err.errno, 'error while attempting '
OSError: [Errno 98] error while attempting to bind on address ('0.0.0.0', 8000): address already in use
Kann jemand damit was anfangen?

Vielen Dank :)
mrhyde
Posting Senior
Posting Senior
Beiträge: 468
Registriert: Mittwoch 7. Juni 2017, 14:16

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#502

Beitrag von mrhyde »

Jannis0711 hat geschrieben: Freitag 7. April 2023, 13:29 Hallo zusammen,

ich wollte jetzt auch mal endlich von cbpi3 auf 4 upgraden aber bekomme es einfach nicht gestartet.

Inzwischen hab ich alles probiert:

manuelle installation development und normal und die beiden fertigen images.

Cbpi4 startet aber bricht dann immer wieder ab. Aktuell mit dem fertigen image 2023_03_cbpi4_1_0_ui_0_3_2.img: Erst hat das LCDisplay plugin Probleme gemacht, dann habe ich das deinstalliert und jetzt bekomme ich folgende Fehlermeldung:

Code: Alles auswählen

Welcome to CBPi
---------------------
config folder path :   ./config
logs folder path   :   /home/pi/logs
START
2023-04-07:12:20:12,584 INFO     [craftbeerpi.py:103] Init CraftBeerPI
2023-04-07:12:20:12,587 INFO     [config_controller.py:20] Config folder path : /home/pi/config
2023-04-07:12:20:12,589 INFO     [eventbus.py:56] Topic #
2023-04-07:12:20:12,593 INFO     [log_file_controller.py:30] Log folder path  : /home/pi/logs
2023-04-07:12:20:13,650 INFO     [craftbeerpi.py:263] 
  _____            __ _   ____                 _____ _   _  _  __   ___   
 / ____|          / _| | |  _ \               |  __ (_) | || |/_ | / _ \  
| |     _ __ __ _| |_| |_| |_) | ___  ___ _ __| |__) |  | || |_| || | | | 
| |    | '__/ _` |  _| __|  _ < / _ \/ _ \ '__|  ___/ | |__   _| || | | | 
| |____| | | (_| | | | |_| |_) |  __/  __/ |  | |   | |    | |_| || |_| | 
 \_____|_|  \__,_|_|  \__|____/ \___|\___|_|  |_|   |_|    |_(_)_(_)___/  
                                                                          
                                                                          

2023-04-07:12:20:13,654 INFO     [craftbeerpi.py:264] www.CraftBeerPi.com
2023-04-07:12:20:13,654 INFO     [craftbeerpi.py:265] (c) 2021/2022 Manuel Fritsch / Alexander Vollkopf
2023-04-07:12:20:13,673 INFO     [plugin_controller.py:31] Trying to load plugin httpsensor
2023-04-07:12:20:13,686 INFO     [plugin_controller.py:31] Trying to load plugin mqtt_util
2023-04-07:12:20:13,692 INFO     [plugin_controller.py:31] Trying to load plugin mqtt_sensor
2023-04-07:12:20:13,698 INFO     [plugin_controller.py:31] Trying to load plugin FermenterHysteresis
2023-04-07:12:20:13,705 INFO     [plugin_controller.py:31] Trying to load plugin mashstep
2023-04-07:12:20:13,717 INFO     [plugin_controller.py:31] Trying to load plugin hysteresis
2023-04-07:12:20:13,723 INFO     [plugin_controller.py:31] Trying to load plugin FermentationStep
2023-04-07:12:20:13,732 INFO     [plugin_controller.py:31] Trying to load plugin ConfigUpdate
2023-04-07:12:20:13,775 INFO     [plugin_controller.py:31] Trying to load plugin gpioactor
2023-04-07:12:20:13,786 INFO     [plugin_controller.py:31] Trying to load plugin dummyactor
2023-04-07:12:20:13,794 INFO     [plugin_controller.py:31] Trying to load plugin dummysensor
2023-04-07:12:20:13,801 INFO     [plugin_controller.py:31] Trying to load plugin mqtt_actor
2023-04-07:12:20:13,811 INFO     [plugin_controller.py:31] Trying to load plugin onewire
2023-04-07:12:20:14,248 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-BLEHydrom == 0.0.5 
INITIALIZE TILT MODULE
2023-04-07:12:20:14,317 INFO     [plugin_controller.py:62] Plugin cbpi4-BLEHydrom loaded successfully
2023-04-07:12:20:14,325 INFO     [__init__.py:81] Starting Bluetooth connection
2023-04-07:12:20:14,326 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-BM_PID_SmartBoilWithPump == 0.1.6 
2023-04-07:12:20:14,328 INFO     [plugin_controller.py:62] Plugin cbpi4-BM_PID_SmartBoilWithPump loaded successfully
2023-04-07:12:20:14,332 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-DependentActor == 0.0.1 
2023-04-07:12:20:14,334 INFO     [plugin_controller.py:62] Plugin cbpi4-DependentActor loaded successfully
2023-04-07:12:20:14,337 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-Flowmeter == 0.0.4 
2023-04-07:12:20:14,341 INFO     [plugin_controller.py:62] Plugin cbpi4-Flowmeter loaded successfully
2023-04-07:12:20:14,345 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-GembirdUSB == 0.0.2 
2023-04-07:12:20:14,346 INFO     [plugin_controller.py:62] Plugin cbpi4-GembirdUSB loaded successfully
2023-04-07:12:20:14,350 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-GroupedActor == 0.0.5 
2023-04-07:12:20:14,351 INFO     [plugin_controller.py:62] Plugin cbpi4-GroupedActor loaded successfully
2023-04-07:12:20:14,356 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-GroupedPowerActor == 0.0.6 
2023-04-07:12:20:14,357 INFO     [plugin_controller.py:62] Plugin cbpi4-GroupedPowerActor loaded successfully
2023-04-07:12:20:14,361 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-KettleSensor == 0.0.6 
2023-04-07:12:20:14,363 INFO     [plugin_controller.py:62] Plugin cbpi4-KettleSensor loaded successfully
2023-04-07:12:20:14,367 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-PCF8574-GPIO == 0.0.4 
2023-04-07:12:20:14,369 INFO     [plugin_controller.py:62] Plugin cbpi4-PCF8574-GPIO loaded successfully
2023-04-07:12:20:14,372 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-PIDBoil == 0.0.9 
2023-04-07:12:20:14,374 INFO     [plugin_controller.py:62] Plugin cbpi4-PIDBoil loaded successfully
2023-04-07:12:20:14,377 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-PIDHerms == 0.0.4 
2023-04-07:12:20:14,379 INFO     [plugin_controller.py:62] Plugin cbpi4-PIDHerms loaded successfully
2023-04-07:12:20:14,383 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-PID_AutoTune == 0.0.10 
2023-04-07:12:20:14,384 INFO     [plugin_controller.py:62] Plugin cbpi4-PID_AutoTune loaded successfully
2023-04-07:12:20:14,388 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-PushOver == 0.0.7 
2023-04-07:12:20:14,390 INFO     [plugin_controller.py:62] Plugin cbpi4-PushOver loaded successfully
2023-04-07:12:20:14,393 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-buzzer == 0.0.3 
2023-04-07:12:20:14,395 INFO     [plugin_controller.py:62] Plugin cbpi4-buzzer loaded successfully
2023-04-07:12:20:14,398 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-hx711-loadcell == 0.0.4 
2023-04-07:12:20:14,400 INFO     [plugin_controller.py:62] Plugin cbpi4-hx711-loadcell loaded successfully
2023-04-07:12:20:14,404 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-iSpindle == 0.0.11 
2023-04-07:12:20:14,414 INFO     [plugin_controller.py:62] Plugin cbpi4-iSpindle loaded successfully
2023-04-07:12:20:14,418 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-pt100x == 0.1.3 
2023-04-07:12:20:14,419 INFO     [plugin_controller.py:62] Plugin cbpi4-pt100x loaded successfully
2023-04-07:12:20:14,423 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-scd30_CO2_Sensor == 0.0.5 
2023-04-07:12:20:14,425 INFO     [plugin_controller.py:62] Plugin cbpi4-scd30_CO2_Sensor loaded successfully
2023-04-07:12:20:14,429 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4-system == 0.0.8 
2023-04-07:12:20:14,431 INFO     [plugin_controller.py:62] Plugin cbpi4-system loaded successfully
2023-04-07:12:20:14,435 INFO     [plugin_controller.py:59] Try to load plugin:  cbpi4gui == 0.3.2 
2023-04-07:12:20:14,440 INFO     [plugin_controller.py:62] Plugin cbpi4gui loaded successfully
2023-04-07:12:20:14,441 INFO     [fermentation_controller.py:32] INIT Fermentation Controller
2023-04-07:12:20:14,443 INFO     [basic_controller2.py:37] SensorController Load 
2023-04-07:12:20:14,445 INFO     [step_controller.py:31] INIT STEP Controller
2023-04-07:12:20:14,446 INFO     [basic_controller2.py:37] ActorController Load 
2023-04-07:12:20:14,448 INFO     [basic_controller2.py:37] KettleController Load 
2023-04-07:12:20:15,968 INFO     [__init__.py:22] Starting Fermenter Autorun
2023-04-07:12:20:15,969 INFO     [__init__.py:22] Check Config for required changes
2023-04-07:12:20:15,970 INFO     [__init__.py:64] INIT Cooldown Sensor Setting
2023-04-07:12:20:15,983 INFO     [__init__.py:71] INIT Cooldown Actor Setting
2023-04-07:12:20:15,998 INFO     [__init__.py:168] INIT Brewfather User ID
2023-04-07:12:20:16,16 INFO     [__init__.py:177] INIT Brewfather API Key
2023-04-07:12:20:16,29 INFO     [__init__.py:195] INIT BoilKettle
2023-04-07:12:20:16,42 INFO     [__init__.py:47] Checked PCF Address
2023-04-07:12:20:16,43 INFO     [__init__.py:21] ***************** Start PCF Actor on I2C address 0x20 ************************
2023-04-07:12:20:16,45 INFO     [__init__.py:33] Error. Could not activate PCF8574 on I2C address 32
2023-04-07:12:20:16,46 INFO     [__init__.py:33] Starting PushOver Notifications background task
2023-04-07:12:20:16,46 INFO     [__init__.py:59] INIT Pushover User Key
2023-04-07:12:20:16,59 INFO     [__init__.py:49] INIT Pushover Token
2023-04-07:12:20:16,71 WARNING  [__init__.py:37] Check Pushover API Token is set
2023-04-07:12:20:16,72 INFO     [__init__.py:80] Starting Buzzer background task
2023-04-07:12:20:16,74 INFO     [__init__.py:89] Buzzer Lisetener ID: 3cqSwgmoZkBossuxa4QnZ8
/usr/local/lib/python3.9/dist-packages/cbpi4-buzzer/__init__.py:91: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
  GPIO.setup(buzzer_gpio, GPIO.OUT)
2023-04-07:12:20:16,76 INFO     [__init__.py:92] Buzzer started
2023-04-07:12:20:16,78 INFO     [__init__.py:32] Probing SCD30 sensor...
2023-04-07:12:20:16,80 INFO     [__init__.py:27] Starting System Functions background task
2023-04-07:12:20:16,87 INFO     [basic_controller2.py:71] ActorController Shutdown 
2023-04-07:12:20:16,88 INFO     [basic_controller2.py:52] ActorController Save 
2023-04-07:12:20:16,90 INFO     [basic_controller2.py:71] SensorController Shutdown 
2023-04-07:12:20:16,91 INFO     [basic_controller2.py:52] SensorController Save 
2023-04-07:12:20:16,92 INFO     [basic_controller2.py:71] KettleController Shutdown 
2023-04-07:12:20:16,93 INFO     [basic_controller2.py:52] KettleController Save 
2023-04-07:12:20:16,96 INFO     [step_controller.py:253] Mash Profile Shutdown
2023-04-07:12:20:16,104 ERROR    [base_events.py:1738] unhandled exception during asyncio.run() shutdown
task: <Task finished name='Task-1' coro=<_run_app() done, defined at /usr/local/lib/python3.9/dist-packages/aiohttp/web.py:289> exception=OSError(98, "error while attempting to bind on address ('0.0.0.0', 8000): address already in use")>
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/aiohttp/web.py", line 516, in run_app
    loop.run_until_complete(main_task)
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.9/dist-packages/aiohttp/web.py", line 415, in _run_app
    await site.start()
  File "/usr/local/lib/python3.9/dist-packages/aiohttp/web_runner.py", line 121, in start
    self._server = await loop.create_server(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 1494, in create_server
    raise OSError(err.errno, 'error while attempting '
OSError: [Errno 98] error while attempting to bind on address ('0.0.0.0', 8000): address already in use
Traceback (most recent call last):
  File "/usr/local/bin/cbpi", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/cbpi/cli.py", line 277, in start
    context.obj.start()
  File "/usr/local/lib/python3.9/dist-packages/cbpi/cli.py", line 37, in start
    cbpi.start()
  File "/usr/local/lib/python3.9/dist-packages/cbpi/craftbeerpi.py", line 307, in start
    web.run_app(self.init_serivces(), port=self.static_config.get("port", 2202))
  File "/usr/local/lib/python3.9/dist-packages/aiohttp/web.py", line 516, in run_app
    loop.run_until_complete(main_task)
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.9/dist-packages/aiohttp/web.py", line 415, in _run_app
    await site.start()
  File "/usr/local/lib/python3.9/dist-packages/aiohttp/web_runner.py", line 121, in start
    self._server = await loop.create_server(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 1494, in create_server
    raise OSError(err.errno, 'error while attempting '
OSError: [Errno 98] error while attempting to bind on address ('0.0.0.0', 8000): address already in use
Kann jemand damit was anfangen?

Vielen Dank :)
Entweder läuft der Server schon oder etwas anderes läuft auf dem Port 8000. wenn du aber das Image installiert hast, dann läuft der Server nach dem Start schon
Braumeister 20 | Gärung: SS Brewtech 7 Gal BME | Speidel 30 Liter (Konus)
https://github.com/PiBrewing
https://openbrewing.gitbook.io/craftbeerpi4_support/
Benutzeravatar
Jannis0711
Posting Junior
Posting Junior
Beiträge: 26
Registriert: Donnerstag 23. Januar 2020, 15:58
Wohnort: Ludwigsburg

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#503

Beitrag von Jannis0711 »

Ich weiß auch nicht was das genau war... später ging es dann... dann wieder nicht. Das Image nochmal auf eine neue SD-Karte draufgespielt und geupdatet auf die neueste Version jetzt funktioniert alles.

Morgen ist der erste Brautag mit dem neuen Cbpi :Pulpfiction
brilli_willi
Posting Klettermax
Posting Klettermax
Beiträge: 109
Registriert: Montag 7. Dezember 2020, 08:31

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#504

Beitrag von brilli_willi »

Ich hab ein Problem im CBPi4 Dashboard:
Die "Clock" zeigt mir die aktuelle Uhrzeit an (z.B. 11:44:17).
Dann habe ich ein "Chart" auf dem Dashboard das die Werte des Sensors darstellt.
Leider stimmen die Uhrzeiten nicht überein. Der Wert des Sensors um 11:44 Uhr wird im Chart mit 09:44 Uhr dargestellt.
Kann mir Jemand sagen woher diese Differenz kommt?
DSpayre
Posting Senior
Posting Senior
Beiträge: 493
Registriert: Samstag 1. August 2020, 18:13
Wohnort: Müllheim (Zwischen Freiburg und Basel)

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#505

Beitrag von DSpayre »

brilli_willi hat geschrieben: Donnerstag 11. Mai 2023, 11:46 Ich hab ein Problem im CBPi4 Dashboard:
Die "Clock" zeigt mir die aktuelle Uhrzeit an (z.B. 11:44:17).
Dann habe ich ein "Chart" auf dem Dashboard das die Werte des Sensors darstellt.
Leider stimmen die Uhrzeiten nicht überein. Der Wert des Sensors um 11:44 Uhr wird im Chart mit 09:44 Uhr dargestellt.
Kann mir Jemand sagen woher diese Differenz kommt?
Das ist die Abweichung der GMT (Greenwich Mean Time) zur lokalen Zeit. Jetzt mit Sommerzeit sind das 2 Stunden. Siehe hier:

https://www.timeanddate.de/zeitzonen/weltweit/gmt

Wie man hinbekommt, dass die Sensordaten auch die lokale Zeit übernehmen kann ich auf die schnelle nicht sagen.

Gruß Martin
Unsere Braustube Vorstellung
Unser Würzekühler Doppelhelix
Unser Stammtisch Hobbybrauer im Markgräflerland
DSpayre
Posting Senior
Posting Senior
Beiträge: 493
Registriert: Samstag 1. August 2020, 18:13
Wohnort: Müllheim (Zwischen Freiburg und Basel)

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#506

Beitrag von DSpayre »

Hallo zusammen,

kann man irgendwie alle Sensordaten auf einen Rutsch löschen? Will vor dem Brauen nicht noch die alten Daten in den Diagrammen usw. haben. Das macht das ganze unleserlich.

Lösche alles von Datum x bis Datum y wäre auch eine Möglichkeit. Wenn es sowas gäbe.

Gruß Martin
Unsere Braustube Vorstellung
Unser Würzekühler Doppelhelix
Unser Stammtisch Hobbybrauer im Markgräflerland
mrhyde
Posting Senior
Posting Senior
Beiträge: 468
Registriert: Mittwoch 7. Juni 2017, 14:16

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#507

Beitrag von mrhyde »

DSpayre hat geschrieben: Freitag 12. Mai 2023, 16:51 Hallo zusammen,

kann man irgendwie alle Sensordaten auf einen Rutsch löschen? Will vor dem Brauen nicht noch die alten Daten in den Diagrammen usw. haben. Das macht das ganze unleserlich.

Lösche alles von Datum x bis Datum y wäre auch eine Möglichkeit. Wenn es sowas gäbe.

Gruß Martin
Ich gehe mal davon aus, dass du die CSV Daten meinst.

Den ersten Teil gibt es und den habe ich in der Doku beschrieben. Am besten mal dort reinschauen -> suche funktion mit 'delete' verwenden.

Gruß,
Alex
Braumeister 20 | Gärung: SS Brewtech 7 Gal BME | Speidel 30 Liter (Konus)
https://github.com/PiBrewing
https://openbrewing.gitbook.io/craftbeerpi4_support/
DSpayre
Posting Senior
Posting Senior
Beiträge: 493
Registriert: Samstag 1. August 2020, 18:13
Wohnort: Müllheim (Zwischen Freiburg und Basel)

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#508

Beitrag von DSpayre »

Hallo Alex,

danke für die Rückmeldung. Ja, da kommt die erklärung zum Löschen in den Analytics. Aber das dauert bis alles gelöscht ist ewig. Ich hab inzwischen einiges an Sensoren (3 fürs Brauen, 3 für Gährung, 2 iSpindeln mit je 3 Werten, dann CPU, Luftfeuchtigkeit und Raumtemperatur).

Da hatte ich auf was schnelleres gehofft.

Aber wenns nicht geht, geht es auch so.

Gruß Martin
Unsere Braustube Vorstellung
Unser Würzekühler Doppelhelix
Unser Stammtisch Hobbybrauer im Markgräflerland
mrhyde
Posting Senior
Posting Senior
Beiträge: 468
Registriert: Mittwoch 7. Juni 2017, 14:16

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#509

Beitrag von mrhyde »

DSpayre hat geschrieben: Samstag 13. Mai 2023, 11:48 Hallo Alex,

danke für die Rückmeldung. Ja, da kommt die erklärung zum Löschen in den Analytics. Aber das dauert bis alles gelöscht ist ewig. Ich hab inzwischen einiges an Sensoren (3 fürs Brauen, 3 für Gährung, 2 iSpindeln mit je 3 Werten, dann CPU, Luftfeuchtigkeit und Raumtemperatur).

Da hatte ich auf was schnelleres gehofft.

Aber wenns nicht geht, geht es auch so.

Gruß Martin
Ich habe mal eine entsprechende Funktion in die neuste Development Version des UI (development branch) eingebaut.

-> rechtes deletesweep symbol. Sollte aber auch mit der neusten dev version des Servers eingesetzt werden, da in dem dev branch auch ein paar andere Änderungen enthalten sind, die nur mit dem dev branch vom server gehen
Screenshot 2023-05-14 135242.png
Braumeister 20 | Gärung: SS Brewtech 7 Gal BME | Speidel 30 Liter (Konus)
https://github.com/PiBrewing
https://openbrewing.gitbook.io/craftbeerpi4_support/
DSpayre
Posting Senior
Posting Senior
Beiträge: 493
Registriert: Samstag 1. August 2020, 18:13
Wohnort: Müllheim (Zwischen Freiburg und Basel)

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#510

Beitrag von DSpayre »

Nice. Da freue ich mich schon auf die nächste Version!

:Greets :thumbup
Unsere Braustube Vorstellung
Unser Würzekühler Doppelhelix
Unser Stammtisch Hobbybrauer im Markgräflerland
Fregga
Posting Klettermax
Posting Klettermax
Beiträge: 108
Registriert: Sonntag 22. November 2020, 11:34

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#511

Beitrag von Fregga »

Hallo,
hab beim Update von CPBI die Fehlermeldung "AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK" erhalten. Habe daraufhin, wie bei Craftbeerpi4 Support unter Troubleshooting aufgeführt, die empfohlene Abhilfemaßnahme druchgeführt. Nun hab ich folgende Fehlermeldung erhalten: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. cbpi4 4.1.10 requires cryptography==40.0.1, but you have cryptography 41.0.1 which is incompatible.

Ist das so korrekt?
Beste Grüße
Bastian
mrhyde
Posting Senior
Posting Senior
Beiträge: 468
Registriert: Mittwoch 7. Juni 2017, 14:16

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#512

Beitrag von mrhyde »

Fregga hat geschrieben: Dienstag 27. Juni 2023, 17:29 Hallo,
hab beim Update von CPBI die Fehlermeldung "AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK" erhalten. Habe daraufhin, wie bei Craftbeerpi4 Support unter Troubleshooting aufgeführt, die empfohlene Abhilfemaßnahme druchgeführt. Nun hab ich folgende Fehlermeldung erhalten: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. cbpi4 4.1.10 requires cryptography==40.0.1, but you have cryptography 41.0.1 which is incompatible.

Ist das so korrekt?
Problem ist, dass es noch ein security issue mit cryptography/pyopenssl gab. Ich habe dazu schon mal einen branch erstellt. Letztlich wurde wohl durch die Installation von pyopenssl auch die neuste cryptography version installiert.

Das sollte erst einmal Abhilfe schaffen:

Code: Alles auswählen

sudo pip install cryptography==40.0.1
sudo pip install pyopenssl==23.1.0
Braumeister 20 | Gärung: SS Brewtech 7 Gal BME | Speidel 30 Liter (Konus)
https://github.com/PiBrewing
https://openbrewing.gitbook.io/craftbeerpi4_support/
Fregga
Posting Klettermax
Posting Klettermax
Beiträge: 108
Registriert: Sonntag 22. November 2020, 11:34

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#513

Beitrag von Fregga »

Okay, danke Dir. Hab ich erledigt und scheint soweit funktioniert zu haben.
Beste Grüße
Bastian
mrhyde
Posting Senior
Posting Senior
Beiträge: 468
Registriert: Mittwoch 7. Juni 2017, 14:16

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#514

Beitrag von mrhyde »

Fregga hat geschrieben: Freitag 30. Juni 2023, 11:22 Okay, danke Dir. Hab ich erledigt und scheint soweit funktioniert zu haben.
Ich habe auf Github den Development Branch mal auf die neusten Pakete angepasst. Läuft auf meiner pi schon einmal.

Auf der pi zero (1) und der Pi1 läuft das alles halt nicht mehr, da cryptography dort Probleme macht.
Braumeister 20 | Gärung: SS Brewtech 7 Gal BME | Speidel 30 Liter (Konus)
https://github.com/PiBrewing
https://openbrewing.gitbook.io/craftbeerpi4_support/
Fregga
Posting Klettermax
Posting Klettermax
Beiträge: 108
Registriert: Sonntag 22. November 2020, 11:34

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#515

Beitrag von Fregga »

Gib es die Möglichkeit einen Drucksensor in CBPi einzubinden? Ich würde mir gerne den Druck vom Fermenter anzeigen lassen. Habe dieses
(https://pypi.org/project/cbpi4-PressureSensor/) Plugin gefunden. Es funktioniert aber leider nicht bzw. lässt sich nicht Installieren (ist anscheinend nur mit V 4.0 kompatibel) und der Entwickler scheint nicht mehr aktiv zu sein.
Beste Grüße
Bastian
Benutzeravatar
Innuendo
Posting Freak
Posting Freak
Beiträge: 1970
Registriert: Freitag 2. März 2018, 09:43

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#516

Beitrag von Innuendo »

Wenn du spunden und karbonisieren möchtest, schau dir den Spundomat mal an.
Fregga
Posting Klettermax
Posting Klettermax
Beiträge: 108
Registriert: Sonntag 22. November 2020, 11:34

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#517

Beitrag von Fregga »

Innuendo hat geschrieben: Dienstag 4. Juli 2023, 07:47 Wenn du spunden und karbonisieren möchtest, schau dir den Spundomat mal an.
Hab ich mir schon und werde ich auch mal machen (gerade fehlt es nur etwas an Zeit). Für jetzt würde es mir genügen, dass ich mir den aktuellen Druck anzeigen lassen kann. An dem MQTT-Device lässt sich kein Drucksensor anschließen? Ich glaube mal gelsen zu haben, dass der ESP8266 sogar einen Pin mit A/D-Wandler on Board hat.
Zuletzt geändert von Fregga am Dienstag 4. Juli 2023, 17:59, insgesamt 1-mal geändert.
Beste Grüße
Bastian
Benutzeravatar
Innuendo
Posting Freak
Posting Freak
Beiträge: 1970
Registriert: Freitag 2. März 2018, 09:43

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#518

Beitrag von Innuendo »

bislang gab es dafür keine anwendung/addon von cbpi4 über mqtt
Fregga
Posting Klettermax
Posting Klettermax
Beiträge: 108
Registriert: Sonntag 22. November 2020, 11:34

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#519

Beitrag von Fregga »

Innuendo hat geschrieben: Dienstag 4. Juli 2023, 17:15 bislang gab es dafür keine anwendung/addon von cbpi4 über mqtt
Achso okay. Mich wundert etwas, dass in CBPi4 grundsätzlich noch keine Möglichkeit zur Einbindung von Drucksensoren gegeben ist. Kann mir vorstellen, dass das für viele interessant ist.
Beste Grüße
Bastian
Benutzeravatar
Innuendo
Posting Freak
Posting Freak
Beiträge: 1970
Registriert: Freitag 2. März 2018, 09:43

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#520

Beitrag von Innuendo »

wenn ich dran denke, wie viel co2 ich verbraucht habe, bis sensor, manometer und temperatur zusammen gepasst haben, kann ich das gut nachvollziehen ;)
der nutzen ist überschaubar. ein spundapparat einfach und günstiger
mrhyde
Posting Senior
Posting Senior
Beiträge: 468
Registriert: Mittwoch 7. Juni 2017, 14:16

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#521

Beitrag von mrhyde »

Fregga hat geschrieben: Montag 3. Juli 2023, 08:02 Gib es die Möglichkeit einen Drucksensor in CBPi einzubinden? Ich würde mir gerne den Druck vom Fermenter anzeigen lassen. Habe dieses
(https://pypi.org/project/cbpi4-PressureSensor/) Plugin gefunden. Es funktioniert aber leider nicht bzw. lässt sich nicht Installieren (ist anscheinend nur mit V 4.0 kompatibel) und der Entwickler scheint nicht mehr aktiv zu sein.
setup.py ist das problem:

Code: Alles auswählen

'cbpi>=4.0.0.33',
Nimm diese Zeile raus oder ersetz sie durch

Code: Alles auswählen

'cbpi4>=4.0.0.33',
Ob es dann geht, kann ich allerdings nicht sagen, da das Plugin noch für die erste Ausgabe von cbpi4 geschrieben wurde, bevor ich dann noch einiges angepasst habe.
Braumeister 20 | Gärung: SS Brewtech 7 Gal BME | Speidel 30 Liter (Konus)
https://github.com/PiBrewing
https://openbrewing.gitbook.io/craftbeerpi4_support/
Benutzeravatar
Alien_TM
Posting Senior
Posting Senior
Beiträge: 436
Registriert: Montag 11. Januar 2016, 14:50

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#522

Beitrag von Alien_TM »

nAbend mitnander

ich hab heute mal mein Brauequipment entstaubt, das Reallife und die kleinen Kids nehmen mich ganz schön in Beschlag :)

Aber da meine Frau mir nen Auftrag verschafft hat, für einen guten Freund ein Bier zu brauen :), konnte ich net nein sagen.

Natürlich mach ich das auch gerne... wenn denn scho mal die Frau sagt: BRAU BIER :D

Bei meinem Braukübel dümpelte noch eine alte CBPI3 Installation auf dem Raspi rum, lief nimmer richtig (ich vermute ne defekte microSD Card), also neue Karte, also schnell ein 64bit bullseye lite runtergeladen und drauf und den 3er Raspi soweit erstmal konfiguriert. Soweit so gut... als der Raspi lief, hab ich mich versucht cbpi4 zu installieren und bin mehrmals gescheitert. Von irgendwelchen falschen/alten Hashwerten, sonstigen Abhängigkeitsfehlern bin ich bei Anleitung

https://openbrewing.gitbook.io/craftbee ... stallation

bei Fehler "

Code: Alles auswählen

sudo pip3 install cbpi4
Traceback (most recent call last):
  File "/usr/bin/pip3", line 33, in <module>
    sys.exit(load_entry_point('pip==20.3.4', 'console_scripts', 'pip3')())
  File "/usr/bin/pip3", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_impor
usw.. .

Ich mach die Karte gerne nochmal neu... aber könnte mir bitte jemand sagen, welche Anleitung zum installieren von cbpi4 auf nem 3er Raspi denn wirklich funktioniert?

...Alex
mrhyde
Posting Senior
Posting Senior
Beiträge: 468
Registriert: Mittwoch 7. Juni 2017, 14:16

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#523

Beitrag von mrhyde »

Alien_TM hat geschrieben: Samstag 5. August 2023, 22:57

https://openbrewing.gitbook.io/craftbee ... stallation

bei Fehler "

Code: Alles auswählen

sudo pip3 install cbpi4
Traceback (most recent call last):
  File "/usr/bin/pip3", line 33, in <module>
    sys.exit(load_entry_point('pip==20.3.4', 'console_scripts', 'pip3')())
  File "/usr/bin/pip3", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_impor
usw.. .

Ich mach die Karte gerne nochmal neu... aber könnte mir bitte jemand sagen, welche Anleitung zum installieren von cbpi4 auf nem 3er Raspi denn wirklich funktioniert?

...Alex
Ic hhabe gerade für einen Test das System neu auf eine Pi Zero 2 W installiert. Lief alles problemlos.

Das Problem liegt vermutlich an der 2,5 Jahre alten Version von pip (20.3.4), da dies nicht mit Cryptography, pyopenssl,... kompatibel ist

Es sollte mindestens pip 23 laufen. Bei meiner Pi ist aktuell pip 23.2.1 installiert.

Hast du das system nach dem Schreiben des Images auch vorab aktualisiert?

Gruß,
Alex
Braumeister 20 | Gärung: SS Brewtech 7 Gal BME | Speidel 30 Liter (Konus)
https://github.com/PiBrewing
https://openbrewing.gitbook.io/craftbeerpi4_support/
Benutzeravatar
Alien_TM
Posting Senior
Posting Senior
Beiträge: 436
Registriert: Montag 11. Januar 2016, 14:50

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#524

Beitrag von Alien_TM »

mrhyde hat geschrieben: Sonntag 6. August 2023, 08:36 Hast du das system nach dem Schreiben des Images auch vorab aktualisiert?

Gruß,
Alex
ich hab komplett nochmal alles neu installiert. Mit

https://openbrewing.gitbook.io/craftbee ... stallation

Ist nun alles sauber durchgelaufen. Ich vermute, dass beim gestrigen Versuch, alte Scipts vom Anfang des Threads nicht mehr gepasst haben, bzw. das verursacht haben.

Was mir noch aufgefallen ist, beim Update über das Repo mag er n paar Signaturen nimmer, aber net tragisch, ich kann ja erstmal was tun.

Code: Alles auswählen

Glyphosator:~# sudo pip3 install --upgrade https://github.com/PiBrewing/craftbeerpi4/archive/master.zip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting https://github.com/PiBrewing/craftbeerpi4/archive/master.zip
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: BAD_SIGNATURE] bad signature (_ssl.c:1123)'))': /PiBrewing/craftbeerpi4/archive/master.zip
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: BAD_SIGNATURE] bad signature (_ssl.c:1123)'))': /PiBrewing/craftbeerpi4/archive/master.zip
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: BAD_SIGNATURE] bad signature (_ssl.c:1123)'))': /PiBrewing/craftbeerpi4/archive/master.zip
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: BAD_SIGNATURE] bad signature (_ssl.c:1123)'))': /PiBrewing/craftbeerpi4/archive/master.zip
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: BAD_SIGNATURE] bad signature (_ssl.c:1123)'))': /PiBrewing/craftbeerpi4/archive/master.zip
ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /PiBrewing/craftbeerpi4/archive/master.zip (Caused by SSLError(SSLError(1, '[SSL: BAD_SIGNATURE] bad signature (_ssl.c:1123)')))
Danke erstmal, nun kann ich mich endlich der CBPI4-Config widmen

Edit... ich nehm alles zurück, ich hatte cbpi4 noch net gestartet, wenn ich mit "sudo cbpi start" versuche, kommt folgendes

Code: Alles auswählen

Glyphosator:~# sudo cbpi start
Traceback (most recent call last):
  File "/usr/local/bin/cbpi", line 5, in <module>
    from cbpi.cli import main
  File "/usr/local/lib/python3.9/dist-packages/cbpi/cli.py", line 5, in <module>
    from cbpi.utils.utils import load_config
  File "/usr/local/lib/python3.9/dist-packages/cbpi/utils/__init__.py", line 1, in <module>
    from cbpi.utils.utils import *
  File "/usr/local/lib/python3.9/dist-packages/cbpi/utils/utils.py", line 1, in <module>
    from cbpi.utils.encoder import ComplexEncoder
  File "/usr/local/lib/python3.9/dist-packages/cbpi/utils/encoder.py", line 4, in <module>
    from pandas import Timestamp
  File "/usr/local/lib/python3.9/dist-packages/pandas/__init__.py", line 11, in <module>
    __import__(_dependency)
  File "/usr/local/lib/python3.9/dist-packages/numpy/__init__.py", line 141, in <module>
    from . import core
  File "/usr/local/lib/python3.9/dist-packages/numpy/core/__init__.py", line 101, in <module>
    from . import _add_newdocs
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 786, in exec_module
  File "<frozen importlib._bootstrap_external>", line 918, in get_code
  File "<frozen importlib._bootstrap_external>", line 587, in _compile_bytecode
ValueError: bad marshal data (unknown type code)
Mist :crying

...Alex
mrhyde
Posting Senior
Posting Senior
Beiträge: 468
Registriert: Mittwoch 7. Juni 2017, 14:16

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#525

Beitrag von mrhyde »

Alien_TM hat geschrieben: Sonntag 6. August 2023, 23:11 Edit... ich nehm alles zurück, ich hatte cbpi4 noch net gestartet, wenn ich mit "sudo cbpi start" versuche, kommt folgendes

Code: Alles auswählen

Glyphosator:~# sudo cbpi start
Traceback (most recent call last):
  File "/usr/local/bin/cbpi", line 5, in <module>
    from cbpi.cli import main
  File "/usr/local/lib/python3.9/dist-packages/cbpi/cli.py", line 5, in <module>
    from cbpi.utils.utils import load_config
  File "/usr/local/lib/python3.9/dist-packages/cbpi/utils/__init__.py", line 1, in <module>
    from cbpi.utils.utils import *
  File "/usr/local/lib/python3.9/dist-packages/cbpi/utils/utils.py", line 1, in <module>
    from cbpi.utils.encoder import ComplexEncoder
  File "/usr/local/lib/python3.9/dist-packages/cbpi/utils/encoder.py", line 4, in <module>
    from pandas import Timestamp
  File "/usr/local/lib/python3.9/dist-packages/pandas/__init__.py", line 11, in <module>
    __import__(_dependency)
  File "/usr/local/lib/python3.9/dist-packages/numpy/__init__.py", line 141, in <module>
    from . import core
  File "/usr/local/lib/python3.9/dist-packages/numpy/core/__init__.py", line 101, in <module>
    from . import _add_newdocs
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 786, in exec_module
  File "<frozen importlib._bootstrap_external>", line 918, in get_code
  File "<frozen importlib._bootstrap_external>", line 587, in _compile_bytecode
ValueError: bad marshal data (unknown type code)
Mist :crying

...Alex
Muss ich mir mal ansehen. bin diese Woche aber auf Dienstreise und dann ein paar Tage im Urlaub. Könnte am Lite Raspbian liegen. Ich hatte das full auf der Zero installiert. Damit ging es beim Test.
Braumeister 20 | Gärung: SS Brewtech 7 Gal BME | Speidel 30 Liter (Konus)
https://github.com/PiBrewing
https://openbrewing.gitbook.io/craftbeerpi4_support/
Benutzeravatar
Alien_TM
Posting Senior
Posting Senior
Beiträge: 436
Registriert: Montag 11. Januar 2016, 14:50

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#526

Beitrag von Alien_TM »

mrhyde hat geschrieben: Montag 7. August 2023, 06:01 Muss ich mir mal ansehen. bin diese Woche aber auf Dienstreise und dann ein paar Tage im Urlaub. Könnte am Lite Raspbian liegen. Ich hatte das full auf der Zero installiert. Damit ging es beim Test.
Ich hab mir nochmal meine history auf dem Raspi angeschaut, der erste Start hatte funktioniert:

Code: Alles auswählen

root@Glyphosator:~# sudo cbpi start
---------------------
Welcome to CBPi
---------------------
config folder path :   ./config
logs folder path   :   /root/logs
START
2023-08-06:21:58:14,360 WARNING  [__init__.py:499] Setting Config Status
======== Running on http://0.0.0.0:8000 ========
(Press CTRL+C to quit)
... die obige Fehlermeldung kam nach dem Upgrade

Code: Alles auswählen

sudo pip3 install --upgrade
Ich teste heute Abend nochmal ohne das Upgrade...

...Alex
Benutzeravatar
Alien_TM
Posting Senior
Posting Senior
Beiträge: 436
Registriert: Montag 11. Januar 2016, 14:50

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#527

Beitrag von Alien_TM »

nAbend

Zwischeninfo nach einigem Gebastel: mit Raspian lite keine Chance, das ging immer schief!

Mit Raspian Full läufts erstmal, hakelt noch bisserl, der Dienst lässt sich noch net automatisch starten, zus. Plugins lassen sich zwar installieren, aber sind nicht auswählbar (PID Boil, Autotune, etc.)

Aber es startet scho mal und ich kann mit ein paar Testläufen beginnen.. immerhin

...Alex
Benutzeravatar
H-Blockx
Posting Senior
Posting Senior
Beiträge: 399
Registriert: Dienstag 11. September 2012, 23:42
Wohnort: 38154 Königslutter

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#528

Beitrag von H-Blockx »

Hallo.

Habe den Beitrag fälschlicherweise im MQTT-Thread gepostet.

Ich benötige nochmal eure Hilfe. Bekomme keine Verbindung zwischen der MQTT Platine und CBPI auf dem Raspi. Komme einfach nicht weiter, da ich die config.yaml nicht verstehe. Der Raspi hat die IP 192.168.12.50 und die MQTT Platine 192.168.12.51


In der Config der MQTT Platine muss ich unter Misc die IP, den User und das Passwort des Raspi eingeben? Wäre das richtig?


Und nun zur config.yaml...ich kommentiere mal in Klammern dahinter


index_url: /cbpi_ui/static/index.html
mqtt: True
mqtt_host: IPofYourMQTTServer (IP der MQTT Platine) ???
mqtt_password: YourMQTTPassword (Wo ist es festgelegt) ???
mqtt_port: 1883
mqtt_username: YourMQTTUser (Wo ist er festgelegt) ???
name: CraftBeerPi (Woher bekomme ich diesen Namen) ???
password: 123 (Warum hier schon wieder ein Passwort) ???
plugins:
- cbpi4ui
- cbpi4-FermenterHysteresis
- cbpi4-BM_PID_SmartBoilWithPump
- cbpi4-PID_AutoTune
port: 8000
username: cbpi (Nochmal einen Usernamen) ???
version: 4.0.8


Ich danke für eure Hilfe.


Gruss Mike
---------------------------------------
Gruss aus Königslutter...der Mike

Meine Vorstellung und Brauanlage

---------------------------------------
mrhyde
Posting Senior
Posting Senior
Beiträge: 468
Registriert: Mittwoch 7. Juni 2017, 14:16

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#529

Beitrag von mrhyde »

H-Blockx hat geschrieben: Dienstag 12. September 2023, 20:56 Hallo.

Habe den Beitrag fälschlicherweise im MQTT-Thread gepostet.

Ich benötige nochmal eure Hilfe. Bekomme keine Verbindung zwischen der MQTT Platine und CBPI auf dem Raspi. Komme einfach nicht weiter, da ich die config.yaml nicht verstehe. Der Raspi hat die IP 192.168.12.50 und die MQTT Platine 192.168.12.51


In der Config der MQTT Platine muss ich unter Misc die IP, den User und das Passwort des Raspi eingeben? Wäre das richtig?


Und nun zur config.yaml...ich kommentiere mal in Klammern dahinter


index_url: /cbpi_ui/static/index.html
mqtt: True
mqtt_host: IPofYourMQTTServer (IP der MQTT Platine) ???
mqtt_password: YourMQTTPassword (Wo ist es festgelegt) ???
mqtt_port: 1883
mqtt_username: YourMQTTUser (Wo ist er festgelegt) ???
name: CraftBeerPi (Woher bekomme ich diesen Namen) ???
password: 123 (Warum hier schon wieder ein Passwort) ???
plugins:
- cbpi4ui
- cbpi4-FermenterHysteresis
- cbpi4-BM_PID_SmartBoilWithPump
- cbpi4-PID_AutoTune
port: 8000
username: cbpi (Nochmal einen Usernamen) ???
version: 4.0.8


Ich danke für eure Hilfe.


Gruss Mike
Mit der Konfiguration der config Datei ist ja noch kein mqtt broker installiert. CBPi und das MQTTdevice kommunizieren ja nicht direkt miteinander. Bitte mal in der Doku nachschauen (https://openbrewing.gitbook.io/craftbee ... nnectivity)
Braumeister 20 | Gärung: SS Brewtech 7 Gal BME | Speidel 30 Liter (Konus)
https://github.com/PiBrewing
https://openbrewing.gitbook.io/craftbeerpi4_support/
Benutzeravatar
H-Blockx
Posting Senior
Posting Senior
Beiträge: 399
Registriert: Dienstag 11. September 2012, 23:42
Wohnort: 38154 Königslutter

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#530

Beitrag von H-Blockx »

Hallo Alex


Vielen Dank für deine Antwort.
.

Ich schreib mal kurz meine Vorgehensweise.

- Auf der MQTT Platine trage ich die IP vom Raspi und Port 1883 ein. Da Anonymous, lasse ich Nutzer und Passwort offen.

- Installation CBPI4 nach Anleitung https://openbrewing.gitbook.io/craftbee ... stallation

- Installation Mosquitto (Broker) nach Anleitung https://openbrewing.gitbook.io/craftbee ... nnectivity

- Einfügen der beiden Zeilen "allow_anonymous true" und "port 1883" in die vorhandene mosquitto.conf (vor die vorhandenen Zeilen)

- Dann starte ich alles einmal durch (Reboot)

- Nach dem Hochfahren starte ich auf dem Raspi CBPI4 mit sudo cbpi start


Mehr mache ich nicht. Ist das denn nicht ausreichend für eine Verbindung zwischen CBPI4 und der MQTT Platine?
---------------------------------------
Gruss aus Königslutter...der Mike

Meine Vorstellung und Brauanlage

---------------------------------------
Benutzeravatar
Innuendo
Posting Freak
Posting Freak
Beiträge: 1970
Registriert: Freitag 2. März 2018, 09:43

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#531

Beitrag von Innuendo »

H-Blockx hat geschrieben: Samstag 16. September 2023, 08:26 ... in die vorhandene mosquitto.conf (vor die vorhandenen Zeilen)
Prüfe die mosquitto.conf, ob nach den zwei Zeilen eine andere (default) Konfiguration vorhanden ist. Falls ja, mit # auskommentieren. Alternative: benenne die mosquitto.conf in mosquitto.ori um und starte den raspi neu. Wenn keine conf vorhanden ist (kein listerner), nimmt mosquitto anonymous allow auf Port 1883
Benutzeravatar
H-Blockx
Posting Senior
Posting Senior
Beiträge: 399
Registriert: Dienstag 11. September 2012, 23:42
Wohnort: 38154 Königslutter

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#532

Beitrag von H-Blockx »

Hallo Innu.


Danke für deine Antwort.

Werde es testen. Leider komme ich dieses Wochenende nicht mehr dazu. Ich melde mich.
---------------------------------------
Gruss aus Königslutter...der Mike

Meine Vorstellung und Brauanlage

---------------------------------------
mrhyde
Posting Senior
Posting Senior
Beiträge: 468
Registriert: Mittwoch 7. Juni 2017, 14:16

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#533

Beitrag von mrhyde »

H-Blockx hat geschrieben: Samstag 16. September 2023, 09:20 index_url: /cbpi_ui/static/index.html
mqtt: True
mqtt_host: IPofYourMQTTServer (IP der MQTT Platine) ???
mqtt_password: YourMQTTPassword (Wo ist es festgelegt) ???
mqtt_port: 1883
mqtt_username: YourMQTTUser (Wo ist er festgelegt) ???
name: CraftBeerPi (Woher bekomme ich diesen Namen) ???
password: 123 (Warum hier schon wieder ein Passwort) ???
name und Password ist noch ein Relikt von cbpi (war gedacht, wenn man sich in die UI einloggen möchte, ist aber noch nicht realisiert).
mqtthost wäre in deinem Fall localhost oder die IP der Raspi wenn du den broker dort installiert hast.

mqtt_password und mqtt_username wären die, die du bei der Konfiguration nach Anleitung vom mqtt broker festgelegt hast. Sonst mal leer lassen.
Braumeister 20 | Gärung: SS Brewtech 7 Gal BME | Speidel 30 Liter (Konus)
https://github.com/PiBrewing
https://openbrewing.gitbook.io/craftbeerpi4_support/
Benutzeravatar
H-Blockx
Posting Senior
Posting Senior
Beiträge: 399
Registriert: Dienstag 11. September 2012, 23:42
Wohnort: 38154 Königslutter

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#534

Beitrag von H-Blockx »

Hallo Innu, hallo Alex.

Ich habe nun nochmal die Einstellungen die Innu vorgeschlagen hat ausprobiert. Keine Vebindung. Bin auch noch mal die Anleitung von Alex durchgegangen und habe folgendes probiert:

Auf der MQTT Paltine:

MQTT broker user: pi
MQTT broker password: 12345


Auf dem Raspi:

cd /etc/mosquitto
sudo mosquitto_passwd -c passwdfile pi (Ist das für den User pi?)
password: 12345

sudo nano /etc/mosquitto/mosquitto.conf

Folgendes eingefügt:

allow_anonymous false
port 1883
password_file /etc/mosquitto/passwdfile

Dann

sudo systemctl restart mosquitto

und

sudo cbpi start


Dennoch keine Verbindung!
---------------------------------------
Gruss aus Königslutter...der Mike

Meine Vorstellung und Brauanlage

---------------------------------------
mrhyde
Posting Senior
Posting Senior
Beiträge: 468
Registriert: Mittwoch 7. Juni 2017, 14:16

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#535

Beitrag von mrhyde »

H-Blockx hat geschrieben: Sonntag 17. September 2023, 20:25 Hallo Innu, hallo Alex.

Ich habe nun nochmal die Einstellungen die Innu vorgeschlagen hat ausprobiert. Keine Vebindung. Bin auch noch mal die Anleitung von Alex durchgegangen und habe folgendes probiert:

Auf der MQTT Paltine:

MQTT broker user: pi
MQTT broker password: 12345


Auf dem Raspi:

cd /etc/mosquitto
sudo mosquitto_passwd -c passwdfile pi (Ist das für den User pi?)
password: 12345

sudo nano /etc/mosquitto/mosquitto.conf

Folgendes eingefügt:

allow_anonymous false
port 1883
password_file /etc/mosquitto/passwdfile

Dann

sudo systemctl restart mosquitto

und

sudo cbpi start


Dennoch keine Verbindung!
Hast du denn mal den mqtt explorer installiert und mit dem broker verbunden? (http://mqtt-explorer.com/) Das könnte zur Aufklärung helfen, ob der mqtt broker überhaupt läuft.
Braumeister 20 | Gärung: SS Brewtech 7 Gal BME | Speidel 30 Liter (Konus)
https://github.com/PiBrewing
https://openbrewing.gitbook.io/craftbeerpi4_support/
Benutzeravatar
H-Blockx
Posting Senior
Posting Senior
Beiträge: 399
Registriert: Dienstag 11. September 2012, 23:42
Wohnort: 38154 Königslutter

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#536

Beitrag von H-Blockx »

Nur das hier Alex.
MQTT Explorer.jpg
---------------------------------------
Gruss aus Königslutter...der Mike

Meine Vorstellung und Brauanlage

---------------------------------------
mrhyde
Posting Senior
Posting Senior
Beiträge: 468
Registriert: Mittwoch 7. Juni 2017, 14:16

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#537

Beitrag von mrhyde »

H-Blockx hat geschrieben: Sonntag 17. September 2023, 21:11 Nur das hier Alex.

MQTT Explorer.jpg
Da scheint dann weder das mqtt device noch cbpi eine Verbindung zu haben.

Wie sehen denn die logs nach dem Start von cbpi aus?
Braumeister 20 | Gärung: SS Brewtech 7 Gal BME | Speidel 30 Liter (Konus)
https://github.com/PiBrewing
https://openbrewing.gitbook.io/craftbeerpi4_support/
Benutzeravatar
Innuendo
Posting Freak
Posting Freak
Beiträge: 1970
Registriert: Freitag 2. März 2018, 09:43

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#538

Beitrag von Innuendo »

H-Blockx hat geschrieben: Sonntag 17. September 2023, 21:11 Nur das hier Alex.
Das ist das Bild vom 14.09. mit einer anderen Konfiguration.
Benutzeravatar
H-Blockx
Posting Senior
Posting Senior
Beiträge: 399
Registriert: Dienstag 11. September 2012, 23:42
Wohnort: 38154 Königslutter

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#539

Beitrag von H-Blockx »

Hallo ihr Beiden.

Mal eine andere Frage: Es ist egal ob ich ein 32bit oder 64bit Betriebssystem benutze? Ich nutze das Raspberry Pi OS (64-bit) mit Desktop. Es spielt auch keine Rolle, wenn ich den Standartnutzer "pi" mit dem Passwort "raspberry" durch einen anderen Nutzer mit eigenem Passwort ersetze?

Ich setze nochmal komplett neu auf. Durch die gestrigen Spielereien hab ich den Überblick verloren. Werde mich genaustens an die Anleitung halten.
---------------------------------------
Gruss aus Königslutter...der Mike

Meine Vorstellung und Brauanlage

---------------------------------------
Benutzeravatar
H-Blockx
Posting Senior
Posting Senior
Beiträge: 399
Registriert: Dienstag 11. September 2012, 23:42
Wohnort: 38154 Königslutter

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#540

Beitrag von H-Blockx »

Spielt also keine Rolle?
---------------------------------------
Gruss aus Königslutter...der Mike

Meine Vorstellung und Brauanlage

---------------------------------------
hurra
Posting Junior
Posting Junior
Beiträge: 45
Registriert: Sonntag 23. Oktober 2016, 20:09

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#541

Beitrag von hurra »

Grundsätzlich spielt das keine Rolle - wenn man weiß was man tut.
Als Anfänger ist es besser sich zu 100% an die Anleitung zu halten.
Benutzeravatar
H-Blockx
Posting Senior
Posting Senior
Beiträge: 399
Registriert: Dienstag 11. September 2012, 23:42
Wohnort: 38154 Königslutter

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#542

Beitrag von H-Blockx »

So, hab den Raspi zum vierten mal neu aufgesetzt. Das Bash-Fenster sieht bei mir etwas anders aus.

mike@raspberrypi:~ $ sudo cbpi start
---------------------
Welcome to CBPi
---------------------
config folder path : ./config
logs folder path : /home/mike/logs
START
2023-09-18:20:45:44,198 WARNING [__init__.py:499] Setting Config Status
======== Running on http://0.0.0.0:8000 ========
(Press CTRL+C to quit)
---------------------------------------
Gruss aus Königslutter...der Mike

Meine Vorstellung und Brauanlage

---------------------------------------
mrhyde
Posting Senior
Posting Senior
Beiträge: 468
Registriert: Mittwoch 7. Juni 2017, 14:16

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#543

Beitrag von mrhyde »

H-Blockx hat geschrieben: Montag 18. September 2023, 20:49 So, hab den Raspi zum vierten mal neu aufgesetzt. Das Bash-Fenster sieht bei mir etwas anders aus.

mike@raspberrypi:~ $ sudo cbpi start
---------------------
Welcome to CBPi
---------------------
config folder path : ./config
logs folder path : /home/mike/logs
START
2023-09-18:20:45:44,198 WARNING [__init__.py:499] Setting Config Status
======== Running on http://0.0.0.0:8000 ========
(Press CTRL+C to quit)
Versuch es noch einmal mit

Code: Alles auswählen

sudo cbpi -d 20 start
Braumeister 20 | Gärung: SS Brewtech 7 Gal BME | Speidel 30 Liter (Konus)
https://github.com/PiBrewing
https://openbrewing.gitbook.io/craftbeerpi4_support/
Benutzeravatar
H-Blockx
Posting Senior
Posting Senior
Beiträge: 399
Registriert: Dienstag 11. September 2012, 23:42
Wohnort: 38154 Königslutter

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#544

Beitrag von H-Blockx »

Aaaahhhh...super. Danke Alex. Aber was ist der Unterschied zum normalen Start?

mike@raspberrypi:~ $ sudo cbpi -d 20 start
---------------------
Welcome to CBPi
---------------------
config folder path : ./config
logs folder path : /home/mike/logs
START
2023-09-18:21:23:17,894 INFO [craftbeerpi.py:103] Init CraftBeerPI
2023-09-18:21:23:17,902 INFO [config_controller.py:20] Config folder path : /home/mike/config
2023-09-18:21:23:17,905 INFO [eventbus.py:56] Topic #
2023-09-18:21:23:17,911 INFO [log_file_controller.py:31] Log folder path : /home/mike/logs
2023-09-18:21:23:19,248 INFO [craftbeerpi.py:263]
_____ __ _ ____ _____ _ _ _ __ __ __
/ ____| / _| | | _ \ | __ (_) | || |/_ |/_ /_ |
| | _ __ __ _| |_| |_| |_) | ___ ___ _ __| |__) | | || |_| | | || |
| | | '__/ _` | _| __| _ < / _ \/ _ \ '__| ___/ | |__ _| | | || |
| |____| | | (_| | | | |_| |_) | __/ __/ | | | | | | |_| |_| || |
\_____|_| \__,_|_| \__|____/ \___|\___|_| |_| |_| |_(_)_(_)_||_|



2023-09-18:21:23:19,252 INFO [craftbeerpi.py:264] www.CraftBeerPi.com
2023-09-18:21:23:19,253 INFO [craftbeerpi.py:265] (c) 2021/2022 Manuel Fritsch / Alexander Vollkopf
2023-09-18:21:23:19,283 INFO [plugin_controller.py:31] Trying to load plugin dummysensor
2023-09-18:21:23:19,298 INFO [plugin_controller.py:31] Trying to load plugin gpioactor
2023-09-18:21:23:19,392 INFO [plugin_controller.py:31] Trying to load plugin mashstep
2023-09-18:21:23:19,415 INFO [plugin_controller.py:31] Trying to load plugin FermenterHysteresis
2023-09-18:21:23:19,430 INFO [plugin_controller.py:31] Trying to load plugin dummyactor
2023-09-18:21:23:19,444 INFO [plugin_controller.py:31] Trying to load plugin hysteresis
2023-09-18:21:23:19,455 INFO [plugin_controller.py:31] Trying to load plugin FermentationStep
2023-09-18:21:23:19,467 INFO [plugin_controller.py:31] Trying to load plugin httpsensor
2023-09-18:21:23:19,482 INFO [plugin_controller.py:31] Trying to load plugin SensorLogTarget_CSV
2023-09-18:21:23:19,493 INFO [plugin_controller.py:31] Trying to load plugin onewire
2023-09-18:21:23:19,594 INFO [plugin_controller.py:31] Trying to load plugin ConfigUpdate
2023-09-18:21:23:19,611 INFO [plugin_controller.py:31] Trying to load plugin SensorLogTarget_InfluxDB
2023-09-18:21:23:19,623 INFO [plugin_controller.py:31] Trying to load plugin mqtt_util
2023-09-18:21:23:19,634 INFO [plugin_controller.py:31] Trying to load plugin mqtt_actor
2023-09-18:21:23:19,655 INFO [plugin_controller.py:31] Trying to load plugin mqtt_sensor
2023-09-18:21:23:19,666 INFO [plugin_controller.py:31] Trying to load plugin timer
2023-09-18:21:23:19,927 INFO [plugin_controller.py:59] Try to load plugin: cbpi4gui == 0.3.12
2023-09-18:21:23:19,932 INFO [plugin_controller.py:62] Plugin cbpi4gui loaded successfully
2023-09-18:21:23:19,933 INFO [fermentation_controller.py:32] INIT Fermentation Controller
2023-09-18:21:23:19,935 INFO [basic_controller2.py:38] SensorController Load
2023-09-18:21:23:19,937 INFO [step_controller.py:31] INIT STEP Controller
2023-09-18:21:23:19,939 INFO [basic_controller2.py:38] ActorController Load
2023-09-18:21:23:19,940 INFO [basic_controller2.py:38] KettleController Load
2023-09-18:21:23:21,413 INFO [__init__.py:22] Starting Fermenter Autorun
2023-09-18:21:23:21,414 INFO [__init__.py:28] CSV sensor log target listener ID: YrtLzrwL8RnZb8mMWuzJin
2023-09-18:21:23:21,415 INFO [__init__.py:23] Check Config for required changes
2023-09-18:21:23:21,416 INFO [__init__.py:80] INIT Cooldown Sensor Setting
2023-09-18:21:23:21,424 INFO [__init__.py:90] INIT Cooldown Actor Setting
2023-09-18:21:23:21,433 INFO [__init__.py:110] INIT Cooldown Step Type
2023-09-18:21:23:21,451 INFO [__init__.py:120] INIT MashIn Step Type
2023-09-18:21:23:21,465 INFO [__init__.py:130] INIT Mash Step Type
2023-09-18:21:23:21,475 INFO [__init__.py:140] INIT MashOut Step Type
2023-09-18:21:23:21,487 INFO [__init__.py:150] INIT Boil Step Type
2023-09-18:21:23:21,497 INFO [__init__.py:231] INIT Brewfather User ID
2023-09-18:21:23:21,509 INFO [__init__.py:240] INIT Brewfather API Key
2023-09-18:21:23:21,523 INFO [__init__.py:258] INIT BoilKettle
2023-09-18:21:23:21,535 INFO [__init__.py:268] INIT MASH_TUN
======== Running on http://0.0.0.0:8000 ========
---------------------------------------
Gruss aus Königslutter...der Mike

Meine Vorstellung und Brauanlage

---------------------------------------
mrhyde
Posting Senior
Posting Senior
Beiträge: 468
Registriert: Mittwoch 7. Juni 2017, 14:16

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#545

Beitrag von mrhyde »

H-Blockx hat geschrieben: Montag 18. September 2023, 21:24 Aaaahhhh...super. Danke Alex. Aber was ist der Unterschied zum normalen Start?

mike@raspberrypi:~ $ sudo cbpi -d 20 start
---------------------
Welcome to CBPi
---------------------
config folder path : ./config
logs folder path : /home/mike/logs
START
2023-09-18:21:23:17,894 INFO [craftbeerpi.py:103] Init CraftBeerPI
2023-09-18:21:23:17,902 INFO [config_controller.py:20] Config folder path : /home/mike/config
2023-09-18:21:23:17,905 INFO [eventbus.py:56] Topic #
2023-09-18:21:23:17,911 INFO [log_file_controller.py:31] Log folder path : /home/mike/logs
2023-09-18:21:23:19,248 INFO [craftbeerpi.py:263]
_____ __ _ ____ _____ _ _ _ __ __ __
/ ____| / _| | | _ \ | __ (_) | || |/_ |/_ /_ |
| | _ __ __ _| |_| |_| |_) | ___ ___ _ __| |__) | | || |_| | | || |
| | | '__/ _` | _| __| _ < / _ \/ _ \ '__| ___/ | |__ _| | | || |
| |____| | | (_| | | | |_| |_) | __/ __/ | | | | | | |_| |_| || |
\_____|_| \__,_|_| \__|____/ \___|\___|_| |_| |_| |_(_)_(_)_||_|
Beim normalen Start werden nur warning und error Meldungen gezeigt.

Er startet zwar den mqtt sensor und actor, aber der Sattelite controller scheint nicht gestartet zu werden :Grübel

Du lässt das aber nicht im pi folder laufen.

Probier das bitte mal

cd /home/pi
sudo cbpi setup

dann noch einmal die config yaml anpassen

sudo cbpi start
Braumeister 20 | Gärung: SS Brewtech 7 Gal BME | Speidel 30 Liter (Konus)
https://github.com/PiBrewing
https://openbrewing.gitbook.io/craftbeerpi4_support/
Benutzeravatar
H-Blockx
Posting Senior
Posting Senior
Beiträge: 399
Registriert: Dienstag 11. September 2012, 23:42
Wohnort: 38154 Königslutter

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#546

Beitrag von H-Blockx »

Hallo Alex.


Das funktioniert nicht, das es bei mir den User pi nicht gibt. Bei der Einrichtung des Raspi habe ich den User mike angelegt. Mit dem User mike installiere ich auch alles.

Wenn ich die IP von der MQTT Platine (192.168.12.51) aufrufe, wird die MQTT Vervindung zum Raspi (Broker IP 192.168.12.29) nicht grün. Blinkt nur kurz grün.

Hier mal meine Einträge von den verschiedenen Dateien.

MQTT Platine:
MQTT broker address: 192.168.12.29
MQTT broker port [1883]: 1883
MQTT broker user: mike
MQTT broker password: 12345

mosquitto.conf
allow_anonymous false
port 1883
password_file /etc/mosquitto/passwdfile
pid_file /run/mosquitto/mosquitto.pid
persistence true
persistence_location /var/lib/mosquitto/
log_dest file /var/log/mosquitto/mosquitto.log
include_dir /etc/mosquitto/conf.d

Passwort File
cd /etc/mosquitto
sudo mosquitto_passwd -c passwdfile mike
sudo systemctl restart mosquitto

config.yaml
index_url: /cbpi_ui/static/index.html
mqtt: True
mqtt_host: 192.168.12.29
mqtt_password: 12345
mqtt_port: 1883
mqtt_username: mike
name: CraftBeerPi
password: 123
plugins:
- cbpi4ui
- cbpi4-FermenterHysteresis
- cbpi4-BM_PID_SmartBoilWithPump
- cbpi4-PID_AutoTune
port: 8000
username: cbpi
version: 4.0.8


Hier nochmal das letzte Log:
Init CraftBeerPI
Config folder path : /home/mike/config
Topic #
Log folder path : /home/mike/logs

_____ __ _ ____ _____ _ _ _ __ __ __
/ ____| / _| | | _ \ | __ (_) | || |/_ |/_ /_ |
| | _ __ __ _| |_| |_| |_) | ___ ___ _ __| |__) | | || |_| | | || |
| | | '__/ _` | _| __| _ < / _ \/ _ \ '__| ___/ | |__ _| | | || |
| |____| | | (_| | | | |_| |_) | __/ __/ | | | | | | |_| |_| || |
\_____|_| \__,_|_| \__|____/ \___|\___|_| |_| |_| |_(_)_(_)_||_|



www.CraftBeerPi.com
(c) 2021/2022 Manuel Fritsch / Alexander Vollkopf
MQTT Connected to 192.168.12.29:1883
Trying to load plugin dummysensor
Trying to load plugin gpioactor
Trying to load plugin mashstep
Trying to load plugin FermenterHysteresis
Trying to load plugin dummyactor
Trying to load plugin hysteresis
Trying to load plugin FermentationStep
Trying to load plugin httpsensor
Trying to load plugin SensorLogTarget_CSV
Trying to load plugin onewire
Trying to load plugin ConfigUpdate
Trying to load plugin SensorLogTarget_InfluxDB
Trying to load plugin mqtt_util
Trying to load plugin mqtt_actor
Trying to load plugin mqtt_sensor
Trying to load plugin timer
Try to load plugin: cbpi4gui == 0.3.12
Plugin cbpi4gui loaded successfully
INIT Fermentation Controller
SensorController Load
INIT STEP Controller
ActorController Load
KettleController Load
Starting Fermenter Autorun
CSV sensor log target listener ID: KJBA9WLqkUUQKcJknUVoo4
Check Config for required changes
INIT Cooldown Sensor Setting
INIT Cooldown Actor Setting
INIT Cooldown Step Type
INIT MashIn Step Type
INIT Mash Step Type
INIT MashOut Step Type
INIT Boil Step Type
INIT Brewfather User ID
INIT Brewfather API Key
INIT BoilKettle
INIT MASH_TUN
---------------------------------------
Gruss aus Königslutter...der Mike

Meine Vorstellung und Brauanlage

---------------------------------------
Benutzeravatar
H-Blockx
Posting Senior
Posting Senior
Beiträge: 399
Registriert: Dienstag 11. September 2012, 23:42
Wohnort: 38154 Königslutter

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#547

Beitrag von H-Blockx »

Wenn ich das Dashboard dazu starte, kommen folgende Meldungen hinzu:


192.168.12.29 [19/Sep/2023:15:53:23 +0000] "GET / HTTP/1.1" 302 202 "-" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
192.168.12.29 [19/Sep/2023:15:53:33 +0000] "POST /config/BREWERY_NAME/ HTTP/1.1" 200 178 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
192.168.12.29 [19/Sep/2023:15:53:33 +0000] "GET /dashboard/current HTTP/1.1" 200 157 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
./config/dashboard/cbpi_dashboard_0.json
192.168.12.29 [19/Sep/2023:15:53:34 +0000] "GET /dashboard/0/content HTTP/1.1" 200 187 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
192.168.12.29 [19/Sep/2023:15:53:34 +0000] "GET /dashboard/widgets HTTP/1.1" 200 158 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
192.168.12.29 [19/Sep/2023:15:53:34 +0000] "GET /dashboard/current HTTP/1.1" 200 157 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
192.168.12.29 [19/Sep/2023:15:53:34 +0000] "GET /dashboard/slowPipeAnimation HTTP/1.1" 200 161 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
192.168.12.29 [19/Sep/2023:15:53:34 +0000] "GET /dashboard/numbers HTTP/1.1" 200 157 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
192.168.12.29 [19/Sep/2023:15:53:34 +0000] "GET /system/ HTTP/1.1" 200 28384 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
Client Connected - Host: 192.168.12.29 Port: 56454 - client count: 1
192.168.12.29 [19/Sep/2023:15:53:37 +0000] "POST /config/BREWERY_NAME/ HTTP/1.1" 200 178 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
192.168.12.29 [19/Sep/2023:15:53:37 +0000] "GET /dashboard/current HTTP/1.1" 200 157 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
192.168.12.29 [19/Sep/2023:15:53:41 +0000] "GET /actor/ws_update HTTP/1.1" 200 160 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
192.168.12.29 [19/Sep/2023:15:53:41 +0000] "POST /config/PLAY_BUZZER/ HTTP/1.1" 200 160 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
192.168.12.29 [19/Sep/2023:15:53:48 +0000] "GET /dashboard/current HTTP/1.1" 200 157 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
./config/dashboard/cbpi_dashboard_1.json
192.168.12.29 [19/Sep/2023:15:53:48 +0000] "GET /dashboard/1/content HTTP/1.1" 200 187 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
192.168.12.29 [19/Sep/2023:15:53:48 +0000] "GET /dashboard/widgets HTTP/1.1" 200 158 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
192.168.12.29 [19/Sep/2023:15:53:49 +0000] "GET /dashboard/current HTTP/1.1" 200 157 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
192.168.12.29 [19/Sep/2023:15:53:51 +0000] "GET /dashboard/current HTTP/1.1" 200 157 "http://192.168.12.29:8000/cbpi_ui/static/index.html" "Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36"
---------------------------------------
Gruss aus Königslutter...der Mike

Meine Vorstellung und Brauanlage

---------------------------------------
Benutzeravatar
Innuendo
Posting Freak
Posting Freak
Beiträge: 1970
Registriert: Freitag 2. März 2018, 09:43

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#548

Beitrag von Innuendo »

jetzt mach auch bitte das gleiche mit mosquitto
(aus erinnerung, sonst bitte googlen)
sudo service mosquitto stop
sudo mosquitto

mosquitto gibt bei manuellem Start alle Infos auf der bash aus (so wie oben CBPi4)
mrhyde
Posting Senior
Posting Senior
Beiträge: 468
Registriert: Mittwoch 7. Juni 2017, 14:16

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#549

Beitrag von mrhyde »

H-Blockx hat geschrieben: Dienstag 19. September 2023, 17:33 www.CraftBeerPi.com
(c) 2021/2022 Manuel Fritsch / Alexander Vollkopf
MQTT Connected to 192.168.12.29:1883
Das log sieht gut aus. CBPI verbindet sich offensichtlich mit mosqitto. Sonst würde eine Fehlermeldung oder eben keine Meldung kommen. Das war im letzten log nicht zu sehen.
Braumeister 20 | Gärung: SS Brewtech 7 Gal BME | Speidel 30 Liter (Konus)
https://github.com/PiBrewing
https://openbrewing.gitbook.io/craftbeerpi4_support/
Benutzeravatar
H-Blockx
Posting Senior
Posting Senior
Beiträge: 399
Registriert: Dienstag 11. September 2012, 23:42
Wohnort: 38154 Königslutter

Re: CraftbeerPI 4 - Installation - Raspbian Lite 04.03-2021 - Funktioniert

#550

Beitrag von H-Blockx »

Wenn ich "sudo service mosquitto stop" eingebe, kommt folgender Fehler (nach Start CBPI)

2023-09-19:21:48:36,7 ERROR [satellite_controller.py:78] MQTT Exception: Does not support reentrant

Sobald ich Mosquitto wieder starte, ohne Fehler.

Oder meinst du was anderes Innu?

Vielleicht sollte ich jetzt einfach mal mit der Inbetriebnahme weiter machen, auch wenn die Verbindung laut MQTT Device nicht grün wird. Es scheint ja trotzdem eine Verbindung vorhanden zu sein.
---------------------------------------
Gruss aus Königslutter...der Mike

Meine Vorstellung und Brauanlage

---------------------------------------
Antworten