{ "ports": [ { "comName": "/dev/ttyAMA0", "manufacturer": "" } ], "baudrates": [115200, 250000], "mountPoints": [ { "route": "/widget", "target": "https://cncjs.github.io/cncjs-widget-boilerplate/v1/" } ], "watchDirectory": "/path/to/dir", "accessTokenLifetime": "30d", "allowRemoteAccess": false, "controller": "", "state": { "checkForUpdates": true }, "commands": [ { "title": "Update (root user)", "commands": "sudo npm install -g cncjs@latest --unsafe-perm; pkill -f cncjs" }, { "title": "Update (non-root user)", "commands": "npm install -g cncjs@latest; pkill -f cncjs" }, { "title": "Reboot", "commands": "sudo /sbin/reboot" }, { "title": "Shutdown", "commands": "sudo /sbin/shutdown" } ], "events": [], "macros": [], "users": [] }