Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RP3 and Tilt v2 is working. RP3+ and Tilt v2 is not working. Where is the fault? #9

Open
Fosgrau opened this issue Sep 12, 2018 · 3 comments

Comments

@Fosgrau
Copy link

Fosgrau commented Sep 12, 2018

Install Craftbeerpi3, update, reboot
Install Tilt (Python-blues, numpy and setcap, reboot
In CBP3 system, add-on, tilt download, reboot
Setup the Tilt Temperture and Gravity in sensorgroup but there is not received any data.
RaspberryPi 3 = It is working :-)
RaspberryPi 3+ = Not working :-( Is there something wrong in the Blutooth module?

@sharpn
Copy link

sharpn commented Sep 29, 2018

Just got this working with a 3+ and tilt 2. Here are my steps

  1. Follow the install instructions for the plugin
  2. run sudo bluetoothctl on the pi
  3. run agent on on the pi
  4. run default-agent on the pi

Then the readings start coming through

@gerdawg
Copy link

gerdawg commented Jan 25, 2019

I'm having the same issue on an RPI 3+......

It seems that bluetoothctl cannot connect to the beacon unless i set "scan on" in the bluetoothctl parameters every time after boot up. If using SSH then you need to sudo first.

Any thoughts on how to fix this? I tried downgrading my bluez package to that of Jessie but it didn't help.

@gerdawg
Copy link

gerdawg commented Jan 25, 2019

This is the log that I receive from the tilt.log

2019-01-25 13:33:54,Restarting Bluetooth process in 10 seconds
2019-01-25 13:34:01,Calibration equation: tilt
2019-01-25 13:34:01,Calibration equation: tilt
2019-01-25 13:34:01,Starting Bluetooth connection
2019-01-25 13:34:01,Error starting Bluetooth device, exception: (9, 'Bad file de scriptor')
2019-01-25 13:34:01,Restarting Bluetooth process in 10 seconds
2019-01-25 13:34:11,Starting Bluetooth connection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants