Comments (5)
I had the same issue but found a link to an issue on github and a solution that worked for me. Here's the link: pybluez/pybluez#431 (comment)
What i did was, after installing all the prereqs, ran these commands
sudo apt install -y git
pip install git+https://github.com/pybluez/pybluez.git#egg=pybluez
pip3 install tilt-pitch
from tilt-pitch.
That seemed to do the trick. Thanks a ton!
from tilt-pitch.
However, now on running Tilt Pitch I get the following:
plex@PLEXSERVER:~$ python3 -m pitch
____ _ __ __
/ __ () // /
/ // / / __/ / __
/ ___/ / // // / / /
// //_/__// //
Starting...
...started: Prometheus (http://127.0.0.1:8000/metrics)
...started: File (pitch_log.json)
Exception in thread Thread-2:
Traceback (most recent call last):
...started: Tilt scanner
Ready! Listening for beacons
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/home/plex/.local/lib/python3.10/site-packages/beacontools/scanner.py", line 144, in run
self.socket = self.backend.open_dev(self.bt_device_id)
File "/home/plex/.local/lib/python3.10/site-packages/beacontools/backend/linux.py", line 11, in open_dev
bluez.hci_filter_all_events(filtr)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 4: invalid start byte
from tilt-pitch.
That ones over my pay grade :). Problem is pybluez is not maintained anymore. I found a commit referencing the issue but it hasn't been incorporated into the master repo so i dont know how to fix this issue
I actually stopped using tilt pitch and i'm using TiltBridge now. Much better and supports Tilt Pro Hydrometers.
from tilt-pitch.
Thanks for giving it a shot anyway. i know just enough about Linux to get myself in trouble and even less about coding in Python, LOL! Got an old Raspberry Pi kicking around and got TiltPi running on that. Was just hoping to run the data monitor on an already running machine, but heck, TiltPi is probably my best bet. Happy brewing!
from tilt-pitch.
Related Issues (15)
- Beacon scanning packet types too broad HOT 1
- Example configs are missing
- Missing python module dependencies
- Request - Support for Brewfather HOT 1
- community.grainfather.com HOT 3
- web UI or Command line ? HOT 1
- busy loop causes performance hit HOT 2
- Feature: Support filtering out bad data sent from Tilt
- Yellow tilt reports as Pink HOT 1
- Crash due to casting issue when invalid gravity detected. HOT 1
- 408 error connecting to Brewfather stream HOT 4
- Bluetooth Error HOT 5
- pip3 setuptools version 59.6.0 not supported, causes the following error HOT 1
- InfluxDB database schema for Grafana dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tilt-pitch.