Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for V3 #22

Merged
merged 25 commits into from
Jul 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
59bb508
v3 upgrade WIP
phillipivan Jul 5, 2024
e9ff7eb
implement keepalive framework (still requires KA message)
phillipivan Jul 5, 2024
4f29c4f
split out decode to seperate function / file
phillipivan Jul 5, 2024
132c5f1
rework configUpdated
phillipivan Jul 5, 2024
0d9b1dc
refactor actionOptions, feedbackOptions
phillipivan Jul 5, 2024
98232b0
formatting
phillipivan Jul 5, 2024
865408a
update companion-module-tools to 1.5.1
phillipivan Jul 5, 2024
c757e9b
declare unchanging variables as const
phillipivan Jul 8, 2024
7c93700
accept variables for sourceName and destinationName action option fie…
phillipivan Jul 8, 2024
c359765
define commands as constants
phillipivan Jul 8, 2024
be8b591
setupVariables during init & configUpdated
phillipivan Jul 8, 2024
63ad7b8
fixups
phillipivan Jul 8, 2024
6004209
remove redundant comments
phillipivan Jul 8, 2024
1b9cd26
fix feedbacks
phillipivan Jul 8, 2024
76e67e9
select source and select destination presets now generated according …
phillipivan Jul 8, 2024
ae56bff
check all crosspoint related feedbacks at the end of update_crosspoints
phillipivan Jul 8, 2024
d296fad
fix typos
phillipivan Jul 8, 2024
45aca46
add actionRecorder support
phillipivan Jul 8, 2024
687bce8
update help.md
phillipivan Jul 8, 2024
7a09123
minor refactor
phillipivan Jul 8, 2024
b2707c2
maintain keepalive timer in case socket isnt connected
phillipivan Jul 8, 2024
cd9f96d
remove redundant async actions & feedbacks
phillipivan Jul 9, 2024
c61afed
update_crosspoints argument saftey
phillipivan Jul 9, 2024
a92d70d
help.md - fix typos
phillipivan Jul 11, 2024
b7333b7
package.json - specify type:module. manifest.json - update maintainers
phillipivan Jul 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
.vscode/
node_modules/
package-lock.json
/pkg
/pkg.tgz
*.zip
*.log
.nova/
temp.js
temp.js
DEBUG-*
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# companion-module-generic-swp08
See [HELP.md](./HELP.md) and [LICENSE](./LICENSE)
See [HELP.md](./companion/HELP.md) and [LICENSE](./LICENSE)
34 changes: 26 additions & 8 deletions HELP.md → companion/HELP.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ There are multiple ways of making crosspoint buttons to cater for different appl
- **Route Source to selected Levels and Destination** and **Route Source name to selected Levels and Destination** Use the preset levels and destination with the source from this action and make the route
- **Take** Make the crosspoint from preset levels, source and destination
- **Clear** Forget any preset levels, destination or source. Optionally re-enable all levels.
- **Set Crosspoint** Specify levels, source and destination in the action and make the route
- **Set Crosspoint** and **Set Crosspoint by name** specify levels, source and destination in the action and make the route
- **Refresh Source and Destination names** Ask the router for the current set of names and update

## Feedbacks
Button background colours can be changed to show current selection status.

- **Crosspoint Connected**
- **Crosspoint Connected By Name**
- **Selected Levels**
- **Selected Levels and Destination**
- **Selected Destination**
Expand All @@ -50,10 +52,16 @@ Some dynamic information is stored in variables which you can access through the
- **Source_?** The name of each source as defined in the the router
- **Destination_?** The name of each destination as defined in the router

## Version 1.0.0

## Action Recorder
Tally and connected messages recieved from the router will create new set crosspoint actions, allowing for easy creation of salvos.

## Version History

### Version 1.0.0
- First Release

## Version 1.0.1
### Version 1.0.1
- Reworked levels to be more flexible
- Added route source by name action
- Added toggle level action
Expand All @@ -62,22 +70,32 @@ Some dynamic information is stored in variables which you can access through the
- Added feedback for selected level and destination
- Fixed packaging of bytes sent to router

## Version 1.0.2
### Version 1.0.2
- Reworked incoming data processing
- Reworked name decoding to support larger routers
- Added module config option for name length
- Added module config option to request names on connection
- Added variables for selected destination source

## Version 1.0.3
### Version 1.0.3
- Added module config option to disable the supported commands check

## Version 1.0.4
### Version 1.0.4
- Added support for more than 16 levels
- Added support for more then 1024 sources/destinations
- Tidy up config page layout
- Add more supported device types to the module properties

## Version 1.0.5
### Version 1.0.5
- Added presets for some actions
- Added feedback Source routed to selected Destination
- Added feedback Source routed to selected Destination

### Version 2.0.0
- Update for Companion Version 3
- Add connection keep alive
- Accept variables for Select Source Name, Select Destination Name, Set Crosspoint by Name
- Add Crosspoint Connected, Crosspoint Connected By Name feedback
- Action Recorder support
- Select Source and Destination Presets now generated according to router size (up to 256)
- Select Source and Destination Presets now with names
- Select Source presets have 2nd Source Routed to Destination feedback
41 changes: 41 additions & 0 deletions companion/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"id": "generic-swp08",
"name": "generic-swp08",
"shortname": "SW-P-08",
"description": "General Remote Control Protocol (SW-P-08)",
"version": "0.0.0",
"license": "MIT",
"repository": "git+https://github.com/bitfocus/companion-module-generic-swp08.git",
"bugs": "https://github.com/bitfocus/companion-module-generic-swp08/issues",
"maintainers": [
{
"name": "Peter Daniel"
},
{
"name": "Phillip Ivan Pietruschka",
"email": "ivanpietruschka@gmail.com"
}
],
"runtime": {
"type": "node18",
"api": "nodejs-ipc",
"apiVersion": "0.0.0",
"entrypoint": "../src/main.js"
},
"legacyIds": [],
"manufacturer": "Generic",
"products": [
"SW-P-08",
"SW-P-08 Ross Router",
"SW-P-08 Snell ProBel Router",
"SW-P-08 Grass Valley Router",
"SW-P-08 Lawo VSM",
"SW-P-08 Calrec Router",
"SW-P-08 NVision Router",
"SW-P-08 Sony Broadcast Router",
"SW-P-08 BNCS",
"SW-P-08 DirectOut M.1k2"
],
"keywords": ["Router", "Matrix", "Broadcast", "Production"]

}
Loading
Loading