Giter Site home page Giter Site logo

Install error? about tilt-pitch HOT 5 OPEN

linjmeyer avatar linjmeyer commented on June 3, 2024
Install error?

from tilt-pitch.

Comments (5)

rcork avatar rcork commented on June 3, 2024

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.

capt-rob avatar capt-rob commented on June 3, 2024

That seemed to do the trick. Thanks a ton!

from tilt-pitch.

capt-rob avatar capt-rob commented on June 3, 2024

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.

rcork avatar rcork commented on June 3, 2024

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

pybluez/pybluez@44265df

I actually stopped using tilt pitch and i'm using TiltBridge now. Much better and supports Tilt Pro Hydrometers.

http://tiltbridge.com/

from tilt-pitch.

capt-rob avatar capt-rob commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.