Tangent Control Surface Extension
API Version: TUBE Version 3.2 - TIPC Rev 4 (22nd February 2017)
This plugin allows Hammerspoon to communicate with Tangent's range of panels, such as their Element, Virtual Element Apps, Wave, Ripple and any future panels.
The Tangent Unified Bridge Engine (TUBE) is made up of two software elements, the Mapper and the Hub. The Hub communicates with your application via the TUBE Inter Process Communications (TIPC). TIPC is a standardised protocol to allow any application that supports it to communicate with any current and future panels produced by Tangent via the TUBE Hub.
You can download the Tangent Developer Support Pack & Tangent Hub Installer for Mac here.
This extension was thrown together by Chris Hocking for CommandPost.
Signature | hs.tangent.APP_MESSAGE -> table |
---|---|
Type | Constant |
Description | Definitions for IPC Commands from Hammerspoon to the HUB. |
Signature | hs.tangent.HUB_MESSAGE -> table |
---|---|
Type | Constant |
Description | Definitions for IPC Commands from the HUB to Hammerspoon. |
Signature | hs.tangent.PANEL_TYPE -> table |
---|---|
Type | Constant |
Description | Tangent Panel Types. |
Signature | hs.tangent.automaticallySendApplicationDefinition -> boolean |
---|---|
Type | Variable |
Description | Automatically send the "Application Definition" response. Defaults to |
Signature | hs.tangent.interval -> number |
---|---|
Type | Variable |
Description | How often we check for new socket messages. Defaults to 0.001. |
Signature | hs.tangent.ipAddress -> number |
---|---|
Type | Variable |
Description | IP Address that the Tangent Hub is located at. Defaults to 127.0.0.1. |
Signature | hs.tangent.port -> number |
---|---|
Type | Variable |
Description | The port that Tangent Hub monitors. Defaults to 64246. |
Signature | hs.tangent.callback() -> boolean |
---|---|
Type | Function |
Description | Sets a callback when new messages are received. Parameters:
Returns:
Notes:
|
Signature | hs.tangent.connect(applicationName, systemPath[, userPath]) -> boolean, errorMessage |
---|---|
Type | Function |
Description | Connects to the Tangent Hub. Parameters:
Returns:
|
Signature | hs.tangent.connected() -> boolean |
---|---|
Type | Function |
Description | Checks to see whether or not you're successfully connected to the Tangent Hub. Parameters:
Returns:
|
Signature | hs.tangent.disconnect() -> none |
---|---|
Type | Function |
Description | Disconnects from the Tangent Hub. Parameters:
Returns:
|
Signature | hs.tangent.isTangentHubInstalled() -> boolean |
---|---|
Type | Function |
Description | Checks to see whether or not the Tangent Hub software is installed. Parameters:
Returns:
|
Signature | hs.tangent.send(id, metadata) -> boolean, string |
---|---|
Type | Function |
Description | Sends a message to the Tangent Hub. Parameters:
Returns:
Notes:
|
Signature | hs.tangent.setLogLevel(loglevel) -> none |
---|---|
Type | Function |
Description | Sets the Log Level. Parameters:
Returns:
|