ceol 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +2 -1
- data/README.md +8 -5
- data/exe/ceol +6 -0
- data/lib/ceol/controller.rb +12 -0
- data/lib/ceol/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9433b31d86e7e3263fd4ea040b8cf8e7c9bbf8334215bde21c016d42467fd63
|
4
|
+
data.tar.gz: e0c70753f9305e7aadbf664b4304cff3c1003cd2ed16f45bb05ffa2db1edffec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d91fe168f9d9971d19f5d184f5a7ae5f3d5cdc35e5e9da5ecd1e29dcff8cdc0262b4cf778cf4e96324301f4fe497473e5d57cd16ae83fe85c2305e2de8372f65
|
7
|
+
data.tar.gz: b2e87869754eb2a450736316850c45d947ad5ae8fc411c4f814a6d97a0c17d470a16ad4e1c32c1e11f5ad836b247ef5c582f0f09cc3bad015f770b90356c5173
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [0.4.0] - 2022-10-19
|
4
|
+
|
5
|
+
- Add `digital` command to select digital in
|
6
|
+
- Add `analog` command to select analog 1 in
|
7
|
+
|
8
|
+
## [0.3.0] - 2022-10-19
|
9
|
+
|
10
|
+
- Add `on` command to change power to on
|
11
|
+
|
3
12
|
## [0.2.0] - 2022-10-18
|
4
13
|
|
5
14
|
- Add `off` command to change power to standby
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -33,11 +33,14 @@ or define a `CEOL_IPADDR` environment variable with the ip address of your CEOL
|
|
33
33
|
In the command line run the executable:
|
34
34
|
|
35
35
|
```
|
36
|
-
$ ceol +
|
37
|
-
$ ceol ++
|
38
|
-
$ ceol -
|
39
|
-
$ ceol --
|
40
|
-
$ ceol off
|
36
|
+
$ ceol + # turns the volume up by 1
|
37
|
+
$ ceol ++ # turns the volume up by 2 and so on
|
38
|
+
$ ceol - # turns the volume down by 1
|
39
|
+
$ ceol -- # turns the volume down by 2 and so on
|
40
|
+
$ ceol off # powers off to standby
|
41
|
+
$ ceol on # powers on from standby
|
42
|
+
$ ceol digital # select digital in
|
43
|
+
$ ceol analog # select analog 1 in
|
41
44
|
```
|
42
45
|
|
43
46
|
## Development
|
data/exe/ceol
CHANGED
@@ -8,6 +8,12 @@ Ceol::Controller.control do |controller|
|
|
8
8
|
case commands
|
9
9
|
when "off"
|
10
10
|
controller.off
|
11
|
+
when "on"
|
12
|
+
controller.on
|
13
|
+
when "digital"
|
14
|
+
controller.digital_in
|
15
|
+
when "analog"
|
16
|
+
controller.analog_1
|
11
17
|
else
|
12
18
|
commands.each_char do |command|
|
13
19
|
case command
|
data/lib/ceol/controller.rb
CHANGED
@@ -28,10 +28,22 @@ module Ceol
|
|
28
28
|
connection.close unless connection.nil?
|
29
29
|
end
|
30
30
|
|
31
|
+
def analog_1
|
32
|
+
write("SIAUXB")
|
33
|
+
end
|
34
|
+
|
35
|
+
def digital_in
|
36
|
+
write("SIAUXD")
|
37
|
+
end
|
38
|
+
|
31
39
|
def off
|
32
40
|
write("PWSTANDBY")
|
33
41
|
end
|
34
42
|
|
43
|
+
def on
|
44
|
+
write("PWON")
|
45
|
+
end
|
46
|
+
|
35
47
|
def volume_down
|
36
48
|
write("MVDOWN")
|
37
49
|
end
|
data/lib/ceol/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ceol
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rasmus Bang Grouleff
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|