aca-device-modules 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -76,13 +76,13 @@ class Vaddio::Camera::ClearViewPtzTelnet
76
76
 
77
77
 
78
78
  # direction: left, right, stop
79
- def pan(direction, speed = 18)
79
+ def pan(direction, speed = 12)
80
80
  params = direction.to_sym == :stop ? direction : "#{direction} #{speed}"
81
81
  send "camera pan #{params}\r", name: :pan
82
82
  end
83
83
 
84
84
  # direction: up, down, stop
85
- def tilt(direction, speed = 18)
85
+ def tilt(direction, speed = 10)
86
86
  params = direction.to_sym == :stop ? direction : "#{direction} #{speed}"
87
87
  send "camera tilt #{params}\r", name: :tilt
88
88
  end
@@ -105,7 +105,11 @@ class Vaddio::Camera::ClearViewPtzTelnet
105
105
  def reboot(from_now = 0)
106
106
  # Not named so it won't be stored in the queue when not connected
107
107
  # -> Named commands persist disconnect and will execute in order on connect
108
- send "reboot #{from_now}\r"
108
+ if from_now > 0
109
+ send "reboot #{from_now}\r"
110
+ else
111
+ send "reboot\r"
112
+ end
109
113
  end
110
114
 
111
115
  def version
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aca-device-modules
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen von Takach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-18 00:00:00.000000000 Z
11
+ date: 2015-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -51,6 +51,8 @@ files:
51
51
  - lib/aca-device-modules.rb
52
52
  - lib/aca-device-modules/engine.rb
53
53
  - lib/aca-device-modules/version.rb
54
+ - modules/aca/lifter_logic_auto.rb
55
+ - modules/aca/lifter_logic_manual.rb
54
56
  - modules/aca/pc_control.rb
55
57
  - modules/axis/camera/vapix.rb
56
58
  - modules/biamp/nexia.rb
@@ -68,6 +70,7 @@ files:
68
70
  - modules/nec/projector/np_series.rb
69
71
  - modules/panasonic/camera/he50.rb
70
72
  - modules/panasonic/projector/tcp.rb
73
+ - modules/philips/dynalite.rb
71
74
  - modules/samsung/displays/md_series.rb
72
75
  - modules/screen_technics/connect.rb
73
76
  - modules/sony/display/id_talk.rb
@@ -94,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
97
  version: '0'
95
98
  requirements: []
96
99
  rubyforge_project:
97
- rubygems_version: 2.2.2
100
+ rubygems_version: 2.4.5
98
101
  signing_key:
99
102
  specification_version: 4
100
103
  summary: Open Source Control Modules by ACA