https://github.com/tedder/turntouch_pi
bluetooth dispatcher for the Turntouch. Designed for the Raspberry Pi.
https://github.com/tedder/turntouch_pi
Last synced: 3 months ago
JSON representation
bluetooth dispatcher for the Turntouch. Designed for the Raspberry Pi.
- Host: GitHub
- URL: https://github.com/tedder/turntouch_pi
- Owner: tedder
- Created: 2018-03-01T00:32:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-01T01:24:33.000Z (over 8 years ago)
- Last Synced: 2025-01-14T13:25:27.112Z (over 1 year ago)
- Language: Python
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Dispatch events from a [TurnTouch](), using a Raspberry Pi with [bluepy](http://ianharvey.github.io/bluepy-doc/index.html).
Designing on a Pi Zero W. Should work on Pi3 too. Python3 is a minimum requirement too- no effort will be put towards py2. Breaking changes will be allowed until we decide it's releaseable.
# dev tasks
grep 'TODO' if you want to jump in. Currently working on monitor.py.
* can't get notifications because we can't connect. (big)
* sniff if we are root/have access to the BT stack and fail with a helpful message (little)
* start a yaml configuration file + reader
* start a dispatcher class (?) and factory or something else fairly easy to write and pluggable
# dependencies to put in reqs.txt
bluepy>=0.9.11
## Notes about other libs etc
pybluez is 3 years old, there's a recent-ish update to work with BTLE but it isn't released
https://github.com/karulis/pybluez
## turntouch scan signatures from scan.py
Device e7:5b:f9:bf:02:52 (random), RSSI=-33 dB
Short Local Name = Turn Touch Rem
Appearance = 8001
Complete 16b Services = 0f180a182315
Flags = 06
Device d2:e5:5b:7e:f6:51 (random), RSSI=-52 dB
Short Local Name = Turn Touch Rem
Appearance = 8001
Complete 16b Services = 0f180a182315
Flags = 06
Device e6:a8:90:2e:62:6d (random), RSSI=-40 dB
Short Local Name = Turn Touch Rem
Appearance = 8001
Complete 16b Services = 0f180a182315
Flags = 06
# License
MIT license. Will flesh out before first release, but every commit to this repo is under the MIT license.