bitfocus / companion-module-lightware-lw3

MIT License
1 stars 3 forks source link

MX2-8X8-HDMI20 doesnt work #6

Closed wvanmaris closed 1 year ago

wvanmaris commented 1 year ago

Using LW3 instance, no in- or outputs are appearing, only ??

Using LW2 the matrix was controllable. Even though the MX2 is mentioned as tested.

johnny4x4 commented 1 year ago

No, the dropdown is blank.

dnmeid commented 1 year ago

Ok, even more verbose logging: pkg.tgz

johnny4x4 commented 1 year ago

debug: Initializing Recall Preset, choices are: [] info: 'GET /MEDIA/PRESET' found 2 presets with the names: Horizontal, TestPreset debug: CHOICES_PRESETS are now: [[{"id":"Horizontal","label":"Horizontal"},{"id":"TestPreset","label":"TestPreset"}]] debug: Initializing Recall Preset, choices are: [[{"id":"Horizontal","label":"Horizontal"},{"id":"TestPreset","label":"TestPreset"}]]

dnmeid commented 1 year ago

Great, one little dot adds one square bracket too much. I hope this version does work now: pkg.tgz

johnny4x4 commented 1 year ago

Haha how funny, that appears to have fixed the issue. image

dnmeid commented 1 year ago

So does it also recall the presets correctly when you run the action? And do the other commands and feedbacks still work?

johnny4x4 commented 1 year ago

The regular switching is working normally. I haven't been using feedbacks or the LW built in presets- let me play around with them a little bit and see how the system responds; then I will let you know.

johnny4x4 commented 1 year ago

Both "source selected" and "destination selected" feedbacks are working properly but it seems like the "route" feedback is not. Presets are also working.

dnmeid commented 1 year ago

Ok, is there something in the log, giving hints for the error with route feedback?

johnny4x4 commented 1 year ago

Unfortunately not, when I change the route the only message that shows up in the log is that the route change was successful: info: XPT Result: mO /MEDIA/XP/VIDEO:switch=OK

dnmeid commented 1 year ago

Can you change one crosspoint with LDC and see in the log what the response is? On my MMX matrix here it looks like

> 8649#CALL /MEDIA/VIDEO/XP:onClick(O2,I2)
< {8649
< mO /MEDIA/VIDEO/XP:onClick
< }
< CHG /MEDIA/VIDEO/XP.ModifiableConnectionList=M,-,-,-,-,-,-,-;-,M,-,-,-,-,-,-;-,M,-,-,-,-,-,-;M,-,-,-,-,-,-,-;-,-,-,M,-,-,-,-;M,-,-,-,-,-,-,-;M,-,-,-,-,-,-,-;M,-,-,-,-,-,-,-
< CHG /MEDIA/VIDEO/XP.DestinationConnectionList=I1;I2;I2;I1;I4;I1;I1;I1
< CHG /MEDIA/VIDEO/XP.DestinationPortAutoselect=DP;DP;DP;DP;DP;DP;DP;DP
johnny4x4 commented 1 year ago

When I change one crosspoint, I only see one line appear in advanced view:

CHG /MEDIA/XP/VIDEO.DestinationConnectionStatus=I1;I2;I21;I23;I18;I20;I22;I24;I25;I26;I27;I28;I29;I30;I31;I32;I1;I2;I3;I4;I5;I6;I7;I8;I9;I10;I11;I12;I13;I14;I15;I48;I1;I1;I1;I1;I1;I1;I1;I31;I36;I37;I43;I31;I42;0;I39;I39;
dnmeid commented 1 year ago

Did you truncate the line or does it really have a ; at the end?

johnny4x4 commented 1 year ago

I did not truncate- there is a ; at the end anytime I switch around.

dnmeid commented 1 year ago

OK, try this: pkg.tgz

johnny4x4 commented 1 year ago

I didn't see any changes in the feedback or the logs.

dnmeid commented 1 year ago

Sorry, typo, I forgont an I. Now pkg.tgz

johnny4x4 commented 1 year ago

When the module reloaded in companion, this was logged: parsing pE /MEDIA/XP/VIDEO.DestinationConnectionList %E002: Not exists

I didn't notice any other changes.

johnny4x4 commented 1 year ago

Actually, I was playing around with switching some sources around and noticed it logging in companion similar to the log in the LW advanced view:

parsing CHG /MEDIA/XP/VIDEO.DestinationPortGuiStatus=F;F;F;F;F;F;F;F;F;F;F;F;F;F;F;F;F;F;F;F;F;F;F;F;F;F;F;F;F;2;0;0;F;F;F;F;F;F;F;F;F;F;F;F;F;0;F;F;
parsing CHG /MEDIA/XP/VIDEO.DestinationConnectionStatus=I1;I2;I21;I23;I18;I20;I22;I24;I25;I26;I27;I28;I29;I30;I31;I32;I1;I2;I3;I4;I5;I6;I7;I8;I9;I10;I11;I12;I13;I14;I15;I48;I1;I1;I1;I1;I1;I1;I1;I31;I38;I39;I43;I37;I42;0;I39;I31;
received CHG /MEDIA/XP/VIDEO.DestinationConnectionStatus=I1;I2;I21;I23;I18;I20;I22;I24;I25;I26;I27;I28;I29;I30;I31;I32;I1;I2;I3;I4;I5;I6;I7;I8;I9;I10;I11;I12;I13;I14;I15;I48;I1;I1;I1;I1;I1;I1;I1;I31;I38;I39;I43;I37;I42;0;I39;I31;
info: XPT Result: mO /MEDIA/XP/VIDEO:switch=OK

And it looks like feedback might be working now.

dnmeid commented 1 year ago

So feedback might be working or is working? And what about the port names? When you use the 'Switch - Select video input for output' action you should see the real names of the ports if you did set names at the matrix. (module restart required to get name updates)

image
johnny4x4 commented 1 year ago

It looks like feedback is working. I just haven't had enough time playing around with it to ensure there isn't some configuration that throws the whole thing off.

Names are working just fine.

johnny4x4 commented 1 year ago

After experimenting with it for about an hour, everything is behaving as I would expect. Only one small thing I've noticed- the feedback options in companion use the input/output numbers instead of the names. From an integration standpoint, it would probably be easier to set up a system if the names were shown instead of the numbers.

dnmeid commented 1 year ago

Yes and no. The benefit of the numbers is that you can also use ports currently not present in your matrix and if you have a large matrix you can adjust the number faster than than with the dropdown. Since we now have searchable Dropdowns I also could always write the number in front of the label. Maybe I update this in a later version, but if now everything is working I think it is enough for today. Can you tell me the model of your matrix, then I put it in the known working list.

johnny4x4 commented 1 year ago

Yes of course, I completely agree that it is not totally necessary- with smaller matrices it wouldn't really be an issue at all. I definitely like the idea of having numbers with the names. Thank you for spending as much time as you did, I really appreciate it. I am using an MX2-48x48-HDMI20-A-R

dnmeid commented 1 year ago

Ok, I pushed it to the repo. Look for one of the next betas. Thank you for the remote assistance. I'm closing this issue now as completed