savant-echo 0.1.6 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/alexa-0.1.2-osx/lib/app/habridge/com.SCLI_HTTP.plist +19 -0
- data/bin/alexa-0.1.2-osx/lib/app/habridge/com.habridge.plist +21 -0
- data/bin/alexa-0.1.2-osx/lib/app/habridge/data/habridge.config +1 -0
- data/bin/alexa-0.1.2-osx/lib/app/habridge/ha-bridge-3.1.0.jar +0 -0
- data/bin/habridge/com.SCLI_HTTP.plist +19 -0
- data/bin/habridge/com.habridge.plist +21 -0
- data/bin/habridge/data/habridge.config +1 -0
- data/bin/habridge/ha-bridge-3.5.1.jar +0 -0
- data/bin/src/Savant.rb +1 -4
- data/bin/src/glade/Savant.glade +1 -3
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d055d6fd16f0c7df90f623d58434ae6746e5767e
|
4
|
+
data.tar.gz: dee0c1c44798684ff002df389a18beb808e2bfd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3582fda369b18d27569c3ee94a1e46626a2beb3d124e30f7df98318f428f0c4e542a978ef354d96a3dfe5415542b5d95c69f3b3810862263f46de3cadc95777
|
7
|
+
data.tar.gz: 7e2f5a81daba6894ae185609bb3809368cd0f7e989e42140a6f1d49d49223ac59992aedb2cf2116a19d1628546f1829eafc1f1c3ef6f95a04493b22f06e2965b
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>Label</key>
|
6
|
+
<string>com.SCLI_HTTP</string>
|
7
|
+
<key>ProgramArguments</key>
|
8
|
+
<array>
|
9
|
+
<string>ruby</string>
|
10
|
+
<string>/Users/RPM/habridge/SCLI_HTTP.rb</string>
|
11
|
+
</array>
|
12
|
+
<key>RunAtLoad</key>
|
13
|
+
<true/>
|
14
|
+
<key>KeepAlive</key>
|
15
|
+
<true/>
|
16
|
+
<key>WorkingDirectory</key>
|
17
|
+
<string>/Users/RPM/hadbridge/</string>
|
18
|
+
</dict>
|
19
|
+
</plist>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>Label</key>
|
6
|
+
<string>com.habridge</string>
|
7
|
+
<key>ProgramArguments</key>
|
8
|
+
<array>
|
9
|
+
<string>java</string>
|
10
|
+
<string>-jar</string>
|
11
|
+
<string>-Dconfig.file=/Users/RPM/habridge/data/habridge.config</string>
|
12
|
+
<string>/Users/RPM/habridge/ha-bridge-3.1.0.jar</string>
|
13
|
+
</array>
|
14
|
+
<key>RunAtLoad</key>
|
15
|
+
<true/>
|
16
|
+
<key>KeepAlive</key>
|
17
|
+
<true/>
|
18
|
+
<key>WorkingDirectory</key>
|
19
|
+
<string>/Users/RPM/habridge</string>
|
20
|
+
</dict>
|
21
|
+
</plist>
|
@@ -0,0 +1 @@
|
|
1
|
+
{"upnpconfigaddress":"192.168.77.40","serverport":8888,"upnpresponseport":50000,"upnpdevicedb":"data/device.db","buttonsleep":100,"upnpstrict":true,"traceupnp":false,"veraconfigured":false,"harmonyconfigured":false,"nestconfigured":false,"farenheit":true,"configfile":"data/habridge.config","numberoflogmessages":512,"hueconfigured":false,"halconfigured":false,"settingsChanged":false}
|
Binary file
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>Label</key>
|
6
|
+
<string>com.SCLI_HTTP</string>
|
7
|
+
<key>ProgramArguments</key>
|
8
|
+
<array>
|
9
|
+
<string>ruby</string>
|
10
|
+
<string>/Users/RPM/habridge/SCLI_HTTP.rb</string>
|
11
|
+
</array>
|
12
|
+
<key>RunAtLoad</key>
|
13
|
+
<true/>
|
14
|
+
<key>KeepAlive</key>
|
15
|
+
<true/>
|
16
|
+
<key>WorkingDirectory</key>
|
17
|
+
<string>/Users/RPM/habridge/</string>
|
18
|
+
</dict>
|
19
|
+
</plist>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>Label</key>
|
6
|
+
<string>com.habridge</string>
|
7
|
+
<key>ProgramArguments</key>
|
8
|
+
<array>
|
9
|
+
<string>java</string>
|
10
|
+
<string>-jar</string>
|
11
|
+
<string>-Dconfig.file=/Users/RPM/habridge/data/habridge.config</string>
|
12
|
+
<string>/Users/RPM/habridge/ha-bridge-3.5.1.jar</string>
|
13
|
+
</array>
|
14
|
+
<key>RunAtLoad</key>
|
15
|
+
<true/>
|
16
|
+
<key>KeepAlive</key>
|
17
|
+
<true/>
|
18
|
+
<key>WorkingDirectory</key>
|
19
|
+
<string>/Users/RPM/habridge</string>
|
20
|
+
</dict>
|
21
|
+
</plist>
|
@@ -0,0 +1 @@
|
|
1
|
+
{"upnpconfigaddress":"192.168.77.40","serverport":8888,"upnpresponseport":50000,"upnpdevicedb":"data/device.db","buttonsleep":100,"upnpstrict":true,"traceupnp":false,"veraconfigured":false,"harmonyconfigured":false,"nestconfigured":false,"farenheit":true,"configfile":"data/habridge.config","numberoflogmessages":512,"hueconfigured":false,"halconfigured":false,"settingsChanged":false}
|
Binary file
|
data/bin/src/Savant.rb
CHANGED
@@ -12,7 +12,6 @@ require 'uri'
|
|
12
12
|
require 'socket'
|
13
13
|
require 'timeout'
|
14
14
|
require 'ipaddress'
|
15
|
-
|
16
15
|
class Savant
|
17
16
|
include GladeGUI
|
18
17
|
|
@@ -163,9 +162,7 @@ class Savant
|
|
163
162
|
clear_events()
|
164
163
|
ssh.exec!("mkdir -p /Users/RPM/habridge/")
|
165
164
|
path = File.expand_path("..",__dir__)
|
166
|
-
|
167
|
-
@builder["installStatus"].label += result
|
168
|
-
clear_events()
|
165
|
+
ssh.scp.upload!(path + "/habridge/", '/Users/RPM/', :recursive => true)
|
169
166
|
ssh.exec!("mv /Users/RPM/habridge/com.habridge.plist /Users/RPM/Library/LaunchAgents/")
|
170
167
|
ssh.exec!("mv /Users/RPM/habridge/com.SCLI_HTTP.plist /Users/RPM/Library/LaunchAgents/")
|
171
168
|
@builder["installStatus"].label += "\nFiles copied!\n\nInstalling Homebrew on Host...this might take a minute.\n"
|
data/bin/src/glade/Savant.glade
CHANGED
@@ -6,8 +6,6 @@
|
|
6
6
|
<property name="width_request">800</property>
|
7
7
|
<property name="can_focus">False</property>
|
8
8
|
<property name="has_focus">True</property>
|
9
|
-
<property name="margin_left">6</property>
|
10
|
-
<property name="margin_right">6</property>
|
11
9
|
<property name="modal">True</property>
|
12
10
|
<property name="window_position">center-always</property>
|
13
11
|
<property name="urgency_hint">True</property>
|
@@ -16,6 +14,7 @@
|
|
16
14
|
<object class="GtkGrid">
|
17
15
|
<property name="visible">True</property>
|
18
16
|
<property name="can_focus">False</property>
|
17
|
+
<property name="margin_left">12</property>
|
19
18
|
<property name="margin_right">12</property>
|
20
19
|
<child>
|
21
20
|
<object class="GtkLabel">
|
@@ -330,7 +329,6 @@
|
|
330
329
|
<object class="GtkButtonBox">
|
331
330
|
<property name="visible">True</property>
|
332
331
|
<property name="can_focus">False</property>
|
333
|
-
<property name="margin_right">12</property>
|
334
332
|
<property name="margin_top">12</property>
|
335
333
|
<property name="margin_bottom">12</property>
|
336
334
|
<property name="spacing">7</property>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: savant-echo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Corey Miller
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir:
|
10
10
|
- bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-12-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: net-scp
|
@@ -100,6 +100,10 @@ extra_rdoc_files: []
|
|
100
100
|
files:
|
101
101
|
- bin/alexa
|
102
102
|
- bin/alexa-0.1.2-osx/lib/app/habridge/SCLI_HTTP.rb
|
103
|
+
- bin/alexa-0.1.2-osx/lib/app/habridge/com.SCLI_HTTP.plist
|
104
|
+
- bin/alexa-0.1.2-osx/lib/app/habridge/com.habridge.plist
|
105
|
+
- bin/alexa-0.1.2-osx/lib/app/habridge/data/habridge.config
|
106
|
+
- bin/alexa-0.1.2-osx/lib/app/habridge/ha-bridge-3.1.0.jar
|
103
107
|
- bin/alexa-0.1.2-osx/lib/app/src/Savant.rb
|
104
108
|
- bin/alexa-0.1.2-osx/lib/app/src/glade/Savant.glade
|
105
109
|
- bin/alexa-0.1.2-osx/lib/ruby/lib/restore_environment.rb
|
@@ -1918,6 +1922,10 @@ files:
|
|
1918
1922
|
- bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/visualruby-3.0.23/src/main/glade/VR_Main.glade
|
1919
1923
|
- bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/visualruby-3.0.23/src/main/glade/VR_Remote_Gem_Tree.glade
|
1920
1924
|
- bin/habridge/SCLI_HTTP.rb
|
1925
|
+
- bin/habridge/com.SCLI_HTTP.plist
|
1926
|
+
- bin/habridge/com.habridge.plist
|
1927
|
+
- bin/habridge/data/habridge.config
|
1928
|
+
- bin/habridge/ha-bridge-3.5.1.jar
|
1921
1929
|
- bin/packaging/vendor/ruby/2.2.0/gems/atk-3.1.0/ext/atk/extconf.rb
|
1922
1930
|
- bin/packaging/vendor/ruby/2.2.0/gems/atk-3.1.0/extconf.rb
|
1923
1931
|
- bin/packaging/vendor/ruby/2.2.0/gems/atk-3.1.0/lib/atk.rb
|