#
hs.tangent
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, then dramatically improved by David Peterson for CommandPost.
#
API Overview
Constants - Useful values which cannot be changed
action fromHub panelType parameter toHub
Variables - Configurable values
automaticallySendApplicationDefinition ipAddress port
Functions - API calls offered directly by the extension
callback connect connected disconnect isTangentHubInstalled send sendAllChange sendApplicationDefinition sendDisplayText sendHighlightControl sendIndicateControl sendMenuString sendModeValue sendPanelConnectionStatesRequest sendParameterValue sendRenameControl sendUnmanagedDisplayWrite sendUnmanagedPanelCapabilitiesRequest setLogLevel