Craftbeerpi3 parou de funcionar

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

Mateus Junqueira

Active Member
Joined
Dec 3, 2019
Messages
34
Reaction score
15
Boa tarde, após instalar o buzzer, ao acessa o localhost, o mesmo inicializa mas fica em tela preta.

Segue log do erro:

Alguém sabe como ajudar?

pi@raspberrypi:~/craftbeerpi3 $ sudo ./run.py
INIT DB
INITIALIZE ISPINDEL MODULE
/home/pi/craftbeerpi3/modules/buzzer/__init__.py:19: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(self.gpio, GPIO.OUT)
/home/pi/craftbeerpi3/modules/base_plugins/gpio_actor/__init__.py:45: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(int(self.gpio), GPIO.OUT)
/home/pi/craftbeerpi3/modules/base_plugins/gpio_actor/__init__.py:80: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(int(self.gpio), GPIO.OUT)
[2019-12-18 16:04:19,481] ERROR in core: Initializing of Actor 8 failed
Traceback (most recent call last):
File "./run.py", line 10, in <module>
socketio.run(app, host='0.0.0.0', port=port)
File "/usr/local/lib/python2.7/dist-packages/flask_socketio/__init__.py", line 459, in run
run_server()
File "/usr/local/lib/python2.7/dist-packages/flask_socketio/__init__.py", line 438, in run_server
eventlet_socket = eventlet.listen((host, port))
File "/usr/local/lib/python2.7/dist-packages/eventlet/convenience.py", line 43, in listen
sock.bind(addr)
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use
 
Aparentemente vc tá usando o buzzer em um gpio já usado:

This channel is already in use, continuing anyway

Se não me engano o buzzer é no 20... ao menos na minha placa de interface é.
 
Boa tarde, após instalar o buzzer, ao acessa o localhost, o mesmo inicializa mas fica em tela preta.

Segue log do erro:

Alguém sabe como ajudar?

pi@raspberrypi:~/craftbeerpi3 $ sudo ./run.py
INIT DB
INITIALIZE ISPINDEL MODULE
/home/pi/craftbeerpi3/modules/buzzer/__init__.py:19: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(self.gpio, GPIO.OUT)
/home/pi/craftbeerpi3/modules/base_plugins/gpio_actor/__init__.py:45: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(int(self.gpio), GPIO.OUT)
/home/pi/craftbeerpi3/modules/base_plugins/gpio_actor/__init__.py:80: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(int(self.gpio), GPIO.OUT)
[2019-12-18 16:04:19,481] ERROR in core: Initializing of Actor 8 failed
Traceback (most recent call last):
File "./run.py", line 10, in <module>
socketio.run(app, host='0.0.0.0', port=port)
File "/usr/local/lib/python2.7/dist-packages/flask_socketio/__init__.py", line 459, in run
run_server()
File "/usr/local/lib/python2.7/dist-packages/flask_socketio/__init__.py", line 438, in run_server
eventlet_socket = eventlet.listen((host, port))
File "/usr/local/lib/python2.7/dist-packages/eventlet/convenience.py", line 43, in listen
sock.bind(addr)
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use
Brother, conseguiu colocar o Buzzer pra funcionar?
 
Back
Top