Thanks for your input!
I already had a look at the code of a lot of add ons and I’m currently implementing the device discovery which is nearly done. Right now I’m writing the code to update the configuration of already discovered devices so their IP gets updated when they get a new address from the DHCP server.
The first channel I implemented is the “online” channel which represents the current state of the IR transmitter.
Still I’m struggling with how the configuration of a switch should look like which combines sending IR codes and checking the state of a device with the help of another Thing/Item. Whenever the switch is toggled it should send the correct IR code for ON/OFF, but the state of the switch should actually be determined by another Item (e.g. a network thing) which can check if the toggled device is online or not. How would such a configuration look like?
That is indeed very interesting. The ZMote devices used to use JSON for their IR request but the latest firmware switched to the above strings to reduce the processing time on the device. The ZMote code is open source (zmote.io · GitHub), maybe they share some common open source libraries which are also used by GlobalCache.
Thanks for all your input, I will have a closer look at the suggested add-ons.