Interactive command-line based on the following documentation: ftp://ftp.matrox.com/pub/video/doc/Matrox%20Monarch%20HDX%20Dev%20Tools%20Reference%20Guide_1.1.1.pdf
Previous version was based on: http://www.matrox.com/video/media/pdf/support/monarch_hd/doc/en_Matrox_Monarch_HD_Control_API_Guide_1_1_3.pdf
-
Clone :
git clone git@github.com:soixantecircuits/node-monarch.git -
Install
npm install -
configure by calling method setConfig (must be valid schema format):
schema =
{
"username": {"type": "string"},
"password": {"type": "string"},
"ipAddress": {"type": "string"}
},
"required": ["username", "password", "ipAddress"]
- configure your option there :
options = {
timeout: 3000,
permanentTestInterval: 60000,
recordDuration: 15000,
hdx: true
},
Configure a remote point for NFS, on Ubuntu 14.04 the good guide is here: https://help.ubuntu.com/14.04/serverguide/network-file-system.html
- Usage example:
var monarch = require('./node_modules/node-monarch/monarch')
monarch.ask()
- Monarch Methods:
setConfig
getStatus
startRecord
stopRecord
testCall
runPermanentTest
stopPermanenTest
example
Make sure you are pointing to the right IP of you Matrox Monarch HD or HDX
You can select, the hdx option with true or false
[ ] Implement full API support for HDX model [ ] Make it a npm module [ ] Make it a global command-line controller