mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-26 05:27:31 +02:00
update ibeacon
This commit is contained in:
parent
afb6a813cf
commit
a180a83039
@ -134,9 +134,10 @@ kevin_android:
|
||||
|
||||
Use `vimagick/hass:latest`, and disable bluetooth device tracker.
|
||||
|
||||
- https://joost.oostdijk.net/articles/playing_with_ble_on_an_onion_omega/
|
||||
- https://home-assistant.io/blog/2016/04/30/ibeacons-part-1-making-presence-detection-work-better/
|
||||
- https://home-assistant.io/blog/2016/05/26/ibeacons-how-to-track-things-that-cant-track-themselves-part-ii/
|
||||
- http://owntracks.org/
|
||||
- http://owntracks.org/booklet/tech/json/
|
||||
- https://play.google.com/store/apps/details?id=de.flurp.beaconscanner.app&hl=en
|
||||
|
||||
[1]: https://home-assistant.io/
|
||||
|
@ -10,10 +10,10 @@ Type=oneshot
|
||||
Environment="UUID=88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88"
|
||||
Environment="MAJOR=00 00"
|
||||
Environment="MINOR=00 00"
|
||||
Environment="POWER=C8 00"
|
||||
Environment="POWER=C8"
|
||||
ExecStart=/bin/hciconfig hci0 up
|
||||
ExecStart=/bin/hciconfig hci0 noscan
|
||||
ExecStart=/usr/bin/hcitool -i hci0 cmd 0x08 0x0008 1E 02 01 1A 1A FF 4C 00 02 15 $UUID $MAJOR $MINOR $POWER
|
||||
ExecStart=/usr/bin/hcitool -i hci0 cmd 0x08 0x0008 1E 02 01 1A 1A FF 4C 00 02 15 $UUID $MAJOR $MINOR $POWER 00
|
||||
ExecStart=/usr/bin/hcitool -i hci0 cmd 0x08 0x0006 A0 00 A0 00 03 00 00 00 00 00 00 00 00 07 00
|
||||
ExecStart=/usr/bin/hcitool -i hci0 cmd 0x08 0x000a 01
|
||||
# See: http://stackoverflow.com/questions/21124993/
|
||||
|
Loading…
x
Reference in New Issue
Block a user