home_assistant-ble 1.1.0.pre.alpha.pre.17 → 1.1.0.pre.alpha.pre.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -2
- data/home_assistant-ble.service +13 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf0d9315d67d5bc134681ef360fa44d5c56c5e05
|
4
|
+
data.tar.gz: ce23eaa56ec671b357c07df758169424e20817ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1551c9f994179b1bb7b1b470df137be02f7cea11b06b8eda44e7fbe574b27602e42d03380b2a91ae11c1036b695de563994910b31f8b9243f48ce5ce32bf0ea
|
7
|
+
data.tar.gz: 8a4fe708c3eea4d0b7a30023123f7daf9a30f5ee9e466e93cbc0538ecf4ffa67bf8b032f4bc73fd1ed90c7506b78b4ca947ecac02840568d14b062231f4abe42
|
data/README.md
CHANGED
@@ -16,8 +16,14 @@ $ `gem install home_assistant-ble`
|
|
16
16
|
|
17
17
|
Run `home_assistant-ble [your config file]` binary.
|
18
18
|
|
19
|
-
|
19
|
+
### Systemd
|
20
20
|
|
21
|
+
To launch as a systemd service, you can copy `home_assistant-ble.service` file present in this repo.
|
22
|
+
|
23
|
+
I'll probably build an archlinux package at some point (TODO).
|
24
|
+
|
25
|
+
|
26
|
+
### Non noot
|
21
27
|
To be able to run with a non-root user, read http://unix.stackexchange.com/questions/96106/bluetooth-le-scan-as-non-root. In short (adapt if using a non-debian distribution):
|
22
28
|
|
23
29
|
```
|
@@ -26,7 +32,7 @@ sudo setcap 'cap_net_raw,cap_net_admin+eip' `readlink -f \`which ruby\``
|
|
26
32
|
```
|
27
33
|
**Note**: these instructions are probably not sufficient, see https://github.com/kamaradclimber/home_assistant-ble/issues/1
|
28
34
|
|
29
|
-
|
35
|
+
### Configuration
|
30
36
|
|
31
37
|
```
|
32
38
|
interval: 30 # in seconds, interval between device scan
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: home_assistant-ble
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0.pre.alpha.pre.
|
4
|
+
version: 1.1.0.pre.alpha.pre.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grégoire Seux
|
@@ -112,6 +112,7 @@ files:
|
|
112
112
|
- bin/home_assistant-ble
|
113
113
|
- example_config.yml
|
114
114
|
- home_assistant-ble.gemspec
|
115
|
+
- home_assistant-ble.service
|
115
116
|
- lib/home_assistant/ble.rb
|
116
117
|
- lib/home_assistant/ble/version.rb
|
117
118
|
homepage: https://github.com/kamaradclimber/home_assistant-ble
|