Hi,
I apologize if this is somewhere and I’ve missed it - I swear I’ve searched and searched, but am pulling my hair out…
I’m just trying to setup a simple custom-module based on the docs/examples, and make sure I have things working, but have been unable to do so. Here is my module:
module.exports = {
init: function() {
console.log('init successful')
},
oscOutFilter: function(data) {
console.log('oscOutFilter')
console.log(data)
return data
},
oscInFilter: function(data) {
console.log('oscInFilter')
console.log(data)
return data
}
}
I have a single button widget:
"widgets": [
{
"type": "button",
"top": 30,
"left": 10,
"id": "button_1",
"visible": true,
"interaction": true,
//...
"on": 1,
"off": 0,
"mode": "push",
"doubleTap": false,
"value": "myVal",
"default": "",
"linkId": "",
"script": "",
"address": "/myTest",
"preArgs": [],
"typeTags": "",
"decimals": 2,
"target": "",
"ignoreDefaults": false,
"bypass": false
}
],
When I start the client, the “init successful” message appears in the console, but I cannot for the life of me get any of the other debug messages to show when I click the button.
Any suggestions?