Dude this is sick.
I have searched the forum quite a bit but couldnt find anybody having trouble with it.
My matrix changes its size based on stepped knobs, with each change, i send
/eos/ds/@{bank_id}/group/@{page_num}/@{button_amount}
and get back this or similar:
(DEBUG, OSC) In: { address: '/eos/out/ds/1/1', args: [ 'Hauptfoyer [1]', '1' ] } From: 192.168.0.59:62774
(DEBUG, OSC) In: { address: '/eos/out/ds/1/2', args: [ 'Treppe Eingang U [2]', '2' ] } From: 192.168.0.59:62774
(DEBUG, OSC) In: { address: '/eos/out/ds/1/3', args: [ 'Oberes Foyer [3]', '3' ] } From: 192.168.0.59:62774
(DEBUG, OSC) In: { address: '/eos/out/ds/1/4', args: [ 'Bar [4]', '4' ] } From: 192.168.0.59:62774
(DEBUG, OSC) In: { address: '/eos/out/ds/1/5', args: [ '', '5' ] } From: 192.168.0.59:62774
(DEBUG, OSC) In: { address: '/eos/out/ds/1', args: 'Gruppen [1]' } From: 192.168.0.59:62774
The matrix i created has this as script properties, with those stupid debug messages too at the moment.
JS{{
var props = {};
var s = []; var si = 0;
s[si++] = "console.log('script from matrixitem:" + $ + "')";
s[si++] = "console.log(Date.now())";
s[si++] = "console.log('The value is:'+value)";
s[si++] = "console.log('The getPropvalue is:'+getProp('this',\'value\'))";
s[si++] = "console.log('address is:'+getProp('this',\'address\'))";
props.script = s.toString();
props.address = "/eos/out/ds/" +@{ bank_id }+"/" + ($ + 1);
props.mode = "tap";
props.on = null;
props.bypass = true;
return props;
}}
So, when tapping the button, i should get the received value via address and also check if address is correct, but i dont get a value but address is correct.
script from matrixitem:0
1611612010641
The value is:null
The getPropvalue is:
address is:/eos/out/ds/1/1