Hi!
Is it safe to assume that the following parameters are not applicable outside of a Loxone/LoxBerry environment?
No.
LOX_IP = # destination-IP or broadcast-address to send data to
LOX_PORT = 12340 # destination-Port - UDP-port to send data to
LBU_PORT = 12341 # local Port - UDP-port to receive UDP-datagrams
UDP_ENABLE = True # set to False to disable UDP-sending
LOX_IP and LOX_PORT actually relate to the
destination for sending
all incoming data from the weather station in the FOSHKplugin via UDP.
However, this does not necessarily have to be Loxone - other smart home systems can also be connected via UDP if necessary. And a broadcast address can also be used as the destination address. But you can also set up separate forwards for UDP.
If you want to deactivate the global UDP dispatch, this can be set up via UDP_ENABLE = False without changing the address and port.
However, the LBU_PORT is the local UDP port for controlling FOSHKplugin.
Basically intended as a communication channel between Loxone and FOSHKplugin, this type of communication can of course also be used for other purposes and with other tools. Since the same functions are supported as for control via http, this form of communication is optional.
These functions include restarting FOSHKplugin or the console, initiating the sending of status messages and MinMax values as well as switching FOSHKplugin functions such as debug, leakwarning, co2warning, pushmessages, rebootwarning, customwarning, intervalwarning and others on and off.
Hope this helps,
Oliver