The idea of editing a large amount of entries into a Loxone Miniserver configuration did not appeal, so
I wrote some python to scan webbrick configuration files and create the entries in the LoxPlan file.
This is aimed at where during migration you want to be able to have the Loxone minserver coexist with
existing webbricks. The example case for me
Digital Outputs.
An entry is created for the webbrick under VirtualOuputs and then entries created for
all outputs whose channel name has been changed from the factory defaults. The on and off command are implemented.
Analogue Outputs.
Are not yet implemented
Others
At present I have done nothing with the other UDP events for the temperature/analogue values or alarms.
The scenes are also not currently used.
Rerunnable
The code can be rerun as it does not overwrite or duplicate existing entries in the Loxone config.
Issues
A typical webbrick system uses swithes that pull to ground whilst a Loxone system has switches
pulling to 24V. So when connecting existing switches to the Loxone controller, unless it is easy
to connect the switch to 24V you will need pull up resistors of 5K (or less). I think this 24V supply
to the switches should be on a auto reset fuse of some sort, maybe it is.
Follow up
An adaptor to connect rotary encoders to a Loxone Miniserver using an RS232 interface.