A hub-and-spoke architecture for realtime communication based on SignalR.
"SignalHub" was once a single application that managed realtime communications for all projects on juniuslabs. The term has since graduated to be loosely described as "a hub-and-spoke communication architecture based on SignalR, routing messages between digital signage, IoT, and user-interface clients"
Trainspotting, Train Automation, and the Digital Signage projects all utilize some variation of this architecture.
Built with ASP.NET and SignalR , the stack communicates directly with native C# digital signage clients and user-interface clients. It communicates indirectly to hardware controllers via a relay program.
A "relay" program running on a local windows computer can listen for, and issue local http REST calls to hardware controllers within a local network. The program then relays the messages to and from a hub, which can also be running locally or in the cloud. This effectively "connects" http-only clients to the SignalR pipeline. Train Automation and PowerTail AC currently use this technique to communicate with the Arduino Yún.