sb11 hat geschrieben:ich habe es leider immer noch nicht hinbekommen, Craftbeerpi 2.2 in Verbindung mit meinem DS18B20 1-Wire Sensor mit USB Anschluss zum Laufen zu bekommen.
Hallo zusammen,
ich hatte bereits vor einiger Zeit mal mein Problem geschildert, aber leider keine Rückmeldung bekommen. Daher versuche ich es nochmal - in der Hoffnung, dass mir vielleicht jemand weiter helfen kann.
Ich möchte gern Craftbeerpi 2.2 in Verbindung mit meinem DS18B20 1-Wire Sensor mit USB Anschluss und mit meiner Gembird USB-Leiste verwenden. Ich habe eben nochmal Version 2.2 von Github neu installiert:
Nach dem Neustart bekomme ich den folgenden Status:
Code: Alles auswählen
root@brewpi:~# /etc/init.d/craftbeerpiboot status
● craftbeerpiboot.service - LSB: Put a short description of the service here
Loaded: loaded (/etc/init.d/craftbeerpiboot)
Active: active (running) since Fr 2017-02-03 11:42:07 CET; 32s ago
Process: 351 ExecStart=/etc/init.d/craftbeerpiboot start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/craftbeerpiboot.service
└─375 python /root/craftbeerpi/runserver.py
Feb 03 11:42:07 brewpi craftbeerpiboot[351]: Starting system CraftBeerPI daemon:.
Feb 03 11:42:07 brewpi systemd[1]: Started LSB: Put a short description of the service here.
Ich habe allerdings die folgenden Probleme:
1. Nach der Konfiguration bleibt das Dashboard "leer":
2. Ich habe in der Konfiguration THERMOMETER_TYPE auf USB umgestellt. In der Konfiguration des Thermometers ist das Dropdown-Feld leer (es steht nur ---PLS_SELECT--- drin), d.h. ich kann meinen Sensor nicht auswählen. Über digitemp wird mein 1-Wire USB Sensor aber erkannt und ich kann Temperaturen auslesen:
Code: Alles auswählen
root@brewpi:~/craftbeerpi/log# digitemp_DS9097 -i -s /dev/ttyUSB0
DigiTemp v3.6.0 Copyright 1996-2007 by Brian C. Lane
GNU General Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers
.
Searching the 1-Wire LAN
28BAEF7F06000080 : DS18B20 Temperature Sensor
ROM #0 : 28BAEF7F06000080
Wrote .digitemprc
root@brewpi:~/craftbeerpi/log# digitemp_DS9097 -q -t 0 -c .digitemprc
Feb 03 12:03:12 Sensor 0 C: 22.12 F: 71.82
Ich hab mir mal die app.log angeschaut, in der einige Fehlermeldungen stehen:
Code: Alles auswählen
INFO:brewapp:##########################################
INFO:brewapp:### NEW STARTUP Version 2.2
INFO:brewapp:##########################################
INFO:engineio:Server initialized for eventlet.
INFO:brewapp:SETUP GPIO Module Loaded
ERROR:brewapp:SETUP PiFace Module No module named pifacedigitalio
INFO:brewapp:SETUP GPIO Module Loaded
INFO:brewapp:SETUP GPIO Module Loaded
INFO:brewapp:SETUP GPIO Module Loaded
INFO:brewapp:SETUP GPIO Module for Buzzer
INFO:brewapp:## INITIALIZE DATA
INFO:brewapp:--> Method: initConfig() File: /root/craftbeerpi/brewapp/base/config.py
INFO:brewapp:--> Method: init() File: /root/craftbeerpi/brewapp/base/config.py
INFO:brewapp:--> Method: init() File: /root/craftbeerpi/brewapp/base/actor.py
INFO:brewapp:## INIT HARDWARE
INFO:brewapp:Hardware: {1: {'config': {u'switch': u'SOCKET1', u'hide': False, u'inverted': False}, 'type': u'H', 'id': 1, 'name': u'Einkocher'}, 2: {'config': {u'switch': u'SOCKET2', u'hide': False, u'in$
INFO:brewapp:Thermometer: {3: {'config': {u'hide': False, u'thermometer': {u'offset': 0}}, 'type': u'T', 'id': 3, 'name': u'Sensor'}}
INFO:brewapp:--> Method: initDriver() File: /root/craftbeerpi/brewapp/base/config.py
INFO:brewapp:INIT Driver
INFO:brewapp:<brewapp.base.devices.gembird.GembirdUSB object at 0xb5aa0ad0>
INFO:brewapp:<brewapp.base.thermometer.usb_thermometer.USBThermometer object at 0xb5aa0750>
INFO:brewapp:--> Method: initKettle() File: /root/craftbeerpi/brewapp/base/kettle.py
INFO:brewapp:--> Method: initBuzzer() File: /root/craftbeerpi/brewapp/base/buzzer.py
INFO:brewapp:BUZZER GPIO: 16
INFO:brewapp:--> Method: init() File: /root/craftbeerpi/brewapp/base/step.py
INFO:brewapp:--> Method: init() File: /root/craftbeerpi/brewapp/base/recipebook.py
INFO:brewapp:--> Method: sendStats() File: /root/craftbeerpi/brewapp/base/stats.py
INFO:brewapp:Sending stats
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): www.craftbeerpi.com
DEBUG:requests.packages.urllib3.connectionpool:"POST /stats.php HTTP/1.1" 200 20
INFO:brewapp:<Response [200]>
INFO:brewapp:--> Method: load() File: /root/craftbeerpi/brewapp/base/fermenter.py
INFO:brewapp:CURRENT_TASK
INFO:brewapp:{}
INFO:brewapp:--> Method: init() File: /root/craftbeerpi/brewapp/base/hydrometer/receivedataapi.py
INFO:brewapp:--> Method: init2() File: /root/craftbeerpi/brewapp/base/actor.py
INFO:brewapp:## INITIALIZE JOBS
INFO:brewapp:Start Job: kettlejob Interval:5 Key:kettle
ERROR:brewapp:Exceptionkettlejob: 3
INFO:brewapp:--> Method:kettlejob() File: /root/craftbeerpi/brewapp/base/kettle.py
INFO:brewapp:Start Job: stepjob Interval:0.1 Key:stepjob
INFO:brewapp:--> Method:stepjob() File: /root/craftbeerpi/brewapp/base/step.py
INFO:brewapp:Start Job: readTemp Interval:5 Key:readtemp
ERROR:brewapp:ExceptionreadTemp: 'id'
INFO:brewapp:--> Method:readTemp() File: /root/craftbeerpi/brewapp/base/thermo.py
INFO:brewapp:Start Job: fermenterjob Interval:60 Key:fermenter
INFO:brewapp:--> Method:fermenterjob() File: /root/craftbeerpi/brewapp/base/fermenter.py
INFO:brewapp:Start Job: step_control Interval:0.1 Key:fermenter_control
INFO:brewapp:--> Method:step_control() File: /root/craftbeerpi/brewapp/base/fermenter.py
INFO:brewapp:Start Job: fermenterjob Interval:60 Key:fermenter
INFO:brewapp:--> Method:fermenterjob() File: /root/craftbeerpi/brewapp/base/fermenter.py
INFO:engineio:6390ddbe9a0242f99f643d63e479b0fc: Sending packet OPEN data {'pingInterval': 25000, 'pingTimeout': 60000, 'upgrades': ['websocket'], 'sid': '6390ddbe9a0242f99f643d63e479b0fc'}
INFO:engineio:6390ddbe9a0242f99f643d63e479b0fc: Sending packet MESSAGE data 0
INFO:engineio:6390ddbe9a0242f99f643d63e479b0fc: Received packet MESSAGE data 0/brew
INFO:engineio:6390ddbe9a0242f99f643d63e479b0fc: Sending packet MESSAGE data 0/brew
INFO:engineio:6390ddbe9a0242f99f643d63e479b0fc: Received request to upgrade to websocket
INFO:engineio:6390ddbe9a0242f99f643d63e479b0fc: Sending packet NOOP data None
INFO:engineio:6390ddbe9a0242f99f643d63e479b0fc: Upgrade to websocket successful
ERROR:brewapp:Exceptionkettlejob: 3
ERROR:brewapp:ExceptionreadTemp: 'id'
ERROR:brewapp:Exceptionkettlejob: 3
ERROR:brewapp:ExceptionreadTemp: 'id'
ERROR:brewapp:Exceptionkettlejob: 3
ERROR:brewapp:ExceptionreadTemp: 'id'
ERROR:brewapp:Exceptionkettlejob: 3
ERROR:brewapp:ExceptionreadTemp: 'id'
ERROR:brewapp:Exceptionkettlejob: 3
ERROR:brewapp:ExceptionreadTemp: 'id'
INFO:engineio:6390ddbe9a0242f99f643d63e479b0fc: Received packet PING data None
INFO:engineio:6390ddbe9a0242f99f643d63e479b0fc: Sending packet PONG data None
ERROR:brewapp:Exceptionkettlejob: 3
ERROR:brewapp:ExceptionreadTemp: 'id'
Weiter bin ich allerdings nicht gekommen.
Kann mir evt. jemand helfen, Craftbeerpi zum laufen zu bekommen? Ich würde mich über jede Hilfe freuen.
Vielen Dank schonmal und beste Grüsse,
Sebastian