2 veras talking to each other via internet only

I have an Edge and a Lite at home. I know i can link link them via the LAN, but i don’t want to do this for resilience and i’ve had issues with this in the past.

Is there a way for a device on one vera to trigger another device on another vera? Maybe by a full external url?
Over 2 different mios usernames too.

for example, on the main vera, triggering 'Going Away" VSwitch also turns off the auto heating VSwitch on the other vera. Also there are other ideas i have where a quick action isn’t needed.

Thank you.

look into luup.variable_watch

you create a function in your startup lua that is triggered by the luup.variable_watch instance.

you simply have to ‘watch’ your Vswitch and then fire a function that executes when there is a change

Her is an example I am using to watch a dimmer and send commands to an IP address that has an arduino that controls a light.

[code]-- Ethernet Controller Brightness
function txDimValue(lul_device,lul_service,lul_variable,lul_value_old, newBrightness)
luup.inet.wget(“192.168.1.50//?brightLevel=”…newBrightness…“&”, 1)
end

luup.variable_watch(“txDimValue”, “urn:upnp-org:serviceId:Dimming1”, “LoadLevelStatus”, 118)[/code]

brilliant, i’ll give it a go now.
That’s via IP on the LAN which would work, what about via url so i trigger and switch the inlaws vera?

thank you.