RedRat Hub zip file
The RedRat Hub is an application that manages communication with RedRat hardware, allowing straightforward integration of RedRat devices with third party software and systems. There are two methods of communication:
It also allows multiplexing of multiple commands from different applications to RedRat devices.
RedRat Hub runs on both Windows and Linux using ASP.NET Core and includes a Web UI for monitoring and configuration.
A demo version is running here which has detailed documentation on the APIs.
Client applications connect to RedRat Hub on a socket or via an HTTP REST API and send commands which are then interpreted and the appropriate instruction sent on to a RedRat device. The Hub can take connections from multiple clients and ensures that they are handled appropriately for the RedRat hardware.
It is uses minimal resources so can be used just to manage one RedRat device, but can also scale to handle 100s of client connections sending commands to man RedRat devices.
At startup, RedRatHub loads the IR signal data from one or more files, handling all IR data management itself. An optional configuration file can also be used to modify its behaviour, for example to ensure that an instance only uses certain RedRat devices.
> .\RedRatHub.exe [command line parameters]
> dotnet RedRatHub.dll [command line parameters]
wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update
sudo apt-get install -y apt-transport-https. Optional as this may already be installed.]
sudo apt-get update. Only needed if the previous line was executed.]
sudo apt-get install -y dotnet-sdk-5.0
This is a great way to run a RedRatHub instance. The instructions are a little more involved than for a standard Linux installation, so are given separate page here.