Question for the E1.31 gru's. Can more than one source send commands to a single E1.31 controller as long as the don't try to control the same universe?
timon wrote:Question for the E1.31 gru's. Can more than one source send commands to a single E1.31 controller as long as the don't try to control the same universe?
That's perfectly fine. In fact multiple controllers can send data for the same universe. The priority field (and possibly other data) is used by the sources to decide how to merge the data.
nomis52 wrote:In fact multiple controllers can send data for the same universe. The priority field (and possibly other data) is used by the sources to decide how to merge the data.
Just a word of caution that most of the projects here don't use the priority field.
There's also an extension of the spec drfined by ETC that allows one sender to control part of a universe while another sender controls another part.
There is an option in DMX/sACN called HTP (Highest Takes Presedence), unfortunatly no-one is supporting that option yet in the hobby based controllers that we use. As we start looking at the commercial market then this feature becomes much more a requirement.
nomis52 wrote:That's perfectly fine. In fact multiple controllers can send data for the same universe. The priority field (and possibly other data) is used by the sources to decide how to merge the data.
neilric99 wrote:There is an option in DMX/sACN called HTP (Highest Takes Presedence), unfortunatly no-one is supporting that option yet in the hobby based controllers that we use. As we start looking at the commercial market then this feature becomes much more a requirement.
Yes, but.... HTP generally can't accomplish anything useful when you're driving pixels when you're driving pixels.
I don't see it as strictly commercial. I'm planing to put in all my landscape lighting but I modify then with RGB lights and DMX controllers. I'm also going to modify the carrage lights on my house with RGB as well.
Normally they will be controlled by the home automation controller, it has Ethernet access, but the show computer should be able to override. The issue I see, not knowing how HTP works yet, is will it still override the home automation system when it's idling between shows.
If none of the existing controllers add it then I guess I could modify RPM's code. Was it in the draft specification which I thing is floating around?
neilric99 wrote:There is an option in DMX/sACN called HTP (Highest Takes Presedence), unfortunatly no-one is supporting that option yet in the hobby based controllers that we use. As we start looking at the commercial market then this feature becomes much more a requirement.
I believe Neil's reference to commercial market meant that HTP is expected to be included and supported in commercial products. Most folks in the hobby controller market aren't expecting to have multiple E1.31/sACN sources driving the network, and therefore the "need" for HTP isn't as great.
HTP means, I believe, that the highest value for a given channel takes precedence on any lower values sent out for that channel. So if your home automation controller was sending a command to have a given channel for your flowerbed to be at 25%, any commands from your show computer to have the light go lower than 25% would be ignored. There's also LTP, which is Lower Takes Precedence, and probably some other variations that I can't recall at the moment.
You could also get the "background source" to monitor the universe(s) it's sending and cease transmission when it sees packets that it didn't send. Each E1.31 packet has fields for sender name and sequence number so should be easy enough to detect packets from other sources.
Having the background monitor traffic would work but the processor in the home automation system might not be able to handle the load. Even when it's sending E1.31 packets it would be not sending at the rate a show would run so it it had to monitor full traffic speed the processor might get overloaded. I'm not sure what the minimum speed you have to send is but I expect the HA would only send a background update one a second or so then speed up to a full 40 frames per second when changing the intensity of a channel.
BTW, do the E1.31 controllers work like the intelligent DMX controllers and keep sending the last set of data they received from the source to the DMX output or is it one E1.31 packet to one DMX output sequence like a dumb DMX controller? I haven't got that far in the specs to figure that out yet.
If I'm reading the draft correctly the priority field can handle this for a given universe. So if the HA send packets at a lower priority than the show computer then as long as the show computer is sending the packets from the HA would be ignored. When the show computer stopped the HA traffic would be processed. I'm assuming that the priority test is effectively stretched over some number of seconds so it's not bouncing back and forth.
This seems to be to be a very easy addition to make. You just need the ability to set the priority in the sender, i.e., vixen, xlights, LSP and LOR S3 etc or the HA. Since the HA code has yet to be written that would be the quickest one to change. Just have it default to a value less than 100 and it's done. The last point is that you would need to be able to shutdown E1.31. packets when the show was not running. I'll have to fire up the packet sniffer and see if any of the the sequencers do that.
Since the landscape lighting will all be P-DMX, either RJ45 or Ray's waterproof connectors, it might be an interesting project to layout a modified PCB using RPM's design and set it up for P-DMX. I like this rather than two boards. Shouldn't take much modification of RPM's code to add in the priority feature.
I was going make an intelligent DMX splitter that took in two DMX universes and switch them based on one of the channels and then drive it from a RPM's USB Dongle but E1.31 has a lot of advantages.
This is so much fun:biggrin2:
John
