Logic Machine Forum
Share the status of group addresses - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Share the status of group addresses (/showthread.php?tid=4363)



Share the status of group addresses - sivlecrash - 08.11.2022

Hi,
I need to share the status of group addresses (address, name, data, datatype, time) so that both W4Ks have current values from the other side from the KNX bus.
Is it possible to use for example "reading object values using XML" described here https://openrb.com/example-read-knx-object-values-from-external-pc-using-xml/ ?
The idea is this:
a) load objects from W4k-1 to W4K-2 marked "export" once every 2 minutes and overwrite existing objects in W4K-2 according to addresses
b) load objects from W4k-2 to W4K-1 marked "export" once every 2 minutes and overwrite existing objects in W4k-1 according to addresses
Alternatively, another suggestion?

Thank you


   


RE: Share the status of group addresses - admin - 09.11.2022

Remote services can be used for this in JSON mode that's much easier to parse than XML. It is recommended to use VPN to connect both networks together. You can also use port forwarding but this is not recommended for security reasons.
In case of LogicMachine ZeroTier or LM Cloud can be used to implement object value exchange, but this won't work on W4K.