In the PaperUI setup for a DMX bridge, there is an option to bind the data stream to a specific LAN address.
I’ve had to use the textual configuration for the JINX! control, simply because there are lots of very similar Things and Items, so it’s easier to copy and paste.
My question is…
How do I bind the output of the Thing file Bridge to a particular LAN adapter / address?
MDAR
(Stuart Hanlon, UK importer of Velbus hardware)
5
Thanks, yes I completely understand the difference between UniCast and MultiCast
The issue is that it’s not possible to setup a multi-cast bridge in PaperUI, because it asks for a receiver IP address, which defeats the objective of Multi-casting / Broadcasting.
However, it IS possible to setup a multi-cast bridge with the .Things file (This I have working very well)
The question remains…
How can I bond / bind / lock the outgoing data stream to one of the LAN Adapters on the machine that openHAB2 is running on.
The image above shows the PaperUI option for this, I was only asking if it is possible within the Text file.
This is really important, as I don’t want to flood the HOME network with ART-Net data.
(There is a REALLY good reason why I need to multi-cast / broadcast, as opposed to Uni-cast)
Ah. Well, I do not own any dmx hardware (yet ) but I would expect that either you have to configure the interface used for multicast (you would do this by selecting the ip set to the interface…) or simply set the default multicast ip. openHAB would chose the correct interface by itself.
Do you have any option in Paper UI to chose the interface?
MDAR
(Stuart Hanlon, UK importer of Velbus hardware)
7
Hi
If you fancy dabling with DMX / SPi stuff, feel free to give me a shout if you need any help.
Yes, the paperUI has a section in the Bridge Thing config for entering the outgoing IP address.
(See image above)
The problem is that if I select Multi-Cast, enter the transmission address / local address but don’t enter a receiver address, the Thing states that there is a configuration error.
Whereas, setting a multicast bridge in a text Thing file works perfectly, I just don’t know what the syntax is for setting the outgoing IP address / adapter.
But that is not the complete input section. there should be a visible parameter name.
If not, please configure in Paper UI, then open REST API and go to Things/GetThings… (don’t know the exact path, but you will find it anyway…) and search for your configured parameter, the real name of the parameter (which has to be used in a *.things file) should be visible in the json statement.
1 Like
MDAR
(Stuart Hanlon, UK importer of Velbus hardware)
9
Well that wasn’t a feature I was aware of
Thank you
Using the Rest documentation UI, and choosing Things GET /Things/{thingUUID} I got this response.
So now all I have to do is test the “localaddress” variable in the text config
As you already found out localaddress should be used for setting the sending address. And at least with the latest version I can’t reproduce the problem of a required receiver address in multicast mode. Which version are you running?
MDAR
(Stuart Hanlon, UK importer of Velbus hardware)
12
Yeah indeed, I’m waiting for my client to swap a LAN cable before I know if it’s done the trick, but I can’t see why it wouldn’t
Only the version that is loaded by adding the binding from within PaperUI.
I haven’t loaded your very latest version into any machine yet, as I know it’ll take me hours and hours to achieve the clock feature I’m thinking of that the new version permits me to try.
MDAR
(Stuart Hanlon, UK importer of Velbus hardware)
13
Hi
I’ve been having terrible trouble getting the remote control of Jinx (on a Windows 7 machine) to work with openHAB2, on a Linux (ODroid C2 with Ubuntu) machine with 2 LAN ports.
(One build onto the motherboard and the other a USB dongle)
Nothing I did with either machine got the remote working.
So in absolute frustration, I set everything to what I thought would work, then rebooted both machines.
Now it works perfectly again.
So even with Linux it seems that a reboot will put things straight.